AgentsEvent Properties |
The AgentsEvent type exposes the following members.
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, String) | |
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 |
The ManagerConnection the Event was sourced from.
(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.) |