summaryrefslogtreecommitdiff
path: root/configs/samples
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2014-10-17 13:17:58 +0000
committerJoshua Colp <jcolp@digium.com>2014-10-17 13:17:58 +0000
commit0d0e38a0e11d6c2f8b3d678ec2c51ab686babf54 (patch)
tree223257fd40d1e8c00c40ce03ecaf718a948b22a2 /configs/samples
parent86eea19c8f6027b6f8095c531f088c9a523e4744 (diff)
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
Diffstat (limited to 'configs/samples')
-rw-r--r--configs/samples/pjsip.conf.sample3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/samples/pjsip.conf.sample b/configs/samples/pjsip.conf.sample
index 9f995e48c..830561671 100644
--- a/configs/samples/pjsip.conf.sample
+++ b/configs/samples/pjsip.conf.sample
@@ -847,6 +847,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