[asterisk-bugs] [JIRA] (ASTERISK-29463) ARI - PlaybackFinish Error status and events

Andre Barbosa (JIRA) noreply at issues.asterisk.org
Fri Jun 4 06:20:09 CDT 2021


    [ https://issues.asterisk.org/jira/browse/ASTERISK-29463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=255189#comment-255189 ] 

Andre Barbosa commented on ASTERISK-29463:
------------------------------------------

Added the gerrit branch on this ticket: https://issues.asterisk.org/jira/browse/ASTERISK-29464

 The https://issues.asterisk.org/jira/browse/ASTERISK-29464 contains all this code, plus the check to only send events for the last playback.

If you agree, we can close this one and merge only on  ASTERISK-29464.

> ARI - PlaybackFinish Error status and events
> --------------------------------------------
>
>                 Key: ASTERISK-29463
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29463
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Resources/res_stasis_playback
>    Affects Versions: 18.4.0
>            Reporter: Andre Barbosa
>              Labels: patch
>         Attachments: playback_finish_error_state.diff
>
>
> When Playing a sound file with ARI Play, if the file is not on a correct format or the file if not available Asterisk returns an error.
> ARI PlaybackFinish event has a state field with is always set to "done".
> With this patch we create a new state "error" that is sent when Asterisk was not able to play that sound file.
> This is useful when your external application needs to know if the sound was played or not.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list