Name

AgentLogin() — Allows a call agent to log in to the system

Synopsis

AgentLogin([AgentNumber][,options])

Logs the current caller in to the call queue system as a call agent (optionally identified by AgentNumber). While logged in, the agent can receive calls and will hear a beep on the line when a new call comes in. The agent can hang up the current call by pressing the asterisk (*) key. If AgentNumber is not specified, the caller will be prompted to enter her agent number. Agents are defined in agents.conf.

The options argument may contain the letter s, which causes the login to be silent:

; silently log in the caller as agent number 42, as defined in agents.conf
exten => 123,1,AgentLogin(42,s)

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.