freeswitch 呼叫被放弃

freeswitch 呼叫被放弃

我有一个 freeswitch 盒,可以成功处理某个 DID 号码的来电,但当我从另一个 DID 号码(恰好来自 Asterisk)呼入时,我收到一条消息,提示呼叫被放弃

sofia/internal/[email protected] Abandoned

这是日志

d6ee709e-455e-42d2-a41a-9c12bae0dbd2 2015-08-16 06:07:44.603896 [DEBUG] switch_core_state_machine.c:735 (sofia/internal/[email protected]) Callstate Change DOWN -> HANGUP
d6ee709e-455e-42d2-a41a-9c12bae0dbd2 2015-08-16 06:07:44.603896 [DEBUG] switch_core_state_machine.c:737 (sofia/internal/[email protected]) State HANGUP
d6ee709e-455e-42d2-a41a-9c12bae0dbd2 2015-08-16 06:07:44.603896 [DEBUG] mod_sofia.c:413 Channel sofia/internal/[email protected] hanging up, cause: WRONG_CALL_STATE
d6ee709e-455e-42d2-a41a-9c12bae0dbd2 2015-08-16 06:07:44.603896 [DEBUG] switch_core_state_machine.c:60 sofia/internal/[email protected] Standard HANGUP, cause: WRONG_CALL_STATE
d6ee709e-455e-42d2-a41a-9c12bae0dbd2 2015-08-16 06:07:44.603896 [DEBUG] switch_core_state_machine.c:737 (sofia/internal/[email protected]) State HANGUP going to sleep
d6ee709e-455e-42d2-a41a-9c12bae0dbd2 2015-08-16 06:07:44.603896 [DEBUG] switch_core_state_machine.c:504 (sofia/internal/[email protected]) State Change CS_HANGUP -> CS_REPORTING
d6ee709e-455e-42d2-a41a-9c12bae0dbd2 2015-08-16 06:07:44.603896 [DEBUG] switch_core_session.c:1388 Send signal sofia/internal/[email protected] [BREAK]
d6ee709e-455e-42d2-a41a-9c12bae0dbd2 2015-08-16 06:07:44.603896 [DEBUG] switch_core_state_machine.c:472 (sofia/internal/[email protected]) Running State Change CS_REPORTING
d6ee709e-455e-42d2-a41a-9c12bae0dbd2 2015-08-16 06:07:44.603896 [DEBUG] switch_core_state_machine.c:823 (sofia/internal/[email protected]) State REPORTING
d6ee709e-455e-42d2-a41a-9c12bae0dbd2 2015-08-16 06:07:44.603896 [DEBUG] switch_core_state_machine.c:104 sofia/internal/[email protected] Standard REPORTING, cause: WRONG_CALL_STATE
d6ee709e-455e-42d2-a41a-9c12bae0dbd2 2015-08-16 06:07:44.603896 [DEBUG] switch_core_state_machine.c:823 (sofia/internal/[email protected]) State REPORTING going to sleep
d6ee709e-455e-42d2-a41a-9c12bae0dbd2 2015-08-16 06:07:44.603896 [DEBUG] switch_core_state_machine.c:498 (sofia/internal/[email protected]) State Change CS_REPORTING -> CS_DESTROY
d6ee709e-455e-42d2-a41a-9c12bae0dbd2 2015-08-16 06:07:44.603896 [DEBUG] switch_core_session.c:1388 Send signal sofia/internal/[email protected] [BREAK]
d6ee709e-455e-42d2-a41a-9c12bae0dbd2 2015-08-16 06:07:44.603896 [DEBUG] switch_core_session.c:1615 Session 8 (sofia/internal/[email protected]) Locked, Waiting on external entities
d6ee709e-455e-42d2-a41a-9c12bae0dbd2 2015-08-16 06:07:44.603896 [NOTICE] switch_core_session.c:1633 Session 8 (sofia/internal/[email protected]) Ended
d6ee709e-455e-42d2-a41a-9c12bae0dbd2 2015-08-16 06:07:44.603896 [NOTICE] switch_core_session.c:1637 Close Channel sofia/internal/[email protected] [CS_DESTROY]
d6ee709e-455e-42d2-a41a-9c12bae0dbd2 2015-08-16 06:07:44.603896 [DEBUG] switch_core_state_machine.c:626 (sofia/internal/[email protected]) Running State Change CS_DESTROY
d6ee709e-455e-42d2-a41a-9c12bae0dbd2 2015-08-16 06:07:44.603896 [DEBUG] switch_core_state_machine.c:636 (sofia/internal/[email protected]) State DESTROY
d6ee709e-455e-42d2-a41a-9c12bae0dbd2 2015-08-16 06:07:44.603896 [DEBUG] mod_sofia.c:323 sofia/internal/[email protected] SOFIA DESTROY
d6ee709e-455e-42d2-a41a-9c12bae0dbd2 2015-08-16 06:07:44.603896 [DEBUG] switch_core_state_machine.c:111 sofia/internal/[email protected] Standard DESTROY
d6ee709e-455e-42d2-a41a-9c12bae0dbd2 2015-08-16 06:07:44.603896 [DEBUG] switch_core_state_machine.c:636 (sofia/internal/[email protected]) State DESTROY going to sleep
5dd18ba2-0880-4f7b-84ca-650cbd4a947b 2015-08-16 06:07:49.644078 [NOTICE] switch_channel.c:1055 New Channel sofia/internal/[email protected] [5dd18ba2-0880-4f7b-84ca-650cbd4a947b]
5dd18ba2-0880-4f7b-84ca-650cbd4a947b 2015-08-16 06:07:49.644078 [DEBUG] switch_core_session.c:1053 Send signal sofia/internal/[email protected] [BREAK]
5dd18ba2-0880-4f7b-84ca-650cbd4a947b 2015-08-16 06:07:49.644078 [DEBUG] switch_core_session.c:1053 Send signal sofia/internal/[email protected] [BREAK]
5dd18ba2-0880-4f7b-84ca-650cbd4a947b 2015-08-16 06:07:49.644078 [DEBUG] switch_core_state_machine.c:472 (sofia/internal/[email protected]) Running State Change CS_NEW
5dd18ba2-0880-4f7b-84ca-650cbd4a947b 2015-08-16 06:07:49.644078 [DEBUG] sofia.c:8834 sofia/internal/[email protected] receiving invite from 212.76.102.123:5060 version: 1.5.15b  64bit
2015-08-16 06:07:49.644078 [DEBUG] sofia.c:9001 IP 212.76.102.123 Rejected by acl "domains". Falling back to Digest auth.
5dd18ba2-0880-4f7b-84ca-650cbd4a947b 2015-08-16 06:07:49.644078 [DEBUG] switch_core_state_machine.c:491 (sofia/internal/[email protected]) State NEW
5dd18ba2-0880-4f7b-84ca-650cbd4a947b 2015-08-16 06:07:49.644078 [DEBUG] switch_core_session.c:1053 Send signal sofia/internal/[email protected] [BREAK]
2015-08-16 06:07:49.644078 [DEBUG] sofia.c:2067 detaching session 5dd18ba2-0880-4f7b-84ca-650cbd4a947b
5dd18ba2-0880-4f7b-84ca-650cbd4a947b 2015-08-16 06:08:00.064816 [WARNING] switch_core_state_machine.c:572 5dd18ba2-0880-4f7b-84ca-650cbd4a947b sofia/internal/[email protected] Abandoned
5dd18ba2-0880-4f7b-84ca-650cbd4a947b 2015-08-16 06:08:00.064816 [NOTICE] switch_core_state_machine.c:575 Hangup sofia/internal/[email protected] [CS_NEW] [WRONG_CALL_STATE]
5dd18ba2-0880-4f7b-84ca-650cbd4a947b 2015-08-16 06:08:00.064816 [DEBUG] switch_channel.c:3222 Send signal sofia/internal/[email protected] [KILL]
5dd18ba2-0880-4f7b-84ca-650cbd4a947b 2015-08-16 06:08:00.064816 [DEBUG] switch_core_session.c:1388 Send signal sofia/internal/[email protected] [BREAK]
5dd18ba2-0880-4f7b-84ca-650cbd4a947b 2015-08-16 06:08:00.064816 [DEBUG] switch_core_state_machine.c:472 (sofia/internal/[email protected]) Running State Change CS_HANGUP
5dd18ba2-0880-4f7b-84ca-650cbd4a947b 2015-08-16 06:08:00.064816 [DEBUG] switch_core_state_machine.c:735 (sofia/internal/[email protected]) Callstate Change DOWN -> HANGUP
5dd18ba2-0880-4f7b-84ca-650cbd4a947b 2015-08-16 06:08:00.064816 [DEBUG] switch_core_state_machine.c:737 (sofia/internal/[email protected]) State HANGUP
5dd18ba2-0880-4f7b-84ca-650cbd4a947b 2015-08-16 06:08:00.064816 [DEBUG] mod_sofia.c:413 Channel sofia/internal/[email protected] hanging up, cause: WRONG_CALL_STATE
5dd18ba2-0880-4f7b-84ca-650cbd4a947b 2015-08-16 06:08:00.084841 [DEBUG] switch_core_state_machine.c:60 sofia/internal/[email protected] Standard HANGUP, cause: WRONG_CALL_STATE
5dd18ba2-0880-4f7b-84ca-650cbd4a947b 2015-08-16 06:08:00.084841 [DEBUG] switch_core_state_machine.c:737 (sofia/internal/[email protected]) State HANGUP going to sleep
5dd18ba2-0880-4f7b-84ca-650cbd4a947b 2015-08-16 06:08:00.084841 [DEBUG] switch_core_state_machine.c:504 (sofia/internal/[email protected]) State Change CS_HANGUP -> CS_REPORTING
5dd18ba2-0880-4f7b-84ca-650cbd4a947b 2015-08-16 06:08:00.084841 [DEBUG] switch_core_session.c:1388 Send signal sofia/internal/[email protected] [BREAK]
5dd18ba2-0880-4f7b-84ca-650cbd4a947b 2015-08-16 06:08:00.084841 [DEBUG] switch_core_state_machine.c:472 (sofia/internal/[email protected]) Running State Change CS_REPORTING
5dd18ba2-0880-4f7b-84ca-650cbd4a947b 2015-08-16 06:08:00.084841 [DEBUG] switch_core_state_machine.c:823 (sofia/internal/[email protected]) State REPORTING
5dd18ba2-0880-4f7b-84ca-650cbd4a947b 2015-08-16 06:08:00.084841 [DEBUG] switch_core_state_machine.c:104 sofia/internal/[email protected] Standard REPORTING, cause: WRONG_CALL_STATE
5dd18ba2-0880-4f7b-84ca-650cbd4a947b 2015-08-16 06:08:00.084841 [DEBUG] switch_core_state_machine.c:823 (sofia/internal/[email protected]) State REPORTING going to sleep
5dd18ba2-0880-4f7b-84ca-650cbd4a947b 2015-08-16 06:08:00.084841 [DEBUG] switch_core_state_machine.c:498 (sofia/internal/[email protected]) State Change CS_REPORTING -> CS_DESTROY

DID 提供商写道,我应该禁用任何身份验证,所以我尝试了这里的说明https://freeswitch.org/confluence/display/FREESWITCH/Asterisk

我设置了apply-inbound-acl,并使用他提供给我的ip添加了允许规则

另外,我将网关设置为不需要身份验证,如下所示(虽然我不太明白为什么这可能会有帮助,因为我不认为 freeswitch 会在有电话打进来时检查这个网关......)

<gateway name="MySipCo"> 
     <param name="realm" value="88.88.88.88"/> 
     <param name="username" value="not-required"/> 
     <param name="password" value="not-required"/> 
     <param name="from-user" value="not-required"/> 
              <param name="expire-seconds" value="600"/> 
     <param name="register" value="false"/> 
     <param name="retry-seconds" value="30"/> 
     <param name="extension" value="1000"/> 
     <param name="context" value="public"/> 
       <param name="auth-calls" value="false"/>
   </gateway> 

我尝试重新加载并重新启动 freeswitch,但到目前为止没有成功。有什么想法吗?

相关内容