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 a test call with Twilio Client from a TwiML App?

Objective

This article helps you place a test call straight from the console using Twilio Client, so you can confirm that a TwiML App's call handling works, including sending keypad tones into your call flow, without needing a phone or a client application of your own.

 

Product

Programmable Voice

 

Environment

Twilio Console

 

User Account Permission/Role(s) Required

Your user needs permission to read TwiML Apps on the account. Without it, the console shows an access-required message instead of the settings form.

 

Procedure

  1. In the Twilio Console, select Builder tools in the left sidebar.
  2. Select TwiML host & config, then TwiML apps.
  3. Select the app you want to test, then select the Voice tab.
  4. Confirm the app's Request URL is set, under Primary call control configuration. The test call follows this URL.
  5. Select Test call with Twilio Client, under Primary call control configuration. Allow your browser to use your microphone if it asks.
  6. The Twilio client dialog opens and the call connects. It shows a Time on call timer counting the call duration.
  7. Use the keypad in the dialog — digits 0 to 9, plus * and # — to send keypad tones into your call flow. You can also press the matching keys on your keyboard.
  8. Select End call to hang up. Once the call has ended, the action becomes Redial so you can place another test call.
  9. Select Close, select the dialog's close control, or press Escape to close the dialog. Closing it hangs up any call still in progress.

 

Additional Information

The Test call with Twilio Client action is available on accounts in the US1 region.

If your app's Request URL is not set or cannot be reached, the dialog reports Voice URL is not configured or unreachable in place of the call timer label.

The dialog includes a Documentation link to the Twilio Voice JavaScript SDK reference, which opens in a new browser tab.

 

 

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

Have more questions? Submit a request
Powered by Zendesk