[Home]

Summary:ASTERISK-24580: TestSuite: Write Attended Transfers from Stasis Bridge to Stasis
Reporter:Matt Jordan (mjordan)Labels:
Date Opened:2014-12-02 12:32:50.000-0600Date Closed:2015-02-13 16:50:53.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:Tests/testsuite
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:*Note*: For reference information, see the [Test Plan|https://wiki.asterisk.org/wiki/pages/viewpage.action?pageId=30279826] on the Asterisk wiki.

h1. 1.6 Attended: Stasis Bridge to Stasis Bridge in same Stasis application

* Alice1 dials a Stasis application.
** _Stasis should emit a StasisStart event for Alice1's channel._
* The Stasis application adds Alice1 to a bridge.
* The Stasis application originates a call to Bob
** _Stasis should emit a StasisStart for Bob's channel._
* The Stasis application adds Bob to the same bridge as Alice1.
* Alice1 initiates an attended transfer.
* Alice2 dials the same Stasis application.
** _Stasis should emit a StasisStart event for Alice2's channel._
* The Stasis application adds Alice2 to a bridge (different from the bridge Alice1 and Bob are in).
* The Stasis application originates a call to Carol
** _Stasis should emit a StasisStart for Carol's channel._
* The Stasis application adds Carol to the same bridge as Alice2.
* Alice2 completes the transfer.
** (Expected scenario: A local channel is created to link the two bridges)
** _Stasis should emit a StasisStart for each half of the local channel, and StasisEnd events for Alice1 and Alice2. The StasisStart on the Local channels should indicate they are replacing the Alice channels._
* Bob hangs up
** _Stasis should emit a StasisEnd for Bob's channel._
* Carol hangs up
** _Stasis should emit a StasisEnd for Carol's channel_
* The Stasis app hangs up the local channel that was previously bridged to Bob
** _Stasis should emit a StasisEnd for both local channels._

This test should be implemented in {{tests/rest_api/bridges/attended_transfer/stasis/stasis_app}}.

h1. 1.7 Attended: Stasis Bridge to Stasis Bridge in Different Stasis application

* Alice1 dials Stasis application A.
** _Stasis should emit a StasisStart event for Alice1's channel, application A._
* The Stasis application adds Alice1 to a bridge.
* Stasis Application A originates a call to Bob
** _Stasis should emit a StasisStart for Bob's channel, application A._
* The Stasis application adds Bob to the same bridge as Alice1.
* Alice1 initiates an attended transfer.
* Alice2 dials  Stasis application B.
** _Stasis should emit a StasisStart event for Alice2's channel, application B._
* The Stasis application adds Alice2 to a bridge (different from the bridge Alice1 and Bob are in).
* The Stasis application originates a call to Carol
** _Stasis should emit a StasisStart for Carol's channel, application B._
* The Stasis application adds Carol to the same bridge as Alice2.
* Alice2 completes the transfer.
** (Expected scenario: A local channel is created to link the two bridges)
** _Stasis should emit a StasisStart for each half of the local channel, one in application A and one in application B. The StasisStart on the Local channels should indicate they are replacing Alice1 and Alice2._
** _Stasis should emit a StasisEnd event for Alice 1, application A, and Alice2, application B._
* Bob hangs up
** _Stasis should emit a StasisEnd for Bob's channel, application A._
* Carol hangs up
** _Stasis should emit a StasisEnd for Carol's channel, application B._
* The Stasis app hangs up the local channel that was previously bridged to Bob
** _Stasis should emit a StasisEnd for both local channels, one in application A and one in application B._

This test should be implemented in {{tests/rest_api/bridges/attended_transfer/stasis/stasis_bridge}}.
Comments:By: John Bigelow (jbigelow) 2015-02-13 16:50:40.216-0600

Committed revision 6415.