[asterisk-users] SIP DNS SRV
Steve Howes
steve-lists at geekinter.net
Mon Nov 1 04:55:40 CDT 2010
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
More information about the asterisk-users
mailing list