[Home]

Summary:ASTERISK-26607: res_ari_playback: allow chararacters URI scheme to be controllable
Reporter:Mark Ingles (markingles)Labels:
Date Opened:2016-11-16 10:18:06.000-0600Date Closed:
Priority:MinorRegression?No
Status:Open/NewComponents:Resources/res_ari_playbacks
Versions:13.12.2 14.1.2 Frequency of
Occurrence
Related
Issues:
is duplicated byASTERISK-24402 ARI Playbacks which use URIs that string together sounds cannot be stopped
Environment:Attachments:
Description:The characters URI scheme does not allow playbacks to be controlled.
It would be helpful to either log a message that controlling playbacks of this scheme are not allowed or allow control.

When trying to control a uncontrollable playback, ARI returns "500 Internal Server Error" to the application.

I believe the logging would be in res/res_stasis_playback.c in these functions:
playback_stop
playback_restart
playback_pause
playback_unpause
playback_reverse
playback_forward

This issue also affects the number: and digits: URI schemes.

As a short term fix, maybe the wiki docs can just be updated to tell us the three schemes don't allow control at https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Playbacks+REST+API

Comments:By: Asterisk Team (asteriskteam) 2016-11-16 10:18:07.945-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: Joshua C. Colp (jcolp) 2016-11-16 10:33:25.798-0600

We should also audit other URI schemes to see if we can add the functionality to them, or document the lack of it.