On this page
Answering machine detection (AMD) listens to the first few seconds of an answered call and guesses whether a person or a voicemail picked up. While it listens, nobody on your side speaks, so the person who said "hello" hears silence and often hangs up. You fix it by talking while you detect, waiting for the beep before leaving a message, and checking your AMD results against real recordings.
How answering machine detection works
You do not want an agent sitting through voicemail greetings, so AMD tries to sort calls before anyone on your side joins. There are three common ways to do it.
Cadence and silence analysis
This is the classic method, and it is what Asterisk (and so VICIdial) uses out of the box. The Asterisk AMD application does not understand words. It measures sound and silence. A person tends to say something short, like "Hello?", and then stop and wait. A voicemail greeting tends to start after a pause and run on: "Hi, you've reached Sam, I can't come to the phone right now..."
So the rules are about timing. Too much silence at the start, a greeting that runs too long, or too many words in a row all point to a machine. A short greeting followed by silence points to a person. If the system cannot decide in time, it returns NOTSURE.
The defaults in the Asterisk sample configuration show how tight these windows are:
; Illustrative only: the values shipped in Asterisk's amd.conf.sample (milliseconds)
[general]
initial_silence = 2500 ; silence before a greeting longer than this = MACHINE
greeting = 1500 ; greeting longer than this = MACHINE
after_greeting_silence = 800 ; silence after a greeting longer than this = HUMAN
total_analysis_time = 5000 ; give up and return NOTSURE after this
maximum_number_of_words = 2 ; more words than this = MACHINE
Read that last line again. With the stock setting, a person who answers "Hello, this is Maria speaking" has said more than two words, which points the detector toward MACHINE.
Beep detection
Beep detection answers a narrower question: has the voicemail tone played yet? FreeSWITCH's mod_avmd listens for a single-frequency tone and fires an event when it hears one. Its documentation is clear that it detects the beep and does not decide whether a person or a machine answered. That makes it the right tool for timing a voicemail message, and the wrong tool on its own for deciding whether to hang up.
AI and LLM-based classification
Newer systems transcribe the first few seconds and ask a language model what it heard. "You've reached the voicemail of..." or "Please leave a message after the tone" is easy to classify from the words. So is an iPhone or Android call screening assistant asking who is calling, which a timing-based detector can easily mistake for a person. The cost is that the system needs some speech before it can decide, and speech-to-text plus the model call take time.
| Method | What it listens for | Good at | Weak at |
|---|---|---|---|
| Cadence and silence | Lengths of sound and silence | Fast, cheap, built into Asterisk | Long human greetings, short voicemail greetings, noisy lines |
| Beep detection | The voicemail tone | Knowing when to start a message | Deciding person or machine |
| AI or LLM classification | The words being said | Reading greetings and call screeners | Needs speech first, adds processing time |
The trade-off: false positives and false negatives
Every AMD setup makes two kinds of mistake. Twilio's AMD guide uses the same terms most vendors do:
- False positive: a person answered, and AMD said "machine". Your dialer hangs up on a real prospect, or plays a recorded message at them.
- False negative: a machine answered, and AMD said "human". An agent, or an AI agent, starts a conversation with a voicemail greeting.
You cannot drive both to zero by tuning. Tighten the rules to catch more voicemails and you hang up on more people. Loosen them to protect people and more voicemails reach your agents. Twilio's guide also warns that pushing for faster answers tends to raise the number of "unknown" results, because the detector has less audio to work with.
For most outbound teams a false positive is the costly one. The lead picked up, and you hung up. In a VICIdial setup, that lead may also be marked with a machine status such as AA (dialer-detected answering machine, per the VICIdial status list), so nobody follows up on what was actually a live contact.
Why AMD adds silence after "hello"
Here is the sequence on a typical predictive dialer, for example:
- The carrier signals that the call was answered.
- The person says "Hello?"
- AMD keeps listening, waiting for enough silence to call it HUMAN, or for a timeout.
- Only then is the call routed to an agent, and the agent's screen pops.
- The agent reads the name and starts talking.
Steps 3 to 5 are all silence from the caller's side. Twilio states it directly: because the call is not connected until detection finishes, AMD introduces several seconds of silence for the callee. With the Asterisk default of a 5,000 ms total analysis time, a NOTSURE result can take the full five seconds before routing even starts.
People have learned what that silence means. A pause after "hello" sounds like a robocall, so many hang up before anyone speaks. That contact is gone, and the next call from your number starts with a little less trust.
What silent and abandoned calls cost you
Contact rates are already low. A Pew Research Center survey of US adults in 2020 found that only 19% generally answer calls from unknown numbers. When someone does pick up, a silent gap wastes a contact you worked hard to get.
There is also a rule side. In the United States, the FTC's Telemarketing Sales Rule treats a call as abandoned if the person is not connected to a sales representative within two seconds of their completed greeting. Its safe harbor requires, among other things, that no more than 3% of calls answered by a person are abandoned per campaign over each 30-day period, and that a recorded message with the seller's name and number plays when no representative is available. In the UK, Ofcom treats repeated silent and abandoned calls as persistent misuse and has specific expectations around answer machine detection.
Calling rules vary by country and change over time, and how rules written for human agents and recorded messages apply to an AI agent is a question for your own lawyer. This post is not legal advice.
How to fix dead air
Speak first while you detect
The simplest fix is to stop making the detection silent. Start talking as soon as the call is answered, and run detection in parallel. Twilio calls this asynchronous AMD: the call connects right away and the AMD result arrives in the background.
A human agent on a predictive dialer cannot do this, because they only hear the call after routing. An AI voice agent can open with a short, natural line ("Hi, is this Maria?") the moment the line opens, then listen to what comes back. If a voicemail greeting plays, it stops talking and switches to voicemail handling. If a person replies, the conversation is already going, with no gap.
Wait for the beep before leaving a message
If your campaign leaves voicemail messages, timing matters. Start too early and the first half of your message plays over the greeting, so the recording starts mid-sentence. Use beep detection, like mod_avmd, to start the message after the tone. Add a fallback timer for greetings with no beep, and remember that business greetings can be long. Twilio notes that its default 30-second end-of-message wait is often not enough for business voicemails.
A message is worth leaving. In the same Pew survey, 67% of US adults said they do not answer unknown numbers but do check a voicemail if one is left.
Decide what NOTSURE should do
Asterisk returns NOTSURE when it runs out of time. Decide on purpose where those calls go. Sending them to agents protects people but adds dead air and some voicemails. Hanging up on them saves agent time but drops real prospects. An AI agent that speaks first changes the maths, because an unsure call can go to the AI, which works it out from the words.
Measure your AMD accuracy on real recordings
Do not guess, and do not trust a vendor's headline number. Measure your own campaign:
- Pull a random sample of recent answered calls, for example 200, spread across days, times and carriers.
- Include calls of every AMD result: HUMAN, MACHINE and NOTSURE.
- Have a person listen to the first ten seconds and mark what really answered.
- Count the false positives (people marked machine) and false negatives (machines marked human).
- Note how long the silence was between the first "hello" and the first word from your side.
- Change one setting, run the campaign, and sample again.
This needs recordings of the start of each call, including calls AMD hung up on, so check that your dialer records those. Twilio's guide also advises testing across many carriers, phones and greetings, not one test handset.
Where an AI voice agent fits
An AI voice agent changes what a detection mistake costs. A false negative becomes a short, polite voicemail. An unsure call gets a real opening line instead of silence. And because the AI is already on the line, there is no routing gap after "hello".
LeadPulse, the AI voice agent Procelo builds for call centres, detects voicemail by LLM, by audio beep detection (avmd) or both, and lets you choose to hang up, leave a message or ignore it per campaign. It can sit behind VICIdial or run its own campaigns, and the setup is explained in adding an AI voice agent to VICIdial. If you are weighing the bigger question, read can AI replace call center agents, or see why per-second billing matters for AI calling when most of your calls are short voicemail hits. To test it on your own campaign, book a call.
Frequently asked questions
What is answering machine detection?
Answering machine detection is the part of a dialer that decides whether a person or a voicemail answered a call. Classic systems measure sound and silence in the first few seconds. Newer ones also read the words with speech-to-text and an AI model.
Why is there silence when I answer some sales calls?
The caller's dialer is usually still running answering machine detection, then routing the call to a free agent. You hear nothing until both steps finish.
How accurate is answering machine detection?
It depends on your settings, your carriers and the greetings people use, so any single number is a guess. The only reliable figure is one you measure yourself by listening to a sample of your own recordings and counting the mistakes.
Should I hang up on voicemail or leave a message?
It depends on the campaign and your local rules. Leaving a short message after the beep often gets a callback, since many people check voicemail from numbers they did not answer. Make sure your message plays after the tone, not over the greeting.
Can an AI voice agent remove dead air completely?
It can remove the routing gap, because the AI speaks as soon as the call connects instead of waiting for detection to finish. There can still be a short pause while it hears and answers what the person said, so test with real calls.
Sources
- AMD (dialplan application), Asterisk documentation, 2024
- amd.conf.sample, Asterisk project on GitHub, 2024
- mod_avmd: answering machine and beep detection, SignalWire FreeSWITCH documentation, 2025
- Answering Machine Detection FAQ and best practices, Twilio, 2025
- VICIDIAL statuses, VICIdial Group, 2024
- Most Americans don't answer cellphone calls from unknown numbers, Pew Research Center, 2020
- 16 CFR 310.4: Abusive telemarketing acts or practices, Legal Information Institute, Cornell Law School, 2024
- Revised statement of policy on the persistent misuse of an electronic communications network or service, Ofcom, 2016




