[Home]

Summary:ASTERISK-23899: Testsuite: Nominal tests for Authenticate with a custom prompt
Reporter:Matt Jordan (mjordan)Labels:
Date Opened:2014-06-17 10:52:18Date Closed:2014-12-12 06:56:11.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:Applications/app_authenticate Tests/testsuite
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Using the {{apptest}} pluggable module, write tests that verifies nominal authentication scenarios using the [Authenticate|https://wiki.asterisk.org/wiki/display/AST/Application_Authenticate] dialplan application. In this particular scenario, verify that a custom prompt is played when specified:

# A channel enters into the {{Authenticate}} application. The application should have a hard coded password of 4 digits and a custom prompt specified.
# Verify that the correct prompt is played back by listening for a {{TestEvent}} AMI event with a {{Message}} field matching the prompt being played.
# The channel should provide the application the DTMF digits for the password along with a terminating {{#}}.
# The channel should exit out of the {{Authenticate}} application and continue to the next priority. A UserEvent should be emitted indicating success.

Comments: