smartpctech
smartpctech

Reputation: 27

how to bypass answering machine in twilio

I want to initiate a call from my Twilio number to a customer and say something using the <Say> verb.

It works fine for me, but some customers have answering machines and they could not pick up the calls and listen to the verb.

How can I make Twilio bypass the answering machine?

Upvotes: 0

Views: 538

Answers (1)

somedev
somedev

Reputation: 1053

There's a parameter for that, but it isn't very reliable.

The parameter is IfMachine. Add it to the HTTP POST like this:

POST https://api.twilio.com/2010-04-01/Accounts/AC123/Calls
IfMachine=true&From=+1XXX&To=+1XXX&Url=http://example.com/twiml

Upvotes: 1

Related Questions