[Home]

Summary:ASTERISK-28325: Command to delete a bridge
Reporter:Matthias Urlichs (smurfix)Labels:
Date Opened:2019-03-06 13:10:00.000-0600Date Closed:2019-03-06 13:38:28.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Resources/res_ari_bridges
Versions:16.2.1 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:A hard-crashed ARI program may leave some dead bridges lying around.

There is a "bridge" command but it does not have a subcommand to delete a bridge. The only way to fix this seems to be to write another ARI program which enumerates all bridges and deletes those it determines are unused, which is somewhat suboptimal.

Proposed solution: add a "bridge remove UUID" command.
Comments:By: Asterisk Team (asteriskteam) 2019-03-06 13:10:01.217-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].

Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur.

By: Joshua C. Colp (jcolp) 2019-03-06 13:38:28.424-0600

A CLI command already exists under developer mode for doing this. It's not available for use all of the time because it is not safe to delete bridges outside of their owner (in this case ARI). It can cause crashes or problems with the owner.