summaryrefslogtreecommitdiff
path: root/configs/samples/confbridge.conf.sample
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2015-11-13 14:03:35 -0600
committerMark Michelson <mmichelson@digium.com>2015-11-16 14:13:13 -0600
commited1373218888604be92c49494e2aa22f01e08ab6 (patch)
tree3dbd4e0d5960066b96656cbf2bf9b506a9dbcbc6 /configs/samples/confbridge.conf.sample
parenta1fcf6f7b28caf8e2f9b808449c86515e2ef90c4 (diff)
Confbridge: Add a user timeout option
This option adds the ability to specify a timeout, in seconds, for a participant in a ConfBridge. When the user's timeout has been reached, the user is ejected from the conference with the CONFBRIDGE_RESULT channel variable set to "TIMEOUT". The rationale for this change is that there have been times where we have seen channels get "stuck" in ConfBridge because a network issue results in a SIP BYE not being received by Asterisk. While these channels can be hung up manually via CLI/AMI/ARI, adding some sort of automatic cleanup of the channels is a nice feature to have. ASTERISK-25549 #close Reported by Mark Michelson Change-Id: I2996b6c5e16a3dda27595f8352abad0bda9c2d98
Diffstat (limited to 'configs/samples/confbridge.conf.sample')
-rw-r--r--configs/samples/confbridge.conf.sample6
1 files changed, 6 insertions, 0 deletions
diff --git a/configs/samples/confbridge.conf.sample b/configs/samples/confbridge.conf.sample
index 25ca33f8f..85de3282b 100644
--- a/configs/samples/confbridge.conf.sample
+++ b/configs/samples/confbridge.conf.sample
@@ -137,6 +137,12 @@ type=user
; This option is off by default.
;announcement=</path/to/file> ; Play a sound file to the user when they join the conference.
+;timeout=3600 ; When set non-zero, this specifies the number of seconds that the participant
+ ; may stay in the conference before being automatically ejected. When the user
+ ; is ejected from the conference, the user's channel will have the CONFBRIDGE_RESULT
+ ; variable set to "TIMEOUT". A value of 0 indicates that there is no timeout.
+ ; Default: 0
+
; --- ConfBridge Bridge Profile Options ---
[default_bridge]
type=bridge