freeswitchforum.com https://freeswitchforum.com/ |
|
Calling emergency services does not work https://freeswitchforum.com/viewtopic.php?f=6&t=1236 |
Страница 1 из 1 |
Автор: | NCT-helpdesk [ 14 сен 2022 16:31 ] |
Заголовок сообщения: | Calling emergency services does not work |
We have the following situation. We have a freeswitch that has a sip trunk connecton to a cisco pbx. We us the 0 to call an external number. We want to call the emergency services in the netherlands with number 112. when we try to call 112 we get the message on the phone that the location is unknown. When we try to call 0112 it does work. We use the following file for the rules of our dialformat: C:\program files\freeswitch\conf\dialplan\default.xml. Calling 112 does not work <extension name="external_numbers 112"> <condition field="destination_number" expression="^112$"> <action application="bridge" data="sofia/gateway/CiscoCallManager/0112$1"/> </condition> </extension> Calling 0112 does work <extension name="external_numbers 0112"> <condition field="destination_number" expression="^0112$"> <action application="bridge" data="sofia/gateway/CiscoCallManager/0112$1"/> </condition> </extension> The gateway ciscocallmanager is the sip trunk to the Cisco pbx 2022-09-13 15:27:40.227041 [DEBUG] sofia.c:7291 Channel sofia/external/0112$1 entering state [calling][0] 2022-09-13 15:27:40.227041 [DEBUG] switch_core_state_machine.c:643 (sofia/external/0112$1) State ROUTING 2022-09-13 15:27:40.227041 [DEBUG] mod_sofia.c:154 sofia/external/0112$1 SOFIA ROUTING 2022-09-13 15:27:40.227041 [DEBUG] switch_ivr_originate.c:67 (sofia/external/0112$1) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-09-13 15:27:40.227041 [DEBUG] switch_core_state_machine.c:643 (sofia/external/0112$1) State ROUTING going to sleep 2022-09-13 15:27:40.227041 [DEBUG] switch_core_state_machine.c:584 (sofia/external/0112$1) Running State Change CS_CONSUME_MEDIA (Cur 4 Tot 24) 2022-09-13 15:27:40.227041 [DEBUG] switch_core_state_machine.c:662 (sofia/external/0112$1) State CONSUME_MEDIA 2022-09-13 15:27:40.227041 [DEBUG] switch_core_state_machine.c:662 (sofia/external/0112$1) State CONSUME_MEDIA going to sleep 2022-09-13 15:27:40.227041 [DEBUG] sofia.c:6462 Remote Reason: 1 2022-09-13 15:27:40.227041 [DEBUG] sofia.c:7291 Channel sofia/external/0112$1 entering state [terminated][404] 2022-09-13 15:27:40.227041 [NOTICE] sofia.c:8484 Hangup sofia/external/0112$1 [CS_CONSUME_MEDIA] [UNALLOCATED_NUMBER] 2022-09-13 15:27:40.227041 [DEBUG] switch_core_state_machine.c:584 (sofia/external/0112$1) Running State Change CS_HANGUP (Cur 4 Tot 24) 2022-09-13 15:27:40.227041 [DEBUG] switch_core_state_machine.c:847 (sofia/external/0112$1) Callstate Change DOWN -> HANGUP Does anyone know what the issue and how we can resolve this. |
Автор: | Vlad1983 [ 16 сен 2022 07:33 ] |
Заголовок сообщения: | Re: Calling emergency services does not work |
try replace lines Код: <condition field="destination_number" expression="^112$"> toКод: <condition field="destination_number" expression="^(112)$"> and Код: <condition field="destination_number" expression="^0112$"> toКод: <condition field="destination_number" expression="^(0112)$">
|
Страница 1 из 1 | Часовой пояс: UTC + 4 часа |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |