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@lists.freeswitch.org] 代表 alex
发送时间: 2017年10月19日 10:09
收件人: freeswitch-users@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@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@192.168.1.70 to XML[1000@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@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@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@192.168.1.70) Ended

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