A community member has associated this post with a similar question:
How to perform speech recognition to get speech input over a telephony phone call in Microsoft Azure?

Only moderators can edit this content.

Issue with Speech-to-Text Integration in Azure Communication Services Using C#

Admin Saad 0 Reputation points
2024-11-23T23:14:25.59+00:00

Context: We are building a bot using Azure Communication Services (ACS) and Azure Speech Services to handle phone calls. The bot asks questions (via TTS) and captures user responses using speech-to-text (STT).

What We’ve Done:

  1. Created an ACS instance and acquired an active phone number.
  2. Set up an event subscription to handle callbacks for incoming calls.
  3. Integrated Azure Speech Services for STT in C#.

Achievements:

  • Successfully connected calls using ACS.
  • Played TTS prompts generated from an Excel file.

Challenges:

  1. User responses are not being captured. Despite setting InitialSilenceTimeout to 10 seconds, the bot skips to the next question after 1–2 seconds without recognizing speech.
  2. The bot does not reprompt the user even when no response is detected.

Help Needed:

  1. How can we ensure accurate real-time speech-to-text capture during ACS telephony calls?
  2. Are there better configurations or alternate approaches for speech recognition in ACS?

Additional Context:

Code Snippet (C#):

// Recognize user speech
async Task
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
43,092 questions
0 comments No comments
{count} votes