[SR-Users] weight for rtpproxy_sock (string)

george wu aihuawu2012 at 163.com
Thu Oct 16 14:24:19 CEST 2014


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")


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20141016/e7bc2485/attachment.html>


More information about the sr-users mailing list