<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>How can I specify weight for socket? can I get an example? <br>How to set weight for each socket below? thanks.<br><a _src="http://kamailio.org/docs/modules/stable/modules/rtpproxy.html" href="http://kamailio.org/docs/modules/stable/modules/rtpproxy.html">http://kamailio.org/docs/modules/stable/modules/rtpproxy.html</a><br>
                Sockets can be weighted by adding '=#' to a socket where # is an 
integer. A socket with a weight of 2 will be chosen twice as often as 
one with a weight of 1. 
                <br><pre class="programlisting"># multiple sets of multiple rtproxies
modparam("rtpproxy", "rtpproxy_sock",
        "1 == udp:localhost:12221 udp:localhost:12222")
modparam("rtpproxy", "rtpproxy_sock",
        "2 == udp:localhost:12225")<br><br></pre><br></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>