I think we need to see more information, like the entire call log from start to finish. Use <a href="http://pastebin.freeswitch.org">pastebin.freeswitch.org</a> and use &quot;FreeSWITCH Log&quot; for syntax highlighting.<br>
<br>-MC<br><br><div class="gmail_quote">On Thu, May 3, 2012 at 1:55 PM, Cucu Florian <span dir="ltr">&lt;<a href="mailto:koralu@gmail.com" target="_blank">koralu@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br><br>I have the following problem regarding early media.<br>When I call from Xlite(extension 1000) to one of my SIP endpoint(extension 1001) I hear a fake long ring instead of media.<br>Both endpoints accept G711ulaw and alaw codec. I think that 1001 send an 183 SIP response that is misinterpret by FS or Xlite. Is any solution to hear in xlite the correct media that 1001 send it?<br>

<br>Thanks in advance.<br><br><br>My Freeswitch logs are:<br><br>2012-05-03 23:40:25.027591 [INFO] mod_dialplan_xml.c:485 Processing 1000 &lt;1&gt;1001 in context default<br>2012-05-03 23:40:25.050838 [INFO] switch_ivr_async.c:3195 Bound B-Leg: *1 ee_extension::dx XML features<br>

2012-05-03 23:40:25.050838 [INFO] switch_ivr_async.c:3195 Bound B-Leg: *2 r_session::/usr/local/freeswitch/recordings/1000.2012-05-03-23-40-25.wav<br>2012-05-03 23:40:25.067389 [INFO] switch_ivr_async.c:3195 Bound B-Leg: *3 ee_extension::cf XML features<br>

2012-05-03 23:40:25.067389 [INFO] switch_ivr_async.c:3195 Bound B-Leg: *4 ee_extension::att_xfer XML features<br>2012-05-03 23:40:25.087371 [NOTICE] switch_channel.c:926 New Channel sofia/nal/<a href="http://sip:1001@192.168.1.69:5060" target="_blank">sip:1001@192.168.1.69:5060</a> [35ddd1a6-9560-11e1-8f20-dd25b25b02e6]<br>

2012-05-03 23:40:25.187367 [NOTICE] sofia.c:5633 Pre-Answer sofia/internal/<a href="http://001@192.168.1.69:5060" target="_blank">001@192.168.1.69:5060</a>!<br><b>2012-05-03 23:40:25.210095 [INFO] switch_ivr.c:725 Sending early media</b><br>

<b>2012-05-03 23:40:25.210095 [NOTICE] mod_sofia.c:2578 Pre-Answer sofia/<a href="mailto:inter000@192.168.1.10" target="_blank">inter000@192.168.1.10</a>!</b><br>2012-05-03 23:40:56.610515 [NOTICE] sofia.c:6293 Hangup sofia/internal/<a href="http://sip:1001@192.168.1.69:5060" target="_blank">sip:1001@192.168.1.69:5060</a> [CS_HIBERNATE] [NORMAL_TEMPORARY_FAILURE]<br>

2012-05-03 23:40:56.610515 [NOTICE] switch_core_session.c:1398 Session 22 (sofia/internal/<a href="http://sip:1001@192.168.1.69:5060" target="_blank">sip:1001@192.168.1.69:5060</a>) Ended<br>2012-05-03 23:40:56.610515 [NOTICE] switch_core_session.c:1400 Close Channel sofia/internal/<a href="http://sip:1001@192.168.1.69:5060" target="_blank">sip:1001@192.168.1.69:5060</a> [CS_DESTROY]<br>

2012-05-03 23:40:56.610515 [NOTICE] mod_dptools.c:1135 Channel [sofia/internal/<a href="mailto:1000@192.168.1.10" target="_blank">1000@192.168.1.10</a>] has been answered<br>2012-05-03 23:40:57.627386 [NOTICE] switch_channel.c:926 New Channel loopback/app=voicemail:default 192.168.1.10 1001-a [494485e6-9560-11e1-8f2c-dd25b25b02e6]<br>

2012-05-03 23:40:57.627386 [NOTICE] switch_channel.c:924 Rename Channel loopback/app=voicemail:default 192.168.1.10 1001-a-&gt;loopback/voicemail-a [494485e6-9560-11e1-8f2c-dd25b25b02e6]<br>2012-05-03 23:40:57.647627 [NOTICE] switch_channel.c:926 New Channel loopback/voicemail-b [49452e10-9560-11e1-8f30-dd25b25b02e6]<br>

2012-05-03 23:40:57.647627 [NOTICE] mod_loopback.c:760 Pre-Answer loopback/voicemail-a!<br>2012-05-03 23:40:57.647627 [NOTICE] mod_dptools.c:1161 Pre-Answer loopback/voicemail-b!<br><b>2012-05-03 23:40:57.647627 [WARNING] switch_ivr_bridge.c:246 Cannot bypass media while bridged to a loopback address.</b><br>

<b>2012-05-03 23:40:57.647627 [ERR] switch_core_io.c:131 sofia/internal/<a href="mailto:1000@192.168.1.10" target="_blank">1000@192.168.1.10</a> has no read codec.</b><br>2012-05-03 23:40:57.647627 [NOTICE] switch_core_io.c:132 Hangup sofia/internal/<a href="mailto:1000@192.168.1.10" target="_blank">1000@192.168.1.10</a> [CS_EXECUTE] [INCOMPATIBLE_DESTINATION]<br>

2012-05-03 23:40:57.667365 [NOTICE] switch_ivr_bridge.c:667 Hangup loopback/voicemail-a [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL]<br>2012-05-03 23:40:57.667365 [NOTICE] mod_loopback.c:438 Hangup loopback/voicemail-b [CS_EXECUTE] [ORIGINATOR_CANCEL]<br>

2012-05-03 23:40:57.667365 [NOTICE] switch_core_session.c:1398 Session 21 (sofia/internal/<a href="mailto:1000@192.168.1.10" target="_blank">1000@192.168.1.10</a>) Ended<br>2012-05-03 23:40:57.667365 [NOTICE] switch_core_session.c:1400 Close Channel sofia/internal/<a href="mailto:1000@192.168.1.10" target="_blank">1000@192.168.1.10</a> [CS_DESTROY]<br>

2012-05-03 23:40:57.719451 [WARNING] switch_ivr_play_say.c:339 Macro [voicemail_play_greeting]: &#39;1001&#39; did not match any patterns<br>2012-05-03 23:40:57.719451 [NOTICE] switch_core_session.c:1398 Session 23 (loopback/voicemail-a) Ended<br>

2012-05-03 23:40:57.719451 [NOTICE] switch_core_session.c:1400 Close Channel loopback/voicemail-a [CS_DESTROY]<br>2012-05-03 23:40:57.719451 [NOTICE] switch_core_session.c:1398 Session 24 (loopback/voicemail-b) Ended<br>
2012-05-03 23:40:57.719451 [NOTICE] switch_core_session.c:1400 Close Channel loopback/voicemail-b [CS_DESTROY]<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>
<br></blockquote></div><br>