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

Ricardo Martinez rmartinez at redvoiss.net
Wed Oct 21 15:34:09 CEST 2009


Juha..
I'm just using "snippets" from the configuration and dumps.
The grp 43 exist and have their own gateways.

GW::  GRP_ID=43 IP_ADD=XX.XX.XX.13 HOSTNAME= PORT=5060 SCHEME=sip TRANSPORT=udp STRIP=4 TAG=1343 WEIGHT=25 FLAGS=0 PING=1
GW::  GRP_ID=43 IP_ADD=XX.XX.XX.16 HOSTNAME= PORT=5060 SCHEME=sip TRANSPORT=udp STRIP=4 TAG=1343 WEIGHT=25 FLAGS=0 PING=1
GW::  GRP_ID=43 IP_ADD=XX.XX.XX.32 HOSTNAME= PORT=5060 SCHEME=sip TRANSPORT=udp STRIP=4 TAG=1343 WEIGHT=25 FLAGS=0 PING=1
GW::  GRP_ID=43 IP_ADD=XX.XX.XX.35 HOSTNAME= PORT=5060 SCHEME=sip TRANSPORT=udp STRIP=4 TAG=1343 WEIGHT=25 FLAGS=0 PING=1

Ricardo.-

-----Mensaje original-----
De: Juha Heinanen [mailto:jh at tutpro.com] 
Enviado el: miércoles, 21 de octubre de 2009 10:25
Para: Ricardo Martinez
CC: users at lists.kamailio.org
Asunto: RE: [Kamailio-Users] LCR problem with "id" column and match priorities.

Ricardo Martinez writes:

 > mysql> select * from lcr where prefix=1351 order by id;
 > +-----+--------+----------+--------+----------+
 > | id  | prefix | from_uri | grp_id | priority |
 > +-----+--------+----------+--------+----------+
 > | 127 | 1351   |          |     51 |        1 | 
 > | 128 | 1351   |          |     43 |        2 | 
 > +-----+--------+----------+--------+----------+
 > 
 > The dump command shows the correct order and priority for the prefix 1351:
 > 
 > GW::  GRP_ID=51 IP_ADD=XX.XX.XX.13 HOSTNAME= PORT=5060 SCHEME=sip TRANSPORT=udp STRIP=4 TAG=1351 WEIGHT=25 FLAGS=0 PING=1
 > GW::  GRP_ID=51 IP_ADD=XX.XX.XX.16 HOSTNAME= PORT=5060 SCHEME=sip TRANSPORT=udp STRIP=4 TAG=1351 WEIGHT=25 FLAGS=0 PING=1
 > GW::  GRP_ID=51 IP_ADD=XX.XX.XX.32 HOSTNAME= PORT=5060 SCHEME=sip TRANSPORT=udp STRIP=4 TAG=1351 WEIGHT=25 FLAGS=0 PING=1
 > GW::  GRP_ID=51 IP_ADD=XX.XX.XX.35 HOSTNAME= PORT=5060 SCHEME=sip TRANSPORT=udp STRIP=4 TAG=1351 WEIGHT=25 FLAGS=0 PING=1
 > RULE::  PREFIX=1351 FROM_URI= GRP_ID=51 PRIORITY=1
 > RULE::  PREFIX=1351 FROM_URI= GRP_ID=43 PRIORITY=2

there is still something wrong with your data, because grp 43 has no
gateways.

i'm trying to reconstruct your configuration.

-- juha



More information about the Users mailing list