2014-01-08 14:16:39 +00:00
|
|
|
namespace AsterNET.Manager.Event
|
2013-01-18 15:55:50 +00:00
|
|
|
{
|
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)
|
|
|
|
{
|
|
|
|
}
|
2016-10-28 07:07:55 +00:00
|
|
|
/// <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; }
|
2016-10-28 07:07:55 +00:00
|
|
|
/// <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; }
|
2016-10-28 07:07:55 +00:00
|
|
|
/// <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; }
|
2016-10-28 07:07:55 +00:00
|
|
|
/// <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; }
|
2016-10-28 07:07:55 +00:00
|
|
|
/// <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; }
|
|
|
|
}
|
|
|
|
}
|