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

John Bigelow (JIRA) noreply at issues.asterisk.org
Fri Feb 13 16:51:34 CST 2015


    [ https://issues.asterisk.org/jira/browse/ASTERISK-24580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=224915#comment-224915 ] 

John Bigelow commented on ASTERISK-24580:
-----------------------------------------

Committed revision 6415.

> 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
>            Assignee: John Bigelow
>
> *Note*: For reference information, see the [Test Plan|https://wiki.asterisk.org/wiki/pages/viewpage.action?pageId=30279826] on the Asterisk wiki.
> h1. 1.6 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 adds Alice1 to a bridge.
> * The Stasis application originates a call to Bob
> ** _Stasis should emit a StasisStart for Bob's channel._
> * The Stasis application adds Bob to the same bridge as Alice1.
> * Alice1 initiates an attended transfer.
> * Alice2 dials the same Stasis application.
> ** _Stasis should emit a StasisStart event for Alice2's channel._
> * The Stasis application adds Alice2 to a bridge (different from the bridge Alice1 and Bob are in).
> * The Stasis application originates a call to Carol
> ** _Stasis should emit a StasisStart for Carol's channel._
> * The Stasis application adds Carol to the same bridge as Alice2.
> * 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.7 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._
> * The Stasis application adds Alice1 to a bridge.
> * Stasis Application A originates a call to Bob
> ** _Stasis should emit a StasisStart for Bob's channel, application A._
> * The Stasis application adds Bob to the same bridge as Alice1.
> * 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 adds Alice2 to a bridge (different from the bridge Alice1 and Bob are in).
> * The Stasis application originates a call to Carol
> ** _Stasis should emit a StasisStart for Carol's channel, application B._
> * The Stasis application adds Carol to the same bridge as Alice2.
> * 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