Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The process for sending a voicemail message for outbound calls through Twilio Voice when there is no response is as follows:

  1. Define a TwiML response to handle a voicemail if there is no answer.

  2. Set the "action" attribute in the <dial> verb to point to the TwiML response defined in step 1.

  3. Configure the <number> verb within the <dial> verb to call the desired phone number.

  4. Define a <record> verb within the TwiML response to record the voicemail.

  5. Optionally, configure the <sms> verb within the TwiML response to send a notification SMS to the recipient about the voicemail.

  6. Save and deploy the updated TwiML code to Twilio.

  7. Place an outbound call using the updated TwiML code.

  8. If there is no response from the recipient, the TwiML response will be executed and the voicemail will be recorded.