2014-01-08 14:16:39 +00:00
|
|
|
namespace AsterNET.Manager.Event
|
2013-01-18 15:55:50 +00:00
|
|
|
{
|
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)
|
|
|
|
{
|
|
|
|
}
|
2013-01-18 15:55:50 +00:00
|
|
|
|
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; }
|
2013-01-18 15:55:50 +00:00
|
|
|
|
2015-01-03 15:37:29 +00:00
|
|
|
/// <summary>
|
2018-07-30 09:08:50 +00:00
|
|
|
/// Get/Set bridged channel. <br />
|
2018-02-07 17:23:21 +00:00
|
|
|
/// Removed from Asterisk 12
|
2015-01-03 15:37:29 +00:00
|
|
|
/// </summary>
|
|
|
|
public string BridgedChannel { get; set; }
|
2013-01-18 15:55:50 +00:00
|
|
|
|
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; }
|
|
|
|
}
|
2013-01-18 15:55:50 +00:00
|
|
|
}
|