[Home]

Summary:ASTERISK-24610: TestSuite: Write External Bridging test for Stasis bridge (one channel) interactions
Reporter:Matt Jordan (mjordan)Labels:
Date Opened:2014-12-12 07:25:45.000-0600Date Closed:2015-01-29 15:42:06.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. 2.2  One channel in Stasis Bridge, One channel in non-Stasis Bridge

* Alice dials a Stasis application.
** _Stasis should emit a StasisStart event for Alice's channel._
* The Stasis application adds Alice to a bridge.
* Bob dials an extension that calls the Dial() application to call Carol.
* Once Bob and Carol are bridged, the AMI Bridge action is used to bridge Alice and Bob.
** _Stasis should emit a StasisEnd for Alice's channel;_
* Bob hangs up.
** _Alice should not re-enter Stasis._
* Destroy the Stasis bridge.

*NOTE*: Rename existing test {{tests/rest_api/external_interaction/ami_bridge/stasis_bridge}} to {{tests/rest_api/external_interaction/ami_bridge/stasis_bridge/non_stasis_app}}

This test should be implemented in {{tests/rest_api/external_interaction/ami_bridge/stasis_bridge/non_stasis_bridge}}

h1. 2.3 One channel in Stasis Bridge, One channel in Same Stasis application

* Alice dials a Stasis application
** _Stasis should emit a StasisStart event for Alice's channel._
* The Stasis application adds Alice to a bridge.
* Bob dials the same Stasis application.
** _Stasis should emit a StasisStart for Bob's channel._
* The AMI bridge action is used to bridge Alice and Bob.
** _Stasis should emit a StasisEnd for Alice and Bob._
* Bob hangs up.
** _Alice should not re-enter Stasis._
* Destroy the Stasis bridge.

This test should be implemented in {{tests/rest_api/external_interaction/ami_bridge/stasis_bridge/same_stasis_app}}

h1. 2.4 One channel in Stasis Bridge, One channel in Different Stasis application

* Alice dials Stasis application A
** _Stasis should emit a StasisStart event for Alice's channel, application A._
* The Stasis application adds Alice to a bridge.
* Bob dials Stasis application B.
** _Stasis should emit a StasisStart for Bob's channel, application B._
* The AMI bridge action is used to bridge Alice and Bob.
** _Stasis should emit a StasisEnd for Alice, application A_
** _Stasis should emit a StasisEnd for Bob, application B_
* Bob hangs up.
** _Alice should not re-enter Stasis._
* Destroy the Stasis bridge.

This test should be implemented in {{tests/rest_api/external_interaction/ami_bridge/stasis_bridge/diff_stasis_app}}
Comments:By: John Bigelow (jbigelow) 2015-01-29 15:41:54.256-0600

Committed in revision 6349.