[asterisk-users] ARI Stop Playback

Dan Cropp dan at amtelco.com
Thu Aug 6 17:27:40 CDT 2020


Should the ARI DELETE /playback/{playbackId} be able to stop a playback when a number is being played?

Here is a test I am running.  I am playing multiple portions (sounds and numbers).

curl -v -u asterisk:asterisk -X POST http://localhost:8088/ari/channels/1596750578.46/play?media=sound:hello-world,sound:tt-monkeys,number:553,sound:demo-instruct,number:123,number:456,number:789

If I attempt to stop while any of the numbers portions is being played, it does not stop the playback.  I hear a skip or hiccup, but it continues playing.
When I send the same exact stop playback a few seconds later (after the 553 portion playing the sound portion), it does stop the playback.  I have run this test several times and it's failing.

curl -v -u asterisk:asterisk -X DELETE http://localhost:8088/ari/playbacks/3b38730d-7954-4c50-9cdc-e4643ffc8c62

I am using 16.12.0

Is there some reason a DELETE playback doesn't work during a number portion or is this a bug?

Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20200806/1c89db58/attachment.html>


More information about the asterisk-users mailing list