namespace AsterNET.Manager.Action
{
///
/// This action lets you execute any AGI command through the Manager interface
/// For example, check the AsterNET.Test project
///
public class AgiAction : ManagerAction
{
///
/// Creates a new empty AgiAction.
///
public AgiAction(string channel, string command)
{
Channel = channel;
Command = command;
}
public string Channel { get; set; }
public string Command { get; set; }
///
/// Get the name of this action, i.e. "AGI".
///
public override string Action
{
get { return "AGI"; }
}
}
}