add missing fields and summaries

This commit is contained in:
Craig Roberts 2018-09-06 19:12:06 -04:00
parent 03f51ba65e
commit ddd9b6086b
4 changed files with 143 additions and 17 deletions

View file

@ -6,11 +6,23 @@ using System.Threading.Tasks;
namespace AsterNET.Manager.Event
{
/// <summary>
/// An ConfbridgeListCompleteEvent is triggered after the state of all Confbridges has been
/// reported in response to an ConfbridgeListAction.
///
/// See <see target="_blank" href="https://wiki.asterisk.org/wiki/display/AST/ConfBridge+AMI+Actions">https://wiki.asterisk.org/wiki/display/AST/ConfBridge+AMI+Actions</see>
/// </summary>
/// /// <seealso cref="ConfbridgeListEvent" />
public class ConfbridgeListCompleteEvent : ResponseEvent
{
/// <summary>
/// Creates a new <see cref="ConfbridgeListCompleteEvent"/> using the given <see cref="ManagerConnection"/>.
/// </summary>
/// <param name="source"></param>
public ConfbridgeListCompleteEvent(ManagerConnection source)
: base(source)
{
}
}
}

View file

@ -6,29 +6,123 @@ using System.Threading.Tasks;
namespace AsterNET.Manager.Event
{
/// <summary>
/// Raised as part of the ConfbridgeList action response list.
///
/// See <see target="_blank" href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+ManagerEvent_ConfbridgeList">https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+ManagerEvent_ConfbridgeList</see>
/// </summary>
public class ConfbridgeListEvent : AbstractConfbridgeEvent
{
/// <summary>
///
/// </summary>
public string CallerIDNum { get; set; }
/// <summary>
///
/// </summary>
public string CallerIDName { get; set; }
/// <summary>
///
/// Identifies this user as an admin user.
/// </summary>
public string Admin { get; set; }
/// <summary>
///
/// Identifies this user as a marked user.
/// </summary>
public string MarkedUser { get; set; }
/// <summary>
/// Must this user wait for a marked user to join?
/// </summary>
public string WaitMarked { get; set; }
/// <summary>
/// Does this user get kicked after the last marked user leaves?
/// </summary>
public string EndMarked { get; set; }
/// <summary>
/// Is this user waiting for a marked user to join?
/// </summary>
public string Waiting { get; set; }
/// <summary>
/// The current mute status.
/// </summary>
public string Muted { get; set; }
/// <summary>
/// Is this user talking?
/// </summary>
public string Talking { get; set; }
/// <summary>
/// The number of seconds the channel has been up.
/// </summary>
public string AnsweredTime { get; set; }
/// <summary>
/// A numeric code for the channel's current state, related to ChannelStateDesc
/// </summary>
public string ChannelState { get; set; }
/// <summary>
/// The number of seconds the channel has been up.
/// </summary>
public string ChannelStateDesc { get; set; }
/// <summary>
/// Gets or sets the Caller*ID number.
/// </summary>
public string CallerIDNum { get; set; }
/// <summary>
/// Gets or sets the Caller*ID name.
/// </summary>
public string CallerIDName { get; set; }
/// <summary>
/// Gets or sets the connected line number.
/// </summary>
public string ConnectedLineNum { get; set; }
/// <summary>
/// Gets or sets the name of the connected line.
/// </summary>
public string ConnectedLineName { get; set; }
/// <summary>
/// Gets or sets the language.
/// </summary>
public string Language { get; set; }
/// <summary>
/// Gets or sets the account code.
/// </summary>
public string AccountCode { get; set; }
/// <summary>
/// Gets or sets the context.
/// </summary>
public string Context { get; set; }
/// <summary>
/// Gets or sets the exten.
/// </summary>
public string Exten { get; set; }
/// <summary>
/// Gets or sets the priority.
/// </summary>
public string Priority { get; set; }
/// <summary>
/// Gets or sets the Uniqueid.
/// </summary>
public string Uniqueid { get; set; }
/// <summary>
/// Gets or sets the Linkedid.
/// Uniqueid of the oldest channel associated with this channel.
/// </summary>
public string Linkedid { get; set; }
/// <summary>
/// Creates a new <see cref="ConfbridgeListEvent"/> using the given <see cref="ManagerConnection"/>.
/// </summary>
/// <param name="source"></param>
public ConfbridgeListEvent(ManagerConnection source)
: base(source)
{

View file

@ -6,9 +6,20 @@ using System.Threading.Tasks;
namespace AsterNET.Manager.Event
{
/// <summary>
/// <summary>
/// An ConfbridgeListRoomsCompleteEvent is triggered after the state of all ConfBridgeRooms has been
/// reported in response to an ConfbridgeListRoomsAction.
///
/// See <see target="_blank" href="https://wiki.asterisk.org/wiki/display/AST/ConfBridge+AMI+Actions">https://wiki.asterisk.org/wiki/display/AST/ConfBridge+AMI+Actions</see>
/// </summary>
/// <seealso cref="ConfbridgeListRoomsEvent" />
public class ConfbridgeListRoomsCompleteEvent : ResponseEvent
{
/// <summary>
/// Creates a new <see cref="ConfbridgeListRoomsCompleteEvent"/> using the given <see cref="ManagerConnection"/>.
/// </summary>
/// <param name="source"></param>
public ConfbridgeListRoomsCompleteEvent(ManagerConnection source)
: base(source)
{

View file

@ -6,23 +6,32 @@ using System.Threading.Tasks;
namespace AsterNET.Manager.Event
{
/// <summary>
/// Raised as part of the ConfbridgeListRooms action response list.
///
/// See <see target="_blank" href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+ManagerEvent_ConfbridgeList">https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+ManagerEvent_ConfbridgeList</see>
/// </summary>
public class ConfbridgeListRoomsEvent : AbstractConfbridgeEvent
{
/// <summary>
///
/// Gets or sets the parties.
/// </summary>
public int Parties { get; set; }
/// <summary>
///
/// Gets or sets the marked.
/// </summary>
public int Marked { get; set; }
/// <summary>
///
/// Gets or sets the locked.
/// </summary>
public string Locked { get; set; }
/// <summary>
/// Creates a new <see cref="ConfbridgeListRoomsEvent"/> using the given <see cref="ManagerConnection"/>.
/// </summary>
/// <param name="source"></param>
public ConfbridgeListRoomsEvent(ManagerConnection source)
: base(source)
{