ShutdownEvent Properties |
The ShutdownEvent type exposes the following members.
Name | Description | |
---|---|---|
Attributes |
Store all unknown (without setter) keys from manager event. (Inherited from ManagerEvent.)Use in default Parse method [!:Parse(string key, string value)]. | |
Channel |
Get/Set the name of the channel.
(Inherited from ManagerEvent.) | |
DateReceived |
Get/Set the point in time this event was received from the Asterisk server. (Inherited from ManagerEvent.)Pseudo events that are not directly received from the asterisk server (for example ConnectEvent and DisconnectEvent) may return null. | |
File | ||
Func | ||
Line | ||
Privilege |
Get/Set the AMI authorization class of this event. (Inherited from ManagerEvent.)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. | |
Reconnect |
Get/Set reconnect status.
(Inherited from ConnectionStateEvent.) | |
Restart |
Get/Set true if the server has been restarted; false if it has been halted.
| |
SequenceNumber | ||
Server |
Specify a server to which to send your commands (x.x.x.x or hostname). (Inherited from ManagerEvent.)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. | |
Shutdown |
Get/Set the kind of shutdown or restart. Possible values are "Uncleanly" and "Cleanly". A
shutdown is considered unclean if there are any active channels when the system is shut down.
| |
Source |
Event source.
(Inherited from ManagerEvent.) | |
Timestamp |
Returns the timestamp for this event. (Inherited from ManagerEvent.)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.
(Inherited from ManagerEvent.) |