microsoft / BotBuilder-RealTimeMediaCalling

BotBuilder-RealTimeMediaCalling extends the BotBuilder to enable bots to engage in Skype audio-video calling. It provides real-time, programmable access to the voice, video, and screen sharing streams of a Skype call. The bot is a direct participant in a Skype 1:1 call.
MIT License
76 stars 36 forks source link

'You can't talk to this Bot just yet. But we are working on it' issue #36

Closed PastaHuang closed 6 years ago

PastaHuang commented 6 years ago

Hi, i follow the step to deploy Huebot. the huebot deploy success and i add a certificate . i use Bot service's test in web chat tool to test send message and it can be send success. but when i use skype to call to this bot, the bot say 'You can't talk to this Bot just yet. But we are working on it' what's wrong for me to get this response?

ssulzer commented 6 years ago

@PastaHuang

What is your bot's Application Name or Application ID? We can check Skype calling logs.

Regarding the bot's certificate: was it obtained from a trusted certificate authority? A self-signed cert is not supported for real-time media calling.

Thanks, Stephen Sulzer [MSFT]

PastaHuang commented 6 years ago

@ssulzer Thanks for your reply! My bot's Application ID is '25d15e88-5637-4da7-b06f-e25ef1abf4ec' Yes, bot's certificate is UCC SSL certificate Does it support for real-time media calling?

ssulzer commented 6 years ago

@PastaHuang

The call setup does not progress far enough for the certificate to be an issue. There's likely a problem with the bot's configuration. Please have a look at this related issue and check that the bot's callback/webhook URIs are set properly - https://github.com/Microsoft/BotBuilder-RealTimeMediaCalling/issues/32.

PastaHuang commented 6 years ago

@ssulzer thanks! i found my cname value set wrong. after i set the true value, i could run the sample and see lookback video in blue color but nothing happened when i said red or green commends i had already added Azure Cognitive Services's key in setting.

JMikkoMattila commented 6 years ago

I am experiencing exactly same issue. Blue colored video loopback, but no reaction to speech. I have tried to find a way to trace a reason without success yet. Can anyone give a hint.

ssulzer commented 6 years ago

The speech recognition (especially of short, single-word phrases) does not seem to work very well. We recently updated the sample to remove audio loopback (which was causing quality problems) to try to help.

One thing you could try is to update the OnRecognitionResult handler in FrontEnd/CallLogic/MediaSession.cs to output the RecognitionResult.RecognitionStatus and RecognitionPhrase.DisplayText via Skype chat/IM. This would give a 'real-time' trace of the speech recognition back to the Skype caller via chat messages. Then you could try speaking various phrases and see how well they are recognized.

PastaHuang commented 6 years ago

@ssulzer I cloned this sample two weeks ago. i think that was the lastest code, right? i had found where to get speech recognition result, but i don't know how to send it back when skype in call. Could you get me some hint?

And i had a weird problem recently. i could see loopback video in blue type before 3/6. But when i deploy sample to azure again after 3/6, i got 'You can't talk to this Bot just yet. But we are working on it' response again... i got same response even through recovered code back to 3/2 version. What's happend? ...

ssulzer commented 6 years ago

@PastaHuang

The last successful Skype call I see to your bot occurred on March 6th at approximately 08:00 UTC (4 pm Singapore/Taiwan). Is it possible that whatever update you made after that regressed your configuration, such as the cname issue?

There was a recent outage concerning Skype calling bots which has now been fixed - could you please try again?

There should be some sample code for sending text/chats in the BotFramework samples @ https://github.com/Microsoft/BotBuilder/tree/master/CSharp/Samples.

PastaHuang commented 6 years ago

After Skype issue have been fixed, my bot is revival now! thank you for your help. i will try to add response in bot after i read that sample.