Hello.
I was able to find a prefix with the same problem. So I run some test calls to make sure
that the problem persist. After I restarted kamailio with the patch the problem with the
prefix was solved. I tested a few more prefixes and it seems to be working ok.
Anyway, since the random nature of the problem I'm not absolutely sure about is
working 100% ok. I'll run a few more test during the next week, I can't make so
many changes since is a production machine.
I'll keep you updated.
Thanks to Juha for the patch.
Regards,
Ricardo.-
-----Mensaje original-----
De: Juha Heinanen [mailto:jh@tutpro.com]
Enviado el: viernes, 30 de octubre de 2009 16:13
Para: Ricardo Martinez
CC: IƱaki Baz Castillo; users(a)lists.kamailio.org
Asunto: RE: [Kamailio-Users] LCR problem with "id" column and matchpriorities
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