[SR-Users] Kamailio HA with Virtual IP and multiple Asterisk servers for dispatching

Rumen Mihailov r.mihailov at itradebg.com
Tue Nov 27 15:18:09 CET 2012

Hi all,


Please bear with me as this is my first post to a mailing list ever so
something might be quite wrong.


My question is: How do we make Kamailio HA ?


For the moment I've setup MySQL cluster with MySQL proxies that provide 1
Virtual IP that I use to connect Kamailio to (for usrloc and dispatcher)

I have a couple of asterisk servers that Kamailio servers are supposed to
send calls to.

I have two kamailio servers that share the same IP address with keepalived.
Both Kamailio servers are bind to the Virtual IP.


The problem is: When Kamailio 1 is active calls are correctly dispatched to
both the asterisk servers correctly.

When Kamailio 2 is active calls are only sent to one of the asterisk
servers. 'kamctl dispatcher show' shows the correct servers on both


The two Kamailio servers share EXACTLY the same config files.


Do you guys have any thoughts on this ?


p.s. Thank you for creating such a wonderful product. Thank you !!!


Best regards,


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20121127/73c72b2a/attachment.htm>

More information about the sr-users mailing list