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

52 lines
1.4 KiB
C#

namespace AsterNET.Manager.Action
{
public class AtxferAction : ManagerAction
{
/// <summary>
/// Attended transfer.
/// </summary>
public AtxferAction()
{
}
/// <summary>
/// Attended transfer.
/// </summary>
/// <param name="channel">Transferer's channel.</param>
/// <param name="exten">Extension to transfer to.</param>
/// <param name="context">Context to transfer to.</param>
/// <param name="priority">Priority to transfer to.</param>
public AtxferAction(string channel, string exten, string context, string priority)
{
Channel = channel;
Exten = exten;
Context = context;
Priority = priority;
}
public override string Action
{
get { return "Atxfer"; }
}
/// <summary>
/// Transferer's channel.
/// </summary>
public string Channel { get; set; }
/// <summary>
/// Extension to transfer to.
/// </summary>
public string Exten { get; set; }
/// <summary>
/// Context to transfer to.
/// </summary>
public string Context { get; set; }
/// <summary>
/// Priority to transfer to.
/// </summary>
public string Priority { get; set; }
}
}