Skype call bot calling webhook does not support query string parameters
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.
Created Pull Request https://github.com/Microsoft/BotBuilder/pull/764
@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
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 , there might be several issues:
- 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.
- In regards to Controller, My controller is
public class CallingController : ApiController, i.e. derives from System.Web.Http.ApiController. In addition, the method signature ispublic 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.
@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 I see that @msft-shahins has replied to your CR, I'm closing this issue. Thanks!
Please reopen the issue as it has not been resolved. I opened this issue and my PR #764 is still pending.
@mghimp I commented on the PR. We can continue talking about this in the PR comment section.