[Freeswitch-users] Getting NO_ROUTE_DESTINATION

Miha Zoubek miha at softnet.si
Wed Oct 26 17:34:23 MSD 2011


I am new Freeswitch user. I have read freeswitch book. I registered 
first few phones and make few inbound calls.
I am trying to get outgoing calls working but having no luck.
I have configured my gw and set up calling plan. When I try to dial 
number 051357952 I get this:

reeswitch at localhost.localdomain> 2011-10-26 15:27:25.919562 [NOTICE] 
switch_channel.c:669 New Channel sofia/internal/1030 at 
2011-10-26 15:27:25.955550 [INFO] mod_dialplan_xml.c:418 Processing 
1030->9051357952 in context default
2011-10-26 15:27:25.960548 [NOTICE] switch_channel.c:669 New Channel 
sofia/external/051357952 [5ccfd0ae-1bcc-4f19-9ca1-e19f8808e6a4]
2011-10-26 15:27:26.095518 [NOTICE] sofia.c:4789 Hangup 
sofia/external/051357952 [CS_CONSUME_MEDIA] [NO_ROUTE_DESTINATION]
2011-10-26 15:27:26.098534 [INFO] mod_dptools.c:2355 Originate Failed.  
2011-10-26 15:27:26.098534 [NOTICE] mod_dptools.c:2418 Hangup 
sofia/internal/1030 at [CS_EXECUTE] [NO_ROUTE_DESTINATION]
2011-10-26 15:27:26.098534 [NOTICE] switch_core_session.c:1182 Session 
49 (sofia/external/051357952) Ended
2011-10-26 15:27:26.098534 [NOTICE] switch_core_session.c:1184 Close 
Channel sofia/external/051357952 [CS_DESTROY]
2011-10-26 15:27:26.140506 [NOTICE] switch_core_session.c:1182 Session 
48 (sofia/internal/1030 at Ended
2011-10-26 15:27:26.140506 [NOTICE] switch_core_session.c:1184 Close 
Channel sofia/internal/1030 at [CS_DESTROY]


<gateway name="IP800">
<!-- Your username, which is not your DID -->
<param name="username" value="Demo2"/>
<param name="password" value="1234"/>
<param name="register" value="true"/>
<param name="realm" value=""/>

This is my dial plan:

<extension name="Dial Out Custom Gateway">
<condition field="destination_number" expression="^9(\d{9})$">
<action application="bridge" data="sofia/gateway/IP800/$1"/>

sofia status

Type                                       Data      State
                  external       profile            
sip:mod_sofia at      RUNNING (0)
     external::example.com       gateway                    
sip:joeuser at example.com      NOREG
           external::IP800       gateway                     
sip:Demo2 at      REGED
                  internal       profile            
sip:mod_sofia at      RUNNING (0)
alias                                   internal      ALIASED
2 profiles 1 alias

Please help me why I am getting not route to destination.

Thank you very much for all your help!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111026/266f1639/attachment-0001.html 

Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list