[asterisk-bugs] [JIRA] (ASTERISK-29464) ARI - PlaybackFinish skip error events

Asterisk Team (JIRA) noreply at issues.asterisk.org
Thu Aug 5 09:47:37 CDT 2021


     [ https://issues.asterisk.org/jira/browse/ASTERISK-29464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asterisk Team updated ASTERISK-29464:
-------------------------------------

    Target Release Version/s: 18.6.0

> ARI - PlaybackFinish skip error events
> --------------------------------------
>
>                 Key: ASTERISK-29464
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29464
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Resources/res_stasis_playback
>    Affects Versions: 18.4.0
>            Reporter: Andre Barbosa
>            Assignee: Andre Barbosa
>              Labels: patch
>      Target Release: 16.20.0, 18.6.0
>
>         Attachments: playback_finish_error_state.diff
>
>
> This one is related with ASTERISK-29463
> When we try to play a list of sound files in the same Play command, we get only one PlaybackFinish event, after all sounds are played.
> But in the case where the Play fails (because channel is destroyed for example), Asterisk will send one PlaybackFinish event for each sound file still to be played.  If the list is big, Asterisk is sending lot of events.
> This patch adds STASIS_PLAYBACK_STATE_ERROR state (ASTERISK-29463 please) so we can understand that the play failed. On that case we don't send the event, if we still have a list of sounds to be played.
> When we reach the last sound, we fired the PlaybackFinish with the error state.
>  



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



More information about the asterisk-bugs mailing list