diff options
author | Matthew Jordan <mjordan@digium.com> | 2014-12-24 13:25:04 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2014-12-24 13:25:04 +0000 |
commit | 915bb88d3e973f647eb9d9e560688d6a02af2c2a (patch) | |
tree | e2ac99936f03dd38508f749c04021f9cde043d90 /configs/samples/pjsip.conf.sample | |
parent | 006ffdcfb252c358f2831ef239cebe71a084467f (diff) |
res_pjsip_keepalive: Add runtime configurable keepalive module for connection-oriented transports.
Note that this is backport from trunk of r425825.
This change adds a module which is configurable using the keep_alive_interval setting in the
global section that will send a CRLF keep alive to all active connection-oriented transports at
the provided interval. This is useful because it can help keep connections open through NATs.
This functionality also exists within PJSIP but can not be controlled at runtime and requires
recompiling it.
Review: https://reviewboard.asterisk.org/r/4084/
ASTERISK-24644 #close
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@430084 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs/samples/pjsip.conf.sample')
-rw-r--r-- | configs/samples/pjsip.conf.sample | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/samples/pjsip.conf.sample b/configs/samples/pjsip.conf.sample index a9b2d2b9f..92a75b2aa 100644 --- a/configs/samples/pjsip.conf.sample +++ b/configs/samples/pjsip.conf.sample @@ -858,6 +858,9 @@ ; int") ;debug=no ; Enable/Disable SIP debug logging. Valid options include yes|no ; or a host address (default: "no") +;keep_alive_interval=20 ; The interval (in seconds) at which to send keepalive + ; messages on all active connection-oriented transports + ; (default: "0") ; MODULE PROVIDING BELOW SECTION(S): res_pjsip_acl |