On Thu, Feb 19, 2009 at 11:57 PM, Asim Riaz <ariaz78@gmail.com> wrote:


On Thu, Feb 19, 2009 at 8:13 PM, Juha Heinanen <jh@tutpro.com> wrote:
Asim Riaz writes:

 > thats what i got from output, which seems ok .
 > GW::  GRP_ID=1 URI=sip:X.X.X.X:5060;transport=udp STRIP=0 TAG= FLAGS=0
 > RULE::  PREFIX=0 FROM_URI=NULL GRP_ID=1 PRIORITY=1

i don't have version 1.4 of lcr module in my laptop, but in order to
find out if there is a bug, for example, in hash table lookup code, you
should show the whole output lcr_dump, i.e., show all routes and
gateways.

or are you saying that if the two entries is the full output of lcr_dump,
calling load_gws() on an r-uri where userpart is numeric and starts with
09, does not find any gws?
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.

Is there a way i can check if the Kamailio is loading the GW from  the DB? I know i can print the gw_uri_avp but that i think only contains matching GW not all the GW in the DB.

Thanks,

Asim




Thanks,
Asim



-- juha