Synopsis:
Gets information about an Agent
Description:
AGENT(<agentid>[:item])
The valid items to retrieve are:
- status: (default) The status of the agent. Will/Must be one of the values: LOGGEDIN | LOGGEDOUT
- password: The password of the agent
- name: The name of the agent
- mohclass: MusicOnHold class
- exten: The callback extension for the Agent (AgentCallbackLogin)
- channel: The name of the active channel for the Agent (AgentLogin)
Notes
- *CLI> show function AGENT
Return value
Returns the resulting string.
Example
exten => s,1,Set(foo=${AGENT(27:name)})