diff options
author | Kinsey Moore <kmoore@digium.com> | 2011-06-13 14:38:57 +0000 |
---|---|---|
committer | Kinsey Moore <kmoore@digium.com> | 2011-06-13 14:38:57 +0000 |
commit | 42cb4cf51442dd01784ac58c088817f3f36960bd (patch) | |
tree | 624f4f98188cc6971b334491261ab875eda27ee8 /apps/confbridge/include | |
parent | cd1547792352db5f8ed9ad350d44ed8b4b3cb46b (diff) |
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
Diffstat (limited to 'apps/confbridge/include')
-rw-r--r-- | apps/confbridge/include/confbridge.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/confbridge/include/confbridge.h b/apps/confbridge/include/confbridge.h index 4b6c0615e..de467b5f7 100644 --- a/apps/confbridge/include/confbridge.h +++ b/apps/confbridge/include/confbridge.h @@ -215,6 +215,7 @@ struct conference_bridge_user { struct ast_bridge_features features; /*!< Bridge features structure */ struct ast_bridge_tech_optimizations tech_args; /*!< Bridge technology optimizations for talk detection */ unsigned int kicked:1; /*!< User has been kicked from the conference */ + unsigned int playing_moh:1; /*!< MOH is currently being played to the user */ AST_LIST_ENTRY(conference_bridge_user) list; /*!< Linked list information */ }; |