[Kamailio-Users] [LCR] About ping

Ricardo Martinez rmartinez at redvoiss.net
Fri Jul 3 15:58:12 CEST 2009


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?.

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