[asterisk-bugs] [JIRA] (ASTERISK-24580) TestSuite: Write Attended Transfers from Stasis Bridge to Stasis

Matt Jordan (JIRA) noreply at issues.asterisk.org
Tue Dec 2 12:33:29 CST 2014


Matt Jordan created ASTERISK-24580:
--------------------------------------

             Summary: TestSuite: Write Attended Transfers from Stasis Bridge to Stasis
                 Key: ASTERISK-24580
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24580
             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. 1.5 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 originates a call to Bob
** _Stasis should emit a StasisStart for Bob's channel._
* Alice1 initiates an attended transfer.
* Alice2 dials the same Stasis application.
** _Stasis should emit a StasisStart event for Alice2's channel._
* The Stasis application originates a call to Carol
** _Stasis should emit a StasisStart for Carol's channel._
* 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.6 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._
* Stasis Application A originates a call to Bob
** _Stasis should emit a StasisStart for Bob's channel, application A._
* 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 originates a call to Carol
** _Stasis should emit a StasisStart for Carol's channel, application B._
* 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}}.



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



More information about the asterisk-bugs mailing list