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)

Get Asterisk: The Future of Telephony, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.