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

Iñaki Baz Castillo ibc at aliax.net
Fri Oct 30 15:53:13 CET 2009


2009/10/30 Juha Heinanen <jh at tutpro.com>:
> 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
<ibc at aliax.net>




More information about the sr-users mailing list