using System; using AsterNET.Manager.Event; namespace AsterNET.Manager.Action { /// /// Retrieves a the details about a given SIP peer.
/// For a PeerEntryEvent is sent by Asterisk containing the details of the peer /// followed by a PeerlistCompleteEvent.
/// Available since Asterisk 1.2 ///
/// /// public class SIPShowPeerAction : ManagerActionEvent { /// Creates a new empty SIPShowPeerAction. public SIPShowPeerAction() { } /// /// Creates a new SIPShowPeerAction that requests the details about the given SIP peer. /// public SIPShowPeerAction(string peer) { this.Peer = peer; } public override string Action { get { return "SIPShowPeer"; } } /// /// Get/Set the name of the peer to retrieve.
/// This parameter is mandatory. ///
public string Peer { get; set; } public override Type ActionCompleteEventClass() { return typeof (PeerlistCompleteEvent); } } }