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

Skype call bot calling webhook does not support query string parameters

Open urmich opened this issue 10 years ago • 7 comments

I wish to be able to append query parameters to Skype Bot Calling webhook URL and to have these parameters deserialized in IncomingCallEvent. This will allow me to create a stateless bot and to control its functionality by configuration from Call URL.

I was able to workaround this with Skype Bot SDK but it seems impossible to workaround with Bot Framwork SDK v3, so since Skype Bot SDK is phasing out, I would like to have the support I requested.

I also posted this on botfamework feedback site.

I already have the fix for this issue ready waiting to be submitted as PR. Please approve this issue to get the PR, as requested by contribution terms.

urmich avatar Jul 17 '16 08:07 urmich

Created Pull Request https://github.com/Microsoft/BotBuilder/pull/764

urmich avatar Jul 20 '16 05:07 urmich

@mghimp , did you manage to get Skype Bot Calling to send request to your bot? i got my bot setup with the new api controller named CallingController with the following medhot

[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

@mayuanyang , there might be several issues:

  1. The webhook should be 'https://eddybot.azurewebsites.net/api/calling/call'. In respect to the fact that you don't see it hit, I assume that you verified the web server traffic log.
  2. In regards to Controller, My controller is public class CallingController : ApiController, i.e. derives from System.Web.Http.ApiController. In addition, the method signature is public async Task<HttpResponseMessage> ProcessIncomingCallAsync().

I suggest to debug using ngrok and run your bot locally. This will make the debugging easier. In addition, you can use this tutorial to get started.

urmich avatar Jul 25 '16 12:07 urmich

@mghimp i am actually doing exactly the same thing, in fact the code is copied from the bot framework simpleIVRSample project, will try ngrok to debug and see how it goes, thanks

mayuanyang avatar Jul 25 '16 12:07 mayuanyang

@mayuanyang I see that @msft-shahins has replied to your CR, I'm closing this issue. Thanks!

Andrea-Orimoto avatar Aug 24 '16 02:08 Andrea-Orimoto

Please reopen the issue as it has not been resolved. I opened this issue and my PR #764 is still pending.

urmich avatar Aug 24 '16 06:08 urmich

@mghimp I commented on the PR. We can continue talking about this in the PR comment section.

msft-shahins avatar Aug 24 '16 18:08 msft-shahins