Comment #13 on issue 2254 by [email protected]: keepalive support and cleanup for client-initiated connections as per RFC 5626
http://code.google.com/p/mobicents/issues/detail?id=2254

Jean,

Can you elaborate on the use case or the programming model you have in mind ?

We want to close connections that don't send CRLF keepalives, using either a periodic task, or per-connection timers. In order to close the timed-out connections, we need to have a list of timed-out connections, don't we? How do we build it?

killReliableConnection(String ipAddress, int port) should do it right?

Seems so.

Regarding c) and d) Do you really need this as this is currently handled automatically by the underlying SIP Stack. Basically when a double CLRF is received over a reliable channel the stack now replies directly and automatically with a single CLRF.

I couldn't find this functionality in the code, can you point me to it?

If this is indeed handled automatically by the stack, then we only need to know when the keepalive pings stop coming.


Reply via email to