AsterNet Class Library (Sandcastle documentation)
AsterNet Class Library (Sandcastle documentation)
AsterNET.Manager.Event
ManagerEvent Class
ManagerEvent Properties
Attributes Property
Channel Property
DateReceived Property
Privilege Property
Server Property
Source Property
Timestamp Property
UniqueId Property

| ManagerEvent Properties

The ManagerEvent type exposes the following members.

Properties

| Name | Description
--- | --- | ---
| Attributes | Store all unknown (without setter) keys from manager event. Use in default Parse method Parse(String, String)
| Channel | Get/Set the name of the channel.
| DateReceived | 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.
| Privilege | 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.
| Server | 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.
| Source | The ManagerConnection the Event was sourced from.
| Timestamp | 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.
| UniqueId | Get/Set the unique id of the channel.

Top
See Also

#### Reference

ManagerEvent Class
AsterNET.Manager.Event Namespace