[Freeswitch-users] route question

bob. chen thetsinling at outlook.com
Sat Oct 21 06:58:18 UTC 2017


Maybe FTDM config error.
check this warning from sangoma isdn, ftdm1:1 send  an incomp msg.open sangoma isdn msg debug when test.
[WARNING] ftmod_sangoma_isdn_stack_rcv.c:862 [SNGISDN Q931] s2: Protocol: Unknown Event Code(2): Incomp Msg(276)
i think ftdm dialplan must process incoming call , because your ftdm 1:1 (outgoing) and ftdm 2:1(incoming) in the same voice card .

From: FreeSWITCH-users [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of alex
Sent: Friday, October 20, 2017 11:13 AM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] route question

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<mailto: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<mailto: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<mailto: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<mailto: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<mailto: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<mailto: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<mailto:freeswitch-users-bounces at lists.freeswitch.org>] 代表 alex
发送时间: 2017年10月19日 10:09
收件人: freeswitch-users at lists.freeswitch.org<mailto: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<mailto: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<mailto: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<mailto: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<mailto: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<mailto: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<mailto:sofia/internal/1000 at 192.168.1.70> [CS_DESTROY]

【网易自营|30天无忧退货】仅售同款价1/4!MUJI制造商“2017秋冬舒适家居拖鞋系列”限时仅34.9元>>  <http://you.163.com/item/detail?id=1165011&from=web_gg_mail_jiaobiao_9>

【网易自营|30天无忧退货】仅售同款价1/4!MUJI制造商“2017秋冬舒适家居拖鞋系列”限时仅34.9元>>  <http://you.163.com/item/detail?id=1165011&from=web_gg_mail_jiaobiao_9>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20171021/8509b86c/attachment-0001.html>


More information about the FreeSWITCH-users mailing list