How do I Invite a user by email to a Lync 2010 chat session using the API?

北城余情 提交于 2020-01-16 18:50:08

问题


We are using Lync 2010 server in the office. I would like to create a customer facing website that allows clients to chat to our support reps over this platform. Ideally, I would like the customer to just see the default web based interface for communicator.

When you have a chat going in Lync (Formerly office Communicator), you can invite someone to chat by email. That sends the user a link to join in the chat using the web version. I want to emulate that functionality on my webpage.

It looks like the Communicator AJAX API is promising, but all examples are for building your own custom interface and everything. I just want to link our site to the web access version.

Any ideas?


回答1:


The Communicator AJAX API is no longer around, so the recommended way to do this would be to use UCMA 3.0 to build a middle-tier bot to handle the web chat.

In it's simplest form, the bot could expose a method (e.g. StartChat) via WCF, which could then be called from your web page. On receiving a call to that method, the bot could then start a new conference, and invite the support rep to it.

Once the conference is created, you could then return the URL of the conference (the same one that's used in the email invitation) to the web page. The web page would then open a new window at that URL, which would kick-start the Silverlight client.

In reality, you would probably also want to add a few extra features, such as

  • Allowing support reps to log-on to the bot to signal their willingness to take external calls
  • Aggregating the presence of the logged-on support reps, to display availability to the web site user
  • Route the call specifically to the logged-on support reps, and provide a way for them to accept the call

This codeplex project would be a great starting point.



来源:https://stackoverflow.com/questions/4382160/how-do-i-invite-a-user-by-email-to-a-lync-2010-chat-session-using-the-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!