[SR-Users] kamailio - failover setup

Daniel Tryba d.tryba at pocos.nl
Mon Oct 28 13:37:46 CET 2019


On Mon, Oct 28, 2019 at 06:03:09AM +0100, Youssef Boujraf wrote:
> I am looking for failover service of kamailio servers looks like
> haproxy but udp & tcp.
> 
> -??one domain name : sip.secure.com pointing my public ip address.
> - two kamailio server pointing same database content (user, whitelist,
> ...) no asterisk or pbx. Kamailio is used Only for signaling (users,
> whitelist & rtp)
> 
> Monitoring service : identify who is the kamailio server online,
> offline and the ability to force??all the SIP/RTP/MANAGEMENT
> connection from Kamailio Srv1 to Kamailio Srv2 and vice-versa ?

Why do these kind of failover setups at all? When I create these
failover setups they work perfectly during tests but fail during real
failures. With round robin A records, NAPTR and SRV you can have
multiple live servers. Only the endpoints what actually use a hardcoded
ipaddress will have problems in the case of a failure. 

The added benefit is scalability and easy maintenance.

The bad is there isn't a wiki entry on how to do it AFAIK.

BTW the shared database seems to be a bit deprecated (and a common point
of failure), look at DMQ if you have to start from scratch.



More information about the sr-users mailing list