[OpenSER-Users] LCR module allows "q" value > 1.00

Iñaki Baz Castillo ibc at aliax.net
Sat Oct 27 17:48:25 CEST 2007


Hi, using LCR module and modparam("usrloc", "db_mode", 3) I can insert 
manually entries in "location" table with q value greater than 1.00 (as 2.00 
or 50.00).

LCR next_contacts() function allows these "extrange" values and respect them 
(contact with "q" = 50.00 is called before contact with "q" = 2.00).

This is not exactly a bug since it's an human error to set an entry 
in "location" table with "q" value greater than 1.00, but maybe LCR module 
could ignore values grater than 1.00 and assume 1.00 in these cases?



-- 
Iñaki Baz Castillo




More information about the Users mailing list