[OpenSER-Users] Failover using NAPTR/SRV

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Feb 14 12:25:33 CET 2008


Hi Tobias,

if you have "dns_backlist=yes" in your config, if one of the destination 
server fails (according to SIP definition), it's IP will be added to a 
temporary blacklist (for 4 minutes) and not used. So, openser should do 
dns-based failover and use the next entry provided by NAPTR/SRV/A lookup.

Regards,
Bogdan

Tobias Lindgren wrote:
> Hi all,
>
> I've been trying to find this information but I cannot find any exact 
> specifications on how it really works.
>
>  From what I know using NAPTR/SRV records with OpenSER will allow it to 
> find and use servers behind those DNS-records. This works just fine.
>
> However, what I'm not sure about is what actually will happen in OpenSER 
> when one of two servers in this scenario would fail.
>
> For example, I have two servers as SRV where one is primary and one is 
> secondary for SIP/UDP. What will happend in OpenSER when the primary 
> server is down? Will OpenSER continue to send all request first towards 
> that server or will it learn that one server is down and always send 
> requests to the second server for a period of time and try the primary 
> one just occassionally?
>
> Please direct me to any page where this is explained in detail, if such 
> page exists.
>
> Br,
> /Tobias
>
> _______________________________________________
> Users mailing list
> Users at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>
>   





More information about the sr-users mailing list