[SR-Users] LCR weight parameter

Juha Heinanen jh at tutpro.com
Tue Nov 22 13:05:32 CET 2011


Fabian Borot writes:

> 1- since it is "randomized", does this mean that the weight parameter
> actually can not guarantee that the weight value can decide how
> gateways are ordered?

it is a randomized weight, not an absolute priority.

> 2- once I have the gws on the avp, is it posible to re-order them? if
> so, how?

you can re-order them by looping over the avps and
copying/deleting/adding again, but i would not go though that much
trouble.  if you want a strict order, use gw priority instead (that
exists at least in 3.1 and 3.2 versions of lcr module).

-- juha



More information about the sr-users mailing list