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

r...@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
r...@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:0162345...@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

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

Reply via email to