MOH for only user not working with ConfBridge
authorKinsey Moore <kmoore@digium.com>
Mon, 13 Jun 2011 14:38:57 +0000 (14:38 +0000)
committerKinsey Moore <kmoore@digium.com>
Mon, 13 Jun 2011 14:38:57 +0000 (14:38 +0000)
commit42cb4cf51442dd01784ac58c088817f3f36960bd
tree624f4f98188cc6971b334491261ab875eda27ee8
parentcd1547792352db5f8ed9ad350d44ed8b4b3cb46b
MOH for only user not working with ConfBridge

This adds the playing_moh flag to the conference_bridge_user struct that
signifies when MOH should be playing so code doesn't have to guess whether
MOH is playing.

This change also adds the necessary checking to ensure that MOH continues
playing for a single user in a conference after the join sound is played when
configured to do so.

(closes ASTERISK-17988)
Review: https://reviewboard.asterisk.org/r/1263/

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