<div dir="ltr">strangely enough, it doesn&#39;t seem like a client issue.<div>I have registered an IP phone, ekiga on pc, and csipsimple, and tried making calls from each to each, all showing the same behavior.</div><div>for instance, from ip phone(1005) to ekiga(1009)</div>
<div><div><i><font size="1">2014-06-05 13:58:00.462309 [NOTICE] sofia.c:6296 Ring-Ready sofia/internal/<a href="http://sip:1009@10.0.1.14:5060">sip:1009@10.0.1.14:5060</a>!</font></i></div><div><i><font size="1">2014-06-05 13:58:00.462309 [DEBUG] switch_channel.c:3271 (sofia/internal/<a href="http://sip:1009@10.0.1.14:5060">sip:1009@10.0.1.14:5060</a>) Callstate Change DOWN -&gt; RINGING</font></i></div>
<div><i><font size="1">2014-06-05 13:58:00.462309 [INFO] switch_ivr_originate.c:1191 Sending early media</font></i></div><div><i><font size="1">2014-06-05 13:58:00.462309 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [PCMU:0:8000:30:32000]/[G722:9:8000:20:64000]</font></i></div>
<div><i><font size="1">2014-06-05 13:58:00.462309 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [PCMU:0:8000:30:32000]/[PCMU:0:8000:20:64000]</font></i></div><div><i><font size="1">2014-06-05 13:58:00.462309 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [PCMU:0:8000:30:32000]/[PCMA:8:8000:20:64000]</font></i></div>
<div><i><font size="1">2014-06-05 13:58:00.462309 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [PCMU:0:8000:30:32000]/[GSM:3:8000:20:13200]</font></i></div><div><i><font size="1">2014-06-05 13:58:00.462309 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [PCMA:8:8000:30:32000]/[G722:9:8000:20:64000]</font></i></div>
<div><i><font size="1">2014-06-05 13:58:00.462309 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [PCMA:8:8000:30:32000]/[PCMU:0:8000:20:64000]</font></i></div><div><i><font size="1">2014-06-05 13:58:00.462309 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [PCMA:8:8000:30:32000]/[PCMA:8:8000:20:64000]</font></i></div>
<div><i><font size="1">2014-06-05 13:58:00.462309 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [PCMA:8:8000:30:32000]/[GSM:3:8000:20:13200]</font></i></div><div><i><font size="1">2014-06-05 13:58:00.462309 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [G729:18:8000:30:32000]/[G722:9:8000:20:64000]</font></i></div>
<div><i><font size="1">2014-06-05 13:58:00.462309 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [G729:18:8000:30:32000]/[PCMU:0:8000:20:64000]</font></i></div><div><i><font size="1">2014-06-05 13:58:00.462309 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [G729:18:8000:30:32000]/[PCMA:8:8000:20:64000]</font></i></div>
<div><i><font size="1">2014-06-05 13:58:00.462309 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [G729:18:8000:30:32000]/[GSM:3:8000:20:13200]</font></i></div><div><i><font size="1">2014-06-05 13:58:00.462309 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [G723:4:8000:30:32000]/[G722:9:8000:20:64000]</font></i></div>
<div><i><font size="1">2014-06-05 13:58:00.462309 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [G723:4:8000:30:32000]/[PCMU:0:8000:20:64000]</font></i></div><div><i><font size="1">2014-06-05 13:58:00.462309 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [G723:4:8000:30:32000]/[PCMA:8:8000:20:64000]</font></i></div>
<div><i><font size="1">2014-06-05 13:58:00.462309 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [G723:4:8000:30:32000]/[GSM:3:8000:20:13200]</font></i></div><div><i><font size="1">2014-06-05 13:58:00.462309 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [G726-32:2:8000:30:32000]/[G722:9:8000:20:64000]</font></i></div>
<div><i><font size="1">2014-06-05 13:58:00.462309 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [G726-32:2:8000:30:32000]/[PCMU:0:8000:20:64000]</font></i></div><div><i><font size="1">2014-06-05 13:58:00.462309 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [G726-32:2:8000:30:32000]/[PCMA:8:8000:20:64000]</font></i></div>
<div><i><font size="1">2014-06-05 13:58:00.462309 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [G726-32:2:8000:30:32000]/[GSM:3:8000:20:13200]</font></i></div><div><i><font size="1">2014-06-05 13:58:00.462309 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [G722:9:16000:30:32000]/[G722:9:8000:20:64000]</font></i></div>
<div><i><font size="1">2014-06-05 13:58:00.462309 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [G722:9:16000:30:32000]/[PCMU:0:8000:20:64000]</font></i></div><div><i><font size="1">2014-06-05 13:58:00.462309 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [G722:9:16000:30:32000]/[PCMA:8:8000:20:64000]</font></i></div>
<div><i><font size="1">2014-06-05 13:58:00.462309 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [G722:9:16000:30:32000]/[GSM:3:8000:20:13200]</font></i></div><div><i><font size="1">2014-06-05 13:58:00.482314 [DEBUG] switch_core_media.c:3309 Set telephone-event payload to 101</font></i></div>
<div><i><font size="1">2014-06-05 13:58:00.482314 [DEBUG] switch_core_media.c:3626 Set 2833 dtmf send/recv payload to 101</font></i></div><div><i><font size="1">2014-06-05 13:58:00.482314 [ERR] mod_sofia.c:2201 CODEC NEGOTIATION ERROR.  SDP:</font></i></div>
<div><i><font size="1">v=0</font></i></div><div><i><font size="1">o=1005 75411051 19394211 IN IP4 10.0.4.4</font></i></div><div><i><font size="1">s=A conversation</font></i></div><div><i><font size="1">c=IN IP4 10.0.4.4</font></i></div>
<div><i><font size="1">t=0 0</font></i></div><div><i><font size="1">m=audio 10136 RTP/AVP 0 8 18 4 2 9 101</font></i></div><div><i><font size="1">a=rtpmap:0 PCMU/8000</font></i></div><div><i><font size="1">a=rtpmap:8 PCMA/8000</font></i></div>
<div><i><font size="1">a=rtpmap:18 G729/8000</font></i></div><div><i><font size="1">a=rtpmap:4 G723/8000</font></i></div><div><i><font size="1">a=rtpmap:2 G726-32/8000</font></i></div><div><i><font size="1">a=rtpmap:9 G722/16000</font></i></div>
<div><i><font size="1">a=rtpmap:101 telephone-event/8000</font></i></div><div><i><font size="1">a=fmtp:101 0-15</font></i></div><div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 5, 2014 at 3:26 PM, Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Looks like a ptime mismatch, can you set the phone to use 20ms?</div>
<div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On 5 June 2014 10:06, Shlomi Agiv <span dir="ltr">&lt;<a href="mailto:shlomi.agiv@cell-buddy.com" target="_blank">shlomi.agiv@cell-buddy.com</a>&gt;</span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div>
Hi,</div><div>I&#39;m running freswitch version 1.4.4 and getting a strange codec error</div>
<div>
<b><br></b></div><div><div>when i call from a phone running CSIPSIMPLE(registered as user 1000) to 1005, the call hangs up and I get:</div>
<div><div><i><font size="1">2014-06-05 08:31:59.168784 [INFO] switch_ivr_originate.c:1191 Sending early media</font></i></div><div><i><font size="1">2014-06-05 08:31:59.168784 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [SILK:99:24000:20:0]/[G722:9:8000:20:64000]</font></i></div>



