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

Andre Barbosa (JIRA) noreply at issues.asterisk.org
Fri Jun 4 05:12:08 CDT 2021


Andre Barbosa created ASTERISK-29463:
----------------------------------------

             Summary: 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
         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