Answering machine detection for call center outbound dialing
Hear in the first seconds whether a person or a voicemail greeting picked up, then pass live answers to an AI voice agent with natural text to speech or drop a message after the beep. $0.004 per call after 5,000 free.
Write the voicemail drop and the live opener
Answering machine detection, or AMD, listens to the first seconds of an outbound call and decides whether a live person or a recorded greeting answered. PyAI AMD detection weighs the greeting length, the silence after hello and the beep that ends a mailbox message, then returns human, machine or unknown to your webhook. A human result hands the line to the voice agent, and a machine result can wait for the beep before a voicemail drop plays. Every answered call after the first 5,000 costs $0.004, with no monthly fee. Detection, speech and the phone line share one session on PyAI voice infrastructure, so no audio is passed between vendors mid call.
How answering machine detection routes a call
Every dial runs the same check. AMD decides who picked up, then your flow sends the call to a person, a message or the next number.
The dialer places the call from your list.
AMD listens to the first seconds of audio.
Human, machine or unknown goes to your webhook.
A person answers
HumanConnected to a rep or an AI agent
UnknownTreated as a person, so nobody hears silence
A machine answers
Beep foundVoicemail drop plays after the greeting ends
No messageCall ends and the number is queued for later
Live answers, machines and drops for every list, by hour.
Where call centers use answering machine detection
Outbound teams add AMD wherever a wasted greeting costs agent time or a bad first line costs the call.
Connect only live answers to reps
Reps stop hearing greetings and start every call with a person.
When AMD returns human, the call goes straight to a free rep or an AI agent. Machine results skip the queue, so a rep's hour is spent talking, not listening to rings and greetings.
Drop a message after the beep
Leave a short, consistent message when a machine answers.
Voicemail detection waits for the end of the greeting, then plays a recorded or Speak voiced message. Every prospect hears the same clean message with a call back number.
Start AI voice agents at the right moment
An AI agent speaks only when a person is on the line.
An agent that talks over a greeting sounds broken. AMD holds the agent until it hears a human, so the first line lands on a person who just said hello.
Clean the dial list
Mark numbers that always reach a machine.
Numbers that return machine on several attempts can move to a different time slot or a text follow up, which keeps the next campaign focused on reachable people.
Balance speed against false positives
Set how long detection listens before it decides.
A longer listening window marks fewer real people as machines but adds silence on live answers. Teams test both settings on sandbox calls, track false positives and false negatives apart, and keep the one that fits the campaign.
Reminder and notice calls
Pick the right script for a person or a mailbox.
A live answer hears the full reminder with press 1 to confirm. A mailbox hears a shorter version with only the date and a call back number.
Answering machine detection cost calculator
Set the call volume, call length and how long a call takes your staff to dial by hand. The total includes the agent, phone minutes and answering machine detection.
AI voice agent (Agents)$533.33
Phone minutes$200.00
Answering machine detection$60.00
AMD and the AI voice agent on real phone lines
Answering machine detection has to make its call inside a few seconds on 8 kHz phone audio, often with background noise and short greetings. PyAI AMD returns human, machine or unknown so your flow never treats a guess as a fact. When a machine answers, Speak can voice the drop in about 53 ms to first audio, and when a person answers, an AI agent replies in about 390 ms voice to voice.
Abandoned calls, consent and AMD
Detection changes how fast a call reaches a person, which matters under telemarketing rules. Here is what to set up. This is not legal advice.
Build an answering machine detection from your own code
Build it yourself on Agents, with three ways in from your own code. Full docs: PyAI SDKs.
Point the OpenAI SDK at PyAI by swapping the base URL, and Agents runs your answering machine detection with no rewrite.
Your keys and limits stay the same across Python and JavaScript on the team.
pip install pyai
Through MCP, an assistant carries out a call as one step, using your answering machine detection setup with no glue code.
Running a call becomes one tool call among the others the assistant already makes.
pyai mcp add
Render the opening line your agent speaks from the command line with your keys, no code to write.
Each command returns audio in WAV, PCM or G.711, ready for a phone line.
pyai speak "..."
Answering machine detection FAQ
What is answering machine detection?
Answering machine detection is a call feature that listens to the first seconds after an outbound call connects and decides whether a person or a voicemail system answered. The dialer then routes live answers to an agent and sends machine answers to a voicemail drop or a hang up.
How accurate is AMD detection?
No AMD is perfect. A short business greeting can pass for a person, and a long hello can pass for a machine. Labelling a person as voicemail is the costlier mistake, so good setups return unknown instead of guessing. Tune the listening window on test calls, which never bill on PyAI sandbox keys.
How long does voicemail detection take?
Most results arrive within the first two to three seconds of the answer. Waiting longer raises accuracy but adds silence for a live person. Many teams play a short hello while detection runs, so a real person does not hear dead air and hang up.
How much does answering machine detection cost on PyAI?
PyAI AMD is free for the first 5,000 answered calls, then $0.004 per call, with no monthly fee. A campaign of 20,000 answered calls a month costs about $60 for detection. New accounts get $50 in credit with no credit card required.
Is answering machine detection legal?
AMD is a technical feature, but US telemarketing calls it runs on must connect a live answer to a rep within two seconds of the greeting or play a short message naming the seller. Abandoned calls must stay at or under 3 percent per campaign over 30 days. This is not legal advice.
Does PyAI AMD decide what happens after detection?
No. PyAI AMD returns whether a person or a voicemail system answered, and your call flow decides the next step. A sales dialer can connect a live answer to a rep, while a reminder flow plays a short voicemail after the beep. Both paths stay under your control in code.