app_confbridge: Play "leader has left" sound even when musiconhold is enabled.
authorJoshua Colp <jcolp@digium.com>
Fri, 14 Nov 2014 14:56:53 +0000 (14:56 +0000)
committerJoshua Colp <jcolp@digium.com>
Fri, 14 Nov 2014 14:56:53 +0000 (14:56 +0000)
commit737b8117492367962218f4679ceb795eb6f5106e
treece8a307d0474b4210cb31e7afbd608fa446a86fb
parent2454505d5a1d8e8d44a1ba7a5bcdd260ad4720c0
app_confbridge: Play "leader has left" sound even when musiconhold is enabled.

Currently if the leader of a conference bridge leaves any participant
that has musiconhold enabled will not hear the "leader has left" sound.
This is because musiconhold is started and THEN the sound is played.

This change makes it so that the sound is played and THEN musiconhold
is started. This provides a better experience for users as they may not
have known previously why they went back to musiconhold.

Review: https://reviewboard.asterisk.org/r/4177/
........

Merged revisions 427844 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 427845 from http://svn.asterisk.org/svn/asterisk/branches/12
........

Merged revisions 427846 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@427847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/confbridge/conf_state_multi_marked.c