Hi Igor,

On 07/08/2014 01:44 PM, Igor Potjevlesch wrote:

Hello,

I set two entries of rtpproxy like :

modparam("rtpproxy", "rtpproxy_sock", "1 == udp:127.0.0.1:7722")

modparam("rtpproxy", "rtpproxy_sock", "2 == udp:127.0.0.1:7723")

For a particular case, I want to use the second RTPProxy and the first
one as the default one.

If in a conditional block I set set_rtp_proxy(“2”), all other call to
rtpproxy_manage will use the first RTPProxy? Or there is a
load-balancing introduce by default.

Load-balancing by default is within a set. Since you have two different sets defined, forcing one or the other with set_rtp_proxy_set() will result in only one of those proxies being used.

--
Alex Balashov - Principal
Evariste Systems LLC
Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/

Please be kind to the English language:

http://www.entrepreneur.com/article/232906

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to