Skip to content
manumoreira edited this page Nov 11, 2020 · 3 revisions

Twilio

Twilio is a cloud-based tool that allows software developers to programmatically make and receive phone calls and send and receive text messages using its web service APIs. Twilio's services are accessed over HTTP and are billed based on usage.

Creating a Twilio account

Before configuring a Twilio Channel, you'll need to create a Twilio account. Head over to Twilio and create a new account to start using the service. You will start with a trial account, which may be enough for testing, but later you might want to upgrade to a paid account.

Once you are getting started, choose to Get your Twilio number, making sure it has Voice capabilities enabled. You can read more about getting your first Twilio number on the Twilio basics FAQ.

Configuring a Twilio Channel

To configure a new Twilio Channel, go to the Channels tab and choose to create a new Twilio Channel. Once on the channel settings, you need to fill:

  • Name: A friendly name for the channel, so you can identify it.
  • Call flow for incoming calls: The call flow, defined in the Call Flow section of a Project, that will be executed when a call is received by Verboice via this channel.
  • Account SID and Token: Your Twilio API Credentials. You may find them under the option Show API Credentials in your Twilio Voice, SMS & MMS page.
  • Number: Twilio phone number associated with this channel.
  • Limit: Number of concurrent outgoing calls; by default 1.
  • Base URL: default is https://api.twilio.com/2010-04-01/ other Twilio Edge Locations can de used

After a few minutes, in the Channels section, the grey icon next to the newly configured Twilio should turn green, indicating that configuration was successful.

Working with trial accounts

Note that if you are working with a Twilio trial account, you need to verify a phone number before placing a call to it; also, you may call only to phones in a limited set of countries.

These restrictions are removed once you upgrade to a paid account.