Hello.
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.  So I came up with a doubt.  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?.
As I told you before I did not restarted the kamailio process yet and is 
working as expected.

Hope you can clarify this.

Ricardo.-

-----Mensaje original-----
De: [email protected] [mailto:[email protected]] 
En nombre de Iñaki Baz Castillo
Enviado el: viernes, 30 de octubre de 2009 11:53
Para: Juha Heinanen
CC: [email protected]
Asunto: Re: [Kamailio-Users] LCR problem with "id" column and matchpriorities

2009/10/30 Juha Heinanen <[email protected]>:
> Iñaki Baz Castillo writes:
>
>  > So when a gateway is selected its attributes (strip, tag...) should be
>  > loaded. If there are various entries in "gw" table with same ip_addr
>  > but different attributes belonging to different groups, then the
>  > selected attributes should be those included in the selected "gw" row.
>  > How could be different that this? IMHO it's obvious, but perhaps I
>  > miss something.
>
> there is a bug in k version of lcr module.  if you have many gateways
> with same ip address, then attributes that are used can belong to any of
> them.  i had assumed that same gateway would have same attributes in all
> groups.

There could be some case in which that's not the expected behavior.


>  > ok, so as I said above, IMHO it makes 100% sense that the selected
>  > attributes are those balonging to the selected gateway (by matching
>  > "grp_id" of course).
>
> i gave patch to ricardo to try.  i'll apply it to k 1.5 when i hear from
> him.

Hope it tries it.

Thanks a lot.


-- 
Iñaki Baz Castillo
<[email protected]>

_______________________________________________
Kamailio (OpenSER) - Users mailing list
[email protected]
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Kamailio (OpenSER) - Users mailing list
[email protected]
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

Reply via email to