[OpenSIPS-Users] Load balancing with failover support

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Jul 12 16:51:57 CEST 2012


Hi Seth,

On 07/11/2012 07:21 PM, Seth Schultz wrote:
> Hello,
>
> I am attempting to do load balancing with failover support.  From what 
> I have read, this can be achieved by calling the load_balance function 
> in the failure route, but I am unsure how to avoid the following two 
> scenarios.
>
>    1. Make sure the new destination isn't one we have already tried
>
the load_balancer() function will take care and not use again the 
already used destination (for a call)

>    1. Make sure we haven't exhausted all of our destination options
>
the load_balancer() function will return false if there is no other 
available destination.

Regards,
Bogdan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120712/ca16b2a4/attachment-0001.htm>


More information about the Users mailing list