Re: [SR-Users] Dispatching Registrations to Weight based servers

2016-03-24 Thread SamyGo
Hi All, I think I got the answer from reading the dispatcher.c source code: https://github.com/kamailio/kamailio/blob/master/modules/dispatcher/dispatch.c Line: 577 Says: */* if the array was not completely filled (i.e., the sum of weights is* less than 100), then use last address to fill the r

Re: [SR-Users] Dispatching Registrations to Weight based servers

2016-03-24 Thread SamyGo
Hi Brooks, Well no I'm using algo 9, with weights assigned to each IP in the set. The reason why I suspect that is because the load set and unset load related functions are mentioned to work only with INVITE. With the weights defined its only logical to assume that dispatcher will count the stuff

Re: [SR-Users] Dispatching Registrations to Weight based servers

2016-03-24 Thread Brooks Bridges
Your reference to “dispatcher is not considering registrations as load at all and only counts INVITES as load.” leads me to believe that you are trying to use algorithm 10 since that’s the only mechanism that cares about call loading. Working from that assumption, the documentation clearly state