[Kamailio-Users] [LCR] About ping

Ricardo Martinez rmartinez at redvoiss.net
Fri Jul 3 22:29:12 CEST 2009


Thanks... i can't find anything in the docs...
What about the second questions?.
Can I mark a gateway as up/down automatically via a configuration parameter?.  For example if the GW did not answer an INVITE or a ICMP could the script mark the gateway as down?
Thanks
Ricardo.-

-----Mensaje original-----
De: users-bounces at lists.kamailio.org [mailto:users-bounces at lists.kamailio.org] En nombre de Iñaki Baz Castillo
Enviado el: viernes, 03 de julio de 2009 12:55
Para: users at lists.kamailio.org
Asunto: Re: [Kamailio-Users] [LCR] About ping

El Viernes, 3 de Julio de 2009, Ricardo Martinez escribió:
> Hello Iñaki.
> Thanks for your answer.
> So, what values can take the "ping" paramenter in the table?
> I mean ... 0 is up?  1 is down?.. or something like that?
> Is there a way to automatically mark a gateway as down?... maybe a constant
> ping to the gateway?.

As far as I remember (but please check the module doc), 0 means down, 1 means 
up, and 2 means "no ping" (no monitorized).


> Thanks again.
>
> Ricardo.-
>
>
>
> -----Mensaje original-----
> De: users-bounces at lists.kamailio.org
> [mailto:users-bounces at lists.kamailio.org] En nombre de Iñaki Baz Castillo
> Enviado el: jueves, 02 de julio de 2009 19:10
> Para: users at lists.kamailio.org
> Asunto: Re: [Kamailio-Users] [LCR] About ping
>
> El Viernes, 3 de Julio de 2009, Ricardo Martinez escribió:
> > Hello.
> > I was reading this thread and it seems to me very interesting.  In fact,
> > I was looking for a parameter that would let me mark a gateway as down
> > and then avoid the LCR module keep sending calls to it. So just to
> > clarify this topic.
> >
> > If I'm using Kamailio 1.5.1 with LCR in front of several gateways, and
> > one of them goes down.
> >
> > The gateway is marked as down?
>
> Yes (if it was the appropiate value in the table).
>
> > Isn't? What parameter
> > controls the "ping" to the gateways?.
>
> The field "ping" in "gw" table.
>
> > Can I set a gateway down manually?.
>
> You can modify the table and then reloading the gws with a MI command.


-- 
Iñaki Baz Castillo <ibc at aliax.net>

_______________________________________________
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


More information about the Users mailing list