[OpenSIPS-Users] rtpengine sets - load balancing proxy weighting

John Burke john at voxtelesys.com
Fri Aug 20 13:21:13 EST 2021


Hey Mark,

The load balancing weights are set on a per node basis via their socket 
URL. If no weight is explicitly set, then the default is 1.

schema:
<proto>:<ip>:<port>(=<weight>)

ex:
udp:192.168.1.200:22222=25

There currently is no way to dynamically change the weight of a node, 
although there's an open PR [1] which would allow for weights to be 
changed via the "rtpengine_enable" MI command.

[1] https://github.com/OpenSIPS/opensips/pull/2600

Thanks,
John



On 8/20/21 5:00 AM, Mark Allen wrote:
> I've not been able to find the answer to this. Can anyone help?
>
> On Thu, 22 Jul 2021 at 11:02, Mark Allen <mark at allenclan.co.uk 
> <mailto:mark at allenclan.co.uk>> wrote:
>
>     In the rtpengine documentation [1] in the section "1.2 - Multiple
>     RTP proxy usage" it says...
>
>       "The balancing inside a set is done automatically by the module
>     based on the weight of each RTP proxy from the set."
>
>
>     ...how is the weighting determined? Is there a parameter to
>     allocate a weighting value, is weighting allocated by the software
>     dynamically (and if so, based on what criteria?), or are all
>     proxies weighted the same?
>
>
>
>     [1]
>     https://opensips.org/html/docs/modules/3.1.x/rtpengine.html#idp4123616
>     <https://opensips.org/html/docs/modules/3.1.x/rtpengine.html#idp4123616>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20210820/8ebb25f7/attachment-0001.html>


More information about the Users mailing list