<div dir="ltr"><div><div><div>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).<br>
<br></div>What we are trying to achieve is  A leg always using ptime 10 and B leg always using ptime 30.<br><br></div>Is this possible without using any licensed software ?<br><br></div></div><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Fri, May 31, 2013 at 8:05 PM, Steve Underwood <span dir="ltr">&lt;<a href="mailto:steveu@coppice.org" target="_blank">steveu@coppice.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
The Sangoma G.729 is a transcoder. You don&#39;t want that for ptime<br>
resolution. Decompressing and recompressing really hurts the quality. FS<br>
will repack the frames to resolve ptime mismatches, although the latency<br>
is better if you can avoid such repacking.<br>
<br>
Steve<br>
<div class="im"><br>
<br>
On 05/31/2013 09:23 PM, Ashwin Rath wrote:<br>
&gt; Hi Steven<br>
&gt;<br>
&gt; Yes we have tried the passthru_ptime_mismatch set to true but that<br>
&gt; didnt solve the purpose. So we decided to try sangoma. Trouble is FS<br>
&gt; uses the sangoma even in case of passthrough. Is there something that<br>
&gt; can be done to use mod_G729 for passthrough and sangoma g729 for ptime<br>
&gt; mismatch ?<br>
&gt;<br>
&gt;<br>
&gt; On Fri, May 31, 2013 at 5:55 PM, Steven Ayre &lt;<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a><br>
</div><div><div class="h5">&gt; &lt;mailto:<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     First have you tried passthru_ptime_mismatch=true yet? It&#39;s not<br>
&gt;     the default used by the passthrough mod_g729 codec.<br>
&gt;<br>
&gt;     Only one module can be loaded at a time to provide a given codec<br>
&gt;     (ie mod_g729 or mod_com_g729 or mod_sangoma_codec). Internally<br>
&gt;     perhaps the sangoma module would avoid licenses, but they would<br>
&gt;     need to clarify. AFAIK mod_com_g729 only uses a license when<br>
&gt;     required, simple 729-729 bridges still use passthrough, but I<br>
&gt;     don&#39;t know how ptime affects that. It&#39;s be easy to test though -<br>
&gt;     load it without any licenses and try a 729-729 call with differing<br>
&gt;     primes and see it the call gets through.<br>
&gt;<br>
&gt;     -Steve<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;     On Friday, May 31, 2013, Ashwin Rath wrote:<br>
&gt;<br>
&gt;         Thanks Anthony ,<br>
&gt;<br>
&gt;         Looks like we would need to purchase a G729 license for<br>
&gt;         Freeswitch or use a Sangoma card. Is there some configuration<br>
&gt;         which tells Freeswitch to use the card ( or the software codec<br>
&gt;         ) only in case of a ptime mismatch  so that we could save on<br>
&gt;         the licensing fee only for calls that actually need ptime<br>
&gt;         conversion ?<br>
&gt;<br>
&gt;<br>
&gt;         On Tue, May 28, 2013 at 8:21 PM, Anthony Minessale<br>
&gt;         &lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;             Set the variable passthru_ptime_mismatch=true on both legs<br>
&gt;             of the call.  That&#39;s the best we can do.  If that doesn&#39;t<br>
&gt;             work you&#39;ll need licenses.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;             On Tue, May 28, 2013 at 9:12 AM, Ashwin Rath<br>
&gt;             &lt;<a href="mailto:ashwinrath@gmail.com">ashwinrath@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;                 Hi<br>
&gt;<br>
&gt;                 I am trying to configure FS as a B2BUA which can do<br>
&gt;                 ptime conversions between the ingress and egress leg.<br>
&gt;<br>
&gt;                 The question is, if both legs have G729 as the codec<br>
&gt;                 but ptime 20 on one and 30 on another, would i still<br>
&gt;                 need to get the licensed mod_com_g729 or can it work<br>
&gt;                 with the passthrough mod_g729. I already tried it out,<br>
&gt;                 but it doesnt seem to work.<br>
&gt;<br>
&gt;                 Is there some configuration needed for this ?<br>
&gt;<br>
&gt;                 --<br>
&gt;                 Thegrid<br>
&gt;<br>
&gt;                 _________________________________________________________________________<br>
&gt;                 Professional FreeSWITCH Consulting Services:<br>
&gt;                 <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt;                 <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt;                 FreeSWITCH-powered IP PBX: The CudaTel Communication<br>
&gt;                 Server<br>
&gt;                 <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt;                 Official FreeSWITCH Sites<br>
&gt;                 <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;                 <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt;                 <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt;                 FreeSWITCH-users mailing list<br>
&gt;                 <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;                 <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;                 UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;                 <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;             --<br>
&gt;             Anthony Minessale II<br>
&gt;<br>
&gt;             FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
&gt;             ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
&gt;             Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
&gt;<br>
&gt;             AIM: anthm<br>
&gt;             <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
&gt;             GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
</div></div>&gt;             IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> &lt;<a href="http://irc.freenode.net" target="_blank">http://irc.freenode.net</a>&gt; #freeswitch<br>
<div class="im">&gt;<br>
&gt;             FreeSWITCH Developer Conference<br>
&gt;             <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
&gt;             <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
&gt;             pstn:<a href="tel:%2B19193869900" value="+19193869900">+19193869900</a><br>
&gt;<br>
&gt;             _________________________________________________________________________<br>
&gt;             Professional FreeSWITCH Consulting Services:<br>
&gt;             <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt;             <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt;             FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt;             <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt;             Official FreeSWITCH Sites<br>
&gt;             <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;             <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt;<br>
&gt;         Ashwin Kumar Rath<br>
&gt;<br>
&gt;<br>
&gt;     _________________________________________________________________________<br>
&gt;     Professional FreeSWITCH Consulting Services:<br>
</div>&gt;     <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a> &lt;mailto:<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>&gt;<br>
<div class="im">&gt;     <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt;     FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt;     <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt;     Official FreeSWITCH Sites<br>
&gt;     <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;     <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt;     <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt;     FreeSWITCH-users mailing list<br>
&gt;     <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
</div>&gt;     &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<br>
<div class="im HOEnZb">&gt;     <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;     UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;     <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Ashwin Kumar Rath<br>
&gt;<br>
&gt;<br>
</div><div class="HOEnZb"><div class="h5">&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Ashwin Kumar Rath<br>
</div>