Twilio Voice Integration | Setup Guide
To set up Twilio Voice integration, follow these steps:
-
Obtain Twilio Credentials
- Log into your Twilio account.
- Go to the βDevelopβ tab to find your Account SID and Auth Token.
-
Get Phone Number SID
- Go to βView All Numbers.β
- Select your number, go to βProperties,β and copy your Phone Number SID.
-
Configure Integration
- Add the following fields:
- Account SID: Your Twilio account SID.
- AuthToken: Your Twilio Auth Token.
- Voice Phone SID: The SID of your Twilio voice number.
- Welcome Message: Initial greeting message (e.g., βHello, how can we assist you today?β).
- Error Message: Message played when no speech is detected.
- Voice Language: Language used during the call.
- Voice Type: Voice model used (e.g., Polly.Aditi).
- Speech Timeout: Duration to wait for a userβs speech response.
- Add the following fields:
-
Set Webhook Endpoint
- Obtain your webhook endpoint.
- Add this webhook to your phone number in the Voice configuration:
- Go to βDevelopβ β βView All Numbersβ β Select your number β βConfigure.β
You have now successfully enabled Twilio Voice integration.