summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2015-07-18 13:16:10 -0300
committerJoshua Colp <jcolp@digium.com>2015-07-24 12:43:43 -0300
commit309dd2a4090ccdd1ea31d8d5415a645daddd3883 (patch)
tree625855c3191c70217c6087593767baf3e0a0cb6d /configs
parenta105461f9eadbacb684fe3751cddae2a7f400dea (diff)
pjsip: Add rtp_timeout and rtp_timeout_hold endpoint options.
This change adds support for the 'rtp_timeout' and 'rtp_timeout_hold' endpoint options. These allow the channel to be hung up if RTP is not received from the remote endpoint for a specified number of seconds. ASTERISK-25259 #close Change-Id: I3f39daaa7da2596b5022737b77799d16204175b9
Diffstat (limited to 'configs')
-rw-r--r--configs/samples/pjsip.conf.sample6
1 files changed, 6 insertions, 0 deletions
diff --git a/configs/samples/pjsip.conf.sample b/configs/samples/pjsip.conf.sample
index c5a3d7f49..06befb4e4 100644
--- a/configs/samples/pjsip.conf.sample
+++ b/configs/samples/pjsip.conf.sample
@@ -737,6 +737,12 @@
;rtp_keepalive= ; Interval, in seconds, between comfort noise RTP packets if
; RTP is not flowing. This setting is useful for ensuring that
; holes in NATs and firewalls are kept open throughout a call.
+;rtp_timeout= ; Hang up channel if RTP is not received for the specified
+ ; number of seconds when the channel is off hold (default:
+ ; "0" or not enabled)
+;rtp_timeout_hold= ; Hang up channel if RTP is not received for the specified
+ ; number of seconds when the channel is on hold (default:
+ ; "0" or not enabled)
;==========================AUTH SECTION OPTIONS=========================
;[auth]