[asterisk-bugs] [JIRA] (ASTERISK-24578) TestSuite: Write Attended Transfers from non-Stasis to a Stasis bridge

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


Matt Jordan created ASTERISK-24578:
--------------------------------------

             Summary: 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
            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.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.

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 message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list