Introducing New Answering Machine Detection
Time to read: 7 minutes
Voice alerts and notifications work best when they’re tailored to their audience. That’s why we’re excited to announce a brand new, enhanced Answering Machine Detection (AMD) feature for Twilio Programmable Voice. AMD determines if a person, answering machine, or fax picked up your call so you can deliver the right message, the right way.
This new AMD enables you to create the best possible customer experience, while gathering valuable data about how often your calls are picked up by humans or machines. For outbound sales and marketing contact centers, it nearly eliminates the time-wasting experience of an agent picking up a call only to hear an answering machine message.
Powered by a machine learning algorithm trained on thousands of call samples, the new AMD is tuned for speed and accuracy and offers a 94% accuracy rate across a large sample set of calls from the US and Canada. This new system has significant performance improvements over our old Answering Machine Detection system, which is now deprecated.
This system works in two modes:
- Recognizes who picked up the call and immediately calls back to your application with the result. This mode is useful if you’re trying to reach only humans with an urgent message.
- Detects the end of an answering machine greeting and calls back to your application once the greeting has ended. This allows you to leave a complete message on an answering machine – no more cut off or delayed messages.
Let’s dive into the details of the API.
How Does It Work?
Answering Machine Detection introduces two new optional parameters on the create call API request.
Optional Parameters
MachineDetection
MachineDetectionTimeout
unknown
result. Defaults to 30 seconds.
A request to create a call with Answering Machine Detection would look like this:
How about the response?
Answering Machine Detection overrides the AnsweredBy parameter on the voice request and provides a different set of values depending on the mode specified by MachineDetection.
AnsweredBy
An example of a Twilio Voice request with Answering Machine Detection enabled is below. In this case the call was created with MachineDetection set to DetectMessageEnd and an answering machine picked up.
Called | +14154659083 |
ToState | CA |
CallerCountry | US |
Direction | outbound-api |
CallerState | AL |
ToZip | 94904 |
CallSid | CA733c5faadcfbff735a5ce352097c928e |
To | +14154659000 |
CallerZip | 36203 |
ToCountry | US |
ApiVersion | 2010-04-01 |
CalledZip | 94904 |
CalledCity | SAN FRANCISCO |
CallStatus | in-progress |
From | +12564195234 |
AccountSid | AC25e16e9a716a4a1786a7c83f58e30462 |
CalledCountry | US |
CallerCity | ANNISTON |
Caller | +12564195234 |
FromCountry | US |
ToCity | SAN FRANCISCO |
FromCity | ANNISTON |
CalledState | CA |
FromZip | 36203 |
AnsweredBy | machine_end_beep |
FromState | AL |
Pricing
Enhanced Answering Machine Detection will be charged at $.0075 per call where enabled and the called party picks up (either a human, fax, or an answering machine). Busy or Failed calls may engage our AMD system but will not be charged.
How To Enable It
Enhanced Answering Machine Detection is in public beta and you can start experimenting with it today. It currently supports calling to the United States and Canada.
Support for the UK is under development and other countries will be added based on demand. If you’d like to use AMD in a country we do not support, please send a ticket to help@twilio.com and we will prioritize accordingly.
Have a look at the documentation here. If you have any questions don’t hesitate to reach out to our Sales team.
We can’t wait to see what you build.
Related Posts
Related Resources
Twilio Docs
From APIs to SDKs to sample apps
API reference documentation, SDKs, helper libraries, quickstarts, and tutorials for your language and platform.
Resource Center
The latest ebooks, industry reports, and webinars
Learn from customer engagement experts to improve your own communication.
Ahoy
Twilio's developer community hub
Best practices, code samples, and inspiration to build communications and digital engagement experiences.