]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Confbridge: Add a user timeout option 30/1630/3
authorMark Michelson <mmichelson@digium.com>
Fri, 13 Nov 2015 20:03:35 +0000 (14:03 -0600)
committerMark Michelson <mmichelson@digium.com>
Mon, 16 Nov 2015 20:12:50 +0000 (14:12 -0600)
commitc4751171a0c828182c28a4442cf1d09598db6632
tree3bc163c0587602b737fd5c91df966b6b9bcec687
parentc0a7df1021488c02731bd3d50c0291fa7a85a345
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
CHANGES
apps/app_confbridge.c
apps/confbridge/conf_config_parser.c
apps/confbridge/include/confbridge.h
configs/samples/confbridge.conf.sample