]> git.ipfire.org Git - thirdparty/asterisk.git/commit
ConfBridge: Make some announcements asynchronous. 06/3506/3
authorMark Michelson <mmichelson@digium.com>
Wed, 10 Aug 2016 20:14:09 +0000 (15:14 -0500)
committerMark Michelson <mmichelson@digium.com>
Wed, 7 Sep 2016 14:15:26 +0000 (09:15 -0500)
commitdf9aa402a5db510a89aa0b86cafdfc1c59ad67a5
treebf0199f9c0e8cb8aef813bbffc8819ee7fa60b2c
parentb1e827d25969b6311dc496087ae3a5a073e04b66
ConfBridge: Make some announcements asynchronous.

Confbridge announcements tend to block a channel while they are being
played. In some circumstances, this is warranted since you want that
particular channel not to hear the announcement (Example: "John Doe has
entered the conference"). For others it makes less sense.

This change first introduces methods for playing sounds asynchronously
into the conference. This is very similar to how synchronous sounds are
played, except the channel initiating the playback does not wait for the
sound to complete before moving on.

Asynchronous announcements are used for two circumstances:
* Sounds played for a user after they have left the bridge
* Sounds that play first to a single user and then the rest of the
  conference (if the channel and conference use the same language)

ASTERISK-26289 #close
Reported by Mark Michelson

Change-Id: Ie486bb3de1646d50894489030326a423e594ab0a
CHANGES
apps/app_confbridge.c
apps/confbridge/conf_state_multi_marked.c
apps/confbridge/include/confbridge.h