[Freeswitch-users] Getting NO_ROUTE_DESTINATION

Miha Zoubek miha at softnet.si
Thu Oct 27 12:26:48 MSD 2011


On 10/26/2011 3:34 PM, Miha Zoubek wrote:
> Hi,
>
> 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 172.31.1.157 
> [f2132149-dc40-4601-bd34-c22e5b06b696]
> 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.  Cause: NO_ROUTE_DESTINATION
> 2011-10-26 15:27:26.098534 [NOTICE] mod_dptools.c:2418 Hangup 
> sofia/internal/1030 at 172.31.1.157 [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 172.31.1.157) Ended
> 2011-10-26 15:27:26.140506 [NOTICE] switch_core_session.c:1184 Close 
> Channel sofia/internal/1030 at 172.31.1.157 [CS_DESTROY]
>
> GW:
>
> <include>
> <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="172.31.1.200"/>
> </gateway>
> </include>
>
> This is my dial plan:
>
> <include>
> <extension name="Dial Out Custom Gateway">
> <condition field="destination_number" expression="^9(\d{9})$">
> <action application="bridge" data="sofia/gateway/IP800/$1"/>
> </condition>
> </extension>
> </include>
>
>
> sofia status
>
>                      Name          
> Type                                       Data      State
> =================================================================================================
>                  external       profile 
> sip:mod_sofia at 172.31.1.157:5080      RUNNING (0)
>     external::example.com       gateway sip:joeuser at example.com      NOREG
>           external::IP800       gateway sip:Demo2 at 172.31.1.200      REGED
>                  internal       profile 
> sip:mod_sofia at 172.31.1.157:5060      RUNNING (0)
>              172.31.1.157         
> 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!
>
> BR,
> Miha
>
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
Please, could any one just point me on right direction:)

Thanks!

BR,
Miha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111027/5ed27935/attachment-0001.html 


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