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

58 lines
1.7 KiB
C#
Raw Normal View History

2018-08-29 23:29:02 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AsterNET.Manager.Action
{
/// <summary>
2018-08-30 19:08:19 +00:00
/// Redirect all channels currently bridged to the specified channel to the specified destination.<br />
2018-08-29 23:29:02 +00:00
/// See <see target="_blank" href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+ManagerAction_BlindTransfer">https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+ManagerAction_BlindTransfer</see>
/// </summary>
class BlindTransferAction : ManagerAction
{
/// <summary>
/// Creates a new empty <see cref="BlindTransferAction"/>.
/// </summary>
public BlindTransferAction()
{
}
/// <summary>
/// Creates a new <see cref="BlindTransferAction"/>.
/// </summary>
/// <param name="channel"></param>
/// <param name="context"></param>
/// <param name="extension"></param>
public BlindTransferAction(string channel, string context, string extension)
{
Channel = channel;
Context = context;
Exten = extension;
}
/// <summary>
/// Get the name of this action, i.e. "BlindTransfer".
/// </summary>
public override string Action
{
get { return "BlindTransfer"; }
}
/// <summary>
2018-08-30 19:08:19 +00:00
/// Gets or sets the channel.
2018-08-29 23:29:02 +00:00
/// </summary>
public string Channel { get; set; }
/// <summary>
2018-08-30 19:08:19 +00:00
/// Gets or sets the context.
2018-08-29 23:29:02 +00:00
/// </summary>
public string Context { get; set; }
/// <summary>
2018-08-30 19:08:19 +00:00
/// Gets or sets the extension.
2018-08-29 23:29:02 +00:00
/// </summary>
public string Exten { get; set; }
}
}