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

Martin Seebach mail at martinseebach.dk
Mon Oct 6 09:29:59 CDT 2008


----- "Andres" wrote: 
> 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. 

That was indeed the problem. I added this to iax.conf: 

[myprovider] 
type=friend 
username=88821268 
secret=xxzzyy 
host=s1.core.myprovid.er 

And used this in extensions.conf: 
exten => _ZXXXXXXX,2,Dial(IAX2/myprovider/${EXTEN:0},30,r) 

Thank you for the assistance. 

Regards, 
Martin Seebach 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081006/3330b484/attachment-0001.htm 


More information about the asterisk-users mailing list