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

Juha Heinanen jh at tutpro.com
Fri Oct 30 15:45:30 CET 2009


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.

 > 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.

-- juha



More information about the Users mailing list