[Home]

Summary:ASTERISK-23953: Testsuite: Off-nominal Authenticate test
Reporter:Matt Jordan (mjordan)Labels:
Date Opened:2014-06-26 11:09:07Date Closed:2014-08-14 16:21:14
Priority:MajorRegression?
Status:Closed/CompleteComponents:Applications/app_authenticate
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description: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.
Comments: