not able to establish calls between one server to the other

chipmunks
Joined: Thu 04 of Sep, 2008

not able to establish calls between one server to the other

Posted:Mon 08 of Sep, 2008 (06:43 UTC)
HI!
We have some problems while setting up the IAX configuration to trunk two asterisks server. Calls are not able to establish between both servers. Can someone give some advice about this?
Thanks!

This is our configuration :

Asterisk8

(iax.conf) 
[general] 
port=5036 
bindaddr=0.0.0.0 

[asterisk1] 
type=friend 
username=asterisk1 
host=192.168.13.201 
disallow=all 
allow=ulaw 
allow=gsm 
secret=123 
context=default 
trunk=yes 
qualify=yes 

(extensions.conf) 
[general] 

static=yes 
writeprotect=yes 

[globals] 
CONSOLE=Console/dsp 

[default] 
include => enum 

[enum] 
exten=>_656411XXXX,1,EnumLookup(${EXTEN:0}) 
exten=>_656411XXXX,2,Dial(${ENUM},30) 
exten=>_656411XXXX,103,Hangup 

exten=>_656411XXXX,1,Dial(IAX2/asterisk8:123@192.168.13.201/${ENUM:0}) 
exten=>_656411XXXX,103,Hangup 

---------------------------------------------------------------------------------------- 

Asterisk1 

(iax.conf) 
[general] 
port=5036 
bindaddr=0.0.0.0 

[asterisk8] 
type=friend 
username=asterisk8 
host=192.168.13.208 
disallow=all 
allow=ulaw 
allow=gsm 
secret=123 
context=default 
trunk=yes 
qualify=yes 

(extensions.conf) 

[general] 

static=yes 
writeprotect=yes 

[globals] 
CONSOLE=Console/dsp 

[default] 
include => enum 

[enum] 
exten=>_656411XXXX,1,EnumLookup(${EXTEN:0}) 
exten=>_656411XXXX,2,Dial(${ENUM},30) 
exten=>_656411XXXX,103,Hangup 

exten=>_656411XXXX,1,Dial(IAX2/asterisk1:123@192.168.13.208/${ENUM:0}) 
exten=>_656411XXXX,103,Hangup

------------------------------------------------------------------------------------------


when i enter dig command: dig @asterisk1 9.0.2.1.1.1.4.6.5.6.e164.arpa NAPTR, it always reply: connection timeout; no server could be reached. Anyone can able to help me solve this??? thanks a lot..... =)