[OpenSIPS-Users] RTPproxy weight question
Nick Altmann
nick.altmann at gmail.com
Wed Dec 5 09:10:03 CET 2012
My configuration:
modparam("rtpproxy", "rtpproxy_sock", "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")
Why used only first rtpproxy from set?
My configs generated from m4 and may be minimum like this:
modparam("rtpproxy", "rtpproxy_sock", "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")
and maximum like this:
modparam("rtpproxy", "rtpproxy_sock", "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")
modparam("rtpproxy", "rtpproxy_sock", "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")
modparam("rtpproxy", "rtpproxy_sock", "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")
Expected behavior:
When set for set number 3 (for example):
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.
For set number 1 - only balance between 1.1.1.1, 2.2.2.2, 3.3.3.3, 4.4.4.4.
How can I configure it to work as expected?
--
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20121205/bcbe9ed7/attachment-0001.htm>
More information about the Users
mailing list