[SR-Users] Simple Kamailio configuration for Asterisk load balancing?

Alex Balashov abalashov at evaristesys.com
Tue Jul 5 19:54:47 CEST 2016


I think you need to radically readjust your expectations. What you're 
asking for, once all of the requirements are tallied up ...

- Load balancing across Asterisk servers
- SIP registration to RealTime DB
- HA configuration

... is not simple, and doesn't lend itself to a "quick start" guide.

You'll want to start with the 'dispatcher' module, which provides the 
load distribution part, and go from there. There are plenty of examples 
of how to use it online, including the dispatcher module docs themselves:

http://www.kamailio.org/docs/modules/4.4.x/modules/dispatcher.html#dispatcher.ex.config

Also, this is a rather broad question that demands a lot from your 
audience, and certainly cannot be accommodated in a "quick start" guide:

 > Please also let me know if I should have to change my Asterisk PBX
 > config

The answer there is "know how to administer Asterisk", and there are no 
shortcuts around that.

Speaking of shortcuts: Kamailio is a fairly low-level tool designed for 
situations in which fine-grained message-level control is needed over 
SIP scenarios. When you say "it should be possible to get this setup by 
just running a script or GUI", you are speaking from a very presumptuous 
position.

Unless you're willing to put in the time and learn how to use all the 
pieces you've chosen to use, it sounds like you may be best served by a 
turn-key load balancer product or appliance of some sort, which would 
allow you point-and-click your way to happiness--at the expense of the 
integration paths you're after (RealTime et al).

-- Alex

-- 
Alex Balashov | Principal | Evariste Systems LLC
1447 Peachtree Street NE, Suite 700
Atlanta, GA 30309
United States

Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/



More information about the sr-users mailing list