<div><i><font size="1">2014-06-05 08:31:59.168784 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [SILK:99:24000:20:0]/[PCMU:0:8000:20:64000]</font></i></div><div><i><font size="1">2014-06-05 08:31:59.168784 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [SILK:99:24000:20:0]/[PCMA:8:8000:20:64000]</font></i></div>



<div><i><font size="1">2014-06-05 08:31:59.168784 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [SILK:99:24000:20:0]/[GSM:3:8000:20:13200]</font></i></div><div><i><font size="1">2014-06-05 08:31:59.168784 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [PCMU:0:8000:30:32000]/[G722:9:8000:20:64000]</font></i></div>



<div><i><font size="1">2014-06-05 08:31:59.168784 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [PCMU:0:8000:30:32000]/[PCMU:0:8000:20:64000]</font></i></div><div><i><font size="1">2014-06-05 08:31:59.168784 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [PCMU:0:8000:30:32000]/[PCMA:8:8000:20:64000]</font></i></div>



<div><i><font size="1">2014-06-05 08:31:59.168784 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [PCMU:0:8000:30:32000]/[GSM:3:8000:20:13200]</font></i></div><div><i><font size="1">2014-06-05 08:31:59.168784 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [PCMA:8:8000:30:32000]/[G722:9:8000:20:64000]</font></i></div>



