Cannot get the SIP phone to ring... Where am I supposed to add the route? In the dialplan, but what am I doing wrong? 2013-05-30 08:04:03.407264 [INFO] switch_core_state_machine.c:192 No Route, Aborting Registrations: ================================================================================================= Call-ID: 3624a118-f19b051d-a4d9fed2@10.2.1.50 User: 1000@gothamcity.xom Contact: "user" <sip:1000@10.2.1.50:5060 ;transport=tcp;fs_nat=yes;fs_path=sip%3A1000%4010.2.1.50%3A33228%3Btransport%3Dtcp> Agent: PolycomSoundPointIP-SPIP_335-UA/3.3.3.0069 Status: Registered(TCP-NAT)(unknown) EXP(2013-05-30 08:13:09) EXPSECS(179) Host: GothamCity-00 IP: 10.2.1.50 Port: 33228 Auth-User: 1000 Auth-Realm: gothamcity.xom MWI-Account: 1000@gothamcity.xom Total items returned: 1 ================================================================================================= /dialplan/public/GothamCity-00.xom.xml <include> <extension name="vitel-inbound"> <condition field="destination_number" expression="^1?(2624481175)$"> <action application="transfer" data="1000 GothamCity.xom.xml default"/> </condition> </extension> </include> =========================== fs_cli when calling the number: EXECUTE sofia/external/7777777777@66.66.66.66 transfer(1000 GothamCity.xom.xml default) 2013-05-30 08:04:03.407264 [DEBUG] switch_ivr.c:1815 (sofia/external/ 7777777777@66.66.66.66) State Change CS_EXECUTE -> CS_ROUTING 2013-05-30 08:04:03.407264 [DEBUG] switch_core_session.c:1340 Send signal sofia/external/7777777777@66.66.66.66 [BREAK] 2013-05-30 08:04:03.407264 [DEBUG] switch_core_session.c:860 Send signal sofia/external/7777777777@66.66.66.66 [BREAK] 2013-05-30 08:04:03.407264 [NOTICE] switch_ivr.c:1822 Transfer sofia/external/7777777777@66.66.66.66 to GothamCity.xom.xml[1000@default] 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:477 (sofia/external/7777777777@66.66.66.66) State EXECUTE going to sleep 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:415 (sofia/external/7777777777@66.66.66.66) Running State Change CS_ROUTING 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:470 (sofia/external/7777777777@66.66.66.66) State ROUTING 2013-05-30 08:04:03.407264 [DEBUG] mod_sofia.c:137 sofia/external/ 7777777777@66.66.66.66 SOFIA ROUTING 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:117 sofia/external/7777777777@66.66.66.66 Standard ROUTING 2013-05-30 08:04:03.407264 [INFO] switch_core_state_machine.c:192 No Route, Aborting 2013-05-30 08:04:03.407264 [NOTICE] switch_core_state_machine.c:193 Hangup sofia/external/7777777777@66.66.66.66 [CS_ROUTING] [NO_ROUTE_DESTINATION] 2013-05-30 08:04:03.407264 [DEBUG] switch_channel.c:3096 Send signal sofia/external/7777777777@66.66.66.66 [KILL] 2013-05-30 08:04:03.407264 [DEBUG] switch_core_session.c:1340 Send signal sofia/external/7777777777@66.66.66.66 [BREAK] 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:470 (sofia/external/7777777777@66.66.66.66) State ROUTING going to sleep 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:415 (sofia/external/7777777777@66.66.66.66) Running State Change CS_HANGUP 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:676 (sofia/external/7777777777@66.66.66.66) State HANGUP 2013-05-30 08:04:03.407264 [DEBUG] mod_sofia.c:463 Channel sofia/external/ 7777777777@66.66.66.66 hanging up, cause: NO_ROUTE_DESTINATION 2013-05-30 08:04:03.407264 [DEBUG] mod_sofia.c:597 Responding to INVITE with: 404 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:48 sofia/external/7777777777@66.66.66.66 Standard HANGUP, cause: NO_ROUTE_DESTINATION 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:676 (sofia/external/7777777777@66.66.66.66) State HANGUP going to sleep 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:689 (sofia/external/7777777777@66.66.66.66) Callstate Change RINGING -> HANGUP 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:446 (sofia/external/7777777777@66.66.66.66) State Change CS_HANGUP -> CS_REPORTING 2013-05-30 08:04:03.407264 [DEBUG] switch_core_session.c:1340 Send signal sofia/external/7777777777@66.66.66.66 [BREAK] 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:415 (sofia/external/7777777777@66.66.66.66) Running State Change CS_REPORTING 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:761 (sofia/external/7777777777@66.66.66.66) State REPORTING 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:92 sofia/external/7777777777@66.66.66.66 Standard REPORTING, cause: NO_ROUTE_DESTINATION 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:761 (sofia/external/7777777777@66.66.66.66) State REPORTING going to sleep 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:440 (sofia/external/7777777777@66.66.66.66) State Change CS_REPORTING -> CS_DESTROY 2013-05-30 08:04:03.407264 [DEBUG] switch_core_session.c:1340 Send signal sofia/external/7777777777@66.66.66.66 [BREAK] 2013-05-30 08:04:03.407264 [DEBUG] switch_core_session.c:1548 Session 1 (sofia/external/7777777777@66.66.66.66) Locked, Waiting on external entities 2013-05-30 08:04:03.407264 [NOTICE] switch_core_session.c:1566 Session 1 (sofia/external/7777777777@66.66.66.66) Ended 2013-05-30 08:04:03.407264 [NOTICE] switch_core_session.c:1570 Close Channel sofia/external/7777777777@66.66.66.66 [CS_DESTROY] 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:565 (sofia/external/7777777777@66.66.66.66) Callstate Change HANGUP -> DOWN 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:568 (sofia/external/7777777777@66.66.66.66) Running State Change CS_DESTROY 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:578 (sofia/external/7777777777@66.66.66.66) State DESTROY 2013-05-30 08:04:03.407264 [DEBUG] mod_sofia.c:373 sofia/external/ 7777777777@66.66.66.66 SOFIA DESTROY
I don't think you should specify the name of the XML file just the type of the dialplan: XML make sure it is included in context default and it has extension 1000 On Fri, May 31, 2013 at 12:16 AM, Mike Hendrie <mike@hendrienet.com> wrote:
Cannot get the SIP phone to ring...
Where am I supposed to add the route? In the dialplan, but what am I doing wrong?
2013-05-30 08:04:03.407264 [INFO] switch_core_state_machine.c:192 No Route, Aborting
Registrations:
================================================================================================= Call-ID: 3624a118-f19b051d-a4d9fed2@10.2.1.50 User: 1000@gothamcity.xom Contact: "user" <sip:1000@10.2.1.50:5060 ;transport=tcp;fs_nat=yes;fs_path=sip%3A1000%4010.2.1.50%3A33228%3Btransport%3Dtcp> Agent: PolycomSoundPointIP-SPIP_335-UA/3.3.3.0069 Status: Registered(TCP-NAT)(unknown) EXP(2013-05-30 08:13:09) EXPSECS(179) Host: GothamCity-00 IP: 10.2.1.50 Port: 33228 Auth-User: 1000 Auth-Realm: gothamcity.xom MWI-Account: 1000@gothamcity.xom
Total items returned: 1
=================================================================================================
/dialplan/public/GothamCity-00.xom.xml
<include>
<extension name="vitel-inbound"> <condition field="destination_number" expression="^1?(2624481175)$"> <action application="transfer" data="1000 GothamCity.xom.xml default"/> </condition> </extension>
</include>
===========================
fs_cli when calling the number:
EXECUTE sofia/external/7777777777@66.66.66.66 transfer(1000 GothamCity.xom.xml default) 2013-05-30 08:04:03.407264 [DEBUG] switch_ivr.c:1815 (sofia/external/ 7777777777@66.66.66.66) State Change CS_EXECUTE -> CS_ROUTING 2013-05-30 08:04:03.407264 [DEBUG] switch_core_session.c:1340 Send signal sofia/external/7777777777@66.66.66.66 [BREAK] 2013-05-30 08:04:03.407264 [DEBUG] switch_core_session.c:860 Send signal sofia/external/7777777777@66.66.66.66 [BREAK] 2013-05-30 08:04:03.407264 [NOTICE] switch_ivr.c:1822 Transfer sofia/external/7777777777@66.66.66.66 to GothamCity.xom.xml[1000@default] 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:477 (sofia/external/7777777777@66.66.66.66) State EXECUTE going to sleep 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:415 (sofia/external/7777777777@66.66.66.66) Running State Change CS_ROUTING 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:470 (sofia/external/7777777777@66.66.66.66) State ROUTING 2013-05-30 08:04:03.407264 [DEBUG] mod_sofia.c:137 sofia/external/ 7777777777@66.66.66.66 SOFIA ROUTING 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:117 sofia/external/7777777777@66.66.66.66 Standard ROUTING 2013-05-30 08:04:03.407264 [INFO] switch_core_state_machine.c:192 No Route, Aborting 2013-05-30 08:04:03.407264 [NOTICE] switch_core_state_machine.c:193 Hangup sofia/external/7777777777@66.66.66.66 [CS_ROUTING] [NO_ROUTE_DESTINATION] 2013-05-30 08:04:03.407264 [DEBUG] switch_channel.c:3096 Send signal sofia/external/7777777777@66.66.66.66 [KILL] 2013-05-30 08:04:03.407264 [DEBUG] switch_core_session.c:1340 Send signal sofia/external/7777777777@66.66.66.66 [BREAK] 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:470 (sofia/external/7777777777@66.66.66.66) State ROUTING going to sleep 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:415 (sofia/external/7777777777@66.66.66.66) Running State Change CS_HANGUP 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:676 (sofia/external/7777777777@66.66.66.66) State HANGUP 2013-05-30 08:04:03.407264 [DEBUG] mod_sofia.c:463 Channel sofia/external/ 7777777777@66.66.66.66 hanging up, cause: NO_ROUTE_DESTINATION 2013-05-30 08:04:03.407264 [DEBUG] mod_sofia.c:597 Responding to INVITE with: 404 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:48 sofia/external/7777777777@66.66.66.66 Standard HANGUP, cause: NO_ROUTE_DESTINATION 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:676 (sofia/external/7777777777@66.66.66.66) State HANGUP going to sleep 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:689 (sofia/external/7777777777@66.66.66.66) Callstate Change RINGING -> HANGUP 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:446 (sofia/external/7777777777@66.66.66.66) State Change CS_HANGUP -> CS_REPORTING 2013-05-30 08:04:03.407264 [DEBUG] switch_core_session.c:1340 Send signal sofia/external/7777777777@66.66.66.66 [BREAK] 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:415 (sofia/external/7777777777@66.66.66.66) Running State Change CS_REPORTING 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:761 (sofia/external/7777777777@66.66.66.66) State REPORTING 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:92 sofia/external/7777777777@66.66.66.66 Standard REPORTING, cause: NO_ROUTE_DESTINATION 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:761 (sofia/external/7777777777@66.66.66.66) State REPORTING going to sleep 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:440 (sofia/external/7777777777@66.66.66.66) State Change CS_REPORTING -> CS_DESTROY 2013-05-30 08:04:03.407264 [DEBUG] switch_core_session.c:1340 Send signal sofia/external/7777777777@66.66.66.66 [BREAK] 2013-05-30 08:04:03.407264 [DEBUG] switch_core_session.c:1548 Session 1 (sofia/external/7777777777@66.66.66.66) Locked, Waiting on external entities 2013-05-30 08:04:03.407264 [NOTICE] switch_core_session.c:1566 Session 1 (sofia/external/7777777777@66.66.66.66) Ended 2013-05-30 08:04:03.407264 [NOTICE] switch_core_session.c:1570 Close Channel sofia/external/7777777777@66.66.66.66 [CS_DESTROY] 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:565 (sofia/external/7777777777@66.66.66.66) Callstate Change HANGUP -> DOWN 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:568 (sofia/external/7777777777@66.66.66.66) Running State Change CS_DESTROY 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:578 (sofia/external/7777777777@66.66.66.66) State DESTROY 2013-05-30 08:04:03.407264 [DEBUG] mod_sofia.c:373 sofia/external/ 7777777777@66.66.66.66 SOFIA DESTROY
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
Just to make my thoughts clearer: <action application="transfer" data="1000 XML default"/> GothamCity.xom.xml has something like <extension name="foo"> <condition field="destination_number" expression="^1000$"> <application="bridge" data="sofia/internal/1000" /> </condition> </extension> On Fri, May 31, 2013 at 12:46 AM, bratner bratner <ratner2@gmail.com> wrote:
I don't think you should specify the name of the XML file just the type of the dialplan: XML make sure it is included in context default and it has extension 1000
On Fri, May 31, 2013 at 12:16 AM, Mike Hendrie <mike@hendrienet.com>wrote:
Cannot get the SIP phone to ring...
Where am I supposed to add the route? In the dialplan, but what am I doing wrong?
2013-05-30 08:04:03.407264 [INFO] switch_core_state_machine.c:192 No Route, Aborting
Registrations:
================================================================================================= Call-ID: 3624a118-f19b051d-a4d9fed2@10.2.1.50 User: 1000@gothamcity.xom Contact: "user" <sip:1000@10.2.1.50:5060 ;transport=tcp;fs_nat=yes;fs_path=sip%3A1000%4010.2.1.50%3A33228%3Btransport%3Dtcp> Agent: PolycomSoundPointIP-SPIP_335-UA/3.3.3.0069 Status: Registered(TCP-NAT)(unknown) EXP(2013-05-30 08:13:09) EXPSECS(179) Host: GothamCity-00 IP: 10.2.1.50 Port: 33228 Auth-User: 1000 Auth-Realm: gothamcity.xom MWI-Account: 1000@gothamcity.xom
Total items returned: 1
=================================================================================================
/dialplan/public/GothamCity-00.xom.xml
<include>
<extension name="vitel-inbound"> <condition field="destination_number" expression="^1?(2624481175)$"> <action application="transfer" data="1000 GothamCity.xom.xml default"/> </condition> </extension>
</include>
===========================
fs_cli when calling the number:
EXECUTE sofia/external/7777777777@66.66.66.66 transfer(1000 GothamCity.xom.xml default) 2013-05-30 08:04:03.407264 [DEBUG] switch_ivr.c:1815 (sofia/external/ 7777777777@66.66.66.66) State Change CS_EXECUTE -> CS_ROUTING 2013-05-30 08:04:03.407264 [DEBUG] switch_core_session.c:1340 Send signal sofia/external/7777777777@66.66.66.66 [BREAK] 2013-05-30 08:04:03.407264 [DEBUG] switch_core_session.c:860 Send signal sofia/external/7777777777@66.66.66.66 [BREAK] 2013-05-30 08:04:03.407264 [NOTICE] switch_ivr.c:1822 Transfer sofia/external/7777777777@66.66.66.66 to GothamCity.xom.xml[1000@default] 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:477 (sofia/external/7777777777@66.66.66.66) State EXECUTE going to sleep 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:415 (sofia/external/7777777777@66.66.66.66) Running State Change CS_ROUTING 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:470 (sofia/external/7777777777@66.66.66.66) State ROUTING 2013-05-30 08:04:03.407264 [DEBUG] mod_sofia.c:137 sofia/external/ 7777777777@66.66.66.66 SOFIA ROUTING 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:117 sofia/external/7777777777@66.66.66.66 Standard ROUTING 2013-05-30 08:04:03.407264 [INFO] switch_core_state_machine.c:192 No Route, Aborting 2013-05-30 08:04:03.407264 [NOTICE] switch_core_state_machine.c:193 Hangup sofia/external/7777777777@66.66.66.66 [CS_ROUTING] [NO_ROUTE_DESTINATION] 2013-05-30 08:04:03.407264 [DEBUG] switch_channel.c:3096 Send signal sofia/external/7777777777@66.66.66.66 [KILL] 2013-05-30 08:04:03.407264 [DEBUG] switch_core_session.c:1340 Send signal sofia/external/7777777777@66.66.66.66 [BREAK] 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:470 (sofia/external/7777777777@66.66.66.66) State ROUTING going to sleep 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:415 (sofia/external/7777777777@66.66.66.66) Running State Change CS_HANGUP 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:676 (sofia/external/7777777777@66.66.66.66) State HANGUP 2013-05-30 08:04:03.407264 [DEBUG] mod_sofia.c:463 Channel sofia/external/ 7777777777@66.66.66.66 hanging up, cause: NO_ROUTE_DESTINATION 2013-05-30 08:04:03.407264 [DEBUG] mod_sofia.c:597 Responding to INVITE with: 404 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:48 sofia/external/7777777777@66.66.66.66 Standard HANGUP, cause: NO_ROUTE_DESTINATION 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:676 (sofia/external/7777777777@66.66.66.66) State HANGUP going to sleep 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:689 (sofia/external/7777777777@66.66.66.66) Callstate Change RINGING -> HANGUP 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:446 (sofia/external/7777777777@66.66.66.66) State Change CS_HANGUP -> CS_REPORTING 2013-05-30 08:04:03.407264 [DEBUG] switch_core_session.c:1340 Send signal sofia/external/7777777777@66.66.66.66 [BREAK] 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:415 (sofia/external/7777777777@66.66.66.66) Running State Change CS_REPORTING 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:761 (sofia/external/7777777777@66.66.66.66) State REPORTING 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:92 sofia/external/7777777777@66.66.66.66 Standard REPORTING, cause: NO_ROUTE_DESTINATION 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:761 (sofia/external/7777777777@66.66.66.66) State REPORTING going to sleep 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:440 (sofia/external/7777777777@66.66.66.66) State Change CS_REPORTING -> CS_DESTROY 2013-05-30 08:04:03.407264 [DEBUG] switch_core_session.c:1340 Send signal sofia/external/7777777777@66.66.66.66 [BREAK] 2013-05-30 08:04:03.407264 [DEBUG] switch_core_session.c:1548 Session 1 (sofia/external/7777777777@66.66.66.66) Locked, Waiting on external entities 2013-05-30 08:04:03.407264 [NOTICE] switch_core_session.c:1566 Session 1 (sofia/external/7777777777@66.66.66.66) Ended 2013-05-30 08:04:03.407264 [NOTICE] switch_core_session.c:1570 Close Channel sofia/external/7777777777@66.66.66.66 [CS_DESTROY] 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:565 (sofia/external/7777777777@66.66.66.66) Callstate Change HANGUP -> DOWN 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:568 (sofia/external/7777777777@66.66.66.66) Running State Change CS_DESTROY 2013-05-30 08:04:03.407264 [DEBUG] switch_core_state_machine.c:578 (sofia/external/7777777777@66.66.66.66) State DESTROY 2013-05-30 08:04:03.407264 [DEBUG] mod_sofia.c:373 sofia/external/ 7777777777@66.66.66.66 SOFIA DESTROY
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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)
-
bratner bratner
-
Mike Hendrie