Name

AGENT — Returns information about an agent

Synopsis

AGENT(agentid[:item])

This function allows you to retrieve information pertaining to agents and may only be read, not set.

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

Music-on-hold class

exten

The callback extension for the Agent (AgentCallbackLogin)

channel

The name of the active channel for the Agent (AgentLogin)