From ddd9b6086bdf40b434341224aa24c4a960c0deb6 Mon Sep 17 00:00:00 2001 From: Craig Roberts Date: Thu, 6 Sep 2018 19:12:06 -0400 Subject: [PATCH] add missing fields and summaries --- .../Event/ConfbridgeListCompleteEvent.cs | 12 ++ .../Manager/Event/ConfbridgeListEvent.cs | 120 ++++++++++++++++-- .../Event/ConfbridgeListRoomsCompleteEvent.cs | 13 +- .../Manager/Event/ConfbridgeListRoomsEvent.cs | 15 ++- 4 files changed, 143 insertions(+), 17 deletions(-) diff --git a/Asterisk.2013/Asterisk.NET/Manager/Event/ConfbridgeListCompleteEvent.cs b/Asterisk.2013/Asterisk.NET/Manager/Event/ConfbridgeListCompleteEvent.cs index ff847b4..80158b0 100644 --- a/Asterisk.2013/Asterisk.NET/Manager/Event/ConfbridgeListCompleteEvent.cs +++ b/Asterisk.2013/Asterisk.NET/Manager/Event/ConfbridgeListCompleteEvent.cs @@ -6,11 +6,23 @@ using System.Threading.Tasks; namespace AsterNET.Manager.Event { + /// + /// An ConfbridgeListCompleteEvent is triggered after the state of all Confbridges has been + /// reported in response to an ConfbridgeListAction. + /// + /// See https://wiki.asterisk.org/wiki/display/AST/ConfBridge+AMI+Actions + /// + /// /// public class ConfbridgeListCompleteEvent : ResponseEvent { + /// + /// Creates a new using the given . + /// + /// public ConfbridgeListCompleteEvent(ManagerConnection source) : base(source) { } } } + diff --git a/Asterisk.2013/Asterisk.NET/Manager/Event/ConfbridgeListEvent.cs b/Asterisk.2013/Asterisk.NET/Manager/Event/ConfbridgeListEvent.cs index 56c89cb..bd66d6b 100644 --- a/Asterisk.2013/Asterisk.NET/Manager/Event/ConfbridgeListEvent.cs +++ b/Asterisk.2013/Asterisk.NET/Manager/Event/ConfbridgeListEvent.cs @@ -6,29 +6,123 @@ using System.Threading.Tasks; namespace AsterNET.Manager.Event { + /// + /// Raised as part of the ConfbridgeList action response list. + /// + /// See https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+ManagerEvent_ConfbridgeList + /// public class ConfbridgeListEvent : AbstractConfbridgeEvent { - /// - /// - /// - public string CallerIDNum { get; set; } - - /// - /// - /// - public string CallerIDName { get; set; } - - /// - /// + /// Identifies this user as an admin user. /// public string Admin { get; set; } /// - /// + /// Identifies this user as a marked user. /// public string MarkedUser { get; set; } + /// + /// Must this user wait for a marked user to join? + /// + public string WaitMarked { get; set; } + + /// + /// Does this user get kicked after the last marked user leaves? + /// + public string EndMarked { get; set; } + + /// + /// Is this user waiting for a marked user to join? + /// + public string Waiting { get; set; } + + /// + /// The current mute status. + /// + public string Muted { get; set; } + + /// + /// Is this user talking? + /// + public string Talking { get; set; } + + /// + /// The number of seconds the channel has been up. + /// + public string AnsweredTime { get; set; } + + /// + /// A numeric code for the channel's current state, related to ChannelStateDesc + /// + public string ChannelState { get; set; } + + /// + /// The number of seconds the channel has been up. + /// + public string ChannelStateDesc { get; set; } + + /// + /// Gets or sets the Caller*ID number. + /// + public string CallerIDNum { get; set; } + + /// + /// Gets or sets the Caller*ID name. + /// + public string CallerIDName { get; set; } + + /// + /// Gets or sets the connected line number. + /// + public string ConnectedLineNum { get; set; } + + /// + /// Gets or sets the name of the connected line. + /// + public string ConnectedLineName { get; set; } + + /// + /// Gets or sets the language. + /// + public string Language { get; set; } + + /// + /// Gets or sets the account code. + /// + public string AccountCode { get; set; } + + /// + /// Gets or sets the context. + /// + public string Context { get; set; } + + /// + /// Gets or sets the exten. + /// + public string Exten { get; set; } + + /// + /// Gets or sets the priority. + /// + public string Priority { get; set; } + + /// + /// Gets or sets the Uniqueid. + /// + public string Uniqueid { get; set; } + + /// + /// Gets or sets the Linkedid. + /// Uniqueid of the oldest channel associated with this channel. + /// + public string Linkedid { get; set; } + + /// + /// Creates a new using the given . + /// + /// public ConfbridgeListEvent(ManagerConnection source) : base(source) { diff --git a/Asterisk.2013/Asterisk.NET/Manager/Event/ConfbridgeListRoomsCompleteEvent.cs b/Asterisk.2013/Asterisk.NET/Manager/Event/ConfbridgeListRoomsCompleteEvent.cs index f232c60..1038b7d 100644 --- a/Asterisk.2013/Asterisk.NET/Manager/Event/ConfbridgeListRoomsCompleteEvent.cs +++ b/Asterisk.2013/Asterisk.NET/Manager/Event/ConfbridgeListRoomsCompleteEvent.cs @@ -6,9 +6,20 @@ using System.Threading.Tasks; namespace AsterNET.Manager.Event { + /// + /// + /// An ConfbridgeListRoomsCompleteEvent is triggered after the state of all ConfBridgeRooms has been + /// reported in response to an ConfbridgeListRoomsAction. + /// + /// See https://wiki.asterisk.org/wiki/display/AST/ConfBridge+AMI+Actions + /// + /// public class ConfbridgeListRoomsCompleteEvent : ResponseEvent { - + /// + /// Creates a new using the given . + /// + /// public ConfbridgeListRoomsCompleteEvent(ManagerConnection source) : base(source) { diff --git a/Asterisk.2013/Asterisk.NET/Manager/Event/ConfbridgeListRoomsEvent.cs b/Asterisk.2013/Asterisk.NET/Manager/Event/ConfbridgeListRoomsEvent.cs index 5d137ee..ff711c4 100644 --- a/Asterisk.2013/Asterisk.NET/Manager/Event/ConfbridgeListRoomsEvent.cs +++ b/Asterisk.2013/Asterisk.NET/Manager/Event/ConfbridgeListRoomsEvent.cs @@ -6,23 +6,32 @@ using System.Threading.Tasks; namespace AsterNET.Manager.Event { + /// + /// Raised as part of the ConfbridgeListRooms action response list. + /// + /// See https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+ManagerEvent_ConfbridgeList + /// public class ConfbridgeListRoomsEvent : AbstractConfbridgeEvent { /// - /// + /// Gets or sets the parties. /// public int Parties { get; set; } /// - /// + /// Gets or sets the marked. /// public int Marked { get; set; } /// - /// + /// Gets or sets the locked. /// public string Locked { get; set; } + /// + /// Creates a new using the given . + /// + /// public ConfbridgeListRoomsEvent(ManagerConnection source) : base(source) {