[Kamailio-Users] LCR problem with "id" column and match priorities

Juha Heinanen jh at tutpro.com
Thu Oct 22 17:41:09 CEST 2009


Ricardo Martinez writes:

 > I was trying to replicate the problem with another prefix, and was using
 > the "id's" 132 and 133, correlative, however the problem persists.

id numbers should not have anything to do with this, because nowhere in
the module is id column used.  the only thing that might matter is the
order in which the records are returned from database.

 > Maybe I'm missing something in all this scenario.  If I have more than
 > 130 routes in the lcr table do need to set something else?  Maybe the
 > lcr_hash_size??

if you have more than 128 routes, it would be advisable to increase the
size of the lcr hash table.  you can do that by changing the value of
constant

#define DEF_LCR_HASH_SIZE 128

in lcr_mod.c

in your case, you could use 256 instead of 128.

-- juha



More information about the Users mailing list