asternet/Asterisk.2013/Asterisk.NET/Manager/Event/AgentConnectEvent.cs

29 lines
859 B
C#
Raw Normal View History

2014-01-08 14:16:39 +00:00
namespace AsterNET.Manager.Event
{
2015-01-03 15:37:29 +00:00
/// <summary>
/// An AgentConnectEvent is triggered when a caller is connected to an agent.
/// </summary>
public class AgentConnectEvent : AbstractAgentEvent
{
public AgentConnectEvent(ManagerConnection source)
: base(source)
{
}
2015-01-03 15:37:29 +00:00
/// <summary>
/// Get/Set the amount of time the caller was on hold.
/// </summary>
public long HoldTime { get; set; }
2015-01-03 15:37:29 +00:00
/// <summary>
2018-07-30 09:08:50 +00:00
/// Get/Set bridged channel. <br />
/// Removed from Asterisk 12
2015-01-03 15:37:29 +00:00
/// </summary>
public string BridgedChannel { get; set; }
2015-01-03 15:37:29 +00:00
/// <summary>
/// Get/Set the amount of time the caller was on ring.
/// </summary>
public long RingTime { get; set; }
}
}