botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

Skype Bot Calling not calling my api

Open mayuanyang opened this issue 10 years ago • 6 comments

I got my bot setup with the new api controller named CallingController with the following method

[Route("call")] public async Task ProcessIncomingCallAsync()

I set the followings as the Calling Webhook, however they never get hit when i am making the call, any thought? https://eddybot.azurewebsites.net/api/calling https://eddybot.azurewebsites.net/api/calling/call

mayuanyang avatar Jul 25 '16 11:07 mayuanyang

Have you enabled calling for your bot in developer portal and registered the calling endpoint?

msft-shahins avatar Jul 25 '16 19:07 msft-shahins

Yes, when you say registered the calling endpoint, do you mean put the url in the Calling Webhook?

mayuanyang avatar Jul 25 '16 21:07 mayuanyang

yes. I recommend testing your bot's endpoints locally by sending a json to it using fiddler or postman and making sure that your endpoints in your controller are exposed correctly.

msft-shahins avatar Jul 25 '16 21:07 msft-shahins

I also try that by using postman, and the bot can handle the request with no problem

mayuanyang avatar Jul 25 '16 21:07 mayuanyang

Eventually i figured out what the problem is, my api controller is missing the [BotAuthentication] attribute, it is all good now

mayuanyang avatar Jul 26 '16 08:07 mayuanyang

I am not getting what to set the 1:1 webhook in developer window of skype and in code. Please help

Sid245439 avatar Feb 02 '17 13:02 Sid245439