[asterisk-users] "No route to destination" error

Andres andres at telesip.net
Wed Sep 24 17:38:05 CDT 2008


>
>
>     -- Executing [40618405 at default:1] Set("SIP/21-081ceea8", 
> "CALLERID(all)=nnnnnnnnnnnn <88821268>") in new stack
>     -- Executing [40618405 at default:2] Dial("SIP/21-081ceea8", 
> "IAX2/88821268/40618405|30|r") in new stack
> [Sep 11 12:05:58] WARNING[7098]: app_dial.c:1202 dial_exec_full: 
> Unable to create channel of type 'IAX2' (cause 3 - No route to 
> destination)
>   == Everyone is busy/congested at this time (1:0/0/1)
>     -- Executing [40618405 at default:3] Congestion("SIP/21-081ceea8", 
> "") in new stack
>   == Spawn extension (default, 40618405, 3) exited non-zero on 
> 'SIP/21-081ceea8'
>
>
> I can't see any traffic on the wire using ngrep, and the registry 
> looks good:
>
> filserver*CLI> iax2 show registry
> Host                  dnsmgr  Username    Perceived             
> Refresh  State
> 85.nnn.nnn.83:4569    N       88821268    85.nnn.nn.197:10000        
> 60  Registered
> 85.nnn.nnn.82:4569    N       88821268    85.nnn.nn.197:10002        
> 60  Registered
>
>
> I can see traffic with ngrep while registering, and every 60 seconds 
> after that.
>
> That "no route to destination" error is causing my hair to thin, and 
> my trunk provider tells me that it's "usually something else", and 
> that the errormessage is not that descriptive.
>
> What can I do to get more/better debugging info? I can't figure out 
> what's wrong.

After looking at your iax.conf and extensions.conf I believe you are 
under the misconception that if you 'register' to a provider, then you 
can send and receive calls.   The fact is that you 'register' to receive 
calls, but you must define a trunk in order to Dial Out.  Your iax.conf 
[88821268] entry is not a trunk as you have not defined a host.  That is 
why you get "cause 3 - No route to destination".  Asterisk does not have 
any host defined in order to route that call.  You need to talk to your 
provider for instructions on how to setup the trunk.

Andres
http://www.neuroredes.com

>
> Thanks!
>
> - Martin
>
> ( my iax.conf and extensions.conf on http://pastebin.com/mb0020bd )
>
>------------------------------------------------------------------------
>
>_______________________________________________
>-- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
>AstriCon 2008 - September 22 - 25 Phoenix, Arizona
>Register Now: http://www.astricon.net
>
>asterisk-users mailing list
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list