Added event handlers for Confbridge Mute and Unmute events

This commit is contained in:
Amyn Virani 2020-01-16 17:11:10 -05:00
parent c8d725c717
commit 4e5d7ee2e3

View file

@ -407,6 +407,16 @@ namespace AsterNET.Manager
/// </summary> /// </summary>
public event EventHandler<ConfbridgeTalkingEvent> ConfbridgeTalking; public event EventHandler<ConfbridgeTalkingEvent> ConfbridgeTalking;
/// <summary>
/// This event is sent when a Confbridge participant mutes.
/// </summary>
public event EventHandler<ConfbridgeMuteEvent> ConfbridgeMute;
/// <summary>
/// This event is sent when a Confbridge participant unmutes.
/// </summary>
public event EventHandler<ConfbridgeUnmuteEvent> ConfbridgeUnmute;
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
@ -596,6 +606,8 @@ namespace AsterNET.Manager
Helper.RegisterEventHandler(registeredEventHandlers, typeof(ConfbridgeLeaveEvent), arg => fireEvent(ConfbridgeLeave, arg)); Helper.RegisterEventHandler(registeredEventHandlers, typeof(ConfbridgeLeaveEvent), arg => fireEvent(ConfbridgeLeave, arg));
Helper.RegisterEventHandler(registeredEventHandlers, typeof(ConfbridgeEndEvent), arg => fireEvent(ConfbridgeEnd, arg)); Helper.RegisterEventHandler(registeredEventHandlers, typeof(ConfbridgeEndEvent), arg => fireEvent(ConfbridgeEnd, arg));
Helper.RegisterEventHandler(registeredEventHandlers, typeof(ConfbridgeTalkingEvent), arg => fireEvent(ConfbridgeTalking, arg)); Helper.RegisterEventHandler(registeredEventHandlers, typeof(ConfbridgeTalkingEvent), arg => fireEvent(ConfbridgeTalking, arg));
Helper.RegisterEventHandler(registeredEventHandlers, typeof(ConfbridgeMuteEvent), arg => fireEvent(ConfbridgeMute, arg));
Helper.RegisterEventHandler(registeredEventHandlers, typeof(ConfbridgeUnmuteEvent), arg => fireEvent(ConfbridgeUnmute, arg));
Helper.RegisterEventHandler(registeredEventHandlers, typeof(FailedACLEvent), arg => fireEvent(FailedACL, arg)); Helper.RegisterEventHandler(registeredEventHandlers, typeof(FailedACLEvent), arg => fireEvent(FailedACL, arg));