Context default not found, No route, Aborting, [CS_ROUTING} {NO_ROUTE_DESTINATION]

1,063 views
Skip to first unread message

luigi

unread,
Oct 23, 2018, 10:50:38 AM10/23/18
to ASTPP
Hi All,

Been trying to get ths to send calls out with no luck. I come from Asterisk. I never had i problem setting up soft switches, but this i am. Bothers me to disturb for something more serious than my question.
i have all my rates set, origination, termination, GW. Reloaded modules and so on. But can not get calls out. this is my log. hope you have better luck.

2018-10-23 14:40:34.538548 [NOTICE] switch_channel.c:1104 New Channel sofia/default/18000...@astpp.myserver.us [996f049c-d6d1-11e8-891a-fd5cfd8081d5]
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:584 (sofia/default/18000...@astpp.myserver.us) Running State Change CS_NEW (Cur 2 Tot 1096)
2018-10-23 14:40:34.538548 [DEBUG] sofia.c:9873 sofia/default/18000...@astpp.myserver.us receiving invite from 173.206.63.28:55960 version: 1.6.19 git 7a77e0b 2017-07-13 12:01:45Z 64bit
2018-10-23 14:40:34.538548 [DEBUG] sofia.c:9989 IP 173.206.63.28 Approved by acl "default[]". Access Granted.
2018-10-23 14:40:34.538548 [DEBUG] sofia.c:11168 Setting NAT mode based on via received
2018-10-23 14:40:34.538548 [DEBUG] sofia.c:7084 Channel sofia/default/18000...@astpp.myserver.us entering state [received][100]
2018-10-23 14:40:34.538548 [DEBUG] sofia.c:7094 Remote SDP:
v=0
o=- 13184779235100562 1 IN IP4 192.168.1.12
s=Bria 4 release 4.8.1 stamp 84929
c=IN IP4 192.168.1.12
t=0 0
m=audio 54734 RTP/AVP 9 8 18 120 0 122 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=yes
a=rtpmap:120 opus/48000/2
a=fmtp:120 useinbandfec=1; usedtx=1; maxaveragebitrate=64000
a=rtpmap:122 SILK/16000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15

