HangupEvent Class |
Namespace: AsterNET.Manager.Event
The HangupEvent type exposes the following members.
Name | Description | |
---|---|---|
HangupEvent | Initializes a new instance of the HangupEvent class |
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Parse |
Unknown properties parser
(Inherited from ManagerEvent.) | |
ParseSpecial |
Unknown properties parser.
(Inherited from ManagerEvent.) | |
ToString |
Convert all properties to string
(Inherited from ManagerEvent.) |
Name | Description | |
---|---|---|
AccountCode |
Get/Set channel AccountCode
(Inherited from AbstractChannelEvent.) | |
Attributes |
Store all unknown (without setter) keys from manager event. (Inherited from ManagerEvent.)Use in default Parse method Parse(String, String) | |
CallerId |
Get/Set the Caller*ID of the channel if set or <unknown> if none has been set.
(Inherited from AbstractChannelEvent.) | |
CallerIdName |
Get/Set the Caller*ID Name of the channel if set or <unknown> if none has been set.
(Inherited from AbstractChannelEvent.) | |
CallerIdNum |
Get/Set the Caller*ID of the channel if set or <unknown> if none has been set.
(Inherited from AbstractChannelEvent.) | |
Cause |
Get/Set the cause of the hangup.
| |
CauseTxt |
Get/Set the textual representation of the hangup cause.
| |
Channel |
Get/Set the name of the channel.
(Inherited from ManagerEvent.) | |
ChannelState |
Get/Set Channel State
(Inherited from AbstractChannelEvent.) | |
ChannelStateDesc |
Get/Set Channel State Description
(Inherited from AbstractChannelEvent.) | |
ConnectedLineName | (Inherited from AbstractChannelEvent.) | |
Connectedlinenum | (Inherited from AbstractChannelEvent.) | |
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. | |
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. | |
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. | |
Source |
The ManagerConnection the Event was sourced from.
(Inherited from ManagerEvent.) | |
State |
Get/Set the (new) state of the channel. (Inherited from AbstractChannelEvent.)The following states are used:
| |
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.) |