From ddd9b6086bdf40b434341224aa24c4a960c0deb6 Mon Sep 17 00:00:00 2001 From: Craig Roberts Date: Thu, 6 Sep 2018 19:12:06 -0400 Subject: [PATCH 1/2] 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) { From d3ccb2c059f1c7ed0f0353772d0963bac7e33aba Mon Sep 17 00:00:00 2001 From: Craig Roberts Date: Fri, 21 Sep 2018 18:12:58 -0400 Subject: [PATCH 2/2] fixed line breaks --- .../Manager/Event/ConfbridgeListCompleteEvent.cs | 8 +++----- .../Asterisk.NET/Manager/Event/ConfbridgeListEvent.cs | 5 ++--- .../Manager/Event/ConfbridgeListRoomsCompleteEvent.cs | 9 +++------ .../Manager/Event/ConfbridgeListRoomsEvent.cs | 7 +++---- 4 files changed, 11 insertions(+), 18 deletions(-) diff --git a/Asterisk.2013/Asterisk.NET/Manager/Event/ConfbridgeListCompleteEvent.cs b/Asterisk.2013/Asterisk.NET/Manager/Event/ConfbridgeListCompleteEvent.cs index 80158b0..6a18b1f 100644 --- a/Asterisk.2013/Asterisk.NET/Manager/Event/ConfbridgeListCompleteEvent.cs +++ b/Asterisk.2013/Asterisk.NET/Manager/Event/ConfbridgeListCompleteEvent.cs @@ -7,18 +7,16 @@ 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. - /// + /// 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 . + /// Creates a new . /// - /// + /// 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 bd66d6b..135eb85 100644 --- a/Asterisk.2013/Asterisk.NET/Manager/Event/ConfbridgeListEvent.cs +++ b/Asterisk.2013/Asterisk.NET/Manager/Event/ConfbridgeListEvent.cs @@ -7,8 +7,7 @@ using System.Threading.Tasks; namespace AsterNET.Manager.Event { /// - /// Raised as part of the ConfbridgeList action response list. - /// + /// 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 @@ -120,7 +119,7 @@ namespace AsterNET.Manager.Event public string Linkedid { get; set; } /// - /// Creates a new using the given . + /// Creates a new . /// /// public ConfbridgeListEvent(ManagerConnection source) diff --git a/Asterisk.2013/Asterisk.NET/Manager/Event/ConfbridgeListRoomsCompleteEvent.cs b/Asterisk.2013/Asterisk.NET/Manager/Event/ConfbridgeListRoomsCompleteEvent.cs index 1038b7d..7d15d20 100644 --- a/Asterisk.2013/Asterisk.NET/Manager/Event/ConfbridgeListRoomsCompleteEvent.cs +++ b/Asterisk.2013/Asterisk.NET/Manager/Event/ConfbridgeListRoomsCompleteEvent.cs @@ -7,19 +7,16 @@ 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. - /// + /// 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 . + /// Creates a new . /// - /// + /// 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 ff711c4..8b0431e 100644 --- a/Asterisk.2013/Asterisk.NET/Manager/Event/ConfbridgeListRoomsEvent.cs +++ b/Asterisk.2013/Asterisk.NET/Manager/Event/ConfbridgeListRoomsEvent.cs @@ -7,8 +7,7 @@ using System.Threading.Tasks; namespace AsterNET.Manager.Event { /// - /// Raised as part of the ConfbridgeListRooms action response list. - /// + /// 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 @@ -29,9 +28,9 @@ namespace AsterNET.Manager.Event public string Locked { get; set; } /// - /// Creates a new using the given . + /// Creates a new . /// - /// + /// public ConfbridgeListRoomsEvent(ManagerConnection source) : base(source) {