Click or drag to resize
SIPShowPeerAction Class
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
Inheritance Hierarchy

Namespace: AsterNET.Manager.Action
Assembly: AsterNET (in AsterNET.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class SIPShowPeerAction : ManagerActionEvent

The SIPShowPeerAction type exposes the following members.

Constructors
  NameDescription
Public methodSIPShowPeerAction
Creates a new empty SIPShowPeerAction.
Public methodSIPShowPeerAction(String)
Creates a new SIPShowPeerAction that requests the details about the given SIP peer.
Top
Methods
  NameDescription
Public methodActionCompleteEventClass (Overrides ManagerActionEventActionCompleteEventClass.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString (Inherited from ManagerAction.)
Top
Properties
  NameDescription
Public propertyAction (Overrides ManagerActionAction.)
Public propertyActionId (Inherited from ManagerAction.)
Public propertyPeer
Get/Set the name of the peer to retrieve.
This parameter is mandatory.
Public propertyProxyKey
You can use this as a simple authentication mechanism.
Rather than have to login with a username & password, you can specify a ProxyKey that must be passed from a client before requests are processed.
This is helpful in situations where you would like to authenticate and execute an action in a single step.
(Inherited from ManagerAction.)
Public propertyServer
Specify a server to which to send your commands (x.x.x.x or hostname).
This should match the server name specified in your config file's "host" entry. If you do not specify a server, the proxy will pick the first one it finds -- fine in single-server configurations.
(Inherited from ManagerAction.)
Top
See Also