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

SKype for business as channel

Open tahazayed opened this issue 10 years ago • 51 comments

I want to support Skype for business as a channel, can I use this DLL Microsoft.Bot.Connector.Emulator.Core.dll (included in Bot Framework Emulator)?

tahazayed avatar Jun 28 '16 12:06 tahazayed

Skype for Business isn't yet added as a channel to the Bot Framework, though it's high on our priority list.

I'm not sure how you'd use the emulator core for that, but you've peaked my curiosity :).

jameslew avatar Jun 28 '16 14:06 jameslew

do you have any timeline on this one? is this currently being worked on? can you give us an indication here please.

ronnelsantiago avatar Jun 28 '16 20:06 ronnelsantiago

I can assure you that it is being worked on, but not timeline.

tomlm avatar Jun 28 '16 23:06 tomlm

sounds good enough for me.. thanks.

ronnelsantiago avatar Jun 28 '16 23:06 ronnelsantiago

I built skype for bussiness client using lync sdk and I am using Microsoft.Bot.Connector.Emulator.Core.dll to send message to the bot connector<->conversation and it is working fine with me, I am asking about is it legal or not?

tahazayed avatar Jun 29 '16 09:06 tahazayed

@tahazayed it's great! Can I use it?

naoyanickf avatar Jul 16 '16 09:07 naoyanickf

@jameslew @naoya0731 @pablocastro https://github.com/tahazayed/BotConnectorSkypeForBusiness

tahazayed avatar Sep 04 '16 21:09 tahazayed

@tahazayed i tried the sample in the repo. When i tried sending message to my deployed bot, its returning no response. Can you please help me here? Same bot i tried connecting from bot console emulator with ngrok forwading url. So i am getting response from my bot. Is the same way i have to use here as well?

b4usat avatar Oct 27 '16 13:10 b4usat

@b4usat, close any conversation window then ask someone to start a conversation and it will work

tahazayed avatar Oct 27 '16 13:10 tahazayed

I found this blog post by @adoprog http://devopssnippets.blogspot.co.uk/2016/08/integrating-lyncskype-for-business-with.html This uses Direct Line channel and Lync API (UCMA can also be potentially used). I haven't tried this yet, but its worth a shot. The only challenge is that this wont work for Skype for Business Online.

~Abhishek Acuvate Software

abhishan avatar Dec 02 '16 20:12 abhishan

@abhishan I already built another one with lynk sdk https://github.com/tahazayed/BotConnectorSkypeForBusiness And it works with skype for business online as it just a client not server application

tahazayed avatar Dec 02 '16 20:12 tahazayed

@tahazayed - Thanks for the link. Will check it out. Few questions: Do we run it on every user desktop that needs access to the bot? OR, Do we need to dedicate a PC that acts as the Bot's Skype client? If a user is using Skype on mobile, will it support this scenario? Thanks in advance...

~ Abhishek Acuvate Software

abhishan avatar Dec 05 '16 01:12 abhishan

You will need one dedicate pc for the bot. Any user can talk to it

tahazayed avatar Dec 05 '16 04:12 tahazayed

@tahazayed Cool. This would work in the interim, while we wait for an official MS release... Thank you!

abhishan avatar Dec 05 '16 08:12 abhishan

@tahazayed I tried the code from repository .There is no response from my deployed bot in SFB even after closing all conversation windows but when i tried with ngrok with forwarding url in emulator , there is a response. Can you plz help if i'm missing anything here.

shankarmuppalla avatar Jan 01 '17 19:01 shankarmuppalla

@shankarmuppalla Happy new year 1-Change BotURL in App.config with yours 2-Debug MainForm.cs

tahazayed avatar Jan 01 '17 19:01 tahazayed

@tahazayed Thank you Wish you the same.

1- BotURL Changed in App.Config 2- During Debugging MainForm.cs ,There is a "System.NullReferenceException" thrown as oBotResult.attachments is NULL . and Under oResponse--> Message -->Text displayed as " 500 Internal Server Error". How do i come out of this ? Thanks in Advance!

shankarmuppalla avatar Jan 02 '17 15:01 shankarmuppalla

The issue in WCF Disable custom error in WCF web.config

tahazayed avatar Jan 03 '17 22:01 tahazayed

untitled I changed BotURL, changed ID and Secure, but still has "Additional information: Could not load file or assembly 'Microsoft.Office.Uc, Version=15.0.4603.1000" when try to run. I read somewhere, that it shuold be coused by bad versions of Lync SDK and Lync Client, which has to be installed to install SDK. I has those versions: SDK: 15.0.4603.1000 Client: 15.0.4420.1017 (Lync 2013 Basic)

Would it be possible to help me somehow? I really want to run this great solution :/

romanNedzelsky avatar Jan 04 '17 15:01 romanNedzelsky

Copy this file from lync sdk installation folder under program files to your bin folder

tahazayed avatar Jan 04 '17 15:01 tahazayed