[asterisk-bugs] [JIRA] (ASTERISK-24610) TestSuite: Write External Bridging test for Stasis bridge (one channel) interactions

Matt Jordan (JIRA) noreply at issues.asterisk.org
Fri Dec 12 07:26:29 CST 2014


Matt Jordan created ASTERISK-24610:
--------------------------------------

             Summary: TestSuite: Write External Bridging test for Stasis bridge (one channel) interactions
                 Key: ASTERISK-24610
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24610
             Project: Asterisk
          Issue Type: Improvement
      Security Level: None
          Components: Tests/testsuite
            Reporter: Matt Jordan


*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}}



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



More information about the asterisk-bugs mailing list