Asterisk Beep Detection

Posted on 2011-05-11
Last Modified: 2013-11-13
I am using Asterisk

I am using AMD in my dialplan.  When AMD returns machine, it does not mean that the call is ready to start playing the sound files for the Answer Machine left message.  What I need to do is wait for the beep, and then start playing the files.  How can I do that?

Question by:Iamtehbest
    1 Comment
    LVL 25

    Accepted Solution

    After the detection you need to throw in at least one WaitForSilence.

    You are not looking for the beep specifically but for the silence after the message has played and the beep has finished.  It may work better to do two wait periods.  The first waits for the end of the message played and the second for the beep to finish.  Sometimes there is a bit of silence between the end of the message and the beep.

    In most cases voicemail/answering machines have a decent timeout period before they hang up.  So waiting for a few seconds of silence is not a problem.

    Here's a couple reference links if you need them,




    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    This is about my first experience with programming Arduino.
    Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
    An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    26 Experts available now in Live!

    Get 1:1 Help Now