[asterisk-bugs] [JIRA] (ASTERISK-26134) ari: Adding channel to bridge unsubscribes Stasis app from wildcard bridge events

Sean Bright (JIRA) noreply at issues.asterisk.org
Wed Jun 22 07:45:56 CDT 2016


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

Sean Bright edited comment on ASTERISK-26134 at 6/22/16 7:45 AM:
-----------------------------------------------------------------

Potential fix attached


was (Author: seanbright):
Potential fix

> ari: Adding channel to bridge unsubscribes Stasis app from wildcard bridge events
> ---------------------------------------------------------------------------------
>
>                 Key: ASTERISK-26134
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26134
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_ari_applications, Resources/res_ari_bridges, Resources/res_stasis
>    Affects Versions: 13.10.0
>         Environment: Ubuntu 14.04 (Trusty) - Linux asterisk-dev 4.4.0-24-generic #43-Ubuntu SMP Wed Jun 8 19:27:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: Sean Bright
>         Attachments: 0001-stasis-Don-t-unsubscribe-from-NULL-bridge.patch, subscribe-all-repro.sh
>
>
> A Stasis application with {{subscribeAll=true}} specified loses its bridge wildcard subscription as soon as a channel is added to a bridge.
> Before adding a channel to a bridge:
> {noformat}
> {
>   "name": "foobar",
>   "channel_ids": [
>     "__AST_CHANNEL_ALL_TOPIC"
>   ],
>   "bridge_ids": [
>     "__AST_BRIDGE_ALL_TOPIC"
>   ],
>   "endpoint_ids": [
>     "__AST_ENDPOINT_ALL_TOPIC"
>   ],
>   "device_names": [
>     "__AST_DEVICE_STATE_ALL_TOPIC"
>   ]
> }
> {noformat}
> And after:
> {noformat}
> {
>   "name": "foobar",
>   "channel_ids": [
>     "__AST_CHANNEL_ALL_TOPIC"
>   ],
>   "bridge_ids": [
>     "my-test-bridge-001"
>   ],
>   "endpoint_ids": [
>     "__AST_ENDPOINT_ALL_TOPIC"
>   ],
>   "device_names": [
>     "__AST_DEVICE_STATE_ALL_TOPIC"
>   ]
> }
> {noformat}
> I've included a small script which reproduces this.



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



More information about the asterisk-bugs mailing list