Get started with Voice
Are you ready for your AI Agent to start helping customers over the phone? This guide will help you get your AI Agent ready to smoothly and confidently help your customers in voice conversations.
This feature may not be included with your organization's subscription package. For more information, see Ada's Pricing page, or contact your Ada team.
Voice works by integrating a Twilio account with your AI Agent.
-
If your Voice subscription package includes Twilio, skip ahead to Enable Voice in multiple languages. Your Ada team will set up your Twilio account for you.
-
If you're using your own Twilio account, expand these instructions to prepare an account, phone number(s), and/or a SIP domain to use with your AI Agent:
Set up your Twilio account
-
If your organization doesn't already have one, set up an account with Twilio. For more information, see View and Create New Accounts in Twilio Console at Twilio's Help Center.
-
Set up one or more phone numbers with Twilio, using one of the following options:
-
Purchase a phone number through Twilio. For more information, see How to Search for and Buy a Twilio Phone Number from Console at Twilio's Help Center.
-
Port an existing phone number from another service provider to Twilio. For more information, see Porting a Phone Number to Twilio at Twilio's Help Center.
-
-
Submit your organization's toll-free phone number(s) to Twilio for verification.
-
If you are using a toll-free number with your AI Agent and you want to be able to send SMS messages from it during a phone conversation, you will need to submit a Toll-Free Message Verification request to Twilio. For more information, see Toll-Free Message Verification for US/Canada at Twilio's Help Center.
-
If you are using a local number with your AI Agent and you want to be able to send SMS messages from it during a phone conversation, you will need to submit an A2P (Application to Person) 10DLC (10 digit long code) registration request to Twilio. For more information, see Programmable Messaging and A2P 10DLC at Twilio's Help Center.
-
-
(Optional) Set up a SIP domain with Twilio.
Your AI Agent can also receive calls from your contact center infrastructure, transferred over the public internet using Session Initiation Protocol (SIP). To do this, you first need to create a SIP domain in Twilio.
-
Add at least one IP Access Control List (ACL) or Credential List in Twilio
An Access Control List (ACL) is a security measure that manages who can access your network resources by specifying allowed IP addresses. In SIP communications, using an ACL enhances security by ensuring only trusted traffic can reach your Twilio SIP domain, preventing unauthorized access.
This procedure takes you through configuring an IP ACL in Twilio, so Twilio only accepts SIP traffic that originates from your specified IPs. You can also choose to configure credential lists instead, so it only accepts traffic from specific usernames and passwords. For more information, see Inbound - Sending SIP to Twilio at Twilio’s Help Center.
-
Log into Twilio Console.
-
In your Twilio account, go to Develop > Voice > Manage > IP access control lists, then click Create new Access Control List. The Create new Access Control List window opens.
-
In the Create new Access Control List window, fill in the following fields:
-
Under ACL Friendly Name, enter a descriptive name that represents the purpose of the list (e.g.,
My Contact Center Platform IP Address
). -
Under IP Address Range Friendly Name, enter a name to help identify the IP Address range.
-
Under CIDR Network Address and Range, enter the specific IP address range that should be allowed access.
-
-
Click Create new ACL to save the list and close the window. Then, click Create new IP Address Range to add an additional IP range to the list. The Add IP Address Range window opens.
-
Repeat the previous steps for adding an IP Address Range.
-
-
Create a new SIP domain.
- Go to Develop > Voice > Manage > SIP domains.
- Click the plus sign to create a new SIP domain.
- Create a SIP URI/domain name. This property allows you to specify a global unique SIP domain that is used to route SIP traffic from your infrastructure over the public internet to the correct server hosted by Twilio in the cloud. For more information on SIP domains, see SIP URI/domain names at Twilio’s Help Center.
- If you wish to manually connect to a specific geographic Edge Location that is closest to the location of your communications infrastructure, see Localized SIP URIs at Twilio’s Help Center. This can reduce latency and improve call audio quality.
- Under Voice Authentication, beside IP Access Control Lists, select both of the IP Access Control Lists you created.
- Under Secure Media, click the toggle so it says Enabled.
- Click Save.
-
After getting your phone number and/or SIP domain set up with Twilio, you can connect it with your AI Agent.
Connect your Twilio account with your Ada AI Agent
In your Twilio account, you need to obtain your account string identifier (SID), and create an API key to use with Ada.
-
On the Ada dashboard, go to Channels > Voice, then go to the Configuration tab. Keep this page open as you go into your Twilio account to get your account details, so you can paste them in as you find them.
-
In your Twilio console, in your account info, find your Account SID. Your Account SID is a unique identifier that acts like a username when you're using Twilio's API. For information on how to find it, see Auth Tokens and How to Change Them at Twilio's Help Center.
-
On the Ada dashboard, under Twilio Configuration, paste your Account SID into the Twilio Account SID field.
-
In your Twilio console, create a new API key. Enter a name into the Friendly name field, set the Key Type to Main, and leave the other settings with their default values.
For information on how to create an API key, see API Keys and How to Change Them at Twilio's Help Center. When you create an API key, you get both a key and a secret. You can only view the secret once for security reasons, so make sure you save it in a safe place.
-
On the Ada dashboard, under Twilio Configuration, paste the API key into the Twilio API Key SID field, and paste the secret into the Twilio API Key Secret field.
-
Configure your AI Agent to use a phone number, or configure a SIP address to handle transfers between your AI Agent and your CCaaS provider. Your AI Agent can only use one or the other. Click a section to expand the full instructions.
For more information on how you can configure transfers either using the phone network or over the internet, see Integrate your voice AI Agent with your Contact Center as a Service (CCaaS) provider.
-
Click Save. Your AI Agent can now handle phone calls.
You can configure additional settings to fine-tune your AI Agent's behavior during phone calls, but we'll cover those and what they mean in later topics.
-
Your usage of Voice is subject to both applicable privacy and phone communication laws, and Twilio's policies. These may vary based on your location and industry. If you have any questions, please contact Ada's or Twilio's support.
Enable Voice in multiple languages
You can enable different languages for customers to speak with your AI Agent with over the phone. For more information on enabling languages, see Support multiple languages in the same AI Agent.
The following languages are available for voice:
- English
- French
- German
- Italian
- Spanish
- Swedish
- Dutch
If you enable any of the above languages in your AI Agent, that language will be available in both messaging and voice - you can't have any of these languages only enabled for one or the other.
Choose regional dialects for your languages
Some of the languages available in Voice also have support for different regional dialects of those languages:
English
- Australia
- Canada
- United Kingdom
- United States
French
- Canada
- France
Spanish
- Spain
- United States
For each of the above languages, you can choose one dialect to use in your AI Agent, which affects two things:
-
Speech transcription models
Your AI Agent uses a speech transcription model to transcribe what callers say and convert it to text. Ada can use transcription models that are specifically trained using speaking data using a particular dialect to improve transcription accuracy.
-
Speaking voices
When you choose a dialect for your AI Agent, your AI Agent will automatically use the default speaking voice for that language and dialect. You can always go into your settings and choose a different voice for that dialect instead.
Here's how you can change the dialects available for your AI Agent:
-
On the Ada dashboard, go to Channels > Voice, then go to the Dialects tab.
-
For each language that has dialects available, in the Dialect/region list, select an available dialect.
-
Click Save. Your AI Agent immediately starts using the dialects you chose for all conversations in the corresponding languages, for both internal testing and for any live voice content in your AI Agent.
Understand how your AI Agent determines the caller's language
By default, your AI Agent determines the language to use with your caller based on the language
metavariable. There are a few ways you can set the caller's language:
-
Set a default language for the phone number or SIP address
When you were setting up your Twilio account with your AI Agent, you might have set a default language for one or more phone numbers or SIP addresses. If you did, all phone numbers to that number or SIP address start with the
language
metavariable set to that language. -
Let callers select from a menu of enabled languages
You can choose to begin all of your AI Agent's calls with a menu that allows callers to select one of your enabled languages. If you turn on this menu, your AI Agent will serve it to all callers before the Greeting, even if the number is associated with a specific dialect.
-
On the Ada dashboard, go to Channels > Voice, then go to the Language selection tab.
-
To turn on the menu, select the Let callers select their own language checkbox. Your AI Agent's enabled languages appear.
-
For each of your enabled languages:
-
Toggle the language On or Off to control whether it appears in the menu.
-
For languages you want to appear in the menu, drag them higher or lower in the list. Your AI Agent will automatically assign each language a number that the caller than dial into their dialpad to select.
-
-
Click Save. Your language selection menu becomes available immediately for all callers.
-
-
Use the End Users API
You can use the End Users API to update a user's profile to set the
language
metavariable. -
Send language information in the SIP header
If you're using SIP transfers to transfer callers to a Contact Center as a Service (CCaaS), you can include the language value in the user-to-user header.
noteIf you set a default language for that SIP address, the language in the header overwrites the default language.
Choose a speaking voice for your AI Agent
Choosing a speaking voice for your AI Agent is an important part of your AI Agent's branding. You can change your AI Agent's voice at any time to better fit your AI Agent's branding needs.
Not all speaking voices support SSML, which is the markup you can use to
control how your AI Agent pronounces content in voice conversations. Voices that support SSML will have (SSML)
after the name of the voice (e.g., Erica (SSML)
).
-
On the Ada dashboard, go to Channels > Voice, then go to the Speaking voice tab.
-
Under Speaking voice, select a voice for each language you have enabled in your AI Agent.
-
Optionally, in the text field, you can type in a text sample, like a message from your AI Agent, so you can hear your AI Agent read out a specific piece of your AI Agent content. Then, you can click the Play button beside a selected voice to play the sample.
-
Click Save. your AI Agent immediately starts using the voices you selected for both internal testing and for any live voice content in your AI Agent.
Configure how long a caller can be silent before your AI Agent hangs up
You can choose how much time your AI Agent will wait for a caller to speak before it assumes the caller is gone and ends the call.
-
On the Ada dashboard, go to Channels > Voice, then go to the Configuration tab.
-
Under Maximum caller silence (seconds), enter the number of seconds you want your AI Agent to wait before hanging up.
-
Click Save.
Help your voice AI Agent understand special terms
Does your company use special terms like product or feature names, or acronyms that might be hard for your AI Agent to understand? Does your industry have specialized vocabulary your callers are likely to refer to? You can improve your AI Agent's chances of recognizing those terms by adding them into your AI Agent's vocabulary. That way, when a caller refers to them, your AI Agent can reply with accurate information, and provide accurate transcripts of the calls for your analysis.
This feature is currently only supported in English. If you have additional languages enabled in your AI Agent, adding special terms won't affect how your AI Agent interprets those terms in those languages.
-
On the Ada dashboard, go to Channels > Voice, then go to the Vocabulary tab.
-
Add, remove, or dig deeper into the terms in your list as required:
-
To add a new term, click New Term. A new row in your vocabulary table appears. Type in a term, then click Add term.
-
To delete an existing term, hover over its row and click the Delete button that appears.
-
To view all the conversations where callers used a term, beside that term, click View conversations.
-