Thanks to all for your answers. Now is very clear. I have one more question about the "ping feature". I was doing some test with two gateways, and I set ping_method to OPTIONS. So every 180 secs I see two options to the two gateways defined in my "gw" table. My questions is : If I have 100 gw's defined, there are going to be 100 "OPTIONS" messages at the same time every 180 secs?. Or there is a way to randomize the check interval for the gateways?
Hope you can help me here. Thanks,
Ricardo.-
-----Mensaje original----- De: Juha Heinanen [mailto:jh@tutpro.com] Enviado el: jueves, 27 de agosto de 2009 13:21 Para: Ricardo Martinez CC: users@lists.kamailio.org Asunto: RE: [Kamailio-Users] LCR questions ( ping and flags columns )
Ricardo Martinez writes:
Another question (in line).
i just restored the somehow missing documentation related to pinging of gws.
So, when you first create the Gateway in the mysql table, the column ping is filled with what value?
from the restored doc:
A gateway is subject for checking if its ping_column has value 1 (default is 0).
Then, if a gateway is marked as down, the proxy does not change the value in the "ping" column for that gateway?
right.
-- juha