Click or drag to resize
UnlinkEvent Class
An UnlinkEvent is triggered when a link between two voice channels is discontinued, for example, just before call completion.
Inheritance Hierarchy

Namespace: AsterNET.Manager.Event
Assembly: AsterNET (in AsterNET.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class UnlinkEvent : BridgeEvent

The UnlinkEvent type exposes the following members.

Constructors
  NameDescription
Public methodUnlinkEvent
Initializes a new instance of the UnlinkEvent class
Top
Methods
  NameDescription
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 methodParse
Unknown properties parser
(Inherited from ManagerEvent.)
Public methodParseSpecial
Unknown properties parser
(Inherited from BridgeEvent.)
Public methodToString (Inherited from ManagerEvent.)
Top
Fields
  NameDescription
Protected fieldattributes (Inherited from ManagerEvent.)
Top
Properties
  NameDescription
Public propertyAttributes
Store all unknown (without setter) keys from manager event.
Use in default Parse method [!:Parse(string key, string value)].
(Inherited from ManagerEvent.)
Public propertyBridgeState
Link if the two channels have been linked, Unlink if they have been unlinked.
(Inherited from BridgeEvent.)
Public propertyBridgeType (Inherited from BridgeEvent.)
Public propertyCallerId1 (Inherited from BridgeEvent.)
Public propertyCallerId2 (Inherited from BridgeEvent.)
Public propertyChannel
Get/Set the name of the channel.
(Inherited from ManagerEvent.)
Public propertyChannel1 (Inherited from BridgeEvent.)
Public propertyChannel2 (Inherited from BridgeEvent.)
Public propertyDateReceived
Get/Set the point in time this event was received from the Asterisk server.
Pseudo events that are not directly received from the asterisk server (for example ConnectEvent and DisconnectEvent) may return null.
(Inherited from ManagerEvent.)
Public propertyPrivilege
Get/Set the AMI authorization class of this event.
This is one or more of system, call, log, verbose, command, agent or user. Multiple privileges are separated by comma.
Note: This property is not available from Asterisk 1.0 servers.
(Inherited from ManagerEvent.)
Public propertyReason (Inherited from BridgeEvent.)
Public propertyResponse (Inherited from BridgeEvent.)
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 ManagerEvent.)
Public propertySource
Event source.
(Inherited from ManagerEvent.)
Public propertyTimestamp
Returns the timestamp for this event.
The timestamp property is available in Asterisk since 1.4 if enabled in manager.conf by setting timestampevents = yes. In contains the time the event was generated in seconds since the epoch.
(Inherited from ManagerEvent.)
Public propertyUniqueId
Get/Set the unique id of the channel.
(Inherited from ManagerEvent.)
Public propertyUniqueId1 (Inherited from BridgeEvent.)
Public propertyUniqueId2 (Inherited from BridgeEvent.)
Top
See Also