Twilio unable to send recorded voicemail to SMS

190 Views Asked by At

I created a simple call screener using Twilio Studio Flows.

How it works:

  1. Someone calls my Twilio number
  2. A greeting is played
  3. If they hang-up or record audio
  • Twilio sends a SMS text, with the audio recording URL, to my actual phone number
  • The Media URL value is {{widgets.RECORD_VM.RecordingUrl}} according to the docs

Visual:

enter image description here

Problem:

enter image description here

  • If I drill into one of the errors and replay the request, the audio recording is returned.

enter image description here

  • It feels like there needs to be a pause between the time the RECORD_VM step and SEND_SMS steps in the Flow.
  • Some pause to give Twilio time to write the audio recording to a database so it can be retrieved by the SEND_SMS step.
  • But it I don't see an option for this in Flow.

How should I troubleshoot and address this?

1

There are 1 best solutions below

0
On

The fix ended up being:

  • Move {{widgets.RECORD_VM.RecordingUrl}} from the MEDIA URL field to the MESSAGE BODY field as shown.
  • (Thanks to Akash @ Twilio Support!)

enter image description here