[Kamailio-Users] Load Balancing Asterisk using Kamailio

Kurt Weasel kurt.weasel at gmail.com
Mon Apr 27 07:10:46 CEST 2009


Hi,

I searched around the web to load balance asterisk servers and found
Kamailio for possible solution. Let's say I have two identical asterisk
servers with same dialplan and configuration and I want both servers look
like they have same IP address from clients. Based on my understanding, we
need 1 Kamailio as load balancer and 2 Asterisk servers as the real servers.
Let's say the setup is :

Kamailio load balancer 192.168.2.1
Asterisk Server #1 192.168.2.2
Asterisk Server #2 192.168.2.3

My question is, X-Lite softphone Configuration should be set to domain
192.168.2.1, right?

I also want to know the step by step configuration to set kamailio as load
balancer. I have not used Kamailio before. However after searching the
documentation, the step (based on my understanding) is somewhat like this :

1. Install Kamailio. I will use the step by step here :
http://kamailio.org/dokuwiki/doku.php/install:kamailio-1.5.x-from-svn

2. Then, using dipatcher module, I will configure it using this guide here :
http://kamailio.org/dokuwiki/doku.php/asterisk:load-balancing-and-ha
Then modify the dispatcher.list file to match the IP address of my asterisk
servers :

*1 sip:192.168.2.2:5060
1 sip:192.168.2.3:5060*

Am I missing some steps?
Do I also need to configure dialplan or any other file at Kamailio load
balancer? Or those two steps basically done it all for simple load balancing
configuration? Thanks for your responses.

Best Regard,
Kurt Weasel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20090427/dd9a9a6c/attachment.htm 


More information about the Users mailing list