<div dir="ltr">Thanks for prompt reply.<div><br></div><div>Steven, later today i will try to update FS to the latest git and check this out.</div><div><br></div><div>Ken, i am fine with CN, passing thru is what i really need, but the question is why FS generates such ERRors and how to get out of this.</div><div><br></div><div>Thanks</div><div>Mac.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-12-11 17:12 GMT+01:00 Ken Rice <span dir="ltr">&lt;<a href="mailto:krice@freeswitch.org" target="_blank">krice@freeswitch.org</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div>
<font face="Monaco, Courier New"><span style="font-size:11pt">CN is comfort noise... Your cisco is sending it, and freeswitch is passing it thru because you have told it to use proxy media mode...<div><div class="h5"><br>
<br>
<br>
On 12/11/14 9:53 AM, &quot;Steven Ayre&quot; &lt;<a href="http://steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt; wrote:<br>
<br>
</div></div></span></font><blockquote><div><div class="h5"><font face="Monaco, Courier New"><span style="font-size:11pt">Your version is 3 months old. Can you reproduce this on the latest git head?<br>
<br>
On 11 December 2014 at 13:45, Maciej Bylica &lt;<a href="http://mbsip@gazeta.pl" target="_blank">mbsip@gazeta.pl</a>&gt; wrote:<br>
</span></font><blockquote><font face="Monaco, Courier New"><span style="font-size:11pt">Hello,<br>
<br>
I am running FreeSWITCH Version 1.5.14b+git~20140917T231120Z~8f85b5204c~64bit, proxy media mode and heaving problem with some call requests setup.<br>
Here is one of them:<br>
<br>
2014-12-11 13:38:15.034612 [NOTICE] switch_channel.c:1055 New Channel sofia/outside_1/20049112223344 []<br>
2014-12-11 13:38:15.034612 [DEBUG] mod_sofia.c:4579 (sofia/outside_1/20049112223344) State Change CS_NEW -&gt; CS_INIT<br>
2014-12-11 13:38:15.034612 [DEBUG] switch_core_session.c:1388 Send signal sofia/outside_1/20049112223344 [BREAK]<br>
2014-12-11 13:38:15.054610 [DEBUG] switch_core_state_machine.c:472 (sofia/outside_1/20049112223344) Running State Change CS_INIT<br>
2014-12-11 13:38:15.054610 [DEBUG] switch_core_state_machine.c:512 (sofia/outside_1/20049112223344) State INIT<br>
2014-12-11 13:38:15.054610 [DEBUG] mod_sofia.c:87 sofia/outside_1/20049112223344 SOFIA INIT<br>
2014-12-11 13:38:15.054610 [DEBUG] switch_core_media.c:7510 sofia/outside_1/20049112223344 Patched SDP<br>
 ---<br>
 v=0<br>
 o=CiscoSystemsSIP-GW-UserAgent 6016 7716 IN IP4 10.10.10.226<br>
 s=SIP Call<br>
 c=IN IP4 10.10.10.12<br>
 t=0 0<br>
 m=audio 24782 RTP/AVP 18 19<br>
 c=IN IP4 10.10.10.12<br>
 a=rtpmap:18 G729/8000<br>
 a=fmtp:18 annexb=yes<br>
 a=rtpmap:19 CN/8000<br>
<br>
 +++<br>
 v=0<br>
 o=FreeSWITCH 0255539876 0255539877 IN IP4 10.10.10.166<br>
 s=FreeSWITCH<br>
 c=IN IP4 10.10.10.166<br>
 t=0 0<br>
 m=audio 19690 RTP/AVP 18 19<br>
 c=IN IP4 10.10.10.166<br>
 a=rtpmap:18 G729/8000<br>
 a=fmtp:18 annexb=yes<br>
 a=rtpmap:19 CN/8000<br>
<br>
 2014-12-11 13:38:15.054610 [DEBUG] sofia_glue.c:1228 sofia/outside_1/20049112223344 sending invite version: 1.5.14b git 8f85b52 2014-09-17 23:11:20Z 64bit<br>
 Local SDP:<br>
 v=0<br>
 o=FreeSWITCH 0255539876 0255539877 IN IP4 10.10.10.166<br>
 s=FreeSWITCH<br>
 c=IN IP4 10.10.10.166<br>
 t=0 0<br>
 m=audio 19690 RTP/AVP 18 19<br>
 c=IN IP4 10.10.10.166<br>
 a=rtpmap:18 G729/8000<br>
 a=fmtp:18 annexb=yes<br>
 a=rtpmap:19 CN/8000<br>
