[SR-Users] set_rtp_proxy_set behaviour

Igor Potjevlesch igor.potjevlesch at gmail.com
Thu Jul 10 11:00:57 CEST 2014


Hi Alex,

Thank you for your answer.
But I'm not sure to understand.

If I have only one case with set_rtp_proxy_set, are the other calls of the
rtpproxy_manage()  (or similar) will be load-balanced between the two sets?
Is it possible to avoid load-balance and be sure that outside my
set_rtp_proxy_set("2"), the first one will be used?

Regards,

Igor.

-----Message d'origine-----
De : sr-users-bounces at lists.sip-router.org
[mailto:sr-users-bounces at lists.sip-router.org] De la part de Alex Balashov
Envoyé : mardi 8 juillet 2014 19:55
À : sr-users at lists.sip-router.org
Objet : Re: [SR-Users] set_rtp_proxy_set behaviour

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 at lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users




More information about the sr-users mailing list