On 1 Nov 2010, at 09:39, Jonas Kellens wrote:
> DNS SRV is not really working: when I stop the Asterisk proces on my 
> production server, then the SIP phone is not registering to my backup SIP 
> server.
> 
> I have the following DNS records :
> 
> sip2.domain.tld.    A    YY.YY.YY.YY
> sip.domain.tld.    A    XX.XX.XX.XX
> 
> _SIP._udp.sip2.domain.tld.    SRV    YY.YY.YY.YY.
> _SIP._udp.sip.domain.tld.    SRV    XX.XX.XX.XX.
> 
> 
> _udp.sip2.domain.tld has a priority of 25
> _udp.sip.domain.tld has a priority of 5
> 

You don't understand SRV. You should have then both with the same name.

> _SIP._udp.sip.domain.tld.    SRV    YY.YY.YY.YY.
> _SIP._udp.sip.domain.tld.    SRV    XX.XX.XX.XX.

And then point the phone at sip.domain.tld. Otherwise how would it know to use 
the other one? It's a different name.

S


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to