Summary: | ASTERISK-23520: testsuite: Write a basic channel Pickup application test | ||
Reporter: | Matt Jordan (mjordan) | Labels: | |
Date Opened: | 2014-03-25 10:51:03 | Date Closed: | 2014-04-25 12:42:55 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | Applications/app_directed_pickup Tests/testsuite |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Note: there is a directed_pickup test in the testsuite, but it only currently tests PickupChan. This test should be renamed and placed in a subfolder with multiple directed_pickup tests.
This test should test the following: h2. Scenario 1 - pickup by extension * Have a channel dial an extension that rings constantly (note: using IAX2 in the same manner as the existing {{directed_pickup}} test is appropriate) * Use Pickup to pickup the specified extension@context * Verify using AMI events that the pickup occurred successfully h2. Scenario 2 - pickup by pickup group * Have a channel dial an extension that rings constantly (note: using IAX2 in the same manner as the existing {{directed_pickup}} test is appropriate). Make sure that the channel being picked up is in a pickup group. * Use Pickup to pickup the channel. No extension/context should be specified, but the picking up channel should be in the same pickup group as the channel being picked up. * Verify using AMI events that the pickup occurred successfully h2. Scenario 3 - PICKUPMARK * Have a channel dial an extension that rings constantly (note: using IAX2 in the same manner as the existing {{directed_pickup}} test is appropriate). The channel should define the PICKUPMARK channel variable with some numeric value, e.g., 10 * Use Pickup to pickup the specified channel via the PICKUPMARK channel variable, e.g., 10@PICKUPMARK * Verify using AMI events that the pickup occurred successfully | ||
Comments: |