[Kamailio-Users] LCR in Kamailio 1.4

Asim Riaz ariaz78 at gmail.com
Thu Feb 19 17:54:13 CET 2009


it i
On Thu, Feb 19, 2009 at 4:49 PM, Ovidiu Sas <osas at voipembedded.com> wrote:

> Check your fifo lcr_dump output to see what you have loaded in the tables.


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

Thanks
Asim


>
>
> Regards,
> Ovidiu Sas
>
> On Thu, Feb 19, 2009 at 11:44 AM, Asim Riaz <ariaz78 at gmail.com> wrote:
> >
> >
> > On Thu, Feb 19, 2009 at 4:39 PM, Gustavo Mistrinelli
> > <gmistrinelli at gmail.com> wrote:
> >>
> >> Hey Asim, may be I'm asking you a stupid questiion, did you do kamctl
> lcr
> >> reload?
> >>
> >> Best,
> >>
> >> Gustavo
> >
> > Yes I did reload and i reload the kamailio server but still the same, the
> > strange thing is this route was working before but when i added new
> routes,
> > didnt work so i removed this route and added again and after that this
> route
> > with 0 prefix stopped working.
> >
> > Thanks,
> >
> > Asim
> >>
> >> On Thu, Feb 19, 2009 at 2:36 PM, Asim Riaz <ariaz78 at gmail.com> wrote:
> >>>
> >>>
> >>> On Thu, Feb 19, 2009 at 4:27 PM, Ovidiu Sas <osas at voipembedded.com>
> >>> wrote:
> >>>>
> >>>> Make sure that from_uri is NULL and not a white space.
> >>>> Please copy the mailing list in your reply.
> >>>
> >>>  I tried from_uri with Null, still the same, not finding the gateway;
> >>> dub-deg-sbc4:~/sip-tests/test# kamctl lcr show
> >>> lcr routes
> >>> +----+--------+----------+--------+----------+
> >>> | id | prefix | from_uri | grp_id | priority |
> >>> +----+--------+----------+--------+----------+
> >>> | 10 | 0      | NULL     |      1 |        1 |
> >>> +----+--------+----------+--------+----------+
> >>>
> >>> Thanks,
> >>>
> >>> Asim
> >>>>
> >>>>
> >>>> Regards,
> >>>> Ovidiu Sas
> >>>>
> >>>> On Thu, Feb 19, 2009 at 11:25 AM, Asim Riaz <ariaz78 at gmail.com>
> wrote:
> >>>> >
> >>>> >
> >>>> > On Thu, Feb 19, 2009 at 4:16 PM, Ovidiu Sas <osas at voipembedded.com>
> >>>> > wrote:
> >>>> >>
> >>>> >> Is your R-URI starting with a '0'?
> >>>> >> You have defined a single route for all '0' prefix destinations.
> >>>> >
> >>>> > yes R-URI is starting with 0.
> >>>> >>
> >>>> >>
> >>>> >> Regards,
> >>>> >> Ovidiu Sas
> >>>> >>
> >>>> >> On Thu, Feb 19, 2009 at 11:06 AM, Asim Riaz <ariaz78 at gmail.com>
> >>>> >> wrote:
> >>>> >> >
> >>>> >> >
> >>>> >> > On Thu, Feb 19, 2009 at 3:53 PM, Daniel-Constantin Mierla
> >>>> >> > <miconda at gmail.com> wrote:
> >>>> >> >>
> >>>> >> >> Hello,
> >>>> >> >>
> >>>> >> >> On 02/19/2009 05:34 PM, Asim Riaz wrote:
> >>>> >> >>>
> >>>> >> >>> Hello,
> >>>> >> >>> I am using LCR, for some reason load_gws() function is not
> >>>> >> >>> finding the
> >>>> >> >>> gateway in DB, it was working in the start then added some more
> >>>> >> >>> routes
> >>>> >> >>> and
> >>>> >> >>> after that everything stopped working, I am not sure where to
> >>>> >> >>> start
> >>>> >> >>> troubleshooting,  any idea ?
> >>>> >> >>
> >>>> >> >> run kamailio with higher debug mode (e.g., debug=5) in
> >>>> >> >> configuration
> >>>> >> >> file.
> >>>> >> >>
> >>>> >> >> You should get more debug messages in the syslog, that may give
> >>>> >> >> you
> >>>> >> >> some
> >>>> >> >> hints. look for lines containing 'lcr'.
> >>>> >> >>
> >>>> >> >> Cheers,
> >>>> >> >> Daniel
> >>>> >> >
> >>>> >> > Hi Daniel,
> >>>> >> > I tried  higher debug level, not getting anything related to LCR
> >>>> >> > all i
> >>>> >> > am
> >>>> >> > getting XLOG messages "unable to find Gateway".
> >>>> >> >
> >>>> >> > Thanks,
> >>>> >> >
> >>>> >> > Asim
> >>>> >> >
> >>>> >> >>
> >>>> >> >>>
> >>>> >> >>> kamctl lcr show
> >>>> >> >>>
> >>>> >> >>> lcr routes
> >>>> >> >>> +----+--------+----------+--------+----------+
> >>>> >> >>> | id | prefix | from_uri | grp_id | priority |
> >>>> >> >>> +----+--------+----------+--------+----------+
> >>>> >> >>> |  9 | 0      |          |      1 |        1 |
> >>>> >> >>> +----+--------+----------+--------+----------+
> >>>> >> >>> lcr gateways
> >>>> >> >>>
> >>>> >> >>>
> >>>> >> >>>
> >>>> >> >>>
> +------------+---------------+------+------------+-----------+--------+-------+------+-------+
> >>>> >> >>> | gw_name    | ip_addr       | port | uri_scheme | transport |
> >>>> >> >>> grp_id
> >>>> >> >>> |
> >>>> >> >>> strip | tag  | flags |
> >>>> >> >>>
> >>>> >> >>>
> >>>> >> >>>
> >>>> >> >>>
> +------------+---------------+------+------------+-----------+--------+-------+------+-------+
> >>>> >> >>> | XXXX           | XXXX | 5060 |          1 |         1 |
>  1
> >>>> >> >>> |
> >>>> >> >>> 0
> >>>> >> >>> |      |     0 |
> >>>> >> >>>
> >>>> >> >>>
> >>>> >> >>>
> >>>> >> >>>
> +------------+---------------+------+------------+-----------+--------+-------+------+-------+
> >>>> >> >>>
> >>>> >> >>>
> >>>> >> >>>
> >>>> >> >>> my routing script
> >>>> >> >>>
> >>>> >> >>>          if(!load_gws()) {
> >>>> >> >>>         xlog("L_INFO", "[ROUTE-X] Unable To Find Gateway ");
> >>>> >> >>>                sl_send_reply("503", "unable to find gateway");
> >>>> >> >>>                exit;
> >>>> >> >>>        }
> >>>> >> >>> Thanks in advance.
> >>>> >> >>>
> >>>> >> >>> Asim
> >>>> >> >>>
> >>>> >> >>>
> >>>> >> >>>
> ------------------------------------------------------------------------
> >>>> >> >>>
> >>>> >> >>> _______________________________________________
> >>>> >> >>> Kamailio (OpenSER) - Users mailing list
> >>>> >> >>> Users at lists.kamailio.org
> >>>> >> >>> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> >>>> >> >>>
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
> >>>> >> >>
> >>>> >> >> --
> >>>> >> >> Daniel-Constantin Mierla
> >>>> >> >> http://www.asipto.com
> >>>> >> >>
> >>>> >> >
> >>>> >> >
> >>>> >> > _______________________________________________
> >>>> >> > Kamailio (OpenSER) - Users mailing list
> >>>> >> > Users at lists.kamailio.org
> >>>> >> > http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> >>>> >> > http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
> >>>> >> >
> >>>> >
> >>>> >
> >>>
> >>>
> >>> _______________________________________________
> >>> Kamailio (OpenSER) - Users mailing list
> >>> Users at lists.kamailio.org
> >>> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> >>> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
> >>
> >>
> >>
> >> --
> >> Gustavo Mistrinelli
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20090219/19323ebe/attachment.htm 


More information about the Users mailing list