2018-10-23 14:40:34.538548 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2018-10-23 14:40:34.538548 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[GSM:3:8000:20:13200:1]
2018-10-23 14:40:34.538548 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2018-10-23 14:40:34.538548 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[GSM:3:8000:20:13200:1]
2018-10-23 14:40:34.538548 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2018-10-23 14:40:34.538548 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[GSM:3:8000:20:13200:1]
2018-10-23 14:40:34.538548 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [opus:120:48000:20:0:1]/[PCMU:0:8000:20:64000:1]
2018-10-23 14:40:34.538548 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [opus:120:48000:20:0:1]/[GSM:3:8000:20:13200:1]
2018-10-23 14:40:34.538548 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2018-10-23 14:40:34.538548 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2018-10-23 14:40:34.538548 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[GSM:3:8000:20:13200:1]
2018-10-23 14:40:34.538548 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [SILK:122:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
2018-10-23 14:40:34.538548 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [SILK:122:16000:20:0:1]/[GSM:3:8000:20:13200:1]
2018-10-23 14:40:34.538548 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
2018-10-23 14:40:34.538548 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/18000...@astpp.myserver.us PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2018-10-23 14:40:34.538548 [DEBUG] switch_core_codec.c:111 sofia/default/18000...@astpp.myserver.us Original read codec set to PCMU:0
2018-10-23 14:40:34.538548 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
2018-10-23 14:40:34.538548 [DEBUG] switch_core_media.c:4767 sofia/default/18000...@astpp.myserver.us Set 2833 dtmf send payload to 101 recv payload to 101
2018-10-23 14:40:34.538548 [DEBUG] sofia.c:7507 (sofia/default/18000...@astpp.myserver.us) State Change CS_NEW -> CS_INIT
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:603 (sofia/default/18000...@astpp.myserver.us) State NEW
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:584 (sofia/default/18000...@astpp.myserver.us) Running State Change CS_INIT (Cur 2 Tot 1096)
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:627 (sofia/default/18000...@astpp.myserver.us) State INIT
2018-10-23 14:40:34.538548 [DEBUG] mod_sofia.c:90 sofia/default/18000...@astpp.myserver.us SOFIA INIT
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:40 sofia/default/18000...@astpp.myserver.us Standard INIT
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:48 (sofia/default/18000...@astpp.myserver.us) State Change CS_INIT -> CS_ROUTING
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:627 (sofia/default/18000...@astpp.myserver.us) State INIT going to sleep
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:584 (sofia/default/18000...@astpp.myserver.us) Running State Change CS_ROUTING (Cur 2 Tot 1096)
2018-10-23 14:40:34.538548 [DEBUG] switch_channel.c:2249 (sofia/default/18000...@astpp.myserver.us) Callstate Change DOWN -> RINGING
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:643 (sofia/default/18000...@astpp.myserver.us) State ROUTING
2018-10-23 14:40:34.538548 [DEBUG] mod_sofia.c:143 sofia/default/18000...@astpp.myserver.us SOFIA ROUTING
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:236 sofia/default/18000...@astpp.myserver.us Standard ROUTING
2018-10-23 14:40:34.538548 [INFO] mod_dialplan_xml.c:637 Processing 1800055935 <1800055935>->5149904232 in context default
2018-10-23 14:40:34.538548 [WARNING] mod_dialplan_xml.c:667 Context default not found
2018-10-23 14:40:34.538548 [INFO] switch_core_state_machine.c:311 No Route, Aborting
2018-10-23 14:40:34.538548 [NOTICE] switch_core_state_machine.c:312 Hangup sofia/default/18000...@astpp.myserver.us [CS_ROUTING] [NO_ROUTE_DESTINATION]
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:643 (sofia/default/18000...@astpp.myserver.us) State ROUTING going to sleep
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:584 (sofia/default/18000...@astpp.myserver.us) Running State Change CS_HANGUP (Cur 2 Tot 1096)
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:850 (sofia/default/18000...@astpp.myserver.us) Callstate Change RINGING -> HANGUP
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:852 (sofia/default/18000...@astpp.myserver.us) State HANGUP
2018-10-23 14:40:34.538548 [DEBUG] mod_sofia.c:438 Channel sofia/default/18000...@astpp.myserver.us hanging up, cause: NO_ROUTE_DESTINATION
2018-10-23 14:40:34.538548 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 404
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:60 sofia/default/18000...@astpp.myserver.us Standard HANGUP, cause: NO_ROUTE_DESTINATION
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:852 (sofia/default/18000...@astpp.myserver.us) State HANGUP going to sleep
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:619 (sofia/default/18000...@astpp.myserver.us) State Change CS_HANGUP -> CS_REPORTING
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:584 (sofia/default/18000...@astpp.myserver.us) Running State Change CS_REPORTING (Cur 2 Tot 1096)
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:938 (sofia/default/18000...@astpp.myserver.us) State REPORTING
2018-10-23 14:40:34.558556 [DEBUG] switch_core_state_machine.c:174 sofia/default/18000...@astpp.myserver.us Standard REPORTING, cause: NO_ROUTE_DESTINATION
2018-10-23 14:40:34.558556 [DEBUG] switch_core_state_machine.c:938 (sofia/default/18000...@astpp.myserver.us) State REPORTING going to sleep
2018-10-23 14:40:34.558556 [DEBUG] switch_core_state_machine.c:610 (sofia/default/18000...@astpp.myserver.us) State Change CS_REPORTING -> CS_DESTROY
2018-10-23 14:40:34.558556 [DEBUG] switch_core_session.c:1665 Session 1096 (sofia/default/18000...@astpp.myserver.us) Locked, Waiting on external entities
2018-10-23 14:40:34.558556 [NOTICE] switch_core_session.c:1683 Session 1096 (sofia/default/18000...@astpp.myserver.us) Ended
2018-10-23 14:40:34.558556 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/18000...@astpp.myserver.us [CS_DESTROY]
2018-10-23 14:40:34.558556 [DEBUG] switch_core_state_machine.c:741 (sofia/default/18000...@astpp.myserver.us) Running State Change CS_DESTROY (Cur 1 Tot 1096)
2018-10-23 14:40:34.558556 [DEBUG] switch_core_state_machine.c:751 (sofia/default/18000...@astpp.myserver.us) State DESTROY
2018-10-23 14:40:34.558556 [DEBUG] mod_sofia.c:343 sofia/default/18000...@astpp.myserver.us SOFIA DESTROY
2018-10-23 14:40:34.558556 [DEBUG] switch_core_state_machine.c:181 sofia/default/18000...@astpp.myserver.us Standard DESTROY
2018-10-23 14:40:34.558556 [DEBUG] switch_core_state_machine.c:751 (sofia/default/18000...@astpp.myserver.us) State DESTROY going to sleep

the way i see it, its not seeing the gateway, which i did create and reloaded mod_xml_curl, and still getting same error.

Kind Regards

Luigi

Kavin Chauhan

unread,
Oct 23, 2018, 11:03:59 AM10/23/18
to as...@googlegroups.com
its looks like, may be freeswitch profile not load perfectly.

Please share output of sofia status

--
=====================================================================
Documentation : https://astpp.readthedocs.io/
Please contact at sa...@inextrix.com for commercial support.
---
You received this message because you are subscribed to the Google Groups "ASTPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astpp+un...@googlegroups.com.
To post to this group, send email to as...@googlegroups.com.
Visit this group at https://groups.google.com/group/astpp.
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/248371b0-f8a1-44d4-a094-8998c898b48c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

luigi

unread,
Oct 23, 2018, 11:14:42 AM10/23/18
to ASTPP
here you go.

                     Name          Type                                       Data      State
=================================================================================================
                  default       profile          sip:mod_...@173.230.156.39:5060      RUNNING (0)
   default::callwithus-GW       gateway               sip:FreeS...@sip.callwithus.com      NOREG
=================================================================================================
1 profile 0 aliases


On Tuesday, 23 October 2018 10:50:38 UTC-4, luigi wrote:
Hi All,

Been trying to get ths to send calls out with no luck. I come from Asterisk. I never had i problem setting up soft switches, but this i am. Bothers me to disturb for something more serious than my question.
i have all my rates set, origination, termination, GW. Reloaded modules and so on. But can not get calls out. this is my log. hope you have better luck.

2018-10-23 14:40:34.538548 [NOTICE] switch_channel.c:1104 New Channel sofia/default/1800055935@astpp.myserver.us [996f049c-d6d1-11e8-891a-fd5cfd8081d5]
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:584 (sofia/default/1800055935@astpp.myserver.us) Running State Change CS_NEW (Cur 2 Tot 1096)
2018-10-23 14:40:34.538548 [DEBUG] sofia.c:9873 sofia/default/1800055935@astpp.myserver.us receiving invite from 173.206.63.28:55960 version: 1.6.19 git 7a77e0b 2017-07-13 12:01:45Z 64bit
2018-10-23 14:40:34.538548 [DEBUG] sofia.c:9989 IP 173.206.63.28 Approved by acl "default[]". Access Granted.
2018-10-23 14:40:34.538548 [DEBUG] sofia.c:11168 Setting NAT mode based on via received
2018-10-23 14:40:34.538548 [DEBUG] sofia.c:7084 Channel sofia/default/1800055935@astpp.myserver.us entering state [received][100]
2018-10-23 14:40:34.538548 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/1800055935@astpp.myserver.us PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2018-10-23 14:40:34.538548 [DEBUG] switch_core_codec.c:111 sofia/default/1800055935@astpp.myserver.us Original read codec set to PCMU:0
2018-10-23 14:40:34.538548 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
2018-10-23 14:40:34.538548 [DEBUG] switch_core_media.c:4767 sofia/default/1800055935@astpp.myserver.us Set 2833 dtmf send payload to 101 recv payload to 101
2018-10-23 14:40:34.538548 [DEBUG] sofia.c:7507 (sofia/default/1800055935@astpp.myserver.us) State Change CS_NEW -> CS_INIT
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:603 (sofia/default/1800055935@astpp.myserver.us) State NEW
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:584 (sofia/default/1800055935@astpp.myserver.us) Running State Change CS_INIT (Cur 2 Tot 1096)
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:627 (sofia/default/1800055935@astpp.myserver.us) State INIT
2018-10-23 14:40:34.538548 [DEBUG] mod_sofia.c:90 sofia/default/1800055935@astpp.myserver.us SOFIA INIT
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:40 sofia/default/1800055935@astpp.myserver.us Standard INIT
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:48 (sofia/default/1800055935@astpp.myserver.us) State Change CS_INIT -> CS_ROUTING
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:627 (sofia/default/1800055935@astpp.myserver.us) State INIT going to sleep
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:584 (sofia/default/1800055935@astpp.myserver.us) Running State Change CS_ROUTING (Cur 2 Tot 1096)
2018-10-23 14:40:34.538548 [DEBUG] switch_channel.c:2249 (sofia/default/1800055935@astpp.myserver.us) Callstate Change DOWN -> RINGING
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:643 (sofia/default/1800055935@astpp.myserver.us) State ROUTING
2018-10-23 14:40:34.538548 [DEBUG] mod_sofia.c:143 sofia/default/1800055935@astpp.myserver.us SOFIA ROUTING
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:236 sofia/default/1800055935@astpp.myserver.us Standard ROUTING
2018-10-23 14:40:34.538548 [INFO] mod_dialplan_xml.c:637 Processing 1800055935 <1800055935>->5149904232 in context default
2018-10-23 14:40:34.538548 [WARNING] mod_dialplan_xml.c:667 Context default not found
2018-10-23 14:40:34.538548 [INFO] switch_core_state_machine.c:311 No Route, Aborting
2018-10-23 14:40:34.538548 [NOTICE] switch_core_state_machine.c:312 Hangup sofia/default/1800055935@astpp.myserver.us [CS_ROUTING] [NO_ROUTE_DESTINATION]
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:643 (sofia/default/1800055935@astpp.myserver.us) State ROUTING going to sleep
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:584 (sofia/default/1800055935@astpp.myserver.us) Running State Change CS_HANGUP (Cur 2 Tot 1096)
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:850 (sofia/default/1800055935@astpp.myserver.us) Callstate Change RINGING -> HANGUP
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:852 (sofia/default/1800055935@astpp.myserver.us) State HANGUP
2018-10-23 14:40:34.538548 [DEBUG] mod_sofia.c:438 Channel sofia/default/1800055935@astpp.myserver.us hanging up, cause: NO_ROUTE_DESTINATION
2018-10-23 14:40:34.538548 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 404
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:60 sofia/default/1800055935@astpp.myserver.us Standard HANGUP, cause: NO_ROUTE_DESTINATION
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:852 (sofia/default/1800055935@astpp.myserver.us) State HANGUP going to sleep
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:619 (sofia/default/1800055935@astpp.myserver.us) State Change CS_HANGUP -> CS_REPORTING
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:584 (sofia/default/1800055935@astpp.myserver.us) Running State Change CS_REPORTING (Cur 2 Tot 1096)
2018-10-23 14:40:34.538548 [DEBUG] switch_core_state_machine.c:938 (sofia/default/1800055935@astpp.myserver.us) State REPORTING
2018-10-23 14:40:34.558556 [DEBUG] switch_core_state_machine.c:174 sofia/default/1800055935@astpp.myserver.us Standard REPORTING, cause: NO_ROUTE_DESTINATION
2018-10-23 14:40:34.558556 [DEBUG] switch_core_state_machine.c:938 (sofia/default/1800055935@astpp.myserver.us) State REPORTING going to sleep
2018-10-23 14:40:34.558556 [DEBUG] switch_core_state_machine.c:610 (sofia/default/1800055935@astpp.myserver.us) State Change CS_REPORTING -> CS_DESTROY
2018-10-23 14:40:34.558556 [DEBUG] switch_core_session.c:1665 Session 1096 (sofia/default/1800055935@astpp.myserver.us) Locked, Waiting on external entities
2018-10-23 14:40:34.558556 [NOTICE] switch_core_session.c:1683 Session 1096 (sofia/default/1800055935@astpp.myserver.us) Ended
2018-10-23 14:40:34.558556 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/1800055935@astpp.myserver.us [CS_DESTROY]
2018-10-23 14:40:34.558556 [DEBUG] switch_core_state_machine.c:741 (sofia/default/1800055935@astpp.myserver.us) Running State Change CS_DESTROY (Cur 1 Tot 1096)
2018-10-23 14:40:34.558556 [DEBUG] switch_core_state_machine.c:751 (sofia/default/1800055935@astpp.myserver.us) State DESTROY
2018-10-23 14:40:34.558556 [DEBUG] mod_sofia.c:343 sofia/default/1800055935@astpp.myserver.us SOFIA DESTROY
2018-10-23 14:40:34.558556 [DEBUG] switch_core_state_machine.c:181 sofia/default/1800055935@astpp.myserver.us Standard DESTROY
2018-10-23 14:40:34.558556 [DEBUG] switch_core_state_machine.c:751 (sofia/default/1800055935@astpp.myserver.us) State DESTROY going to sleep
Message has been deleted

luigi

unread,
Oct 23, 2018, 12:50:56 PM10/23/18
to ASTPP
ok i managed to get it working. apparently i needed to reboot again! and this was a scripted installed astpp on centos 7.5. also after reboot, freeswitch was stopped and i had to restarted. don't know why freeswitch didn't start after reboot, i thought the scripted would of already enter it. so know i can make outgoing calls. later will start incoming. thank you for all the help!


On Tuesday, 23 October 2018 11:14:42 UTC-4, luigi wrote:
here you go.

                     Name          Type                                       Data      State
=================================================================================================
                  default       profile          sip:mod_...@173.230.156.39:5060      RUNNING (0)
   default::callwithus-GW       gateway               sip:FreeSWITCH@sip.callwithus.com      NOREG
Reply all
Reply to author
Forward
0 new messages