Discussion:
[SR-Users] weight for rtpproxy_sock (string)
(too old to reply)
george wu
2014-10-16 12:24:19 UTC
Permalink
How can I specify weight for socket? can I get an example?
How to set weight for each socket below? thanks.
http://kamailio.org/docs/modules/stable/modules/rtpproxy.html
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.

# multiple sets of multiple rtproxies
modparam("rtpproxy", "rtpproxy_sock",
"1 == udp:localhost:12221 udp:localhost:12222")
modparam("rtpproxy", "rtpproxy_sock",
"2 == udp:localhost:12225")

Loading...