<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    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 class="moz-txt-link-freetext"
      href="https://github.com/OpenSIPS/opensips/pull/2600">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"
cite="mid:CADaqb1vyn8prbP9xej314dtH=6Kq-r3J1ZX0-uCFu3u2XNeDdA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <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"
              moz-do-not-send="true">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" moz-do-not-send="true">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 class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>