<div><span style="font-family:arial,sans-serif;font-size:13px">Will this:</span></div><span style="font-family:arial,sans-serif;font-size:13px">modparam(&quot;rtpproxy&quot;, &quot;rtpproxy_sock&quot;, &quot;3 == udp:c.c.c.c:22222=10 udp:d.</span><span style="font-family:arial,sans-serif;font-size:13px">d.d.d:22222=10 udp:<a href="http://1.1.1.1">1.1.1.1</a>:</span><span style="font-family:arial,sans-serif;font-size:13px">22222=20 udp:2.2.2.2:22222=20 udp:3.3.3.3:22222=20 udp:4.4.4.4:22222=20&quot;)</span><br>
<div class="gmail_extra"><br></div><div class="gmail_extra">works as I expected?</div><div class="gmail_extra"><br></div><div class="gmail_extra">I expect it to use c.c.c.c, d.d.d.d. If c.c.c.c and d.d.d.d are offline, then use 1.1.1.1, 2.2.2.2, 3.3.3.3, 4.4.4.4.</div>
<div class="gmail_extra"><br clear="all">--<br>Nick<br>
<br><br><div class="gmail_quote">2012/12/5 Bogdan-Andrei Iancu <span dir="ltr">&lt;<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>

  
    
  
  <div bgcolor="#ffffff" text="#000000">
    <tt>Hi Nick,<br>
      <br>
      Do not use weights 0, but something not zero, as this will affect
      the weight sum (when doing the selection).<br>
      <br>
      Try replacing the weights with 10, let&#39;s say.<br>
      <br>
      Regards,<br>
    </tt>
    <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre><div><div class="h5">
    <br>
    On 12/05/2012 10:10 AM, Nick Altmann wrote:
    </div></div><blockquote type="cite"><div><div class="h5">My configuration:
      <div>
        <div>modparam(&quot;rtpproxy&quot;, &quot;rtpproxy_sock&quot;, &quot;1 ==
          udp:1.1.1.1:22222=0 udp:2.2.2.2:22222=0 udp:3.3.3.3:22222=0
          udp:4.4.4.4:22222=0&quot;)</div>
        <div><br>
        </div>
        <div>Why used only first rtpproxy from set?</div>
        <div><br>
        </div>
        <div>My configs generated from m4 and may be minimum like this:</div>
        <div>
          <div>modparam(&quot;rtpproxy&quot;, &quot;rtpproxy_sock&quot;, &quot;1 ==
            udp:1.1.1.1:22222=0 udp:2.2.2.2:22222=0 udp:3.3.3.3:22222=0
            udp:4.4.4.4:22222=0&quot;)</div>
        </div>
        <div><br>
        </div>
        <div>and maximum like this:</div>
        <div>
          <div>modparam(&quot;rtpproxy&quot;, &quot;rtpproxy_sock&quot;, &quot;1 ==
            udp:1.1.1.1:22222=0 udp:2.2.2.2:22222=0 udp:3.3.3.3:22222=0
            udp:4.4.4.4:22222=0&quot;)</div>
        </div>
        <div>
          <div>modparam(&quot;rtpproxy&quot;, &quot;rtpproxy_sock&quot;, &quot;2
            == udp:a.a.a.a:22222=1 udp:b.b.b.b:22222=1 udp:1.1.1.1:22222=0
            udp:2.2.2.2:22222=0 udp:3.3.3.3:22222=0
            udp:4.4.4.4:22222=0&quot;)</div>
        </div>
        <div>
          <div>modparam(&quot;rtpproxy&quot;, &quot;rtpproxy_sock&quot;, &quot;3
            == udp:c.c.c.c:22222=1 udp:d.d.d.d:22222=1 udp:1.1.1.1:22222=0
            udp:2.2.2.2:22222=0 udp:3.3.3.3:22222=0
            udp:4.4.4.4:22222=0&quot;)</div>
        </div>
        <div>
          <br>
        </div>
        <div><br>
        </div>
        <div>Expected behavior:</div>
        <div>When set for set number 3 (for example):</div>
        <div>Balance between c.c.c.c and d.d.d.d, if they are not
          available, balance between 1.1.1.1, 2.2.2.2, 3.3.3.3, 4.4.4.4.</div>
        <div>For set number 1 - only balance between 1.1.1.1, 2.2.2.2,
          3.3.3.3, 4.4.4.4.</div>
        <div><br>
        </div>
        <div>How can I configure it to work as expected?</div>
        <div><br>
        </div>
        --<br>
        Nick</div>
      </div></div><pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
  </div>

</blockquote></div><br></div>