SUPPORT.TWILIO.COM END OF LIFE NOTICE: This site, support.twilio.com, is scheduled to go End of Life on February 27, 2024. All Twilio Support content has been migrated to help.twilio.com, where you can continue to find helpful Support articles, API docs, and Twilio blog content, and escalate your issues to our Support team. We encourage you to update your bookmarks and begin using the new site today for all your Twilio Support needs.

How do I make an outgoing call from a Studio flow?

Objective

This article shows you how to add and configure the Make Outgoing Call widget so your Studio flow dials a number, and how to set up recording, answering machine detection, and SIP authentication for that call.

 

Product

Studio, Programmable Voice

 

Environment

Twilio Console

 

User Account Permission/Role(s) Required

Editing a flow requires the Studio flows create and update permissions on the account.

 

Procedure

  1. In the Twilio Console, select Orchestration in the left sidebar.
  2. Select Studio, then Flows.
  3. Select the flow you want to edit to open the Editor tab.
  4. Open the widget library and drag Make Outgoing Call onto the canvas.
  5. Select the new widget to open its configuration panel.
  6. Enter the destination in Number to call and the caller ID in Number to make call from.
  7. Set Timeout to the number of seconds to let the call ring before giving up.
  8. To record the call, select Record Call, then set:
    1. Recording channels: for example Dual Channel to record each side separately.

    2. Recording status callback URL: where Twilio should notify you when the recording is ready.

    3. Trim Silence: to trim silence from the start and end of the recording.

  9. To detect an answering machine, select Detect Answering Machine, optionally switch it to Detect Machine End, and set Machine detection timeout (s).
  10. For a SIP destination, enter SIP user name and SIP password. To send tones once the call connects, enter them in Send digits.
  11. Select Save.
  12. Open the Transitions tab and choose where the flow goes next for If answered, If no answer, If busy, If call failed, and, where available, If answered by machine.
  13. Select Publish to make the change live.

 

Additional Information

  • Recording and answering machine detection settings only appear once you enable the matching option, so turn the option on before looking for its fields.
  • Detect Answering Machine returns as soon as it decides a machine answered; Detect Machine End waits for the greeting to finish first, which is what you want before leaving a voicemail.
  • Wire up If busy, If no answer, and If call failed as well as If answered, otherwise an unanswered call leaves the flow with nowhere to go.

 

 

This content was generated by AI and reviewed, edited, and verified by a human.

Have more questions? Submit a request
Powered by Zendesk