[asterisk-bugs] [JIRA] (ASTERISK-23954) Testsuite: Off-nominal Authenticate test

Matt Jordan (JIRA) noreply at issues.asterisk.org
Thu Jun 26 11:09:57 CDT 2014


Matt Jordan created ASTERISK-23954:
--------------------------------------

             Summary: Testsuite: Off-nominal Authenticate test
                 Key: ASTERISK-23954
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23954
             Project: Asterisk
          Issue Type: Improvement
      Security Level: None
          Components: Applications/app_authenticate
            Reporter: Matt Jordan


Using the {{apptest}} pluggable module, write a test that verifies an off-nominal authentication scenario using the [Authenticate|https://wiki.asterisk.org/wiki/display/AST/Application_Authenticate] dialplan application. In this particular scenario, verify that the channel is hung up when it enters a password incorrectly 3 times.

# A channel enters into the {{Authenticate}} application. The application should have a hard coded password of 4 digits.
# The channel should provide the application the wrong DTMF digits for the password along with a terminating {{#}}.
# The channel should be played back the 'auth-incorrect' message. Use a TestEvent match to verify that this occurs.
# When the channel is played back 'auth-incorrect', it should re-enter the incorrect password.
# After three attempts, the channel should hear the 'vm-goodbye' message, and then it should be hung up.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list