[asterisk-bugs] [JIRA] (ASTERISK-23263) testsuite: Write tests for AgentLogin/AgentRequest that covers acknowledgement

Matt Jordan (JIRA) noreply at issues.asterisk.org
Fri Feb 7 12:35:03 CST 2014


Matt Jordan created ASTERISK-23263:
--------------------------------------

             Summary: testsuite: Write tests for AgentLogin/AgentRequest that covers acknowledgement
                 Key: ASTERISK-23263
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23263
             Project: Asterisk
          Issue Type: Improvement
      Security Level: None
          Components: Tests/testsuite
    Affects Versions: 12.0.0
            Reporter: Matt Jordan


Similar to ASTERISK-23230, this issue is to write tests that cover the AgentLogin/AgentRequest applications.

This task is to write tests for the following scenarios:

h3. Acknowledgement of Call (Nominal)

h4. Scenario 1

The agent has the following settings in {{agents.conf}}:
 * {{ackcall = true}}

When a caller requests the agent, a prompt (beep) will be played out (NOTE: This *will* have a TEST_EVENT for it). The agent must then send a DTMF keypress ('#') to the caller. Upon doing so, they will be bridged.
 
h4. Scenario 2

A different agent has the following settings {{agents.conf}}:
 * {{ackcall = true}}
 * {{acceptdtmf = *}}

When a caller requests the agent, a prompt (beep) will be played out. The agent must then send a DTMF keypress ('*') to the caller. Upon doing so, they will be bridged.

h4. Scenario 3

Another agent has the following settings {{agents.conf}}:
 * {{ackcall = true}}
 * {{custom_beep = tt-weasels}}

When a caller requests the agent, a prompt (tt-weasels) will be played out. The agent must then send a DTMF keypress ('#') to the caller. Upon doing so, they will be bridged.

h3. Acknowledgement of a call - off nominal

h4. Scenario 1

The agent has the following settings in {{agents.conf}}:
 * {{ackcall = true}}

When a caller requests the agent, a prompt (beep) will be played out. Verify that when the agent presses the wrong DTMF key (not '#'), the agent is not bridged. Verify that eventually, the requester is hung up. Verify that the AGENT_STATUS channel variable is set to ERROR for the requester.

h4. Scenario 2

The agent has the following settings in {{agents.conf}}:
 * {{ackcall = true}}
 * {{autologoff = true}}

When a caller requests the agent, a prompt (beep) will be played out. The agent should not perform any action. Verify that eventually, the requester and agent hung up. Verify that the AGENT_STATUS channel variable is set to ERROR for the requester.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list