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(a)lists.kamailio.org
[mailto:users-bounces@lists.kamailio.org] En nombre de Iñaki Baz Castillo
Enviado el: jueves, 02 de julio de 2009 19:10
Para: users(a)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(a)aliax.net>