[SR-Users] LCR "weight" column question

Ricardo Martinez rmartinez at redvoiss.net
Wed Sep 22 22:27:00 CEST 2010


Hello.

I’m wondering how the “Weight” column in the LCR ‘gw’ table Works.

I have 5 gateways defined with different weights.



gw_name     grp_id      ip_addr           hostname    port  uri_scheme
transport   strip   tag        weight    ping  flags

GW02        58          10.0.0.71                    5060     1
1        4    0258          10        0   0

GW03        58          10.0.0.72                    5060     1
1        4    0258          10        0   0

GW05        58          10.0.0.132                   5060     1
1        4    0258          20        0   0

GW06        58          10.0.0.133                   5060     1
1        4    0258          20        0   0

GW09        58          10.0.0.70                    5060     1           1
       4    0258          20        0    0

GW10        58          10.0.0.69                    5060     1
1        4    0258          20        0    0



If I have 100 calls, I was expecting was to have 20 to GW05, 20 to GW06, 20
to GW09 and 20 to GW10

Finalle 10 to GW02 and 10 to GW02.



Is this the correct interpretation of this parameter?



Thanks in advance.



Regards,



Ricardo Martinez.-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20100922/85ebf967/attachment.htm>


More information about the sr-users mailing list