O'Reilly logo

Asterisk: The Future of Telephony by Leif Madsen, Jared Smith, Jim Van Meggelen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

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

Synopsis

    AgentLogin([AgentNo][,options])

Logs the current caller into the call queue system as a call agent (optionally identified by AgentNo). 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 call by pressing the asterisk (*) key.

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

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required