Hi Khaled,

The sum of weights does not have to equal 100 :)....weight are numbers to give the ratio between the elements - please read more on weights, in general.

Now, first of all, to have weights used, you need to set the corresponding flag in do_routing (see W - http://www.opensips.org/html/docs/modules/1.9.x/drouting.html#id293614). If no weight is set, 0 is assumed -> it will never be used.

Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 03/25/2013 01:16 PM, M.Khaled W Chehab wrote:

Hi,

 

what will be the routing rule scenario(dr_rules) if i add  (gwlist)gw1=30,gw2=40,gw3 ,would be a percentage balance here or it will go for priority ?

since gw3 has no = value  and what if the sum of the gwlist  equal  ration value  > 100 for ex (gw1=20,gw2=80,gw3=10)?

 

 

 

Khaled Chehab

Senior NGN Engineer

Description: icucall

Operations Office - Lebanon

Office    : +961 1 515155 ext 300

Mobile  : +961 3 045212

E-mail    : [email protected]

MSN ID :[email protected]

Skype    : k_chehab

Web Site: http://www.icucall.com

                     http://www.allohi.com

 

_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to