namespace AsterNET.Manager.Event { /// /// A QueueMemberAddedEvent is triggered when a queue member is added to a queue.
/// It is implemented in apps/app_queue.c.
/// /// Available since : Asterisk 1.2.
///
///
public class QueueMemberAddedEvent : AbstractQueueMemberEvent { /// /// Returns the name of the member's interface.
/// E.g. the channel name or agent group. ///
public new string MemberName { get; set; } /// /// Get/Set if the added member is a dynamic or static queue member. /// "dynamic" if the added member is a dynamic queue member, /// "static" if the added member is a static queue member. /// public new string Membership { get; set; } /// /// Get/Set the penalty for the added member. When calls are distributed /// members with higher penalties are considered last. /// public new int Penalty { get; set; } /// /// Get/Set the number of calls answered by the member. /// public new int CallsTaken { get; set; } /// /// Get/Set the time (in seconds since 01/01/1970) the last successful call answered by the added member was hungup. /// public new long LastCall { get; set; } /// /// Get/Set the status of this queue member.
/// Valid status codes are:
/// /// AST_DEVICE_UNKNOWN /// AST_DEVICE_NOT_INUSE /// AST_DEVICE_INUSE /// AST_DEVICE_BUSY /// AST_DEVICE_INVALID /// AST_DEVICE_UNAVAILABLE /// AST_DEVICE_RINGING /// AST_DEVICE_RINGINUSE /// AST_DEVICE_ONHOLD /// ///
public new int Status { get; set; } /// /// Get/Set value if this queue member is paused (not accepting calls).
/// true if this member has been paused or false if not. ///
public new bool Paused { get; set; } /// /// Creates a new QueueMemberAddedEvent /// /// ManagerConnection passed through in the event. public QueueMemberAddedEvent(ManagerConnection source) : base(source) { } } }