Hi all,

I have a IAX trunk between two asterisk servers, both with dynamic IP and both have a DNS name associated with it. In the iax.conf file I configure the "host" parameter with the DNS name of the servers. Everything works fine until one of these servers get a new IP, so the other can't find its peer (the one that has just gotten a new IP). If I manually issue a "iax2 reload" in the CLI, asterisk tries to find the IP of the peer (based on its DNS name) and everything starts working again.
This is the section for my trunk in one of my servers:

[sometrunk]
type=friend
username=someusername
secret=somesecret
auth=plaintext
host=host.no-ip.org
context=incoming
peercontext=incoming
qualify=yes
trunk=yes


Is there any way to tell asterisk to try to find the peer's IP address if that peer is "unreachable" or each 10 minutes?

Thanks in advance.
Ronaldo.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to