Freeswitch:使用 Sipml5 拨打电话时发生音频握手失败 1 错误

Freeswitch:使用 Sipml5 拨打电话时发生音频握手失败 1 错误

我刚刚安装自由切换成功连接到用户 1001 的服务器。

详细信息 ->
操作系统-Ubuntu 12.04 LTS 64 位
FS- 1.5.13b+git~20140614T114905Z~fc7a74905b~64 位
OpenSSL- 1.0.1
铬合金- 31, 35

网页实时通讯已启用。websocket
- ws://192.168.32.181:9066
出站代理 - udp://192.168.32.181:5060

情况1 -
从浏览器 (Sipml5) 拨打 Twinkle [1001 -> 1005]
铃声响起但立即终止。
它会引发错误 ->[ERR] switch_rtp.c:2746 音频握手失败 1

这是 FS 的控制台输出。

2014-06-15 17:46:53.169179 [CONSOLE] mod_voicemail.c:4066 Event Thread Started
2014-06-15 17:46:57.709189 [NOTICE] switch_channel.c:1053 New Channel sofia/internal/[email protected] [fdfafcf3-9740-479d-88b9-86fc9bd5ba48]
2014-06-15 17:46:57.789172 [INFO] mod_dialplan_xml.c:558 Processing 1001 <1001>->5000 in context default
2014-06-15 17:46:57.869188 [WARNING] switch_core_media.c:2634 NO candidate ACL defined, Defaulting to wan.auto
2014-06-15 17:46:57.869188 [NOTICE] switch_core_media.c:2672 Save audio Candidate cid: 1 proto: udp type: host addr: 192.168.32.181:45250
2014-06-15 17:46:57.869188 [NOTICE] switch_core_media.c:2672 Save audio Candidate cid: 2 proto: udp type: host addr: 192.168.32.181:45250
2014-06-15 17:46:57.869188 [NOTICE] switch_core_media.c:2667 Choose audio Candidate cid: 1 proto: udp type: srflx addr: 103.25.231.2:45250
2014-06-15 17:46:57.869188 [NOTICE] switch_core_media.c:2667 Choose audio Candidate cid: 2 proto: udp type: srflx addr: 103.25.231.2:45250
2014-06-15 17:46:57.929181 [NOTICE] switch_core_media.c:2796 setting remote audio ice addr to 103.25.231.2:45250 based on candidate
2014-06-15 17:46:57.929181 [NOTICE] switch_core_media.c:2816 setting remote rtcp audio addr to 103.25.231.2:45250 based on candidate
2014-06-15 17:46:57.949179 [INFO] switch_core_media.c:5099 Activating Audio ICE
2014-06-15 17:46:57.949179 [NOTICE] switch_rtp.c:3827 Activating RTP audio ICE: arHk82ejwwYXx/pE:OgS3O4Uf7pKvkZ7Z 103.25.231.2:45250
2014-06-15 17:46:57.949179 [INFO] switch_core_media.c:5142 Activating RTCP PORT 45250
2014-06-15 17:46:57.949179 [INFO] switch_core_media.c:5150 Skipping RTCP ICE (Same as RTP)
2014-06-15 17:46:57.949179 [INFO] switch_rtp.c:2930 Activate RTP/RTCP audio DTLS client
2014-06-15 17:46:57.969177 [NOTICE] sofia_media.c:92 Pre-Answer sofia/internal/[email protected]!
2014-06-15 17:46:57.969177 [NOTICE] mod_dptools.c:1258 Channel [sofia/internal/[email protected]] has been answered
2014-06-15 17:46:58.089172 [NOTICE] switch_rtp.c:1144 Auto Changing stun/rtp/dtls port from 103.25.231.2:45250 to 192.168.32.181:45250
**2014-06-15 17:46:59.149182 [ERR] switch_rtp.c:2746 audio Handshake failure 1**
2014-06-15 17:46:59.149182 [INFO] switch_rtp.c:2747 Changing audio DTLS state from HANDSHAKE to FAIL
2014-06-15 17:46:59.149182 [NOTICE] switch_rtp.c:2728 Hangup sofia/internal/[email protected] [CS_EXECUTE] [DESTINATION_OUT_OF_ORDER]
2014-06-15 17:46:59.209173 [NOTICE] switch_core_session.c:1632 Session 1 (sofia/internal/[email protected]) Ended
2014-06-15 17:46:59.209173 [NOTICE] switch_core_session.c:1636 Close Channel sofia/internal/[email protected] [CS_DESTROY]
2014-06-15 17:51:42.289180 [NOTICE] switch_channel.c:1053 New Channel sofia/internal/[email protected] [82cde687-c8a7-4613-8221-f282c03190ef]

