[OpenSIPS-Users] drouting: load balancing with probability like carrierroute

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Mar 11 15:19:17 CET 2009


HI Noel,

you can do it using the sort_order param : 
http://www.opensips.org/html/docs/modules/devel/drouting.html#id272026

In mode 2, in a group, you can duplicate elements in such a way to 
reflect a weight:
    (GW1, GW2) -> GW1=50% , GW2=50%
    (GW1, GW1, GW2) -> GW1=66% , GW2=33%
    (GW1, GW1, GW1, GW2) -> GW1=75% , GW2=25%

Regards,
Bogdan

Noel R. Morais wrote:
> Hi guys,
>
> I would like to know if there is a way to load balance between
> gateways using a probability like carrierroute does.
>
> If there isn't, any plans?
>
> Thanks,
>
> Noel
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>   




More information about the Users mailing list