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

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


     [ https://issues.asterisk.org/jira/browse/ASTERISK-24579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Jordan updated ASTERISK-24579:
-----------------------------------

    Reference Notes: https://wiki.asterisk.org/wiki/pages/viewpage.action?pageId=30279826

> TestSuite: Write Attended Transfers from Stasis Bridge to non-Stasis
> --------------------------------------------------------------------
>
>                 Key: ASTERISK-24579
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24579
>             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.3 Attended: Stasis Bridge to Non-Stasis Application
> *Note the second*: Test 1.3 is already met by the existing {{rest_api/bridges/attended_transfer}} test. As a result, that test should simply be renamed to {{rest_api/bridges/attended_transfer/stasis/app}}. Other than confirming that this is correct, no further work needs to be done for this test.
> * 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 for Bob's channel._
> * When Bob answers, the Stasis application bridges Alice and Bob.
> * Alice initiates an attended transfer
> * Alice dials the Echo application
> * Alice completes the transfer
> ** (Expected scenario: A Local channel is created. One half is masqueraded into the Echo application. The other half is swapped into the Stasis bridge for Alice's channel)
> ** _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 event for Bob's channel._
> * The Stasis application hangs up the local channel that was bridged to Bob.
> ** _Stasis should emit a StasisEnd event for the local channel._
> * Destroy the Stasis bridge.
> h1. 1.4 Attended: Stasis Bridge to Non-Stasis Bridge
> * 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 for Bob's channel._
> * When Bob answers, the Stasis application bridges Alice and Bob.
> * Alice initiates an attended transfer.
> * Alice dials the Dial() application to call Carol.
> * When Alice and Carol are bridged, Alice completes the transfer.
> ** (Expected scenario: A local channel is created to link the Stasis and non-Stasis bridges)
> ** _Stasis should emit 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._
> * Carol hangs up.
> ** (Expected scenario: Since Carol 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._
> * Destroy the Stasis bridge.
> This test should be implemented in {{tests/rest_api/bridges/attended_transfer/stasis/bridge}}.



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



More information about the asterisk-bugs mailing list