<div dir="ltr">I labbed it up based on your description and added logging to where it turns on dtx and it never turned it on.<div>I always turn off the CNG because it creates delay in the chrome side.<br><div><br></div><div>There was also a buffer overflow discovered in opus that caused such glitches so if you are not running the latest you can try that as the overflow could also lead to crashes and dropped calls.</div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 16, 2015 at 1:11 PM, Thomas Auge <span dir="ltr">&lt;<a href="mailto:auge@virtues.net" target="_blank">auge@virtues.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It&#39;s not a bug in Freeswitch, it&#39;s the Comrex losing the usedtx=0, not Freeswitch. I forgot that I had changed that<br>
myself before and with the latest mod_opus update I switched back to the vanilla version.<br>
<br>
My bad, sorry!<br>
<br>
It would be nice to have more config options for opus to work around such things. :)<br>
<span class=""><br>
<br>
On 16.01.2015 15:39, Anthony Minessale wrote:<br>
</span><span class="">&gt; Looking at your issue however I don&#39;t see dtx being enabled when I lab up what you described.<br>
&gt;<br>
&gt; Try this in vars.xml to disable CNG completely.<br>
&gt;<br>
</span>&gt; &lt;X-PRE-PROCESScmd=&quot;set&quot;data=&quot;suppress_cng=true&quot;/&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Fri, Jan 16, 2015 at 12:28 PM, Anthony Minessale &lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a> &lt;mailto:<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt;&gt;<br>
<span class="">&gt; wrote:<br>
&gt;<br>
&gt;     Its better to ask by filing the jira its one click to close it and if there is a real issue we need logs etc<br>
&gt;     attached and something to reference if we push a fix.<br>
&gt;<br>
&gt;<br>
&gt;<br>
</span><span class="">&gt;     On Fri, Jan 16, 2015 at 12:26 PM, Thomas Auge &lt;<a href="mailto:auge@virtues.net">auge@virtues.net</a> &lt;mailto:<a href="mailto:auge@virtues.net">auge@virtues.net</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;         I figured I&#39;d ask for an opinion before filing a bogus bug. :P<br>
&gt;<br>
&gt;<br>
&gt;         On 16.01.2015 15:16, Anthony Minessale wrote:<br>
</span>&gt;         &gt; Its also a bug to send bugs to the mailing list instead ofhttp://<a href="http://jira.freeswitch.org" target="_blank">jira.freeswitch.org</a><br>
<span class="">&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt; On Fri, Jan 16, 2015 at 12:12 PM, Thomas Auge &lt;<a href="mailto:auge@virtues.net">auge@virtues.net</a> &lt;mailto:<a href="mailto:auge@virtues.net">auge@virtues.net</a>&gt; &lt;mailto:<a href="mailto:auge@virtues.net">auge@virtues.net</a> &lt;mailto:<a href="mailto:auge@virtues.net">auge@virtues.net</a>&gt;&gt;&gt; wrote:<br>
&gt;         &gt;<br>
&gt;         &gt;     Hello list,<br>
&gt;         &gt;<br>
&gt;         &gt;     I noticed that in an opus call where the a-leg sends usedtx=0, it is properly forwarded to the b-leg, which in this case<br>
&gt;         &gt;     also correctly responds with usedtx=0. However, the local SDP for the a-leg then does not have usedtx in the fmtp at<br>
&gt;         &gt;     all, and it seems to be enabled.<br>
&gt;         &gt;<br>
&gt;         &gt;     My C skills are limited, but could this be a bug:<br>
&gt;         &gt;<br>
&gt;         &gt;     static opus_codec_settings_t default_codec_settings = {<br>
&gt;         &gt;     ....<br>
&gt;         &gt;           /*.usedtx */ 1,<br>
&gt;         &gt;     ....<br>
&gt;         &gt;     };<br>
&gt;         &gt;<br>
&gt;         &gt;     By default, usedtx is enabled, correct?<br>
&gt;         &gt;<br>
&gt;         &gt;     However, in<br>
&gt;         &gt;<br>
&gt;         &gt;     static char *gen_fmtp(opus_codec_settings_t *settings, switch_memory_pool_t *pool)<br>
&gt;         &gt;<br>
&gt;         &gt;     there&#39;s this:<br>
&gt;         &gt;<br>
&gt;         &gt;     if (settings-&gt;usedtx) {<br>
&gt;         &gt;           snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), &quot;usedtx=1; &quot;);<br>
&gt;         &gt;     }<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;     Am I interpreting this correctly that if usedtx is zero, it is omitted in the fmtp line, but then enabled, because<br>
&gt;         &gt;     that&#39;s the default setting?<br>
&gt;         &gt;<br>
&gt;         &gt;     Problem is that Chrome can&#39;t handle DTX and generates comfort noise every time it kicks in.<br>
&gt;         &gt;<br>
&gt;         &gt;     Cheers!<br>
&gt;         &gt;<br>
&gt;         &gt;     Thomas<br>
&gt;         &gt;<br>
&gt;         &gt;     P.S.: If my interpretation is correct, it&#39;ll also affect useinbandfec.<br>
&gt;         &gt;<br>
&gt;         &gt;     _________________________________________________________________________<br>
&gt;         &gt;     Professional FreeSWITCH Consulting Services:<br>
</span>&gt;          &gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a> &lt;mailto:<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>&gt; &lt;mailto:<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<span class="">&gt;         &lt;mailto:<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>&gt;&gt;<br>
&gt;         &gt;<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;         &gt;<br>
&gt;         &gt;     Official FreeSWITCH Sites<br>
&gt;         &gt;<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;         &gt;<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
&gt;         &gt;<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;         &gt;<br>
&gt;         &gt;     FreeSWITCH-users mailing list<br>
&gt;          &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a> &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<br>
</span>&gt;         &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a> &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&gt;&gt;<br>
<span class="">&gt;         &gt;<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;         &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;         &gt;<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt; --<br>
&gt;         &gt; Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬<br>
&gt;         &gt;<br>
&gt;         &gt; ☞<a href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a>  ☞ <a href="http://cluecon.com/" target="_blank">http://cluecon.com/</a>  ☞ <a href="http://twitter.com/FreeSWITCH" target="_blank">http://twitter.com/FreeSWITCH</a><br>
</span>&gt;          &gt; ☞ <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; &lt;<a href="http://irc.freenode.net" target="_blank">http://irc.freenode.net</a>&gt; #freeswitch ☞ _<a href="http://freeswitch.org/g+_" target="_blank">http://freeswitch.org/g+_</a><br>
<span class="">&gt;          &gt;<br>
&gt;          &gt; ClueCon Weekly Development Call<br>
&gt;          &gt; ☎ <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a> &lt;mailto:<a href="mailto:sip%253A888@conference.freeswitch.org">sip%3A888@conference.freeswitch.org</a>&gt;<br>
</span><span class="">&gt;         &lt;mailto:<a href="mailto:sip%253A888@conference.freeswitch.org">sip%3A888@conference.freeswitch.org</a> &lt;mailto:<a href="mailto:sip%25253A888@conference.freeswitch.org">sip%253A888@conference.freeswitch.org</a>&gt;&gt;  ☎ <a href="tel:%2B19193869900" value="+19193869900">+19193869900</a><br>
&gt;         &lt;tel:%2B19193869900&gt;<br>
&gt;          &gt;<br>
&gt;          &gt;<br>
&gt;          &gt;<br>
</span><div><div class="h5">&gt;          &gt; _________________________________________________________________________<br>
&gt;          &gt; Professional FreeSWITCH Consulting Services:<br>
&gt;          &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>
&gt;          &gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;          &gt;<br>
&gt;          &gt; Official FreeSWITCH Sites<br>
&gt;          &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;          &gt; <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
&gt;          &gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;          &gt;<br>
&gt;          &gt; FreeSWITCH-users mailing list<br>
&gt;          &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a> &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<br>
&gt;          &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;          &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;          &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;          &gt;<br>
&gt;<br>
&gt;<br>
&gt;         _________________________________________________________________________<br>
&gt;         Professional FreeSWITCH Consulting Services:<br>
&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>
&gt;         <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.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://confluence.freeswitch.org" target="_blank">http://confluence.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> &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<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       ♬ @anthmfs  ♬ @FreeSWITCH  ♬<br>
&gt;<br>
&gt;     ☞ <a href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a>  ☞ <a href="http://cluecon.com/" target="_blank">http://cluecon.com/</a>  ☞ <a href="http://twitter.com/FreeSWITCH" target="_blank">http://twitter.com/FreeSWITCH</a><br>
&gt;     ☞ <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 ☞ _<a href="http://freeswitch.org/g+_" target="_blank">http://freeswitch.org/g+_</a><br>
&gt;<br>
&gt;     ClueCon Weekly Development Call<br>
</div></div>&gt;     ☎ <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a> &lt;mailto:<a href="mailto:sip%253A888@conference.freeswitch.org">sip%3A888@conference.freeswitch.org</a>&gt;  ☎ <a href="tel:%2B19193869900" value="+19193869900">+19193869900</a> &lt;tel:%2B19193869900&gt;<br>
<div class="HOEnZb"><div class="h5">&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬<br>
&gt;<br>
&gt; ☞ <a href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a>  ☞ <a href="http://cluecon.com/" target="_blank">http://cluecon.com/</a>  ☞ <a href="http://twitter.com/FreeSWITCH" target="_blank">http://twitter.com/FreeSWITCH</a><br>
&gt; ☞ <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 ☞ _<a href="http://freeswitch.org/g+_" target="_blank">http://freeswitch.org/g+_</a><br>
&gt;<br>
&gt; ClueCon Weekly Development Call<br>
&gt; ☎ <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a> &lt;mailto:<a href="mailto:sip%253A888@conference.freeswitch.org">sip%3A888@conference.freeswitch.org</a>&gt;  ☎ <a href="tel:%2B19193869900" value="+19193869900">+19193869900</a><br>
&gt;<br>
&gt;<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; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.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>
<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>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.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></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬<div><br><div>☞ <a href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a>  ☞ <a href="http://cluecon.com/" target="_blank">http://cluecon.com/</a>  ☞ <a href="http://twitter.com/FreeSWITCH" target="_blank">http://twitter.com/FreeSWITCH</a></div><div><div>☞ <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch ☞ <u><a href="http://freeswitch.org/g+" target="_blank">http://freeswitch.org/g+</a></u><br><br></div><div>ClueCon Weekly Development Call <br></div><div>☎ <a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a>  ☎ +19193869900 </div><div><br></div></div></div></div></div>
</div>