[asterisk-users] SIP DNS SRV

Jonas Kellens jonas.kellens at telenet.be
Mon Nov 1 04:39:32 CDT 2010


Hello,

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


Jonas.



On 10/18/2010 02:03 PM, Gareth Blades wrote:
> Yes if you set the production server to a higher priority then the
> backup then the RFC states that the client should periodically check and
> switch back to the primary server is it becomes reachable.
>
>
> Jonas Kellens wrote:
>    
>>     Hello,
>>
>> I know YeaLink for example supports this...
>>
>>
>> Can you tell me for sure that when the production Asterisk server
>> becomes reachable again, the registration will go back to the production
>> server ??
>>
>>
>> Jonas.
>>
>>
>>
>> On 10/18/2010 01:11 PM, Gareth Blades wrote:
>>      
>>> Yes that is the way it is supposed to work. You do have to rely on the
>>> sip devices you are using fully supporting SRV records though.
>>>        
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101101/a9cae284/attachment.htm 


More information about the asterisk-users mailing list