asternet/Asterisk.2013/Asterisk.NET/Manager/Event/AgentCompleteEvent.cs
2015-01-03 15:37:29 +00:00

28 lines
871 B
C#

namespace AsterNET.Manager.Event
{
/// <summary>
/// An AgentCompleteEvent is triggered when at the end of a call if the caller was connected to an agent.
/// </summary>
public class AgentCompleteEvent : AbstractAgentEvent
{
public AgentCompleteEvent(ManagerConnection source)
: base(source)
{
}
/// <summary>
/// Get/Set the amount of time the caller was on hold.
/// </summary>
public long HoldTime { get; set; }
/// <summary>
/// Get/Set the amount of time the caller talked to the agent.
/// </summary>
public long TalkTime { get; set; }
/// <summary>
/// Get/Set if the agent or the caller terminated the call.
/// </summary>
public string Reason { get; set; }
}
}