Text to speech not working after deploying to Azure App service bot framework v4

Sreejith R 1 Reputation point
2021-08-24T12:40:45.713+00:00

I am using bot framework v4. I need to send a voice to the user on the initial greeting message. It is working in an emulator. But when deployed to the Azure app service it is not working. So I used ngrok to run with my local code on the direct line speech channel it is working there. When the Azure app service deployed code connecting it is not working I am using a direct-line speech channel. I don't see any error messages in azure app insights.

var config = SpeechConfig.FromSubscription("code-xxxx","region")
var ssml = File.ReadAllText("./XMLFile.xml");
using (var synthesizer = new SpeechSynthesizer(config))
{
using (var result = await synthesizer.SpeakSsmlAsync(ssml))
{

            }
        }
Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
736 questions
Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,336 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,301 questions
{count} votes

1 answer

Sort by: Most helpful
  1. YutongTie-MSFT 44,966 Reputation points
    2021-09-02T08:30:14.53+00:00

    Hello,

    Hope you have solved this issue. We don't see any ongoing bug currently regarding to this issue. For whom has the same issue here, please let us know.

    Regards,
    Yutong

    0 comments No comments