<div dir="auto">Thanks John. That's really helpful </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 20 Aug 2021, 14:40 John Burke via Users, <<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
Hey Mark,<br>
<br>
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.<br>
<br>
schema:<br>
<proto>:<ip>:<port>(=<weight>)<br>
<br>
ex:<br>
udp:192.168.1.200:22222=25<br>
<br>
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.<br>
<br>
[1] <a href="https://github.com/OpenSIPS/opensips/pull/2600" target="_blank" rel="noreferrer">https://github.com/OpenSIPS/opensips/pull/2600</a><br>
<br>
Thanks,<br>
John Burke<br>
<br>
<br>
On 8/20/21 5:00 AM, Mark Allen wrote:<br>
<blockquote type="cite">
<div dir="ltr">
<div>I've not been able to find the answer to this. Can anyone
help?</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, 22 Jul 2021 at
11:02, Mark Allen <<a href="mailto:mark@allenclan.co.uk" target="_blank" rel="noreferrer">mark@allenclan.co.uk</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">In the rtpengine documentation [1] in the
section "1.2 - Multiple RTP proxy usage" it says...
<div><br>
</div>
<div>
<p style="font-family:Helvetica,Arial;font-size:12px;text-align:justify;color:rgb(0,0,0)">
"The balancing inside a set is done automatically by
the module based on the weight of each <acronym>RTP</acronym> proxy
from the set."</p>
<p style="font-family:Helvetica,Arial;font-size:12px;text-align:justify;color:rgb(0,0,0)"><br>
</p>
...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? </div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>[1] <a href="https://opensips.org/html/docs/modules/3.1.x/rtpengine.html#idp4123616" target="_blank" rel="noreferrer">https://opensips.org/html/docs/modules/3.1.x/rtpengine.html#idp4123616</a></div>
<div><br>
</div>
<div><br>
</div>
</div>
</blockquote>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank" rel="noreferrer">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank" rel="noreferrer">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank" rel="noreferrer">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>