asternet/Asterisk.2013/Asterisk.NET/Manager/Action/ParkedCallsAction.cs

26 lines
915 B
C#
Raw Normal View History

using System;
2015-01-03 15:37:29 +00:00
using AsterNET.Manager.Event;
2014-01-08 14:16:39 +00:00
namespace AsterNET.Manager.Action
{
2015-01-03 15:37:29 +00:00
/// <summary>
/// The ParkedCallsAction requests a list of all currently parked calls.<br />
/// For each active channel a ParkedCallEvent is generated. After all parked
/// calls have been reported a ParkedCallsCompleteEvent is generated.
/// </summary>
/// <seealso cref="AsterNET.Manager.Event.ParkedCallEvent" />
/// <seealso cref="AsterNET.Manager.Event.ParkedCallsCompleteEvent" />
public class ParkedCallsAction : ManagerActionEvent
{
/// <summary> Get the name of this action, i.e. "ParkedCalls".</summary>
public override string Action
{
get { return "ParkedCalls"; }
}
2015-01-03 15:37:29 +00:00
public override Type ActionCompleteEventClass()
{
return typeof (ParkedCallsCompleteEvent);
}
}
}