[Kamailio-Users] Problem with LCR "ping"

Alexandr Dubovikov voip at start4.info
Tue Oct 20 21:35:47 CEST 2009


Ricardo Martinez wrote:
> Hello List.
> Sorry for the delay, i was busy in something else.
> Regarding to the ping_interval parameter, the proxy is checking the gateways every 180 seconds, despite the configuration file is set to "10" seconds, that's no problem and is according the README file.  
> For the moment I have removed the "ping" check feature for the gateways with problems. 
> Could this be related with the parameter "lcr_hash_size", the default value is 128, maybe I need to make it larger?
> I will be doing more tests and I will let you know the results.
>   
 Did all yours gateways answer with one of  "positive_codes" on OPTIONS 
requests ?
 The default codes are "200;501;403;404".  Of course you can redinfine it:
 modparam("lcr", "positive_codes", "200;202;404")


> Thanks,
> Ricardo.-
>
>   
Wbr,
Alexandr

>
> -----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: martes, 20 de octubre de 2009 6:45
> Para: users at lists.kamailio.org
> Asunto: Re: [Kamailio-Users] Problem with LCR "ping"
>
> El Martes, 20 de Octubre de 2009, Henning Westerholt escribió:
>   
>> On Montag, 19. Oktober 2009, Iñaki Baz Castillo wrote:
>>     
>>>> you use ping_interval 10 seconds. For 126 gateways it's extrem short .
>>>> Can you set this param up to 60 seconds and check again ?
>>>>         
>>> Hi, note that lcr "ping_interval" parameter has a minimun value hacked in
>>> the code (not sure if it's 300 or 600 seconds), so even if you set:
>>>
>>>   modparam("lcr", "ping_interval", 10)
>>>
>>> the real used value is 300/600.
>>>       
>> Hi Inaki,
>>
>> according the module docs the minimum value is 180 seconds, and this is
>>  also the value in the source code, i think. Do you refer to another
>>  parameter?
>>     
>
> No, but I didn't remember the exact value so I said 300-600 :)
> Thanks.
>
>   


-- 
Alexandr Dubovikov * baron at iRC RusNet * mailto:shurik at start4.info
    AD1-UANIC      *  ICQ: 122351182  *  http://www.start4.info






More information about the sr-users mailing list