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

28 lines
810 B
C#

namespace AsterNET.Manager.Event
{
/// <summary>
/// An AgentConnectEvent is triggered when a caller is connected to an agent.
/// </summary>
public class AgentConnectEvent : AbstractAgentEvent
{
public AgentConnectEvent(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 bridged channel.
/// </summary>
public string BridgedChannel { get; set; }
/// <summary>
/// Get/Set the amount of time the caller was on ring.
/// </summary>
public long RingTime { get; set; }
}
}