SUPPORT.TWILIO.COM END OF LIFE NOTICE: This site, support.twilio.com, is scheduled to go End of Life on February 27, 2024. All Twilio Support content has been migrated to help.twilio.com, where you can continue to find helpful Support articles, API docs, and Twilio blog content, and escalate your issues to our Support team. We encourage you to update your bookmarks and begin using the new site today for all your Twilio Support needs.

Building a Voicemail using Twiml Bins

Here you will find the steps to configure a voice mail with one of your Twilio numbers. You will work on creating a simple voicemail using just Twiml Bins and your Twilio number.

You will make use of two Twiml verbs Say & Record

Step-by-Step:

  • Go to your Twilio console:  console.twilio.com
  • On the search bar, search for "Twiml Bins" 



  • Click on TwiML Bins, you will see any Twiml you previously created and the symbol: mceclip0.pngto create a new one.
  • Click the “+” sign to create a new Twiml Bin and come up with a friendly name to add to the example below. This example will say the word “Message” to your caller and record the call.
    <?xml version="1.0" encoding="UTF-8"?>
    <Response>
    <Say> Message </Say>
    <Record playBeep="true"  />
    </Response>
  • Once you are happy with your message, click on the Save button.mceclip1.png
  • Now go to your Twilio numbers in console and click the number you want to configure with the voice mail.
  • Configure the number with the Twiml created by selecting it from the dropdown:
  • After this, click the Save button, and you should be good to go!

Once someone calls your Twilio number, Twilio will execute the Twiml Bin selected, play your message and record the phone call. You should be able to see the recordings within the Twilio Console - Monitor/Call Recordings section of your account. 

Legal Implications of Call Recording

If you choose to record calls, you need to comply with certain laws and regulations, including those regarding obtaining consent to record (such as California’s Invasion of Privacy Act and similar laws in other jurisdictions). Additional information on the legal implications of call recording can be found here.

Notice: Twilio recommends that you consult your legal counsel to make sure that you are complying with all applicable laws in connection with communications you record or store using Twilio.

Related Topics

 

 

Have more questions? Submit a request
Powered by Zendesk