This sample shows how to create a Bot using the Microsoft Bot Framework and use the Skype channel for voice input.
DTMF tones are used to detect keypad input. The scenario here is for an Emergency Services Bot where there could be different types of services to route through to. If the situation is non-life threatening a consultant will deal with the call. However, in this example all the consultants are busy (sound familiar?) so you are prompted to leave a voice message.
Microsoft Cognitive Services (Bing Speech Recognition) is used for the speech to text (STT). The detected speech is then displayed back to the user within the conversation.
- Microsoft.Bot.Builder
- Microsoft.Bold.Builder.Calling
- Microsoft.Bing.Speech
- Create a new bot on the dev.botframework.com portal
- Update the Skype settings of the bot, by enabling audio calls and updating the Calling Webhook
- Add your bot to your Skype contacts
- Ensure the bot code is running using your bot settings in the web.config
- Within Skype Preview, the Call icon should light up - click to begin