[Freeswitch-users] Early media issue

Cucu Florian koralu at gmail.com
Fri May 4 00:55:35 MSD 2012


Hello,

I have the following problem regarding early media.
When I call from Xlite(extension 1000) to one of my SIP endpoint(extension
1001) I hear a fake long ring instead of media.
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?

Thanks in advance.


My Freeswitch logs are:

2012-05-03 23:40:25.027591 [INFO] mod_dialplan_xml.c:485 Processing 1000
<1>1001 in context default
2012-05-03 23:40:25.050838 [INFO] switch_ivr_async.c:3195 Bound B-Leg: *1
ee_extension::dx XML features
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
2012-05-03 23:40:25.067389 [INFO] switch_ivr_async.c:3195 Bound B-Leg: *3
ee_extension::cf XML features
2012-05-03 23:40:25.067389 [INFO] switch_ivr_async.c:3195 Bound B-Leg: *4
ee_extension::att_xfer XML features
2012-05-03 23:40:25.087371 [NOTICE] switch_channel.c:926 New Channel
sofia/nal/sip:1001 at 192.168.1.69:5060 [35ddd1a6-9560-11e1-8f20-dd25b25b02e6]
2012-05-03 23:40:25.187367 [NOTICE] sofia.c:5633 Pre-Answer sofia/internal/
001 at 192.168.1.69:5060!
*2012-05-03 23:40:25.210095 [INFO] switch_ivr.c:725 Sending early media*
*2012-05-03 23:40:25.210095 [NOTICE] mod_sofia.c:2578 Pre-Answer sofia/
inter000 at 192.168.1.10!*
2012-05-03 23:40:56.610515 [NOTICE] sofia.c:6293 Hangup sofia/internal/
sip:1001 at 192.168.1.69:5060 [CS_HIBERNATE] [NORMAL_TEMPORARY_FAILURE]
2012-05-03 23:40:56.610515 [NOTICE] switch_core_session.c:1398 Session 22
(sofia/internal/sip:1001 at 192.168.1.69:5060) Ended
2012-05-03 23:40:56.610515 [NOTICE] switch_core_session.c:1400 Close
Channel sofia/internal/sip:1001 at 192.168.1.69:5060 [CS_DESTROY]
2012-05-03 23:40:56.610515 [NOTICE] mod_dptools.c:1135 Channel
[sofia/internal/1000 at 192.168.1.10] has been answered
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]
2012-05-03 23:40:57.627386 [NOTICE] switch_channel.c:924 Rename Channel
loopback/app=voicemail:default 192.168.1.10 1001-a->loopback/voicemail-a
[494485e6-9560-11e1-8f2c-dd25b25b02e6]
2012-05-03 23:40:57.647627 [NOTICE] switch_channel.c:926 New Channel
loopback/voicemail-b [49452e10-9560-11e1-8f30-dd25b25b02e6]
2012-05-03 23:40:57.647627 [NOTICE] mod_loopback.c:760 Pre-Answer
loopback/voicemail-a!
2012-05-03 23:40:57.647627 [NOTICE] mod_dptools.c:1161 Pre-Answer
loopback/voicemail-b!
*2012-05-03 23:40:57.647627 [WARNING] switch_ivr_bridge.c:246 Cannot bypass
media while bridged to a loopback address.*
*2012-05-03 23:40:57.647627 [ERR] switch_core_io.c:131 sofia/internal/
1000 at 192.168.1.10 has no read codec.*
2012-05-03 23:40:57.647627 [NOTICE] switch_core_io.c:132 Hangup
sofia/internal/1000 at 192.168.1.10 [CS_EXECUTE] [INCOMPATIBLE_DESTINATION]
2012-05-03 23:40:57.667365 [NOTICE] switch_ivr_bridge.c:667 Hangup
loopback/voicemail-a [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL]
2012-05-03 23:40:57.667365 [NOTICE] mod_loopback.c:438 Hangup
loopback/voicemail-b [CS_EXECUTE] [ORIGINATOR_CANCEL]
2012-05-03 23:40:57.667365 [NOTICE] switch_core_session.c:1398 Session 21
(sofia/internal/1000 at 192.168.1.10) Ended
2012-05-03 23:40:57.667365 [NOTICE] switch_core_session.c:1400 Close
Channel sofia/internal/1000 at 192.168.1.10 [CS_DESTROY]
2012-05-03 23:40:57.719451 [WARNING] switch_ivr_play_say.c:339 Macro
[voicemail_play_greeting]: '1001' did not match any patterns
2012-05-03 23:40:57.719451 [NOTICE] switch_core_session.c:1398 Session 23
(loopback/voicemail-a) Ended
2012-05-03 23:40:57.719451 [NOTICE] switch_core_session.c:1400 Close
Channel loopback/voicemail-a [CS_DESTROY]
2012-05-03 23:40:57.719451 [NOTICE] switch_core_session.c:1398 Session 24
(loopback/voicemail-b) Ended
2012-05-03 23:40:57.719451 [NOTICE] switch_core_session.c:1400 Close
Channel loopback/voicemail-b [CS_DESTROY]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120503/48bae182/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list