Search:
     
3CX Phone System for Windows Download the Free Edition

Asterisk func agent

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)})


See also


Created by: murf,Last modification on Fri 05 of Nov, 2010 [09:15 UTC] by admin


Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - support@voip-info.org

Page Changes | Comments

 





Search: