[Serusers] Routing

Sebastian Kühner skuehner at veraza.com
Fri Aug 5 20:08:45 CEST 2005


Hi!

The lcr module sounds very powerful... and I testes it with ser-0.9.3
successfully.

The problem ist that some of the gateway have a prefix, but I don't know how
to get them in the gw_cap table.

I put this code:

if (!load_gws())
{
    sl_send_reply("500", "Internal server error, unable to load phone
gateways");
    break;
};

if (!next_gw())
{
    sl_send_reply("503", "Service not available, no gateways found");
    break;
};
t_on_failure("2");

...but the prefix is ignored.

I tried to put if (!load_gws("1")), but ser returns the error:  0(4755)
parse error (440,19-20): unknown command, missing loadmodule?

Has anyone of you experiences with this module (it's very new I think)...

Thanks!

Sebastian


----- Original Message ----- 
From: "Klaus Darilion" <klaus.mailinglists at pernau.at>
To: "Sebastian Kühner" <skuehner at veraza.com>
Cc: <serusers at lists.iptel.org>
Sent: Wednesday, August 03, 2005 1:16 PM
Subject: Re: [Serusers] Routing


> lcr module?
>
> Sebastian Kühner wrote:
> > Hi!
> >
> > Has anyone of you tried to use the database to make routing? I need to
get
> > information of the database and then rewritehost with the result...
> >
> > Thanks!
> >
> > Sebastian
> >
> > _______________________________________________
> > Serusers mailing list
> > serusers at lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
> >
> >
>
>
>





More information about the sr-users mailing list