Microsoft Azure bot framework
The following topic describes how to set up a Microsoft Azure bot.
Bot configuration
-
Make sure that Direct Line channel is enabled and running on your bot:
-
Make sure 'Enable Streaming Endpoint' is enabled on your bot:
App service configuration
Websocket is a must for connecting to VoiceAI Connect. Enabling ‘Always On’ should prevent your calls from receiving ‘Bot is not responding’ issues.
On your app service global settings, make sure 'Web sockets' and ‘always on’ configuration are both set to On:
Bot Behavior
To start the call via VoiceAI Connect, the bot must answer to a ‘channel’ event with the welcome prompt to the user.
The following is an example to a simple bot written in python, but it can and be adapted to any programming language: