[App_rpt-users] End of Audio File Playback Indication

Stacy kg7qin at arrl.net
Tue Jan 14 07:42:15 UTC 2020


On 1/13/20 8:45 PM, Ed Wilhelm wrote:
>
> OK Asterisk gurus, here’s my problem. Working on a little project that
> goes like this:
>
>  1. Send DTMF command to ASL that calls a script. This script is also
>     sending commands to another program.
>  2. Play an audio file over ASL indicating the function being performed.
>  3. 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!
>     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.
>

Ed,

Look at the Asterisk Gateway Interface (AGI) function of Asterisk.

https://www.voip-info.org/asterisk-agi/

-Stacy

KG7QIN


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.keekles.org/pipermail/app_rpt-users/attachments/20200113/c869b8d9/attachment.html>


More information about the App_rpt-users mailing list