[asterisk-bugs] [JIRA] (ASTERISK-23520) testsuite: Write a basic channel Pickup application test

Matt Jordan (JIRA) noreply at issues.asterisk.org
Fri Apr 25 09:36:18 CDT 2014


     [ https://issues.asterisk.org/jira/browse/ASTERISK-23520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Jordan updated ASTERISK-23520:
-----------------------------------

    Reviewboard Link: https://reviewboard.asterisk.org/r/3403/

> testsuite: Write a basic channel Pickup application test
> --------------------------------------------------------
>
>                 Key: ASTERISK-23520
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23520
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Applications/app_directed_pickup, Tests/testsuite
>            Reporter: Matt Jordan
>
> 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 at 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 at PICKUPMARK
> * Verify using AMI events that the pickup occurred successfully



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



More information about the asterisk-bugs mailing list