using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AsterNET.Manager.Action
{
public class AtxferAction : ManagerAction
{
private string _channel;
private string _exten;
private string _context;
private string _priority;
///
/// Attended transfer.
///
public AtxferAction()
{
}
///
/// Attended transfer.
///
/// Transferer's channel.
/// Extension to transfer to.
/// Context to transfer to.
/// Priority to transfer to.
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"; }
}
///
/// Transferer's channel.
///
public string Channel
{
get { return _channel; }
set { _channel = value; }
}
///
/// Extension to transfer to.
///
public string Exten
{
get { return _exten; }
set { _exten = value; }
}
///
/// Context to transfer to.
///
public string Context
{
get { return _context; }
set { _context = value; }
}
///
/// Priority to transfer to.
///
public string Priority
{
get { return _priority; }
set { _priority = value; }
}
}
}