]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_keepalive: Add runtime configurable keepalive module for connection-oriente...
authorMatthew Jordan <mjordan@digium.com>
Wed, 24 Dec 2014 13:25:04 +0000 (13:25 +0000)
committerMatthew Jordan <mjordan@digium.com>
Wed, 24 Dec 2014 13:25:04 +0000 (13:25 +0000)
commit915bb88d3e973f647eb9d9e560688d6a02af2c2a
treee2ac99936f03dd38508f749c04021f9cde043d90
parent006ffdcfb252c358f2831ef239cebe71a084467f
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
CHANGES
configs/samples/pjsip.conf.sample
include/asterisk/res_pjsip.h
res/res_pjsip.c
res/res_pjsip/config_global.c
res/res_pjsip_keepalive.c [new file with mode: 0644]