Summary:ASTERISK-19299: [patch] AgentLogin Option To Skip Password Prompt
Reporter:Anthony Baker (frd91gt)Labels:
Date Opened:2012-02-03 10:34:40.000-0600Date Closed:2014-03-04 22:07:54.000-0600
Versions:SVN Frequency of
Environment:Attachments:( 0) chan_agent.c.patch
Description:This patch will allow a 'p' option in the AgentLogin dialplan application which will skip the password prompt. This is needed for AgentLogin via a web app where agent authentication has already taken place. Not all of our agents will be using the web app so we still need to maintain PIN's for agents and the prompt when logging in using the phone.
Comments:By: David Woolley (davidw) 2012-02-06 06:04:52.108-0600

You can also secure pin-less AgentLogin's by putting them in a context of their own.

By: Anthony Baker (frd91gt) 2012-02-06 09:23:44.073-0600

We have a situation at one of our facilities where we have 50 agents and 35 computers which are first come first serve. An agent could be at a computer with pinless login then the following day need to use their pin to login on the phone.

By: Matt Jordan (mjordan) 2014-03-04 22:07:39.187-0600

This may be one of those situations where events have caused Asterisk to move beyond the need for this feature.

In Asterisk 12, {{chan_agent}} was removed. Instead, its functionality has been replaced by two dialplan applications - {{AgentLogin}}, which now places the channel into a holding pool, and {{AgentRequest}}, which pulls an agent from the pool and bridges them with a caller.

* [AgentLogin|https://wiki.asterisk.org/wiki/display/AST/Asterisk+12+Application_AgentLogin]
* [AgentRequest|https://wiki.asterisk.org/wiki/display/AST/Asterisk+12+Application_AgentRequest]

Because there are already dialplan applications that perform authentication - namely {{Authenticate}} - we removed the login/password completely from AgentLogin. So, your patch is now actually the default.

As such, I'm going to go ahead and close this out as "Fixed in 12", since the functionality ended up in that release.