question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Microphone Turns off After a RetryPrompt Call

See original GitHub issue

Screenshots

Version

Webchat: V4.8 CDN: https://cdn.botframework.com/botframework-webchat/latest/webchat.js Botframework: V4

Describe the bug

When a prompt option has not been met e.g. Yes/No a RetryPrompt call is automatically raised by the bot framework. The RetryPrompt message is shown on the screen and spoken by the bot. However, the mic is automatically deactivated which forces the users to manually click on the mic icon to turn it on. Bot code snippet: await stepContext.Context.SendActivityAsync(“Are you sure about it?😃”, “Are you sure about it?”, cancellationToken: cancellationToken); return await stepContext.PromptAsync(nameof(ChoicePrompt), new PromptOptions { Prompt = null, RetryPrompt = MessageFactory.Text(“Try it again please”,“Try it again please”),
Choices = new[] { new Choice {Value = “Yes”, Synonyms = new List<string> {“sim”}}, new Choice {Value = “No”, Synonyms = new List<string> {“nao”}} }.ToList(), Style = ListStyle.Auto
});

Steps to reproduce

  1. Go to ‘…’
  2. Click on ‘…’
  3. Scroll down to ‘…’
  4. See error

Expected behavior

The bot should show and speak a reply prompt message but keep the mic on for user voice reply.

Additional context

[Bug]

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Amintasncommented, Apr 4, 2020

Spot on Corina! Working perfectly now. Thanks a million for your help! Take care.

1reaction
Amintasncommented, Apr 3, 2020

Hi @corinagum. Just wondering if you have any news about it. Please do not hesitate to reach me if you need further info about the issue. Thx!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Microphone turns off automatically after a min of inactivity
1. Right-click on Speaker icon in the right-side of your taskbar and select Sounds. · 2. Click Recording tab and see if the...
Read more >
How To Fix a Microphone that Keeps Cutting Out - Alphr
1. Hover the cursor over the taskbar and right-click over a blank space. 2. Select the "Task Manager" option. 3. Press "Mode details"...
Read more >
Genesys Intelligent Automation Reference Guide
Instead, select Visual. Mandatory Off. • Visual Optional - Allows the caller to choose whether to use IVR or multimodal. See. Standard 'Visual ......
Read more >
Programming & Operations Guide
Music from the source is heard over the station speaker and will be shut-off automatically when a call or paging announcement is received, ......
Read more >
Amazon Lex – AWS Machine Learning Blog
To integrate the Amazon Lex bot, complete the following steps: ... In the call flow's QnABot reusable task, there is a switch block...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found