[asterisk-bugs] [JIRA] (ASTERISK-24581) TestSuite: Write Blind Transfer tests for Stasis application interaction
John Bigelow (JIRA)
noreply at issues.asterisk.org
Fri Jan 9 11:49:35 CST 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-24581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=224356#comment-224356 ]
John Bigelow commented on ASTERISK-24581:
-----------------------------------------
Committed revision 6220.
> TestSuite: Write Blind Transfer tests for Stasis application interaction
> ------------------------------------------------------------------------
>
> Key: ASTERISK-24581
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-24581
> Project: Asterisk
> Issue Type: Improvement
> Security Level: None
> Components: Tests/testsuite
> Reporter: Matt Jordan
> Assignee: John Bigelow
>
> *Note*: For reference information, see the [Test Plan|https://wiki.asterisk.org/wiki/pages/viewpage.action?pageId=30279826] on the Asterisk wiki.
> h1. 1.8 Blind: Stasis Bridge to Non-Stasis application
> * Alice dials a Stasis application.
> ** _Stasis should emit a StasisStart event for Alice's channel._
> * The Stasis application originates a call to Bob
> ** _Stasis should emit a StasisStart for Bob's channel._
> * When Bob answers, the Stasis application bridges Alice and Bob.
> * Alice initiates a blind transfer.
> * Alice dials an extension that calls the Echo() application
> ** (Expected scenario: A local channel will be created. One half of the local channel will be masqueraded into the Echo application. The other half will be swapped in for Alice's channel in the Stasis bridge.)
> ** _Stasis should emit a StasisStart for the local channel and a StasisEnd event for Alice. The StasisStart on the Local channel should indicate it is replacing Alice._
> * Bob hangs up.
> ** _Stasis should emit a StasisEnd for Bob's channel._
> * The Stasis application hangs up the local channel that was bridged to Bob.
> ** _Stasis should emit a StasisEnd for the local channel._
> * Destroy the Stasis bridge.
> *NOTE*: This test is currently covered by the existing {{tests/rest_api/bridges/blind_transfer}} test. It should be renamed to {{tests/rest_api/bridges/blind_transfer/non_stasis}}. The {{test-config.yaml}} should be updated for a more appropriate description of the test.
> h1. 1.9 Blind: Stasis Bridge to same Stasis application
> * Alice dials a Stasis application.
> ** _Stasis should emit a StasisStart event for Alice's channel._
> * The Stasis application originates a call to Bob
> ** _Stasis should emit a StasisStart for Bob's channel._
> * When Bob answers, the Stasis application bridges Alice and Bob.
> * Alice initiates a blind transfer.
> * Alice dials an extension that calls the same Stasis application
> (Expected scenario: A local channel will be created. One half of the local channel will be masqueraded into the Stasis application. The other half will be swapped in for Alice's channel in the Stasis bridge.)
> ** _Stasis should emit a StasisStart for each of the local channel halves and a StasisEnd event for Alice. The StasisStart on one of the Local channel halves should indicate it is replacing Alice._
> * Bob hangs up.
> ** _Stasis should emit a StasisEnd for Bob's channel._
> * The Stasis application hangs up the local channel that was bridged to Bob.
> ** _Stasis should emit StasisEnd events for both local channel halves._
> * Destroy the Stasis bridge.
> This test should be implemented in {{tests/rest_api/bridges/blind_transfer/stasis/stasis_app_same}}.
> h1. 1.10 Blind: Stasis Bridge to different Stasis application
> * Alice dials Stasis application A.
> ** _Stasis should emit a StasisStart event for Alice's channel, application A._
> * The Stasis application originates a call to Bob
> ** _Stasis should emit a StasisStart for Bob's channel, application A._
> * When Bob answers, the Stasis application bridges Alice and Bob.
> * Alice initiates a blind transfer.
> * Alice dials an extension that calls Stasis application B.
> (Expected scenario: A local channel will be created. One half of the local channel will be masqueraded into the Stasis application. The other half will be swapped in for Alice's channel in the Stasis bridge.)
> ** _Stasis should emit a StasisStart for each of the local channel halves, one for application A and one for application B, and a StasisEnd event for Alice in application A. The StasisStart for the Local channel in application A should indicate it is replacing Alice._
> * Bob hangs up.
> ** _Stasis should emit a StasisEnd for Bob, application A._
> * The Stasis application hangs up the local channel that was bridged to Bob.
> ** _Stasis should emit StasisEnd events for both local channel halves, one for application A and one for application B._
> * Destroy the Stasis bridge.
> This test should be implemented in {{tests/rest_api/bridges/blind_transfer/stasis/stasis_app_different}}.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list