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 Burke
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 <[email protected]
<mailto:[email protected]>> 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
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users