[Freeswitch-users] G729 ptime mismatch on ingress and egress legs

Ashwin Rath ashwinrath at gmail.com
Mon Jun 10 16:39:05 MSD 2013


Thanks Steven

We eventually did manage to get the ptime thing working.

I am assuming since we do not "open" the G729 packet we do not attract any
licensing fee for packet repacking ?


On Fri, May 31, 2013 at 8:05 PM, Steve Underwood <steveu at 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 at gmail.com
> > <mailto:steveayre at 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 at 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 at 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 at freeswitch.org
> >                 http://www.freeswitchsolutions.com
> >
> >                 FreeSWITCH-powered IP PBX: The CudaTel Communication
> >                 Server
> >                 
> >
> >                 Official FreeSWITCH Sites
> >                 http://www.freeswitch.org
> >                 http://wiki.freeswitch.org
> >                 http://www.cluecon.com
> >
> >                 FreeSWITCH-users mailing list
> >                 FreeSWITCH-users at 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 at hotmail.com
> >             GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> >             IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
> >
> >             FreeSWITCH Developer Conference
> >             sip:888 at conference.freeswitch.org
> >             googletalk:conf+888 at conference.freeswitch.org
> >             pstn:+19193869900
> >
> >
> _________________________________________________________________________
> >             Professional FreeSWITCH Consulting Services:
> >             consulting at freeswitch.org
> >             http://www.freeswitchsolutions.com
> >
> >             
> >             
> >
> >             Official FreeSWITCH Sites
> >             http://www.freeswitch.org
> >             http://wiki.freeswitch.org
> >
> >         Ashwin Kumar Rath
> >
> >
> >
> _________________________________________________________________________
> >     Professional FreeSWITCH Consulting Services:
> >     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
> >     http://www.freeswitchsolutions.com
> >
> >     
> >     
> >
> >     Official FreeSWITCH Sites
> >     http://www.freeswitch.org
> >     http://wiki.freeswitch.org
> >     http://www.cluecon.com
> >
> >     FreeSWITCH-users mailing list
> >     FreeSWITCH-users at lists.freeswitch.org
> >     <mailto:FreeSWITCH-users at 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
> >
> >
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
> > consulting at freeswitch.org
> > http://www.freeswitchsolutions.com
> >
> > 
> > 
> >
> > Official FreeSWITCH Sites
> > http://www.freeswitch.org
> > http://wiki.freeswitch.org
> > http://www.cluecon.com
> >
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130610/1db7c4bb/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list