Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Make twilio leave a message after the beep

I am using Twilio to make calls to my clients to remind them of certain dates. Since some people dont pick up these calls, I would like to make my Twilio leave a voice message on their answering machines.

Is that possible? If yes how?

Thanks

like image 683
wael34218 Avatar asked Oct 13 '11 17:10

wael34218


People also ask

Can twilio leave voicemail?

If you would like to leave a voicemail on an answering machine, specify DetectMessageEnd . In this case, Twilio will return an AnsweredBy immediately when a human is detected but for an answering machine, AnsweredBy is returned only once the end of the greeting is reached, usually indicated by a beep.

Does twilio offer voicemail?

With Twilio's suite of tools, it's easy to create a fully functioning voicemail box for Flex. This guide walks you through creating a special voicemail-specific TaskRouter queue with no agents, and a workflow to send tasks to this queue after they've waited for 30 seconds.

How do I get twilio call status?

Call Status Callbacks There are two ways to tell Twilio which URL to use. You can: Set the StatusCallback parameter on a Call resource for an outgoing phone call that uses the REST API. Set the statusCallback attribute on the <Number> element in TwiML.

How do you send a voicemail on twilio?

Place a voice message to your Twilio numberCall your Twilio number, leave a message, and then hang up. Wait a few seconds for your voice message to be transcribed, and then you should receive an SMS to your phone number of the transcribed message as well as who sent the message!


1 Answers

From the RestAPI docs about the IfMachine parameter:

If Twilio detects that a machine, not a human, has answered the call, Twilio will make a request to your application URL setting 'AnsweredBy' to 'machine'. The call flow will proceed as normal, and your application can choose to customize the content of the call for a recorded greeting. Twilio will wait until the familiar "BEEP" of an answering machine to begin executing your call flow, so the machine (or voicemail) will capture <Play> or <Say> content. Keep in mind that if a machine answers you'll want to avoid using <Gather> or <Record> because they require user input.

Also note:

Answering machine detection is an experimental feature, and support is limited.

like image 165
Tim Lytle Avatar answered Oct 14 '22 00:10

Tim Lytle