Asterisk func agent


Gets information about an Agent



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)


  • *CLI> show function AGENT

Return value

Returns the resulting string.


exten => s,1,Set(foo=${AGENT(27:name)})

See also

Created by: murf, Last modification: Sun 10 of Jun, 2012 (00:19 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! - Find us on Google+