[Freeswitch-users] route question

alex hiastar_alex at 163.com
Fri Oct 20 03:13:18 UTC 2017


Hello bob:
I put my extension into public.xml.there is still a problem.
The telephone is unable to communicate properly.
This are CLI log:
2017-10-19 22:53:39.205689 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/1000 at 192.168.1.70 [94e283be-37d5-4255-97a8-117329c38323]
2017-10-19 22:53:39.205689 [INFO] mod_dialplan_xml.c:637 Processing 1000 <1000>->1000 in context public
2017-10-19 22:53:39.205689 [NOTICE] switch_channel.c:1104 New Channel FreeTDM/1:1/1000 [d68525b4-56fd-4bb4-b4c3-2eac19185b44]
2017-10-19 22:53:39.205689 [INFO] ftmod_sangoma_isdn_stack_out.c:62 [s1c1][1:1] Outgoing call: Called No:[1000] Calling No:[1000]
2017-10-19 22:53:39.205689 [INFO] ftmod_sangoma_isdn_stack_out.c:79 [s1c1][1:1] Sending SETUP (suId:1 suInstId:1 spInstId:0 dchan:1 ces:0)
2017-10-19 22:53:39.205689 [INFO] ftmod_sangoma_isdn_stack_rcv.c:96 [s2c1][2:1] Received SETUP (suId:1 suInstId:0 spInstId:2)
2017-10-19 22:53:42.945690 [WARNING] ftmod_sangoma_isdn_stack_rcv.c:862 [SNGISDN Q931] s2: Protocol: Unknown Event Code(2): Incomp Msg(276)
2017-10-19 22:53:46.945689 [INFO] ftmod_sangoma_isdn_stack_rcv.c:267 [s1c1][1:1] Received RELEASE/RELEASE COMPLETE (suId:1 suInstId:1 spInstId:1)
2017-10-19 22:53:46.945689 [NOTICE] mod_freetdm.c:2733 Hangup FreeTDM/1:1/1000 [CS_CONSUME_MEDIA] [NO_USER_RESPONSE]
2017-10-19 22:53:46.945689 [INFO] ftmod_sangoma_isdn_stack_rcv.c:267 [s2c1][2:1] Received RELEASE/RELEASE COMPLETE (suId:1 suInstId:0 spInstId:2)
2017-10-19 22:53:46.945689 [INFO] ftmod_sangoma_isdn_stack_hndl.c:153 [s2c1][2:1] Incoming call: Called No:[1000] Calling No:[1000]
2017-10-19 22:53:46.945689 [NOTICE] switch_channel.c:1104 New Channel FreeTDM/2:1/1000 [3add9104-f703-493b-b857-a5a350f55acf]
2017-10-19 22:53:46.945689 [NOTICE] mod_freetdm.c:2733 Hangup FreeTDM/2:1/1000 [CS_INIT] [NO_USER_RESPONSE]
2017-10-19 22:53:46.945689 [NOTICE] switch_core_session.c:1731 Session 3 (FreeTDM/2:1/1000) Ended
2017-10-19 22:53:46.945689 [NOTICE] switch_core_session.c:1735 Close Channel FreeTDM/2:1/1000 [CS_DESTROY]
2017-10-19 22:53:46.945689 [NOTICE] switch_core_session.c:1731 Session 2 (FreeTDM/1:1/1000) Ended
2017-10-19 22:53:46.945689 [NOTICE] switch_core_session.c:1735 Close Channel FreeTDM/1:1/1000 [CS_DESTROY]
2017-10-19 22:53:46.945689 [INFO] mod_dptools.c:3508 Originate Failed.  Cause: NO_USER_RESPONSE
2017-10-19 22:53:46.945689 [NOTICE] switch_core_state_machine.c:385 sofia/internal/1000 at 192.168.1.70 has executed the last dialplan instruction, hanging up.
2017-10-19 22:53:46.945689 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/internal/1000 at 192.168.1.70 [CS_EXECUTE] [NORMAL_CLEARING]
2017-10-19 22:53:46.965681 [NOTICE] switch_core_session.c:1731 Session 1 (sofia/internal/1000 at 192.168.1.70) Ended
2017-10-19 22:53:46.965681 [NOTICE] switch_core_session.c:1735 Close Channel sofia/internal/1000 at 192.168.1.70 [CS_DESTROY]


Why is that?
Thanks for answer.


At 2017-10-19 23:11:36, "bob. chen" <thetsinling at outlook.com> wrote:


CLI log :caller 1000->callee 1000 ,

open public.xml file, add your extension to it

reloadxml

try ua dial 1001 agin.

发件人: FreeSWITCH-users [mailto:freeswitch-users-bounces at lists.freeswitch.org] 代表 alex
发送时间: 2017年10月19日 10:09
收件人:freeswitch-users at lists.freeswitch.org
主题: [Freeswitch-users] route question

 

Hello:

I want to call 1001 by inputting 1001 through this route.

<extension name="outgoing">

      <condition field="destination_number" expression="^1001$">

          <action application="bridge" data="freetdm/wp1/a/$1"/>

      </condition>

</extension>

But it didn't through the route.

Why is that? 

What should i do?

This are CLI log:

2017-10-18 21:49:59.913457 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/1000 at 192.168.1.70 [714d7752-b04e-4141-b36e-6fbd37f451ae]

2017-10-18 21:49:59.913457 [INFO] mod_dialplan_xml.c:637 Processing 1000 <1000>->1000 in context public

2017-10-18 21:49:59.913457 [NOTICE] switch_ivr.c:2201 Transfer sofia/internal/1000 at 192.168.1.70 to XML[1000 at default]

2017-10-18 21:49:59.913457 [INFO] mod_dialplan_xml.c:637 Processing 1000 <1000>->1000 in context default

2017-10-18 21:49:59.913457 [NOTICE] switch_channel.c:1104 New Channel FreeTDM/1:1/$1 [fb3597b2-86e4-4911-b06e-50c584501a36]

2017-10-18 21:49:59.913457 [INFO] ftmod_sangoma_isdn_stack_out.c:62 [s1c1][1:1] Outgoing call: Called No:[$1] Calling No:[1000]

2017-10-18 21:49:59.913457 [INFO] ftmod_sangoma_isdn_stack_out.c:79 [s1c1][1:1] Sending SETUP (suId:1 suInstId:1 spInstId:0 dchan:1 ces:0)

2017-10-18 21:49:59.913457 [INFO] ftmod_sangoma_isdn_stack_rcv.c:96 [s2c1][2:1] Received SETUP (suId:1 suInstId:0 spInstId:2)

2017-10-18 21:50:03.893455 [WARNING] ftmod_sangoma_isdn_stack_rcv.c:862 [SNGISDN Q931] s2: Protocol: Unknown Event Code(2): Incomp Msg(276)

2017-10-18 21:50:07.893455 [INFO] ftmod_sangoma_isdn_stack_rcv.c:267 [s1c1][1:1] Received RELEASE/RELEASE COMPLETE (suId:1 suInstId:1 spInstId:1)

2017-10-18 21:50:07.893455 [NOTICE] mod_freetdm.c:2733 Hangup FreeTDM/1:1/$1 [CS_CONSUME_MEDIA] [NO_USER_RESPONSE]

2017-10-18 21:50:07.893455 [INFO] ftmod_sangoma_isdn_stack_rcv.c:267 [s2c1][2:1] Received RELEASE/RELEASE COMPLETE (suId:1 suInstId:0 spInstId:2)

2017-10-18 21:50:07.893455 [INFO] ftmod_sangoma_isdn_stack_hndl.c:153 [s2c1][2:1] Incoming call: Called No:[$1] Calling No:[1000]

2017-10-18 21:50:07.893455 [NOTICE] switch_channel.c:1104 New Channel FreeTDM/2:1/$1 [5b166784-ad11-4117-a352-889c42052a3e]

2017-10-18 21:50:07.893455 [NOTICE] mod_freetdm.c:2733 Hangup FreeTDM/2:1/$1 [CS_INIT] [NO_USER_RESPONSE]

2017-10-18 21:50:07.893455 [NOTICE] switch_core_session.c:1731 Session 3 (FreeTDM/2:1/$1) Ended

2017-10-18 21:50:07.893455 [NOTICE] switch_core_session.c:1735 Close Channel FreeTDM/2:1/$1 [CS_DESTROY]

2017-10-18 21:50:07.893455 [NOTICE] switch_core_session.c:1731 Session 2 (FreeTDM/1:1/$1) Ended

2017-10-18 21:50:07.893455 [NOTICE] switch_core_session.c:1735 Close Channel FreeTDM/1:1/$1 [CS_DESTROY]

2017-10-18 21:50:07.893455 [INFO] mod_dptools.c:3508 Originate Failed.  Cause: NO_USER_RESPONSE

2017-10-18 21:50:07.893455 [NOTICE] switch_core_state_machine.c:385 sofia/internal/1000 at 192.168.1.70 has executed the last dialplan instruction, hanging up.

2017-10-18 21:50:07.893455 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/internal/1000 at 192.168.1.70 [CS_EXECUTE] [NORMAL_CLEARING]

2017-10-18 21:50:07.893455 [NOTICE] switch_core_session.c:1731 Session 1 (sofia/internal/1000 at 192.168.1.70) Ended

2017-10-18 21:50:07.893455 [NOTICE] switch_core_session.c:1735 Close Channel sofia/internal/1000 at 192.168.1.70 [CS_DESTROY]

 

【网易自营|30天无忧退货】仅售同款价1/4!MUJI制造商“2017秋冬舒适家居拖鞋系列”限时仅34.9元>>      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20171020/9f60fd4e/attachment-0001.html>


More information about the FreeSWITCH-users mailing list