[asterisk-bugs] [JIRA] (ASTERISK-24644) res_pjsip_keepalive: Add keepalive module for connection-oriented transports.

Matt Jordan (JIRA) noreply at issues.asterisk.org
Wed Dec 24 14:41:34 CST 2014


Matt Jordan created ASTERISK-24644:
--------------------------------------

             Summary: res_pjsip_keepalive: Add keepalive module for connection-oriented transports.
                 Key: ASTERISK-24644
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24644
             Project: Asterisk
          Issue Type: Improvement
      Security Level: None
    Affects Versions: 13.1.0
            Reporter: Matt Jordan


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}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list