[asterisk-bugs] [JIRA] (ASTERISK-26661) res_ari: channels/play REST api call should send an error when media resource not found
Kevin Harwell (JIRA)
noreply at issues.asterisk.org
Fri Apr 17 15:43:25 CDT 2020
[ https://issues.asterisk.org/jira/browse/ASTERISK-26661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=250391#comment-250391 ]
Kevin Harwell commented on ASTERISK-26661:
------------------------------------------
[~praiseable]
If you'd like to submit a patch to Asterisk you should submit your patch for code review by the Asterisk Developer Community. To do so, please follow the Code Review [1] instructions on the wiki. Be sure to:
* Verify that your patch conforms to the Coding Guidelines [2]
* Review the Code Review Checklist [3] for common items reviewers will look for
When ready, submit your patch and any tests to Gerrit [4] for code review.
Thanks!
[1] https://wiki.asterisk.org/wiki/display/AST/Code+Review
[2] https://wiki.asterisk.org/wiki/display/AST/Coding+Guidelines
[3] https://wiki.asterisk.org/wiki/display/AST/Code+Review+Checklist
[4] https://wiki.asterisk.org/wiki/display/AST/Gerrit+Usage
> res_ari: channels/play REST api call should send an error when media resource not found
> ---------------------------------------------------------------------------------------
>
> Key: ASTERISK-26661
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-26661
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_ari_channels
> Affects Versions: 14.1.2
> Reporter: Artyom Dmitriev
>
> The issue is described [here|https://github.com/asterisk/node-ari-client/issues/75].
> [Edit by Rusty - copying issue description from Github to here.. ]
> When I try to play a non-existing media by doing something like this
> {code}
> channel.play({media: 'sound:nonexisting'}, playback).then(function() {
> console.log('Everything is fine');
> }).catch((err) => {
> console.log('Error>', err);
> });
> {code}
> I never get an error even though in asterisk's logs I can find
> {noformat}
> WARNING[10620] res_stasis_playback.c: 1481280112.80: Playback failed for sound:nonexisting
> {noformat}
> I don't know if this is a node-ari-client issue or rather an ari one. I haven't been able to create an issue in https://github.com/asterisk/asterisk repo.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list