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

34 lines
1.1 KiB
C#

namespace AsterNET.Manager.Event
{
/// <summary>
/// A HoldedCallEvent is triggered when a channel is put on hold.<br />
/// It is implemented in <code>res/res_features.c</code>
/// </summary>
public class HoldedCallEvent : ManagerEvent
{
public HoldedCallEvent(ManagerConnection source)
: base(source)
{
}
/// <summary>
/// Get/Set the unique id of the channel that put the other channel on hold.
/// </summary>
public string UniqueId1 { get; set; }
/// <summary>
/// Get/Set the unique id of the channel that has been put on hold.
/// </summary>
public string UniqueId2 { get; set; }
/// <summary>
/// Get/Set the name of the channel that put the other channel on hold.
/// </summary>
public string Channel1 { get; set; }
/// <summary>
/// Get/Set the name of the channel that has been put on hold.
/// </summary>
public string Channel2 { get; set; }
}
}