<div dir="ltr"><div dir="ltr">On Thu, Aug 6, 2020 at 7:28 PM Dan Cropp <<a href="mailto:dan@amtelco.com">dan@amtelco.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-US">
<div class="gmail-m_-7361785077661291119WordSection1">
<p class="MsoNormal">Should the ARI DELETE /playback/{playbackId} be able to stop a playback when a number is being played?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Here is a test I am running.  I am playing multiple portions (sounds and numbers).<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">curl -v -u asterisk:asterisk -X POST <a href="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" target="_blank">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</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">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.<u></u><u></u></p>
<p class="MsoNormal">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.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">curl -v -u asterisk:asterisk -X DELETE <a href="http://localhost:8088/ari/playbacks/3b38730d-7954-4c50-9cdc-e4643ffc8c62" target="_blank">http://localhost:8088/ari/playbacks/3b38730d-7954-4c50-9cdc-e4643ffc8c62</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I am using 16.12.0<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Is there some reason a DELETE playback doesn’t work during a number portion or is this a bug?</p></div></div></blockquote><div><br></div><div>They are two separate paths and implementations, and I don't think the number part has implemented the handling of stop and such. </div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-family:tahoma,sans-serif"><font color="#073763">Joshua C. Colp</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Asterisk Technical Lead</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Sangoma Technologies</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Check us out at <a href="http://www.sangoma.com" target="_blank">www.sangoma.com</a> and <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a></font><br></div></div></div></div></div></div></div></div></div></div></div>