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

22 lines
716 B
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 AgentCallbackLoginEvent is triggered when an agent is successfully logged in using AgentCallbackLogin.<br />
/// It is implemented in channels/chan_agent.c
2015-01-03 15:37:29 +00:00
/// </summary>
/// <seealso cref="Manager.Event.AgentCallbackLogoffEvent" />
2015-01-03 15:37:29 +00:00
public class AgentCallbackLoginEvent : ManagerEvent
{
public AgentCallbackLoginEvent(ManagerConnection source)
: base(source)
{
}
2015-01-03 15:37:29 +00:00
/// <summary>
/// Get/Set the name of the agent that logged in.
/// </summary>
public string Agent { get; set; }
2015-01-03 15:37:29 +00:00
public string LoginChan { get; set; }
}
}