namespace AsterNET.Manager.Event { /// /// An AgentsEvent is triggered for each agent in response to an AgentsAction.
/// Available since Asterisk 1.2 ///
/// public class AgentsEvent : ResponseEvent { public AgentsEvent(ManagerConnection source) : base(source) { } /// /// Get/Set the agentid. /// public string Agent { get; set; } /// /// Get/Set the name of this agent. /// public string Name { get; set; } /// /// Get/Set the status of this agent.
/// This is one of ///
///
"AGENT_LOGGEDOFF"
///
Agent isn't logged in
///
"AGENT_IDLE"
///
Agent is logged in, and waiting for call
///
"AGENT_ONCALL"
///
Agent is logged in, and on a call
///
"AGENT_UNKNOWN"
///
Don't know anything about agent. Shouldn't ever get this.
///
///
public string Status { get; set; } /// /// Get/Set the name of channel this agent logged in from or "n/a" if the agent is not logged in. /// public string LoggedInChan { get; set; } /// /// Get/Set the time (in seconds since 01/01/1970) when the agent logged in or 0 if the user is not logged. /// public long LoggedInTime { get; set; } /// /// Get/Set the numerical Caller*ID of the channel this agent is talking toor "n/a" if this agent is talking to nobody. /// public string TalkingTo { get; set; } } }