[asterisk-bugs] [JIRA] (ASTERISK-24578) TestSuite: Write Attended Transfers from non-Stasis to a Stasis bridge
John Bigelow (JIRA)
noreply at issues.asterisk.org
Fri Feb 13 12:55:34 CST 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-24578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=224911#comment-224911 ]
John Bigelow commented on ASTERISK-24578:
-----------------------------------------
Committed revision 6407.
> TestSuite: Write Attended Transfers from non-Stasis to a Stasis bridge
> ----------------------------------------------------------------------
>
> Key: ASTERISK-24578
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-24578
> 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.1 Attended: Non-Stasis Application to Stasis Bridge
> * Alice calls into the Echo application
> * Alice initiates an attended transfer
> * 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 event for Bob's channel_
> * When Bob answers, the Stasis application bridges Alice and Bob
> * Alice completes the Transfer
> ** (Expected scenario: A Local channel is created. One half masquerades into the Echo application, and the other half is swapped in for Alice's channel in the bridge with Bob)
> ** _Stasis should emit a StasisStart for the Local channel and a StasisEnd for Alice's channel. 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 half that is in the bridge with Bob.
> ** _Stasis should emit a StasisEnd for the Local channel half._
> * Destroy the Stasis Bridge.
> This test should be implemented in {{tests/rest_api/bridges/attended_transfer/non_stasis/app}}.
> h1. 1.2 Attended: Non-Stasis Bridge to Stasis Bridge
> * Alice dials the Dial() application to call Bob
> * Once they are bridged, Alice initiates an attended transfer
> * Alice dials a Stasis application
> ** _Stasis should emit a StasisStart event for Alice's channel_
> * The Stasis application originates a call to Carol
> ** _Stasis should emit a StasisStart event for Carol's channel_
> * When Carol answers, the Stasis application bridges Alice and Carol
> * Alice completes the transfer.
> ** (Expected scenario: A Local channel is created to link the Stasis bridge and Non-Stasis bridges)
> ** _Stasis should emit a StasisStart for the Local channel and a StasisEnd for Alice's channel. The StasisStart on the Local channel should indicate it is replacing Alice._
> * Bob hangs up.
> ** (Expected scenario: Since Bob and the local channel are in a basic bridge, the local channel should be hung up)
> ** _Stasis should emit a StasisEnd for the local channel._
> * Carol hangs up.
> ** _Stasis should emit a StasisEnd for Carol's channel._
> * Destroy the Stasis bridge.
> This test should be implemented in {{tests/rest_api/bridges/attended_transfer/non_stasis/bridge}}.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list