AGENT(agentNumber[:field])
Returns information about an agent identified by
agentNumber. The following fields may be
queried:
status
LOGGEDIN or LOGGEDOUTpassword
name
mohclass
exten
AgentCallbackLogin().channel
AgentLogin()); set the variable foo to the name of Agent 42:
exten => 123,1,Set(foo=${AGENT(42:name)})
|
|
|
Internal help for this application in Asterisk 1.4: -= Info about function 'AGENT' =-
[Syntax]
AGENT(<agentid>[:item])
[Synopsis]
Gets information about an Agent
[Description]
The valid items to retrieve are:
- status (default) The status of the agent
LOGGEDIN | LOGGEDOUT
- password The password of the agent
- name The name of the agent
- mohclass MusicOnHold class
- exten The callback extension for the Agent (AgentCallb
ackLogin)
- channel The name of the active channel for the Agent (Ag
entLogin)
diff output to internal help in Asterisk 1.2: -- not available in Version 1.2 -- |