How can we help you today?
Start a new topic

SNOM phone registration failover using DNS SRV

Hi all,


i'm deploying a redundancy VoIP infrastructure using two OpenSIPS servers. On DNS BIND9 server, for voip zone file (voip.network), i add:


$ORIGIN _tcp.voip.network.

_sip SRV 1 10 5060 proxy01.

                        SRV 2 10 5060 proxy02.

_sips SRV 1 10 5060 proxy01.

                        SRV 2 10 5060 proxy02.

$ORIGIN _udp.voip.network.

_sip SRV 1 10 5060 proxy01.

                        SRV 2 10 5060 proxy02.

_sips SRV 1 10 5060 proxy01.

                        SRV 2 10 5060 proxy02.


proxy01 is the primary OpenSIPS server, proxy02 the second one. Both servers are active and on phones config i use this setup (just the relevant lines):


<user_name idx="1" perm="R">[username]</user_name>

<user_host idx="1" perm="R">voip.network:5060</user_host>


Theorically, when phone boot up, try to register using first server "proxy01" and, if not available, try with "proxy02".


Unfortunately, this doesn't happen: i try to lock out (with IPTABLES rule) one of our phones from proxy01, waiting for registration query on proxy02 (that never arrived).


Any hints ?



Login or Signup to post a comment