[OpenSIPS-Devel] DRouting Feature Request

Răzvan Crainea razvan at opensips.org
Wed Jul 23 09:40:37 CEST 2014


Hi, Kneeoh!

Please use the issues tracker[1] to add feature requests.

[1] https://github.com/OpenSIPS/opensips/issues

Best regards,

Razvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 07/23/2014 03:29 AM, Kneeoh wrote:
> It would be great if you could combine the binary Flags for dr_carrier routing:
>
> flags : 0x1 - use weight for sorting the list and not definition order; 0x2 - use only the first gateway from the carrier (depending on the sorting); 0x4 - disable the usage of this carrier
>
> such that where 1+2 = 3 the gateways are first sorted by weight then returns only the top result for each carrier. This would allow for equitable distribution between carrier gateways. This way gw1=100,gw2=100 would have a roughly equal chance of being picked (if enabled=true). At present it either cycles through all carrier gateways OR when the binary flag is set to 2, it picks the first gateway ONLY, ALL THE TIME.
>
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>



More information about the Devel mailing list