Tuesday, December 6, 2011

How to do Load-Balancing for Asterisk with OpenSIPS

Bogdan-Andrei Iancu has posted information about how to do load balancing for SIP traffic:

When trying to cluster Asterisk boxes to gain scalability and more performance, there is now a new simple and efficient solution for doing it.

OpenSIPS/OpenSER 1.5 can now implement traffic routing based on load. Shortly, when OpenSIPS routes calls to a set of destinations, it is able to keep the load status (as number of ongoing calls) of each destination and to choose to route to the less loaded destination (at that moment). OpenSIPS is aware of the capacity of each destination - it is preconfigured with the maximum load accepted by the destinations.

This is an idea Load-Balancer to front your Asterisk cluster. A nice tutorial about how to do LB for your Asterisk is available:

http://www.opensips.org/index.php?n=Resources.DocsTutLoadbalancing

No comments:

Post a Comment