res_pjsip_keepalive: Add runtime configurable keepalive module for connection-oriente...
authorJoshua Colp <jcolp@digium.com>
Fri, 17 Oct 2014 13:17:58 +0000 (13:17 +0000)
committerJoshua Colp <jcolp@digium.com>
Fri, 17 Oct 2014 13:17:58 +0000 (13:17 +0000)
commit0d0e38a0e11d6c2f8b3d678ec2c51ab686babf54
tree223257fd40d1e8c00c40ce03ecaf718a948b22a2
parent86eea19c8f6027b6f8095c531f088c9a523e4744
res_pjsip_keepalive: Add runtime configurable keepalive module for connection-oriented transports.

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/

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@425825 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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]