[asterisk-bugs] [JIRA] (ASTERISK-23941) ARI: Attended transfers of channels into Stasis application lose information

Matt Jordan (JIRA) noreply at issues.asterisk.org
Wed Jul 2 16:24:56 CDT 2014


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

Matt Jordan commented on ASTERISK-23941:
----------------------------------------

I think the answer is Option #2, coupled with requiring an interception of channels entering Stasis bridges.

>From the perspective of an ARI user, all I know is that I was controlling a channel, and something caused someone else to take its place. I have to think that I own that channel to - after all, the channel that it replaced *was* in my application.

Since this is in the bridging framework, we should use a subclass of a bridge to mange this for Stasis. Implicit in this now is that if you are in a Stasis controlled bridge, you get a subscription to the channel in the bridge. That's probably a good thing in the long run.

> ARI: Attended transfers of channels into Stasis application lose information
> ----------------------------------------------------------------------------
>
>                 Key: ASTERISK-23941
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23941
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/Bridging, Resources/res_ari
>            Reporter: Matt Jordan
>            Assignee: Kinsey Moore
>
> When performing a SIP level attended transfer into Stasis, insufficient information is presented for an external application to adequately handle what just occurred.
> For example: when a PJSIP channel enters into a Stasis application as the second leg of an attended transfer, when the attended transfer completes, a masquerade and/or a bridge swap may be performed to replace the existing PJSIP channel. Because a new channel is coming into a Stasis application, the following must occur:
> # A StasisStart event must be emitted for the channel entering into the Stasis application.
> # The attended transfer event must inform the ARI client of the channels involved, including the channel taking the place of the channel leaving the application.
> # A StasisEnd event must be emitted for the channel leaving the Stasis application.



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



More information about the asterisk-bugs mailing list