<br>
sending out SDP exactly as shown above.<br>
The other side is responsing with 100, then 180 Ringing wo/SDP then 183 w/SDP<br>
 <br>
 2014-12-11 14:29:12.214608 [DEBUG] sofia.c:6423 Channel sofia/outside_1/20049112223344 entering state [proceeding][183]<br>
 2014-12-11 14:29:12.214608 [DEBUG] sofia.c:6433 Remote SDP:<br>
 v=0<br>
 o=Dialogic_SDP 11471558 0 IN IP4 10.10.10.218<br>
 s=Dialogic-SIP<br>
 c=IN IP4 10.10.10.198<br>
 t=0 0<br>
 m=audio 10024 RTP/AVP 19 18<br>
 a=rtpmap:19 CN/8000<br>
 a=rtpmap:18 G729/8000<br>
 a=fmtp:18 annexb=yes<br>
 a=silenceSupp:off - - - -<br>
 a=ptime:20<br>
<br>
 2014-12-11 14:29:12.214608 [DEBUG] switch_core_media.c:7510 sofia/outside_1/20049112223344 Patched SDP<br>
 ---<br>
 v=0<br>
 o=FreeSWITCH 0351957506 0351957507 IN IP4 10.10.10.166<br>
 s=FreeSWITCH<br>
 c=IN IP4 10.10.10.166<br>
 t=0 0<br>
 m=audio 29492 RTP/AVP 18 19<br>
 c=IN IP4 10.10.10.166<br>
 a=rtpmap:18 G729/8000<br>
 a=fmtp:18 annexb=yes<br>
 a=rtpmap:19 CN/8000<br>
<br>
 +++<br>
 v=0<br>
 o=FreeSWITCH 0351957506 0351957508 IN IP4 10.10.10.166<br>
 s=FreeSWITCH<br>
 c=IN IP4 10.10.10.166<br>
 t=0 0<br>
 m=audio 29492 RTP/AVP 18 19<br>
 c=IN IP4 10.10.10.166<br>
 a=rtpmap:18 G729/8000<br>
 a=fmtp:18 annexb=yes<br>
 a=rtpmap:19 CN/8000<br>
<br>
2014-12-11 14:29:12.214608 [ERR] switch_core_codec.c:651 <b>Invalid codec CN!<br>
</b>2014-12-11 14:29:12.214608 [ERR] switch_core_media.c:2294 <b>Can&#39;t load codec?<br>
</b>2014-12-11 14:29:12.214608 [NOTICE] switch_core_media.c:2295 Hangup sofia/outside_1/20049112223344 [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION]<br>
2014-12-11 14:29:12.214608 [DEBUG] switch_channel.c:3222 Send signal sofia/outside_1/20049112223344 [KILL]<br>
<br>
and Freeswitch is terminating the call by using CANCEL.<br>
<br>
My modules.conf.xml config part looks like following:<br>
    &lt;!-- Codec Interfaces --&gt;<br>
    &lt;load module=&quot;mod_spandsp&quot;/&gt;<br>
    &lt;load module=&quot;mod_g723_1&quot;/&gt;<br>
    &lt;load module=&quot;mod_g729&quot;/&gt;<br>
    &lt;!--load module=&quot;mod_amr&quot;/--&gt;<br>
    &lt;!--&lt;load module=&quot;mod_ilbc&quot;/&gt;--&gt;<br>
    &lt;load module=&quot;mod_h26x&quot;/&gt;<br>
    &lt;!--load module=&quot;mod_vp8&quot;/--&gt;<br>
    &lt;!--load module=&quot;mod_b64&quot;/--&gt;<br>
    &lt;!--&lt;load module=&quot;mod_siren&quot;/&gt;--&gt;<br>
    &lt;!--&lt;load module=&quot;mod_isac&quot;/&gt;--&gt;<br>
    &lt;!--&lt;load module=&quot;mod_celt&quot;/&gt;--&gt;<br>
    &lt;!--load module=&quot;mod_opus&quot;/--&gt;<br>
<br>
Is it a problem with CN definition?<br>
Could you please lead me where the problem is located?<br>
<br>
Thanks in advance.<br>
Mac.<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="http://consulting@freeswitch.org" target="_blank">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="http://FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
</span></font></blockquote></div></div><font face="Monaco, Courier New"><span style="font-size:11pt"><br>
<hr align="CENTER" size="3" width="95%"></span></font><span class=""><font><font face="Consolas, Courier New, Courier"><span style="font-size:10pt">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services: <br>
<a href="http://consulting@freeswitch.org" target="_blank">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="http://FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
</span></font></font></span></blockquote><span class="HOEnZb"><font color="#888888"><font><font face="Consolas, Courier New, Courier"><span style="font-size:10pt"><br>
</span></font></font><font face="Monaco, Courier New"><span style="font-size:11pt">-- <br>
Ken<br>
<font color="#0000FF"><u><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br>
<a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br>
</u></font><a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br>
Twitter: @FreeSWITCH<br>
<br>
</span></font>
</font></span></div>


<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com">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">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br></blockquote></div><br></div>