Asterisk Won't Dial Another Asterisk Server Correctly


#1

Asterisk version: 1.01
My situation is the following:

My Asterisk box won’t Dial a specific remote Asterisk server. It dials other servers correctly (and all servers have the same configuration). Other servers can dial this remote server too (so it’s not a firewall problem).

I tried using a Windows program called Firefly to test this. In this program, the URL is dialed correctly, and someone answers at the other side (IAX2/user:pass@somedomainat.dnsalias.com/30).
The same line “exten => 30,1,DialIAX2/user:pass@somedomainat.dnsalias.com/30)” in extensions.conf doesn’t work. The CLI on the server that’s dialing gives me this (IPs, domain names and passwords were changed for the purpose of this posting):

“-- Accepting AUTHENTICATED call from 201.202.203.204, requested format = 1024, actual format = 1024
– Executing Dial(“IAX2/user@user/5”, “IAX2/usename:password@some_domain_name_at.dnsalias.com/30”) in new stack
– Called username:password@some_domain_name_at.dnsalias.com/30
Aug 9 10:45:30 WARNING[114695]: chan_iax2.c:1473 attempt_transmit: Max retries exceeded to host 250.251.252.253 on IAX2/250.251.252.253:4569/6 (type = 6, subclass = 1, ts=6, seqno=0)
– Hungup ‘IAX2/250.251.252.253:4569/6’
== No one is available to answer at this time
– Timeout on IAX2/user@user/5
== CDR updated on IAX2/user@user/5”


#2

What the CLI with verbose on the other server giving you ? You can may be find a clue there !


#3

Cli with “set verbose 5” on the server yeilds absolutely nothing (ie, it’s not even recieving the connection?)


#4

Well, it’s hard to say with so little information. One more think that can seems obvious but, had you check if the domain name is pointing to the right IP ? I notice that you use dnsalias system, so make sure the IP is update and accurate to the real one.

You can may be also get more clue using CLI command :
iax2 show peers
and
iax2 show registry

Regards !