2013-01-18 15:55:50 +00:00
|
|
|
using System;
|
2015-01-03 15:37:29 +00:00
|
|
|
using AsterNET.Manager.Event;
|
2013-01-18 15:55:50 +00:00
|
|
|
|
2014-01-08 14:16:39 +00:00
|
|
|
namespace AsterNET.Manager.Action
|
2013-01-18 15:55:50 +00:00
|
|
|
{
|
2015-01-03 15:37:29 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Retrieves a list of all defined SIP peers.<br />
|
|
|
|
/// For each peer that is found a PeerEntryEvent is sent by Asterisk containing
|
|
|
|
/// the details. When all peers have been reported a PeerlistCompleteEvent is sent.<br />
|
|
|
|
/// Available since Asterisk 1.2
|
|
|
|
/// </summary>
|
|
|
|
/// <seealso cref="Manager.event.PeerEntryEvent" />
|
|
|
|
/// <seealso cref="Manager.event.PeerlistCompleteEvent" />
|
|
|
|
public class SIPPeersAction : ManagerActionEvent
|
|
|
|
{
|
|
|
|
public override string Action
|
|
|
|
{
|
|
|
|
get { return "SIPPeers"; }
|
|
|
|
}
|
|
|
|
|
|
|
|
public override Type ActionCompleteEventClass()
|
|
|
|
{
|
|
|
|
return typeof (PeerlistCompleteEvent);
|
|
|
|
}
|
|
|
|
}
|
2013-01-18 15:55:50 +00:00
|
|
|
}
|