How do I do an alternate proxy setting / How to configure DNS SRV?
Problem:
How do I do an alternate proxy setting / How to configure DNS SRV?
Solution:
Use DNS SRV in your DNS zone file!
- You can setup DNS SRV record containing your sip proxies with different
priority for each one of them.
A DNS SRV entry looks like: (with sipproxy1 having a higher priority than sipproxy2)
sipproxy.domain.com SRV 0 1 5060 sipproxy1.domain.com.
SRV 1 1 5060 sipproxy2.domain.com.
From the SPA, set
"Use DNS SRV" to yes in the "line" tab setting; outbound proxy: sipproxy.domain.com
SPA supports 5 hosts per SRV record. For more information, please refer to rfc#3263
if you use "_sip._udp", you can enable "DNS SRV Auto Prefix" for the SPA to automatically
prepend "_sip._udp." to the proxy name.
- As an alternative, you can set your DNS so that it has entry of
sipproxy.domain.com which points to multiple IP addresses. This will give random
dns resolution between the IPs with equal priority.