Hello everybody,

I am using kamailio in AWS behind load balancer and after upgraded from version 
5.7 to 5.8 kamailio is not able to keep connection open.
After quick investigation I found out that usrloc module got new parameter 
ka_interval that replaced timer_interval.

Change is here.
https://github.com/kamailio/kamailio/commit/53ace443020075f7ecd12c72f154193c6cfa6af3
Problem is that this interval is not reliable, as it is most probably still 
called only when timer_interval is executed.
If I set values to
timer_interval = 30
ka_interval = 30
ka_randomize = 20

Maximum time for keep-alive is not 30+20 seconds but 30+30+20 seconds. That is 
too late for AWS load balancer.

I have fixed it by enabling tcp keepalives on kernel level.

Is there any way how to specify exact time in version 5.8?

Thanks.
Michal
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:

Reply via email to