Florian Overkamp wrote:
Hi Ronald,

Ronald Wiplinger wrote:
voipbuster/xxxx 194.221.62.201 5060 UNREACHABLE voipstunt/xxxxx 194.120.0.200 5060

a reload shows than:

voipbuster/xxxx 80.239.235.200 5060 UNREACHABLE voipstunt/xxxxx 194.120.0.200 5060 UNREACHABLE

Seems like voipbuster is doing round-robin DNS for redundancy. Bad choice with asterisk, since asterisk only looks up DNS on startup or reloads.

You could read out all the entries in the DNS zone and create your own list of entries in /etc/hosts, and then create multiple asterisk peers: voipbuster1, voipbuster2, etc... Then you can use regular dialplan logic to cycle through all of them.

Florian,

that is exactly the point what I am looking for. How can I use the next peer in the dial logic? I was trying DIALSTATUS, ... but I could not make it.

bye

Ronald
_______________________________________________
--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