]> git.ipfire.org Git - thirdparty/asterisk.git/commit
ConfBridge: Make some announcements asynchronous. 04/3504/7
authorMark Michelson <mmichelson@digium.com>
Wed, 10 Aug 2016 20:14:09 +0000 (15:14 -0500)
committerMark Michelson <mmichelson@digium.com>
Thu, 1 Sep 2016 18:38:58 +0000 (13:38 -0500)
commit63feffa126628e1a49e930f8fc9e7dfafc51422d
treed3982dbff8499f118da0039e0821ee2435ee7b14
parent1bd571ef75900c78f98b047659de9d2d6c0c51b5
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