Hi, Have you got port 4569 open in your NAT/Firewall?
I take it that your extension ranges on the servers are 5000 and 6000 range. The configs look OK, same as mine, and mine works fine. Regards Dave -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Chicku Sent: 28 December 2004 04:44 To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Cant get Asterisk server talk with IAX Hi everyone, I am trying to connect 2 asterisk servers via IAX, but it just fails to do so.. I'm using SIP to connect the IP phones on the LAN at the 2 different physical locations where each server resides and I'm able to communicate on my LAN via SIP without any issues. The problem is that I'm unable to make Asterisk servers talk with each other via IAX.. Here is my issue. I've got one asterisk server connected directly to the internet and the other behind a NAT. ---- The iax.conf file for the one that is directly connected to the internet is as follows: [general] bindport = 4569 ; Port to bind to (IAX is 4569) bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine) delayreject=yes disallow=all allow=ulaw allow=alaw allow=gsm jitterbuffer=yes mailboxdetail=yes #include iax_additional.conf [I'm using AMP as the GUI interface] register => 1000:[EMAIL PROTECTED] [a.b.c.d is the IP address of the router. ie. the server is behind the nat] [2000] type=user username=2000 auth=plaintext permit=a.b.c.d/255.255.255.0 host=dynamic context=fullaccess My extension.conf is as follows for the server that is directly connected to internet.: [fullaccess] exten => _5XXX,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN}) exten => _5XXX,2,Hangup exten => _5XXX,102,Hangup -------------- Now the iax.conf file for the one behind NAT is as follows: [general] bindport = 4569 ; Port to bind to (IAX is 4569) bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine) delayreject=yes disallow=all allow=ulaw allow=alaw allow=gsm jitterbuffer=yes mailboxdetail=yes #include iax_additional.conf register => 2000:[EMAIL PROTECTED] [1000] type=user username=1000 auth=plaintext permit=0.0.0.0/0.0.0.0 host=dynamic context=fullaccess My extension.conf is as follows for the server that is behind NAT: [fullaccess] exten => _6XXX,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN}) exten => _6XXX,2,Hangup exten => _6XXX,102,Hangup --------------------------------------------- Free POP3 Email from www.Gawab.com Sign up NOW and get your account @gawab.com!! _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users