Using Answering machine detection on Twiml

Viewed 1113

I would like to implement Answering machine detection in TwiML to prevent voicemail answer the phone. I have the following TwiML bin configuration for my Twilio number:

<?xml version="1.0" encoding="UTF-8"?>
<Response>
  <Dial timeout="10">UK_NUMBER</Dial>
  <Dial>US_NUMBER</Dial>
</Response>

According to this stackoverflow request I can use AMD only with REST API and not TwiML. Use IfMachine in TwiML when using <Dial>

However this request is quite old,do you know if it is possible to use Answering machine detection in TwiML now? If yes, please provide me with an example.

Or if it is not possible could you give please me any other options to solve the problem using TwiML?

1 Answers

Nikolay, as mentioned above, our enhanced AMD is still available just through the REST API with the MachineDetection parameter.

Related