namespace AsterNET.Manager.Event { /// /// An AgentCallbackLogoffEvent is triggered when an agent that previously logged in using /// AgentCallbackLogin is logged of.
/// It is implemented in channels/chan_agent.c ///
/// public class AgentCallbackLogoffEvent : ManagerEvent { #region Agent /// Returns the name of the agent that logged off. /// Sets the name of the agent that logged off. public string Agent { get; set; } #endregion #region LoginChan public string LoginChan { get; set; } #endregion #region LoginTime public string LoginTime { get; set; } #endregion #region Reason /// /// Returns the reason for the logoff. The reason is set to Autologoff if the agent has been /// logged off due to not answering the phone in time. Autologoff is configured by setting /// autologoff to the appropriate number of seconds in agents.conf. /// /// Sets the reason for the logoff. public string Reason { get; set; } #endregion public AgentCallbackLogoffEvent(ManagerConnection source) : base(source) { } } }