Re: [Freeswitch-users] One way calling (David Ponzone)
David, Yes it is, it's the last entry in the default dialplan. Thankyou, Mitch ---------- Forwarded message ----------
From: mitch Johnson <mitch.johnson7@gmail.com> To: freeswitch-users@lists.freeswitch.org Date: Sat, 9 Jul 2011 22:58:52 -0400 Subject: [Freeswitch-users] One way calling I have a phone hanging off a cisco callmanager, the DN is 8000. I have phones on the FS, DN 1000. When I dial from the Cisco phone to the Freeswitch phone (8000 to 1000) the phone rings. However, when I dial from Freeswitch to Cisco Callmanager, the call drops immediately, nothing rings out.
From the FS_CLI, I see this output:
2011-07-09 22:43:59.209255 [NOTICE] switch_channel.c:812 New Channel sofia/internal/1000@172.16.200.60 [2657e237-f43d-4574-a7a3-7ef1fab749b8] 2011-07-09 22:43:59.215279 [INFO] mod_dialplan_xml.c:331 Processing Test user <1000>->8000 in context public 2011-07-09 22:43:59.219276 [NOTICE] switch_ivr.c:1606 Transfer sofia/internal/1000@172.16.200.60 to XML[8000@default] 2011-07-09 22:43:59.221278 [INFO] mod_dialplan_xml.c:331 Processing Test user <1000>->8000 in context default 2011-07-09 22:43:59.311287 [NOTICE] mod_dptools.c:929 Channel [sofia/internal/1000@172.16.200.60] has been answered 2011-07-09 22:43:59.625253 [INFO] switch_rtp.c:2972 Auto Changing port from 68.225.42.67:21349 to 192.168.60.142:4000 2011-07-09 22:44:00.365253 [NOTICE] switch_core_state_machine.c:189 sofia/internal/1000@172.16.200.60 has executed the last dialplan instruction, hanging up. 2011-07-09 22:44:00.365253 [NOTICE] switch_core_state_machine.c:191 Hangup sofia/internal/1000@172.16.200.60 [CS_EXECUTE] [NORMAL_CLEARING] 2011-07-09 22:44:00.365253 [NOTICE] switch_core_session.c:1306 Session 7 (sofia/internal/1000@172.16.200.60) Ended 2011-07-09 22:44:00.365253 [NOTICE] switch_core_session.c:1308 Close Channel sofia/internal/1000@172.16.200.60 [CS_DESTROY]
I've noticed that it looks as if it's trying to send the call to the Internet, all these calls are internal. My trunk to the Cisco Callmanager is below:
<extension name="Dial to CM8"> <condition field="destination_number" expression="^(800\d)$"> <action application="bridge" data="sofia/internal/$ 1@172.16.200.100"/> </condition> </extension>
Below is a successful call from the Callmanager to the Freeswitch:
2011-07-09 22:45:56.543784 [NOTICE] switch_channel.c:812 New Channel sofia/internal/8000@172.16.200.100 [d06d7795-0c35-4bfe-85bf-9f01498bfafc] 2011-07-09 22:45:56.810823 [NOTICE] sofia.c:5285 Channel [sofia/internal/ 8000@172.16.200.100] has been answered 2011-07-09 22:45:56.812617 [INFO] mod_dialplan_xml.c:331 Processing 8000 <8000>->1000 in context public 2011-07-09 22:45:56.812617 [NOTICE] switch_ivr.c:1606 Transfer sofia/internal/8000@172.16.200.100 to XML[1000@default] 2011-07-09 22:45:56.812617 [INFO] mod_dialplan_xml.c:331 Processing 8000 <8000>->1000 in context default 2011-07-09 22:45:56.817598 [INFO] switch_ivr_async.c:3013 Bound B-Leg: *1 execute_extension::dx XML features 2011-07-09 22:45:56.817598 [INFO] switch_ivr_async.c:3013 Bound B-Leg: *2 record_session::/usr/local/freeswitch/recordings/8000.2011-07-09-22-45-56.wav 2011-07-09 22:45:56.817598 [INFO] switch_ivr_async.c:3013 Bound B-Leg: *3 execute_extension::cf XML features 2011-07-09 22:45:56.817598 [INFO] switch_ivr_async.c:3013 Bound B-Leg: *4 execute_extension::att_xfer XML features 2011-07-09 22:45:56.828985 [NOTICE] switch_channel.c:812 New Channel sofia/internal/sip:1000@192.168.60.142:60936[846acd6a-3188-4569-9b81-2da9b3e88a87] 2011-07-09 22:45:57.010788 [INFO] sofia.c:729 sofia/internal/ sip:1000@192.168.60.142:60936 Update Callee ID to "Outbound Call" <1000> 2011-07-09 22:45:57.010788 [NOTICE] sofia.c:4779 Ring-Ready sofia/internal/ sip:1000@192.168.60.142:60936! 2011-07-09 22:46:03.091789 [NOTICE] sofia.c:5285 Channel [sofia/internal/ sip:1000@192.168.60.142:60936] has been answered 2011-07-09 22:46:03.924748 [INFO] switch_rtp.c:2972 Auto Changing port from 68.225.42.67:22147 to 192.168.60.142:4002 2011-07-09 22:46:04.920744 [NOTICE] sofia.c:537 Hangup sofia/internal/ sip:1000@192.168.60.142:60936 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2011-07-09 22:46:04.924746 [NOTICE] switch_ivr_bridge.c:1328 Hangup sofia/internal/8000@172.16.200.100 [CS_EXECUTE] [NORMAL_CLEARING] 2011-07-09 22:46:04.929254 [NOTICE] switch_core_session.c:1306 Session 9 (sofia/internal/sip:1000@192.168.60.142:60936) Ended 2011-07-09 22:46:04.929254 [NOTICE] switch_core_session.c:1308 Close Channel sofia/internal/sip:1000@192.168.60.142:60936 [CS_DESTROY] 2011-07-09 22:46:04.929254 [NOTICE] switch_core_session.c:1306 Session 8 (sofia/internal/8000@172.16.200.100) Ended 2011-07-09 22:46:04.929254 [NOTICE] switch_core_session.c:1308 Close Channel sofia/internal/8000@172.16.200.100 [CS_DESTROY]
I have done more extensive debugs and nothing really jumps out at me.
Any help would be greatly appreciated,
Thanks,
Mitch
---------- Forwarded message ---------- From: David Ponzone <david.ponzone@ipeva.fr> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Date: Sun, 10 Jul 2011 13:01:55 +0200 Subject: Re: [Freeswitch-users] One way calling Mitch
<extension name="Dial to CM8"> <condition field="destination_number" expression="^(800\d)$"> <action application="bridge" data="sofia/internal/$ 1@172.16.200.100"/> </condition> </extension>
Is this extension in the default dialplan ?
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
So, sorry for the obvious question, but did you reloadxml ? David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. Le 10/07/2011 à 17:18, mitch Johnson a écrit :
David,
Yes it is, it's the last entry in the default dialplan.
Thankyou,
Mitch
---------- Forwarded message ---------- From: mitch Johnson <mitch.johnson7@gmail.com> To: freeswitch-users@lists.freeswitch.org Date: Sat, 9 Jul 2011 22:58:52 -0400 Subject: [Freeswitch-users] One way calling I have a phone hanging off a cisco callmanager, the DN is 8000. I have phones on the FS, DN 1000. When I dial from the Cisco phone to the Freeswitch phone (8000 to 1000) the phone rings. However, when I dial from Freeswitch to Cisco Callmanager, the call drops immediately, nothing rings out.
From the FS_CLI, I see this output:
2011-07-09 22:43:59.209255 [NOTICE] switch_channel.c:812 New Channel sofia/internal/1000@172.16.200.60 [2657e237-f43d-4574-a7a3-7ef1fab749b8] 2011-07-09 22:43:59.215279 [INFO] mod_dialplan_xml.c:331 Processing Test user <1000>->8000 in context public 2011-07-09 22:43:59.219276 [NOTICE] switch_ivr.c:1606 Transfer sofia/internal/1000@172.16.200.60 to XML[8000@default] 2011-07-09 22:43:59.221278 [INFO] mod_dialplan_xml.c:331 Processing Test user <1000>->8000 in context default 2011-07-09 22:43:59.311287 [NOTICE] mod_dptools.c:929 Channel [sofia/internal/1000@172.16.200.60] has been answered 2011-07-09 22:43:59.625253 [INFO] switch_rtp.c:2972 Auto Changing port from 68.225.42.67:21349 to 192.168.60.142:4000 2011-07-09 22:44:00.365253 [NOTICE] switch_core_state_machine.c:189 sofia/internal/1000@172.16.200.60 has executed the last dialplan instruction, hanging up. 2011-07-09 22:44:00.365253 [NOTICE] switch_core_state_machine.c:191 Hangup sofia/internal/1000@172.16.200.60 [CS_EXECUTE] [NORMAL_CLEARING] 2011-07-09 22:44:00.365253 [NOTICE] switch_core_session.c:1306 Session 7 (sofia/internal/1000@172.16.200.60) Ended 2011-07-09 22:44:00.365253 [NOTICE] switch_core_session.c:1308 Close Channel sofia/internal/1000@172.16.200.60 [CS_DESTROY]
I've noticed that it looks as if it's trying to send the call to the Internet, all these calls are internal. My trunk to the Cisco Callmanager is below:
<extension name="Dial to CM8"> <condition field="destination_number" expression="^(800\d)$"> <action application="bridge" data="sofia/internal/$1@172.16.200.100"/> </condition> </extension>
Below is a successful call from the Callmanager to the Freeswitch:
2011-07-09 22:45:56.543784 [NOTICE] switch_channel.c:812 New Channel sofia/internal/8000@172.16.200.100 [d06d7795-0c35-4bfe-85bf-9f01498bfafc] 2011-07-09 22:45:56.810823 [NOTICE] sofia.c:5285 Channel [sofia/internal/8000@172.16.200.100] has been answered 2011-07-09 22:45:56.812617 [INFO] mod_dialplan_xml.c:331 Processing 8000 <8000>->1000 in context public 2011-07-09 22:45:56.812617 [NOTICE] switch_ivr.c:1606 Transfer sofia/internal/8000@172.16.200.100 to XML[1000@default] 2011-07-09 22:45:56.812617 [INFO] mod_dialplan_xml.c:331 Processing 8000 <8000>->1000 in context default 2011-07-09 22:45:56.817598 [INFO] switch_ivr_async.c:3013 Bound B-Leg: *1 execute_extension::dx XML features 2011-07-09 22:45:56.817598 [INFO] switch_ivr_async.c:3013 Bound B-Leg: *2 record_session::/usr/local/freeswitch/recordings/8000.2011-07-09-22-45-56.wav 2011-07-09 22:45:56.817598 [INFO] switch_ivr_async.c:3013 Bound B-Leg: *3 execute_extension::cf XML features 2011-07-09 22:45:56.817598 [INFO] switch_ivr_async.c:3013 Bound B-Leg: *4 execute_extension::att_xfer XML features 2011-07-09 22:45:56.828985 [NOTICE] switch_channel.c:812 New Channel sofia/internal/sip:1000@192.168.60.142:60936 [846acd6a-3188-4569-9b81-2da9b3e88a87] 2011-07-09 22:45:57.010788 [INFO] sofia.c:729 sofia/internal/sip:1000@192.168.60.142:60936 Update Callee ID to "Outbound Call" <1000> 2011-07-09 22:45:57.010788 [NOTICE] sofia.c:4779 Ring-Ready sofia/internal/sip:1000@192.168.60.142:60936! 2011-07-09 22:46:03.091789 [NOTICE] sofia.c:5285 Channel [sofia/internal/sip:1000@192.168.60.142:60936] has been answered 2011-07-09 22:46:03.924748 [INFO] switch_rtp.c:2972 Auto Changing port from 68.225.42.67:22147 to 192.168.60.142:4002 2011-07-09 22:46:04.920744 [NOTICE] sofia.c:537 Hangup sofia/internal/sip:1000@192.168.60.142:60936 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2011-07-09 22:46:04.924746 [NOTICE] switch_ivr_bridge.c:1328 Hangup sofia/internal/8000@172.16.200.100 [CS_EXECUTE] [NORMAL_CLEARING] 2011-07-09 22:46:04.929254 [NOTICE] switch_core_session.c:1306 Session 9 (sofia/internal/sip:1000@192.168.60.142:60936) Ended 2011-07-09 22:46:04.929254 [NOTICE] switch_core_session.c:1308 Close Channel sofia/internal/sip:1000@192.168.60.142:60936 [CS_DESTROY] 2011-07-09 22:46:04.929254 [NOTICE] switch_core_session.c:1306 Session 8 (sofia/internal/8000@172.16.200.100) Ended 2011-07-09 22:46:04.929254 [NOTICE] switch_core_session.c:1308 Close Channel sofia/internal/8000@172.16.200.100 [CS_DESTROY]
I have done more extensive debugs and nothing really jumps out at me.
Any help would be greatly appreciated,
Thanks,
Mitch
---------- Forwarded message ---------- From: David Ponzone <david.ponzone@ipeva.fr> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Date: Sun, 10 Jul 2011 13:01:55 +0200 Subject: Re: [Freeswitch-users] One way calling Mitch
<extension name="Dial to CM8"> <condition field="destination_number" expression="^(800\d)$"> <action application="bridge" data="sofia/internal/$1@172.16.200.100"/> </condition> </extension>
Is this extension in the default dialplan ?
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
David Ponzone
-
mitch Johnson