[asterisk-bugs] [JIRA] (ASTERISK-26341) ARI: Stopping a media playlist only stops the current media URI being played back, and not the whole list

Matt Jordan (JIRA) noreply at issues.asterisk.org
Tue Sep 6 15:26:01 CDT 2016


Matt Jordan created ASTERISK-26341:
--------------------------------------

             Summary: ARI: Stopping a media playlist only stops the current media URI being played back, and not the whole list
                 Key: ASTERISK-26341
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26341
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Resources/res_ari_playbacks
            Reporter: Matt Jordan


When issuing a {{stop}} to a media playlist, the expected behavior is that the entire playlist (which is represented by a single {{Playback}} object) is stopped and deleted.

What actually happens is that the current media URI is "stopped", but subsequent media URIs play on. That results in a slightly weird situation:
# We no longer have a {{Playback}} object, because we just deleted it
# We just told something that has a single handle to be stopped, but instead it keeps on going (although it did stop *one* of its media URIs, I guess)

I blame the developer who wrote this code. Who allows [~mjordan] to write stuff any more, anyway?



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



More information about the asterisk-bugs mailing list