Using Twilio Studio and our flow is set to "Connect Call To" widget a generic phone unless an extension is entered, then "Connect Call To" widget a person's desk phone, this is using the "Split Based Upon" widget. Problem occurs when a user does not pick up their phone and a timeout occurs. How does the flow send the user back to the Twilio "Record Voicemail" widget?
You need to add a Split Based Upon after Call Complete. In the Variable To Test dropdown box, type {{widgets.connect_call_1.DialCallStatus}}
(replace connect_call_1
with the name of your widget).
Create a transition for Equal To no-answer
. Connect this to a Say/Play and then to a Record Voicemail. Leave No Match disconnected so that the call will end if the targeted extension hangs up.
I was able to figure this out. The previous answers don't have the up to date Twilio "Connect Call To" feature documented.
DialCallStatus
of the Connect Call To widget value is equal to no-answer
, failed
, and busy
. That way if the caller you are trying to connect to either pushes end before call connects, it times out, or it fails for whatever reason, it'll send you to the next thing.I've attached a picture below for reference.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With