AgentLogin() — Allows a call agent to log in to the system
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)