Connecting to a SIP server cluster


#1

My Asterisk server is connecting to “sip.plus.net”, which resolves to multiple IP addresses:

sip.plus.net. 300 IN A 84.92.0.75 sip.plus.net. 300 IN A 84.92.0.76 sip.plus.net. 300 IN A 84.92.5.189 sip.plus.net. 300 IN A 84.92.5.190

If one of these machines is down (i.e. it’s not replying to the SIP packets or it’s sending back ICMP Port Unreachable), Asterisk keeps trying the same server. Shouldn’t Asterisk move on to the next server automatically in this case? It seems to only way to do this at the moment is to run the “reload” command, which causes it to do a DNS lookup and it may then pick one of the other servers.