<div><i><font size="1">2014-06-05 08:31:59.168784 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [PCMA:8:8000:30:32000]/[PCMU:0:8000:20:64000]</font></i></div><div><i><font size="1">2014-06-05 08:31:59.168784 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [PCMA:8:8000:30:32000]/[PCMA:8:8000:20:64000]</font></i></div>



<div><i><font size="1">2014-06-05 08:31:59.168784 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [PCMA:8:8000:30:32000]/[GSM:3:8000:20:13200]</font></i></div><div><i><font size="1">2014-06-05 08:31:59.168784 [DEBUG] switch_core_media.c:3309 Set telephone-event payload to 101</font></i></div>



<div><i><font size="1">2014-06-05 08:31:59.168784 [DEBUG] switch_core_media.c:3626 Set 2833 dtmf send/recv payload to 101</font></i></div><div><i><font size="1">2014-06-05 08:31:59.168784 [ERR] mod_sofia.c:2201 CODEC NEGOTIATION ERROR.  SDP:</font></i></div>



<div><i><font size="1">v=0</font></i></div><div><i><font size="1">o=- 3610945918 3610945918 IN IP4 10.0.1.46</font></i></div><div><i><font size="1">s=pjmedia</font></i></div><div><i><font size="1">c=IN IP4 10.0.1.46</font></i></div>



<div><i><font size="1">t=0 0</font></i></div><div><i><font size="1">m=audio 4020 RTP/AVP 99 0 8 101</font></i></div><div><i><font size="1">c=IN IP4 10.0.1.46</font></i></div><div><i><font size="1">a=rtpmap:99 SILK/24000</font></i></div>



<div><i><font size="1">a=fmtp:99 useinbandfec=0</font></i></div><div><i><font size="1">a=rtpmap:0 PCMU/8000</font></i></div><div><i><font size="1">a=rtpmap:8 PCMA/8000</font></i></div><div><i><font size="1">a=rtpmap:101 telephone-event/8000</font></i></div>



<div><i><font size="1">a=fmtp:101 0-15</font></i></div><div><i><font size="1">a=rtcp:4021 IN IP4 10.0.1.46</font></i></div><div><i><font size="1"><br></font></i></div></div><div><div><i><font size="1">2014-06-05 08:31:59.168784 [DEBUG] switch_core_session.c:907 Send signal sofia/internal/<a href="mailto:1000@10.0.1.233" target="_blank">1000@10.0.1.233</a> [BREAK]</font></i></div>



<div><i><font size="1">2014-06-05 08:31:59.168784 [NOTICE] switch_channel.c:3432 Hangup sofia/internal/<a href="mailto:1000@10.0.1.233" target="_blank">1000@10.0.1.233</a> [CS_EXECUTE] [INCOMPATIBLE_DESTINATION]</font></i></div>


</div></div>
<div><b><br></b></div><div><b><br></b></div><div>when i call using cmd &#39;originate user/1005 &amp;bridge(user/1000)&#39; The call goes through and I get:</div><div><br></div><div><i><font size="1">2014-06-05 08:25:18.073562 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [PCMU:0:8000:20:64000]/[PCMU:0:8000:20:64000]</font></i></div>



<div><i><font size="1">2014-06-05 08:25:18.073562 [DEBUG] switch_core_media.c:3437 Audio Codec Compare [PCMU:0:8000:20:64000] ++++ is saved as a match</font></i></div><div><i><font size="1">2014-06-05 08:25:18.073562 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [PCMU:0:8000:20:64000]/[G722:9:8000:20:64000]</font></i></div>



<div><i><font size="1">2014-06-05 08:25:18.073562 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [PCMU:0:8000:20:64000]/[PCMA:8:8000:20:64000]</font></i></div><div><i><font size="1">2014-06-05 08:25:18.073562 [DEBUG] switch_core_media.c:3383 Audio Codec Compare [PCMU:0:8000:20:64000]/[GSM:3:8000:20:13200]</font></i></div>



<div><i><font size="1">2014-06-05 08:25:18.073562 [DEBUG] switch_core_media.c:3309 Set telephone-event payload to 101</font></i></div><div><i><font size="1">2014-06-05 08:25:18.073562 [DEBUG] switch_core_media.c:2343 Set Codec sofia/internal/<a href="http://sip:1000@10.0.1.46:51113" target="_blank">sip:1000@10.0.1.46:51113</a> PCMU/8000 20 ms 160 samples 64000 bits</font></i></div>



