The problem that we are facing with the mod_G729 in a back to back scenario is that FS doesnt re packetize the RTP. For example if one stream has ptime = 10 then it remains at 10 on both the A as well as B leg. The same applies to the other which may be at another ptime (say 30).

What we are trying to achieve is  A leg always using ptime 10 and B leg always using ptime 30.

Is this possible without using any licensed software ?



On Fri, May 31, 2013 at 8:05 PM, Steve Underwood <steveu@coppice.org> wrote:
Hi,

The Sangoma G.729 is a transcoder. You don't want that for ptime
resolution. Decompressing and recompressing really hurts the quality. FS
will repack the frames to resolve ptime mismatches, although the latency
is better if you can avoid such repacking.

Steve


On 05/31/2013 09:23 PM, Ashwin Rath wrote:
> Hi Steven
>
> Yes we have tried the passthru_ptime_mismatch set to true but that
> didnt solve the purpose. So we decided to try sangoma. Trouble is FS
> uses the sangoma even in case of passthrough. Is there something that
> can be done to use mod_G729 for passthrough and sangoma g729 for ptime
> mismatch ?
>
>
> On Fri, May 31, 2013 at 5:55 PM, Steven Ayre <steveayre@gmail.com
> <mailto:steveayre@gmail.com>> wrote:
>
>     First have you tried passthru_ptime_mismatch=true yet? It's not
>     the default used by the passthrough mod_g729 codec.
>
>     Only one module can be loaded at a time to provide a given codec
>     (ie mod_g729 or mod_com_g729 or mod_sangoma_codec). Internally
>     perhaps the sangoma module would avoid licenses, but they would
>     need to clarify. AFAIK mod_com_g729 only uses a license when
>     required, simple 729-729 bridges still use passthrough, but I
>     don't know how ptime affects that. It's be easy to test though -
>     load it without any licenses and try a 729-729 call with differing
>     primes and see it the call gets through.
>
>     -Steve
>
>
>
>     On Friday, May 31, 2013, Ashwin Rath wrote:
>
>         Thanks Anthony ,
>
>         Looks like we would need to purchase a G729 license for
>         Freeswitch or use a Sangoma card. Is there some configuration
>         which tells Freeswitch to use the card ( or the software codec
>         ) only in case of a ptime mismatch  so that we could save on
>         the licensing fee only for calls that actually need ptime
>         conversion ?
>
>
>         On Tue, May 28, 2013 at 8:21 PM, Anthony Minessale
>         <anthony.minessale@gmail.com> wrote:
>
>             Set the variable passthru_ptime_mismatch=true on both legs
>             of the call.  That's the best we can do.  If that doesn't
>             work you'll need licenses.
>
>
>
>
>             On Tue, May 28, 2013 at 9:12 AM, Ashwin Rath
>             <ashwinrath@gmail.com> wrote:
>
>                 Hi
>
>                 I am trying to configure FS as a B2BUA which can do
>                 ptime conversions between the ingress and egress leg.
>
>                 The question is, if both legs have G729 as the codec
>                 but ptime 20 on one and 30 on another, would i still
>                 need to get the licensed mod_com_g729 or can it work
>                 with the passthrough mod_g729. I already tried it out,
>                 but it doesnt seem to work.
>
>                 Is there some configuration needed for this ?
>
>                 --
>                 Thegrid
>
>                 _________________________________________________________________________
>                 Professional FreeSWITCH Consulting Services:
>                 consulting@freeswitch.org
>                 http://www.freeswitchsolutions.com
>
>                 FreeSWITCH-powered IP PBX: The CudaTel Communication
>                 Server
>                 http://www.cudatel.com
>
>                 Official FreeSWITCH Sites
>                 http://www.freeswitch.org
>                 http://wiki.freeswitch.org
>                 http://www.cluecon.com
>
>                 FreeSWITCH-users mailing list
>                 FreeSWITCH-users@lists.freeswitch.org
>                 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>                 UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>                 http://www.freeswitch.org
>
>
>
>
>             --
>             Anthony Minessale II
>
>             FreeSWITCH http://www.freeswitch.org/
>             ClueCon http://www.cluecon.com/
>             Twitter: http://twitter.com/FreeSWITCH_wire
>
>             AIM: anthm
>             MSN:anthony_minessale@hotmail.com
>             GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
>             IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
>
>             FreeSWITCH Developer Conference
>             sip:888@conference.freeswitch.org
>             googletalk:conf+888@conference.freeswitch.org
>             pstn:+19193869900
>
>             _________________________________________________________________________
>             Professional FreeSWITCH Consulting Services:
>             consulting@freeswitch.org
>             http://www.freeswitchsolutions.com
>
>             FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>             http://www.cudatel.com
>
>             Official FreeSWITCH Sites
>             http://www.freeswitch.org
>             http://wiki.freeswitch.org
>
>         Ashwin Kumar Rath
>
>
>     _________________________________________________________________________
>     Professional FreeSWITCH Consulting Services:
>     consulting@freeswitch.org <mailto:consulting@freeswitch.org>
>     http://www.freeswitchsolutions.com
>
>     FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>     http://www.cudatel.com
>
>     Official FreeSWITCH Sites
>     http://www.freeswitch.org
>     http://wiki.freeswitch.org
>     http://www.cluecon.com
>
>     FreeSWITCH-users mailing list
>     FreeSWITCH-users@lists.freeswitch.org
>     <mailto:FreeSWITCH-users@lists.freeswitch.org>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting@freeswitch.org
> http://www.freeswitchsolutions.com
>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
> http://www.cudatel.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--
Ashwin Kumar Rath