namespace AsterNET.Manager.Event { /// /// An AgentCalledEvent is triggered when an agent is rung.
/// To enable AgentCalledEvents you have to set eventwhencalled = yes in queues.conf.
/// This event is implemented in apps/app_queue.c ///
public class AgentCalledEvent : AbstractAgentVariables { public AgentCalledEvent(ManagerConnection source) : base(source) { } public string Queue { get; set; } public string AgentName { get; set; } public string AgentCalled { get; set; } public string ChannelCalling { get; set; } public string DestinationChannel { get; set; } public string CallerId { get; set; } /// /// Get/Set the Caller*ID number of the calling channel. /// public string CallerIdNum { get; set; } /// /// Get/Set the Caller*ID name of the calling channel. /// public string CallerIdName { get; set; } public string Context { get; set; } public string Extension { get; set; } public string Priority { get; set; } } }