AgentsEvent Class |
Namespace: AsterNET.Manager.Event
The AgentsEvent type exposes the following members.
Name | Description | |
---|---|---|
AgentsEvent | Initializes a new instance of the AgentsEvent 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 | (Inherited from ManagerEvent.) |
Name | Description | |
---|---|---|
attributes | (Inherited from ManagerEvent.) |
Name | Description | |
---|---|---|
ActionId |
Get/Set the action id of the ManagerAction that caused this event.
(Inherited from ResponseEvent.) | |
Agent |
Get/Set the agentid.
| |
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. | |
InternalActionId |
Get/Set the internal action id of the ManagerAction that caused this event.
(Inherited from ResponseEvent.) | |
LoggedInChan |
Get/Set the name of channel this agent logged in from or "n/a" if the agent is not logged in.
| |
LoggedInTime |
Get/Set the time (in seconds since 01/01/1970) when the agent logged in or 0 if the user is not logged.
| |
Name |
Get/Set the name of this agent.
| |
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 |
Event source.
(Inherited from ManagerEvent.) | |
Status |
Get/Set the status of this agent. This is one of
| |
TalkingTo |
Get/Set the numerical Caller*ID of the channel this agent is talking toor "n/a" if this agent is talking to nobody.
| |
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.) |