app_confbridge: Add talking indicator for ConfBridgeList AMI response

When an AMI client connects, it cannot determine if a user was talking
prior to a transition in the user speaking state (which would generate
a ConfbridgeTalking event). This patch causes app_confbridge to track the
talking state and make this state available via ConfBridgeList.

ASTERISK-27877 #close

Change-Id: I19b5284f34966c3fda94f5b99a7e40e6b89767c6
This commit is contained in:
William McCall
2018-05-29 00:17:52 +00:00
parent 7f318c3ab5
commit 9ff4779f03
3 changed files with 21 additions and 1 deletions

View File

@@ -254,6 +254,7 @@ struct confbridge_user {
unsigned int muted:1; /*!< Has the user requested to be muted? */
unsigned int kicked:1; /*!< User has been kicked from the conference */
unsigned int playing_moh:1; /*!< MOH is currently being played to the user */
unsigned int talking:1; /*!< User is currently talking */
AST_LIST_HEAD_NOLOCK(, post_join_action) post_join_list; /*!< List of sounds to play after joining */;
AST_LIST_ENTRY(confbridge_user) list; /*!< Linked list information */
};