On Sat, Feb 21, 2009 at 5:16 AM, Juha Heinanen
<jh@tutpro.com> wrote:
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@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@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@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
Hi Juha,
could you please send your configuration for the lcr so i can compare to with my config just to make sure nothing wrong in my kamailio.cfg
Thanks,
Asim