[SR-Users] LCR weight parameter

Fabian Borot fborot at hotmail.com
Tue Nov 22 12:39:44 CET 2011


Hello

On kamailio 1.5.2, I need to choose the gw from a group according to its weight. After trying unsuccessfully with different values I realized that the help guide says that the load_gw functions can return gateways according to "gateway's randomized weight within its
	group". So, I have these questions:

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?
2- once I have the gws on the avp, is it posible to re-order them? if so, how?

thank you very much

fborot


  		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20111122/e986537c/attachment.htm>


More information about the sr-users mailing list