我已经安装了一个默认的开箱即用的 FreeSwitch 实例,但是当我尝试进行内部调用(分机到分机)时,大约需要 12 秒才能建立调用并且我可以听到铃声。

当我查看日志时,我几乎立即看到了连接请求,但没有任何事件,并且在 10 秒或更长时间后开始调用并且我听到电话铃声。
这是它有帮助的日志文件,请查看 130:08:07 到 13:08:17 之间的 10 秒延迟。

[email protected]> 2015-09-26 13:07:41.591949 [CONSOLE] mod_voicemail.c:4091 Event Thread Started
2015-09-26 13:08:02.171949 [NOTICE] switch_channel.c:1075 New Channel sofia/internal/[email protected] [25229804-6471-11e5-9558-f1a7477c5309]
2015-09-26 13:08:07.331948 [INFO] mod_dialplan_xml.c:635 Processing BSmarter.CA <1001>->1000 in context default
2015-09-26 13:08:07.331948 [CRIT] mod_dptools.c:1670 WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
2015-09-26 13:08:07.331948 [CRIT] mod_dptools.c:1670 Open /usr/local/freeswitch/conf/vars.xml and change the default_password.
2015-09-26 13:08:07.331948 [CRIT] mod_dptools.c:1670 Once changed type 'reloadxml' at the console.
2015-09-26 13:08:07.331948 [CRIT] mod_dptools.c:1670 WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
2015-09-26 13:08:17.371961 [INFO] switch_ivr_async.c:3932 Bound B-Leg: *1 execute_extension::dx XML features
2015-09-26 13:08:17.371961 [INFO] switch_ivr_async.c:3932 Bound B-Leg: *2 record_session::/usr/local/freeswitch/recordings/1001.2015-09-26-13-08-17.wav
2015-09-26 13:08:17.371961 [INFO] switch_ivr_async.c:3932 Bound B-Leg: *3 execute_extension::cf XML features
2015-09-26 13:08:17.371961 [INFO] switch_ivr_async.c:3932 Bound B-Leg: *4 execute_extension::att_xfer XML features
2015-09-26 13:08:17.391951 [NOTICE] switch_channel.c:1075 New Channel sofia/internal/[email protected]:63329 [2e34333a-6471-11e5-957b-f1a7477c5309]
2015-09-26 13:08:17.571984 [NOTICE] sofia.c:6760 Ring-Ready sofia/internal/[email protected]:63329!
2015-09-26 13:08:17.591949 [INFO] switch_ivr_originate.c:1193 Sending early media
2015-09-26 13:08:17.591949 [INFO] switch_core_media.c:5395 Activating RTCP PORT 4003
2015-09-26 13:08:17.591949 [NOTICE] sofia_media.c:92 Pre-Answer sofia/internal/[email protected]!
2015-09-26 13:08:18.631986 [NOTICE] sofia.c:7580 Hangup   sofia/internal/[email protected] [CS_EXECUTE] [ORIGINATOR_CANCEL]

知道可能是什么问题吗?

最佳答案

引入此暂停是为了强制人们更改默认密码。只需在 vars.xml 中编辑它,延迟就会消失。

关于sip - FreeSwitch 很慢,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/32799774/

10-13 09:11