[SR-Users] Kamailio and rtpengine

Olle E. Johansson oej at edvina.net
Sat Feb 14 09:08:55 CET 2015


On 13 Feb 2015, at 20:07, Richard Fuchs <rfuchs at sipwise.com> wrote:

> Load balancing is achieved by running a hash over the call-id and using
> the hash value to determine which RTP proxy from the selected set to
> use. The hash ensures that everything related to the same call ends up
> on the same RTP proxy, which is a requirement for proper operation.
> 
> If weighting is used, then RTP proxies with a higher weight will
> accordingly get a larger fraction of the calls. If two RTP proxies are
> defined, the first with a weight of 1 (which is the default) and the
> second with the weight of 2, then the second will get twice as many
> calls as the first one.
> 
> Syntax for the config is like this:
> 
> modparam("rtpengine", "rtpengine_sock",
>        "udp:localhost:2223 udp:localhost:2224=2")

Thank you for this explanation. This text could be committed directly
to the XML doc file in my opinion.

/O



More information about the sr-users mailing list