[Kamailio-Users] LCR in Kamailio 1.4

Juha Heinanen jh at tutpro.com
Sat Feb 21 06:16:50 CET 2009


Asim Riaz writes:

 > yes  two entries are the full output of lcr_dump, userpart of ruri is
 > starting from 0 but it does not find gateway. tried to increased the debug
 > level but not getting anything related to lcr.

asim,

i just tested with trunk version of kamailio and 0 prefix worked fine.
i had

root at taimen:~# kamctl fifo lcr_gw_dump
GW::  GRP_ID=4 IP_ADD=195.10.20.1 HOSTNAME= PORT=5060 SCHEME=sip TRANSPORT=udp STRIP=0 TAG= WEIGHT=1 FLAGS=35 PING=0
root at taimen:~# kamctl fifo lcr_lcr_dump
RULE::  PREFIX=0 FROM_URI= GRP_ID=4 PRIORITY=1
PREFIX_LENS::  PREFIX_LEN=1

in db i have from_uri field NULL.

when i made a call to 0162345670, i got to syslog

Feb 21 07:11:48 taimen /usr/sbin/kamailio[7856]: INFO: Routing initial INVITE to <sip:0162345670 at 195.10.20.1:5060> and <<null>>

i.e., kamailio found the above gw for this number and tried to send
invite to it.

as said, i cannot currently test with 1.4 version.

-- juha




More information about the sr-users mailing list