Asterisk 11: Multiple Hosts in one context


we have problems with SIP-Providers using multiple IPs behind one FQDN.
Let’s assume there is a provider with FQDN und two IPs and
sip.conf looks like this:



When resolving the DNS Asterisk will only take the first IP (is this still true in Asterisk 11?). If a call comes in from the call will be rejected.

We know that there is a workaround with creating multiple peers like described here: … 98920.html

But is there also a way in Asterisk 11 like




etc. ?

Kind regards,

I think not.

You can check Asterisk support for DNS SRV. I am not sure what is the current support for it on Asterisk.