asternet/Asterisk.2013/Asterisk.NET/Manager/Event/AgentConnectEvent.cs
2018-07-30 11:08:50 +02:00

29 lines
859 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. <br />
/// Removed from Asterisk 12
/// </summary>
public string BridgedChannel { get; set; }
/// <summary>
/// Get/Set the amount of time the caller was on ring.
/// </summary>
public long RingTime { get; set; }
}
}