Botsquad bots can be used to answer phone calls using the Twilio platform.
To connect a bot to a TWilio phone number, you need to go through a few steps:
In the Twilio console, go to Phone Numbers -> Buy a Number
Choose a number that has the voice capability and buy it
In the Botsquad studio, go to your bot settings, click the connect tab and enable Twilio Voice channel. Enter the phone number in the form and also enter your Twilio Application ID and API token, which you find in the account settings of Twilio.
Once Twilio is set up in Botsquad, you copy the webhook URLs on the clipboard.
Back in Twilio, open the phone number details page, where you see the following form:
Paste the appropriate webhook URL in the A call comes in and Call status changes fields.
Click Save. You're done! Try dialing the number to check if your bot answers.
When the speech-to-text stage fails, a
$no_input event is sent,
which allows you to indicate that the user needs to repeat the
dialog event: "$no_input" do once do say "Can you repeat that?" say "I still don't get it." after say "Can you repeat once more?" end end