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.
unknownresult. Defaults to 30 seconds.
A request to create a call with Answering Machine Detection would look like this:
curl 'https://api.twilio.com/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXX123456789/Calls.json' -X POST \ --data-urlencode 'To=+1562300000' \ --data-urlencode 'From=+18180000000' \ --data-urlencode 'MachineDetection=Enable' \ --data-urlencode 'Url=https://handler.twilio.com/twiml/EH8ccdbd7f0b8fe34357da8ce87ebe5a16' \ -u ACXXXXXXXXXXXXXXXX123456789:[AuthToken]
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.
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.
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 firstname.lastname@example.org 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.