Summary: | ASTERISK-23217: testsuite: Write a test for call files | ||
Reporter: | Matt Jordan (mjordan) | Labels: | |
Date Opened: | 2014-01-29 23:06:46.000-0600 | Date Closed: | 2014-04-16 12:10:14 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | Core/PBX Tests/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Write a test in the Asterisk Test Suite that verifies call files. The test should:
# Write out a call file that generates a Local channel to an application. The test should verify that the channel entered into the dialplan at the correct location, as well as the application that was specified. (application/data) # Write out a call file that generates a Local channel to a dialplan extension. The test should verify that the channel enters the dialplan locations correctly. (context/extension/priority) In addition, the test should verify the following keywords: # account: Verify that the accountcode can be specified from the call file # callerid: Verify that the callerid can be specified from the call file # setvar: Verify that variables can be set on the channels This test should use the Pluggable Module Framework, but should involve writing a module that can convert a YAML configuration into a call file and that will place the call files into the appropriate directory either one: # AMI connect # As a result of some callback function from an AMIEventInstance | ||
Comments: |