namespace Asterisk.NET.Manager.Event { /// /// A StatusEvent is triggered for each active channel in response to a StatusAction. /// /// public class StatusEvent : ResponseEvent { /// Returns the Caller*ID of this channel. /// Sets the Caller*ID of this channel. public string CallerId { get { return callerId; } set { this.callerId = value; } } /// Returns the Caller*ID Name of this channel. /// Sets the Caller*ID Name of this channel. public string CallerIdName { get { return callerIdName; } set { this.callerIdName = value; } } /// Returns the Caller*ID Number of this channel. /// Sets the Caller*ID Number of this channel. public string CallerIdNum { get { return callerIdNum; } set { this.callerIdNum = value; } } /// Returns the account code of this channel. /// Sets the account code of this channel. public string Account { get { return account; } set { this.account = value; } } public string State { get { return state; } set { this.state = value; } } public string Context { get { return context; } set { this.context = value; } } public string Extension { get { return extension; } set { this.extension = value; } } public int Priority { get { return priority; } set { this.priority = value; } } /// Returns the number of elapsed seconds. /// Sets the number of elapsed seconds. public int Seconds { get { return seconds; } set { this.seconds = value; } } /// Returns the name of the linked channel if this channel is bridged. /// Sets the name of the linked channel. public string Link { get { return link; } set { this.link = value; } } private string callerId; private string callerIdName; private string callerIdNum; private string account; private string state; private string context; private string extension; private int priority; private int seconds = -1; private string link; public StatusEvent(ManagerConnection source): base(source) { } } }