<div><i><font size="1">2014-06-05 08:25:18.073562 [DEBUG] switch_core_codec.c:111 sofia/internal/<a href="http://sip:1000@10.0.1.46:51113" target="_blank">sip:1000@10.0.1.46:51113</a> Original read codec set to PCMU:0</font></i></div>


<div>
<i><font size="1">2014-06-05 08:25:18.093570 [DEBUG] switch_core_media.c:3617 Set 2833 dtmf send payload to 101</font></i></div><div><i><font size="1">2014-06-05 08:25:18.093570 [DEBUG] switch_core_media.c:4841 AUDIO RTP [sofia/internal/<a href="http://sip:1000@10.0.1.46:51113" target="_blank">sip:1000@10.0.1.46:51113</a>] 10.0.1.233 port 32636 -&gt; 10.0.1.46 port 4016 codec: 0 ms: 20</font></i></div>



<div><i><font size="1">2014-06-05 08:25:18.093570 [DEBUG] switch_rtp.c:3349 Starting timer [soft] 160 bytes per 20ms</font></i></div><div><i><font size="1">2014-06-05 08:25:18.113587 [INFO] switch_core_media.c:5053 Activating RTCP PORT 4017</font></i></div>



</div><div><br></div><div><br></div><div>Even stranger, when I call using the same configuration under 1.2.17, the call goes through:</div><div><div><i><font size="1">2014-06-05 08:43:39.400774 [DEBUG] sofia_glue.c:5278 Audio Codec Compare [SILK:99:24000:20:0]/[G722:9:8000:20:64000]</font></i></div>



<div><i><font size="1">2014-06-05 08:43:39.400774 [DEBUG] sofia_glue.c:5278 Audio Codec Compare [SILK:99:24000:20:0]/[PCMU:0:8000:20:64000]</font></i></div><div><i><font size="1">2014-06-05 08:43:39.400774 [DEBUG] sofia_glue.c:5278 Audio Codec Compare [SILK:99:24000:20:0]/[PCMA:8:8000:20:64000]</font></i></div>



<div><i><font size="1">2014-06-05 08:43:39.400774 [DEBUG] sofia_glue.c:5278 Audio Codec Compare [SILK:99:24000:20:0]/[GSM:3:8000:20:13200]</font></i></div><div><i><font size="1">2014-06-05 08:43:39.400774 [DEBUG] sofia_glue.c:5278 Audio Codec Compare [PCMU:0:8000:20:64000]/[G722:9:8000:20:64000]</font></i></div>



<div><i><font size="1">2014-06-05 08:43:39.400774 [DEBUG] sofia_glue.c:5278 Audio Codec Compare [PCMU:0:8000:20:64000]/[PCMU:0:8000:20:64000]</font></i></div><div><i><font size="1">2014-06-05 08:43:39.400774 [DEBUG] sofia_glue.c:3186 Set Codec sofia/internal/<a href="mailto:1000@10.0.1.233" target="_blank">1000@10.0.1.233</a> PCMU/8000 20 ms 160 samples 64000 bits</font></i></div>



<div><i><font size="1">2014-06-05 08:43:39.400774 [DEBUG] switch_core_codec.c:111 sofia/internal/<a href="mailto:1000@10.0.1.233" target="_blank">1000@10.0.1.233</a> Original read codec set to PCMU:0</font></i></div><div>


<i><font size="1">2014-06-05 08:43:39.400774 [DEBUG] sofia_glue.c:5446 Set 2833 dtmf send/recv payload to 101</font></i></div>
<div><i><font size="1">2014-06-05 08:43:39.400774 [DEBUG] sofia_glue.c:3445 AUDIO RTP [sofia/internal/<a href="mailto:1000@10.0.1.233" target="_blank">1000@10.0.1.233</a>] 10.0.1.233 port 23172 -&gt; 10.0.1.46 port 4004 codec: 0 ms: 20</font></i></div>



</div><div><br></div><div><br></div><div>what could possibly be the reason for that? I have little understanding of codecs handling.</div><div>Thanks,</div><div>Shlomi Agiv</div><div><br></div></div>
<br></div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto: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>
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" 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>
<br></blockquote></div><br></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" 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>
<br></blockquote></div><br></div></div></div>