using System;
namespace Asterisk.NET.Manager.Action
{
///
/// The ExtensionStateAction queries the state of an extension in a given context.
///
public class ExtensionStateAction : ManagerAction
{
private string exten;
private string context;
#region Action
///
/// Get the name of this action, i.e. "ExtensionState".
///
override public string Action
{
get { return "ExtensionState"; }
}
#endregion
#region Exten
///
/// Get/Set the extension to query.
///
public string Exten
{
get { return exten; }
set { this.exten = value; }
}
#endregion
#region Context
///
/// Get/Set the name of the context that contains the extension to query.
///
public string Context
{
get { return context; }
set { this.context = value; }
}
#endregion
}
}