asternet/Asterisk.2013/Asterisk.NET/Manager/Event/AGIExecEvent.cs

41 lines
2 KiB
C#
Raw Normal View History

2014-01-08 14:16:39 +00:00
namespace AsterNET.Manager.Event
{
2015-01-03 15:37:29 +00:00
/// <summary>
/// AgiExecEvents are triggered when an AGI command is executed.<br />
/// For each command two events are triggered: one before excution ("Start") and one after execution ("End").
/// </summary>
public class AGIExecEvent : ManagerEvent
{
/// <summary>
/// Creates a new AGIExecEvent.
/// </summary>
public AGIExecEvent(ManagerConnection source)
: base(source)
{
}
/// <summary>
/// Get/Set the command ID
/// <b>Available since : </b> <see href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+12+Documentation" target="_blank" alt="Asterisk 12 wiki docs">Asterisk 12</see>.
/// </summary>
2015-01-03 15:37:29 +00:00
public long CommandId { get; set; }
/// <summary>
/// Get/Set the command
/// <b>Available since : </b> <see href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+12+Documentation" target="_blank" alt="Asterisk 12 wiki docs">Asterisk 12</see>.
/// </summary>
2015-01-03 15:37:29 +00:00
public string Command { get; set; }
/// <summary>
/// <b>Available since : </b> <see href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+12+Documentation" target="_blank" alt="Asterisk 12 wiki docs">Asterisk 12</see>.
/// </summary>
2015-01-03 15:37:29 +00:00
public string SubEvent { get; set; }
/// <summary>
/// Get/Set the result
/// <b>Available since : </b> <see href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+12+Documentation" target="_blank" alt="Asterisk 12 wiki docs">Asterisk 12</see>.
/// </summary>
2015-01-03 15:37:29 +00:00
public string Result { get; set; }
/// <summary>
/// Get/Set the result number
/// <b>Available since : </b> <see href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+12+Documentation" target="_blank" alt="Asterisk 12 wiki docs">Asterisk 12</see>.
/// </summary>
2015-01-03 15:37:29 +00:00
public int ResultCode { get; set; }
}
}