[Home]

Summary:ASTERISK-23229: testsuite: Write basic tests for AgentLogin
Reporter:Matt Jordan (mjordan)Labels:
Date Opened:2014-01-30 13:58:52.000-0600Date Closed:2014-03-07 10:22:45.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:Tests/testsuite
Versions:12.0.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:The AgentLogin application is new in Asterisk 12 and is part of the replacement for the {{chan_agent}} channel driver.

We need a basic test for logging in an agent. This should cover the following:
# An agent who logs in (and matches a valid agent) actually enters into the holding bridge (or the pool).
# An agent who logs in as an already logged in agent is rejected, and the channel variable AGENT_STATUS is set to ALREADY_LOGGED_IN
# An agent who logs in with an invalid id (not in agents.conf) is rejected as INVALID
# If an agent logs in with the 's' option, then the login announcement is not played to the user. If they log in without the 's' option, then it is.
Comments: