On 08/04/15 04:19 AM, Juha Heinanen wrote:
> rtpengine readme tells in section 2:
> 
>   The balancing inside a set is done automatically by the module based on
>   the weight of each RTP proxy from the set.
> 
> i have not found in rtpengine_sock module parameter description, how is
> the weight of a rtp proxy is specified specified.
> 
> it contains an example:
> 
> modparam("rtpengine", "rtpengine_sock",
>       "1 == udp:localhost:12221 udp:localhost:12222")
> 
> how can i tell what the weight of each of two proxies is?

The default weight is 1. If you wanted the second RTP proxy to be used
twice as often as the first one, you would specify

modparam("rtpengine", "rtpengine_sock",
        "1 == udp:localhost:12221 udp:localhost:12222=2")

Cheers

_______________________________________________
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