[Home]

Summary:ASTERISK-24644: res_pjsip_keepalive: Add keepalive module for connection-oriented transports.
Reporter:Matt Jordan (mjordan)Labels:
Date Opened:2014-12-24 14:39:53.000-0600Date Closed:2014-12-24 14:40:02.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:Resources/res_pjsip_keepalive
Versions:13.1.0 Frequency of
Occurrence
Related
Issues:
is related toASTERISK-27347 [patch] pjproject_bundled: Disable TCP/TLS keep-alives.
Environment:Attachments:
Description:Quote from the review request:

{quote}
Reusing connections is a good thing(tm). In the case of NAT it means that you have an actual way to exchange data back and forth. In practice, however, some things (such as PJSIP) close down the TCP connection after a short period of time (in the case of PJSIP for UAC it's 33 seconds). While PJSIP has a built in keepalive mechanism this is by default set to 90 seconds and can only be controlled at compile time.

The attached module implements its own keepalive which is configurable at runtime and does not require configuration. This sends a lightweight keepalive to keep the TCP (or TLS) connection open.
{quote}
Comments: