In this post, we will see how to resolve How to deliver a voice mail to a users voice mail box using Twilio?
Question:We are able to record voice mail with Twilio Voice and Node.js and we have the recording URL. We need this recording to be delivered to the user’s voice mail inbox (carrier side).
This is what we’ve got so far.
Endpoint for recording:
voiceMailURLis the URL with the recording that needs to be delivered to user voice mail inbox at carrier side.
Best Answer:Twilio does not provide a way to deliver voicemails straight to a voicemail inbox. However, this may also not be the best user experience, as the patient may actually want to pick up the call if they can.
Here are some alternative solutions that you could build:
- Call the phone number and use Answering Machine Detection to detect a voicemail inbox. Based on whether it’s a voicemail inbox, you can apply different logic.
- Build your own voicemail inbox using node.js and Twilio that the patient can call and interact with. When a new voicemail message is added, you can call or text the patient.
If you have better answer, please add a comment about this, thank you!