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.
- 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: to 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.
<Say> Message </Say>
<Record playBeep="true" />
- Once you are happy with your message, click on the Save button.
- 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.
- Recording a Phone Call with Twilio
- Legal Considerations with Recording Voice and Video Communications
- How much does it cost to record a call?
- Twilio Programmable Voice: Recording (Twilio Docs)