Merge pull request #2 from DaveTTS/DaveTTS-Event-Additions-1
Add files via upload
This commit is contained in:
commit
afa39e9643
|
@ -0,0 +1,16 @@
|
||||||
|
namespace AsterNET.Manager.Event
|
||||||
|
{
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Raised when an Asterisk service sends an authentication challenge to a request..<br />
|
||||||
|
/// </summary>
|
||||||
|
public class ChallengeSentEvent : ManagerEvent
|
||||||
|
{
|
||||||
|
public ChallengeSentEvent(ManagerConnection source)
|
||||||
|
: base(source)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public string Status { get; set; }
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,17 @@
|
||||||
|
namespace AsterNET.Manager.Event
|
||||||
|
{
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Raised when a device state changes.<br />
|
||||||
|
/// This differs from the ExtensionStatus event because this event is raised for all device state changes, not only for changes that affect dialplan hints.
|
||||||
|
/// </summary>
|
||||||
|
public class DeviceStateChangeEvent : ManagerEvent
|
||||||
|
{
|
||||||
|
public DeviceStateChangeEvent(ManagerConnection source)
|
||||||
|
: base(source)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public string Status { get; set; }
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,16 @@
|
||||||
|
namespace AsterNET.Manager.Event
|
||||||
|
{
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Raised when a request fails an authentication check due to an invalid account ID.<br />
|
||||||
|
/// </summary>
|
||||||
|
public class InvalidAccountIDEvent : ManagerEvent
|
||||||
|
{
|
||||||
|
public InvalidAccountIDEvent(ManagerConnection source)
|
||||||
|
: base(source)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public string Status { get; set; }
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,16 @@
|
||||||
|
namespace AsterNET.Manager.Event
|
||||||
|
{
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Raised when a request successfully authenticates with a service..<br />
|
||||||
|
/// </summary>
|
||||||
|
public class SuccessfulAuthEvent : ManagerEvent
|
||||||
|
{
|
||||||
|
public SuccessfulAuthEvent(ManagerConnection source)
|
||||||
|
: base(source)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public string Status { get; set; }
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue