namespace AsterNET.Manager.Event { /// /// A JoinEvent is triggered when a channel joines a queue.
/// It is implemented in apps/app_queue.c ///
public class JoinEvent : QueueEvent { private string callerId; private string callerIdName; private int position; /// /// Get/Set the Caller*ID number of the channel that joined the queue if set. /// If the channel has no caller id set "unknown" is returned. /// public string CallerId { get { return callerId; } set { this.callerId = value; } } /// /// Get/Set the Caller*ID name of the channel that joined the queue if set. /// If the channel has no caller id set "unknown" is returned. /// public string CallerIdName { get { return callerIdName; } set { this.callerIdName = value; } } /// /// Get/Set the position of the joined channel in the queue. /// public int Position { get { return position; } set { this.position = value; } } public JoinEvent(ManagerConnection source) : base(source) { } } }