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

Juha Heinanen jh at tutpro.com
Fri Oct 30 20:13:20 CET 2009


Ricardo Martinez writes:

 > I compiled the lcr_mod.c that Juha sent to me.  And I made a "make
 > install", but I did not restart the kamailio process.  Before I
 > restart kamailio I tested one more time the "bug" and I changed again
 > the value in the "id" column from two correlatives "id" to 
 > 
 > Id	prefix	grp_id	prio
 > 89	1351		51		1
 > 128	1351		43		2
 > 
 > I was expecting to see the same "weird" behavior described before,
 > instead it started to work flawlessly.

it is pretty much random, which attributes get selected.  so sometimes
you see it "working" and sometimes not.

 > Just putting the lcr.so file in the path
 > "/usr/local/lib/kamailio/modules/" is enough to make the changes
 > work? Or I need to restart the kamailio process in order to make the
 > new compiled file to work?. 

you need to copy lcr.so to your /usr/lib/kamailio/modules dir and the
restart your proxy.

save copy of the original lcr.so in case you need to revert the change.

-- juha



More information about the Users mailing list