<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 1/13/20 8:45 PM, Ed Wilhelm wrote:<br>
</div>
<blockquote type="cite"
cite="mid:d4e60c43-bd47-3799-f388-154dcd4d406c@gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div class="cooked">
<p>OK Asterisk gurus, here’s my problem. Working on a little
project that goes like this:</p>
<ol>
<li>Send DTMF command to ASL that calls a script. This script
is also sending commands to another program.</li>
<li>Play an audio file over ASL indicating the function being
performed.</li>
<li>Now the tricky part, wait until audio playback has
completed before moving on to the next command in the
script. Don’t want Allison’s lovely voice coming out of
places she should not!<br>
How can I do this? Seems like a simple task until you go to
do it. I know there is a ${PLAYBACKSTATUS} variable in the
system that returns SUCCESS or FAILURE, but not quite sure
how to go about accessing it.</li>
</ol>
</div>
</blockquote>
<p><br>
</p>
<p>Ed,</p>
<p>Look at the Asterisk Gateway Interface (AGI) function of
Asterisk.</p>
<p><a class="moz-txt-link-freetext" href="https://www.voip-info.org/asterisk-agi/">https://www.voip-info.org/asterisk-agi/</a><br>
</p>
<p>-Stacy</p>
<p>KG7QIN</p>
<br>
</body>
</html>