案例 2 -
Twinkle 向网络浏览器 (sipml5) 发出呼叫 [1005 -> 1001 ] 浏览器端
已接收呼叫。 呼叫终止。

错误 - 核心转储(分段错误)

FS 输出 -

2014-06-15 20:11:58.529178 [INFO] mod_dialplan_xml.c:558 Processing 1005 <1005>->1001 in context default
2014-06-15 20:11:58.529178 [INFO] switch_ivr_async.c:3640 Bound B-Leg: *1 execute_extension::dx XML features
2014-06-15 20:11:58.529178 [INFO] switch_ivr_async.c:3640 Bound B-Leg: *2 record_session::/usr/local/freeswitch/recordings/1005.2014-06-15-20-11-58.wav
2014-06-15 20:11:58.529178 [INFO] switch_ivr_async.c:3640 Bound B-Leg: *3 execute_extension::cf XML features
2014-06-15 20:11:58.529178 [INFO] switch_ivr_async.c:3640 Bound B-Leg: *4 execute_extension::att_xfer XML features
2014-06-15 20:11:58.529178 [NOTICE] switch_channel.c:1053 New Channel sofia/internal/sip:[email protected] [84d5b24f-07f5-43b8-ac2f-7fc091e712c2]
2014-06-15 20:11:58.589178 [NOTICE] sofia.c:6325 Ring-Ready sofia/internal/sip:[email protected]!
2014-06-15 20:11:58.589178 [INFO] switch_ivr_originate.c:1192 Sending early media
2014-06-15 20:11:58.589178 [NOTICE] sofia_media.c:92 Pre-Answer sofia/internal/[email protected]!
2014-06-15 20:12:01.909176 [WARNING] switch_core_media.c:2634 NO candidate ACL defined, Defaulting to wan.auto
2014-06-15 20:12:01.909176 [NOTICE] switch_core_media.c:2672 Save audio Candidate cid: 1 proto: udp type: host addr: 192.168.32.181:41485
2014-06-15 20:12:01.909176 [NOTICE] switch_core_media.c:2667 Choose audio Candidate cid: 1 proto: udp type: srflx addr: 103.25.231.2:41485
2014-06-15 20:12:01.909176 [NOTICE] switch_core_media.c:2761 No audio RTCP candidate found; defaulting to the same as RTP [103.25.231.2:41485]
2014-06-15 20:12:01.909176 [NOTICE] switch_core_media.c:2796 setting remote audio ice addr to 103.25.231.2:41485 based on candidate
2014-06-15 20:12:01.909176 [NOTICE] switch_core_media.c:2816 setting remote rtcp audio addr to 103.25.231.2:41485 based on candidate
2014-06-15 20:12:01.909176 [INFO] switch_core_media.c:5099 Activating Audio ICE
2014-06-15 20:12:01.909176 [NOTICE] switch_rtp.c:3827 Activating RTP audio ICE: oNkIBm25ryyPPARl:JWMrFJEDlPAW6Ehl 103.25.231.2:41485
2014-06-15 20:12:01.909176 [INFO] switch_core_media.c:5142 Activating RTCP PORT 41485
2014-06-15 20:12:01.909176 [INFO] switch_core_media.c:5150 Skipping RTCP ICE (Same as RTP)
2014-06-15 20:12:01.909176 [INFO] switch_rtp.c:2930 Activate RTP/RTCP audio DTLS server
2014-06-15 20:12:01.909176 [NOTICE] sofia.c:7063 Channel [sofia/internal/sip:[email protected]] has been answered
2014-06-15 20:12:01.909176 [NOTICE] switch_ivr_originate.c:3494 Channel [sofia/internal/[email protected]] has been answered
2014-06-15 20:12:01.949181 [NOTICE] switch_rtp.c:1144 Auto Changing stun/rtp/dtls port from 103.25.231.2:41485 to 192.168.32.181:41485
Segmentation fault (core dumped)

请帮忙。

答案1

如果你遇到了段错误,你应该填写 JIRAhttp://jira.freeswitch.org,包含解决与您的崩溃相关的问题所需的日志和所有数据。

从这里开始:

https://confluence.freeswitch.org/display/FREESWITCH/Reporting+Bugs

相关内容