Summary: | ASTERISK-26134: ari: Adding channel to bridge unsubscribes Stasis app from wildcard bridge events | ||
Reporter: | Sean Bright (seanbright) | Labels: | |
Date Opened: | 2016-06-21 16:32:14 | Date Closed: | 2017-05-31 14:57:18 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | Resources/res_ari_applications Resources/res_ari_bridges Resources/res_stasis |
Versions: | 13.10.0 | Frequency of Occurrence | Constant |
Related Issues: | |||
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 | Attachments: | ( 0) 0001-stasis-Don-t-unsubscribe-from-NULL-bridge.patch ( 1) subscribe-all-repro.sh |
Description: | 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. | ||
Comments: | By: Asterisk Team (asteriskteam) 2016-06-21 16:32:15.010-0500 Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution. A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report. Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process]. By: Sean Bright (seanbright) 2016-06-22 07:45:20.293-0500 Potential fix attached |