asternet/Asterisk.2013/Asterisk.NET/Manager/Event/AgentCalledEvent.cs

43 lines
1.2 KiB
C#
Raw Normal View History

2014-01-08 14:16:39 +00:00
namespace AsterNET.Manager.Event
{
2015-01-03 15:37:29 +00:00
/// <summary>
/// An AgentCalledEvent is triggered when an agent is rung.<br />
/// To enable AgentCalledEvents you have to set eventwhencalled = yes in queues.conf.<br />
/// This event is implemented in apps/app_queue.c
2015-01-03 15:37:29 +00:00
/// </summary>
public class AgentCalledEvent : AbstractAgentVariables
{
public AgentCalledEvent(ManagerConnection source)
: base(source)
{
}
2015-01-03 15:37:29 +00:00
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; }
/// <summary>
/// Get/Set the Caller*ID number of the calling channel.
/// </summary>
public string CallerIdNum { get; set; }
/// <summary>
/// Get/Set the Caller*ID name of the calling channel.
/// </summary>
public string CallerIdName { get; set; }
public string Context { get; set; }
public string Extension { get; set; }
public string Priority { get; set; }
}
}