[SR-Users] LCR "weight" column question
Ricardo Martinez
rmartinez at redvoiss.net
Thu Sep 23 22:57:52 CEST 2010
Hello Juha.
I'm attaching the graphics in JPG versión. Also I have the logs from the
LCR.
The logs reveals the same behavior after 24 hours of operation.
Device Calls %
GW02 520 1,04
GW0 502 1,01
GW05 12148 24,44
GW06 12276 24,70
GW09 12174 24,49
GW10 12074 24,29
Total 49694
As you can see there is no a 20,20,20,20,10,10 call repartition.
Could this be a bug?
Hope you can help me.
Regards,
Ricardo.-
-----Mensaje original-----
De: sr-users-bounces at lists.sip-router.org
[mailto:sr-users-bounces at lists.sip-router.org] En nombre de Juha Heinanen
Enviado el: jueves, 23 de septiembre de 2010 14:53
Para: Ricardo Martinez
CC: users at lists.kamailio.org
Asunto: Re: [SR-Users] LCR "weight" column question
Ricardo Martinez writes:
> I’m observing something like this : (these are “Simmultaneous calls”
> graphs)
ricardo,
my email client does not know to display your data, but weight is
assigned to gws like this:
matched_gws[gw_index].weight = t->weight * (rand() >> 8);
where t->weight comes from db table. then the gws are sorted based on
prefix length, priority and the above weight value.
-- juha
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users at lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lcr_calls.jpg
Type: image/jpeg
Size: 137220 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20100923/87122a62/attachment-0001.jpg>
More information about the sr-users
mailing list