Summary: | ASTERISK-25520: ARI DELETE /bridges/{bridgeId} when recording doesn't delete | ||
Reporter: | Graham Brown (grahambrown11) | Labels: | ARI |
Date Opened: | 2015-11-04 00:46:11.000-0600 | Date Closed: | 2020-01-14 11:13:26.000-0600 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | Resources/res_ari Resources/res_ari_bridges |
Versions: | 13.5.0 | Frequency of Occurrence | Frequent |
Related Issues: | |||
Environment: | FreePBX 12, SHMZ 6.5 AKA CentOS 6.5 | Attachments: | |
Description: | ARI delete bridge returns HTTP 204, but {{bridge show all}} on the CLI shows the bridge is still there. I think the root cause is recording. The bridge does delete if I don't start the recording (using {{POST /bridges/bridgeId/record}}).
Here are the steps I use to reproduce: # create channel 1 {{POST /channels}} # then create a bridge {{POST /bridges}} # add channel 1 to bridge {{POST /bridges/bridgeId/addChannel}} # create channel 2 {{POST /channels}} # start bridge recording {{POST /bridges/bridgeId/record}} # add channel 1 to bridge {{POST /bridges/bridgeId/addChannel}} # delete channel 2 {{DELETE /channels/channelId}} # stop recording {{POST /recordings/live/recordingName/stop}} (tried with or without this step - same thing happens) # delete channel 1 {{DELETE /channels/channelId}} # delete bridge {{DELETE /bridges/bridgeId}} ASTERISK-22759 seems related but the was for an *Endpoint Channel* this issue is related to a *Recorder Channel* | ||
Comments: | By: Asterisk Team (asteriskteam) 2015-11-04 00:46:13.357-0600 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: Graham Brown (grahambrown11) 2015-11-04 00:55:05.490-0600 Forgot to mention I dont get the Bridge Deleted event message on the WebSocket either By: Rusty Newton (rnewton) 2015-11-05 09:56:16.411-0600 Thanks for the report. Please attach a debug log captured during the entire reproduction process. https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information Before attaching the log be sure that it includes WARNING,ERROR,NOTICE,VERBOSE,DEBUG, with VERBOSE and DEBUG turned up to 5 each. Additionally can you include a log of the ARI events as they occur? Timestamped would be great so that it is easy to compare to the debug log. By: Asterisk Team (asteriskteam) 2015-11-19 12:00:21.802-0600 Suspended due to lack of activity. This issue will be automatically re-opened if the reporter posts a comment. If you are not the reporter and would like this re-opened please create a new issue instead. If the new issue is related to this one a link will be created during the triage process. Further information on issue tracker usage can be found in the Asterisk Issue Guidlines [1]. [1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines |