What is Voicemail

Voicemail will ask the user to leave a message, and will email a link to the audio recording and a speech-to-text transcription of the recording to a specified email address.

How to Use Voicemail

Direct your call flow to this url:

http://twimlets.com/voicemail

Parameters to Send

The following parameters may/must be sent:

Attribute Name Allowed Values Required?
Email Any email address Y
Message A string of text to read, or an HTTP url of a file to play. If not provided, a default message will be played. N
Transcribe Set Transcribe to true to transcribe voicemail messages to text and false to email just a link to the audio. (Defaults to True) N

Example Uses

Example 1

Take a message from the caller, and email a link to the audio and a speech-to-text transcription to sombody@somedomain.com. Use the default greeting message.

http://twimlets.com/voicemail?Email=somebody@somedomain.com

Example 2

Read "Please leave a message", then take a message and email it to somebody@somedomain.com.

http://twimlets.com/voicemail?Email=somebody@somedomain.com&Message=Please+Leave+A+Message

Example 3

Play back a recorded greeting, then take a message and email it to somebody@somedomain.com.

http://twimlets.com/voicemail?Email=somebody@somedomain.com&Message=http://myserver.com/please-leave-message.mp3

Example 4

Take a message from the caller, and just email a link to the audio (but not the speech-to-text transcription) to somebody@somedomain.com

http://twimlets.com/voicemail?Email=somebody@somedomain.com&Transcribe=false

Try It Out!

Using our Twimlet Generator, you can build up a Twimlet URL right here:

Open Source

Twimlets are open sourced, you are free to download, modify and run the code on your own server. View the Source.

Note: Uses the Open Source Twilio PHP library available on GitHub.