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

52 lines
1.4 KiB
C#
Raw Normal View History

2015-01-03 15:37:29 +00:00
namespace AsterNET.Manager.Action
2014-01-08 14:16:39 +00:00
{
public class AtxferAction : ManagerAction
{
/// <summary>
2015-01-03 15:37:29 +00:00
/// Attended transfer.
2014-01-08 14:16:39 +00:00
/// </summary>
public AtxferAction()
{
}
/// <summary>
2015-01-03 15:37:29 +00:00
/// Attended transfer.
2014-01-08 14:16:39 +00:00
/// </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)
{
2015-01-03 15:37:29 +00:00
Channel = channel;
Exten = exten;
Context = context;
Priority = priority;
2014-01-08 14:16:39 +00:00
}
public override string Action
{
get { return "Atxfer"; }
}
/// <summary>
2015-01-03 15:37:29 +00:00
/// Transferer's channel.
2014-01-08 14:16:39 +00:00
/// </summary>
2015-01-03 15:37:29 +00:00
public string Channel { get; set; }
2014-01-08 14:16:39 +00:00
/// <summary>
2015-01-03 15:37:29 +00:00
/// Extension to transfer to.
2014-01-08 14:16:39 +00:00
/// </summary>
2015-01-03 15:37:29 +00:00
public string Exten { get; set; }
2014-01-08 14:16:39 +00:00
/// <summary>
2015-01-03 15:37:29 +00:00
/// Context to transfer to.
2014-01-08 14:16:39 +00:00
/// </summary>
2015-01-03 15:37:29 +00:00
public string Context { get; set; }
2014-01-08 14:16:39 +00:00
/// <summary>
2015-01-03 15:37:29 +00:00
/// Priority to transfer to.
2014-01-08 14:16:39 +00:00
/// </summary>
2015-01-03 15:37:29 +00:00
public string Priority { get; set; }
2014-01-08 14:16:39 +00:00
}
2015-01-03 15:37:29 +00:00
}