The TCPops moduleCamille Oudot, from Orange, France, has recently published a new module for Kamailio, collecting a set of configuration file functions for operations on TCP/TLS connections. The module is named tcpops and the documentation is available at:

The module allows admins to enable/disable keepalives per connection as well as setting custom lifetime for each connection.

Camille has also added new functions to the usrloc module  that gives the admin the ability to close the TCP connection if the registration request that opened it has expired.

TCPOPS will be part of the next release of Kamailio, which is labelled 4.3.