UCMA:与不在AD中的用户聊天 [英] UCMA: Chat with users not in AD

查看:134
本文介绍了UCMA:与不在AD中的用户聊天的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

客户希望为其应用程序Web端启用聊天/即时通讯程序.他正在内部使用Lync Server进行内部聊天.现在,他需要满足以下条件: 外部用户(不会是AD用户)登录到Web端后就可以与公司内部的人聊天.内部用户将通过其lync客户端接收这些消息.

a customer wants enable a chat/instant messenger for his application webside. He is using Lync Server internally to Chat in-house. Now, he requires the following: A external user (which will not be an AD user) logs into the webside is able to chat with a person inside the company. The internal user will receive those messages via his lync client.

实现此目标的最佳方法是什么? 我想到了一个将消息从Web端委派给剩下的lync服务器的机器人.但是我如何以外部用户身份发送消息?

What's the best way to achieve this? i thought about bot that delegates messages from the webside to the lync server that does the rest. But how can i send a message as an external user?

推荐答案

解决此问题的常用方法是使用以下组件:

The usual way to approach this is with the following components:

  1. 一种机器人,它作为ApplicationEndpoint连接到内部Lync基础结构,并管理与外部/内部用户的对话
  2. 一种通过http向外部用户公开方法的Web或WCF服务-它可以内置在bot中,也可以是以某种方式与bot通信的单独服务
  3. 用于呈现用户状态,允许点击通话,发起和显示对话等的Web UI

作为示例,WCF服务可以公开一些方法:

As an example, the WCF service could expose a few methods:

  1. GetPresence(targetSipUri)-返回给定uri的状态值
  2. SendIM(targetSipUri, message)-将IM发送到给定的uri
  3. GetReplies()-轮询任何响应
  1. GetPresence(targetSipUri) - returns a presence value for the given uri
  2. SendIM(targetSipUri, message) - sends an IM to the given uri
  3. GetReplies() - polls for any responses

进入细节时,您可能需要更多方法-例如生成对话令牌并将其传递出去可能是一个主意

When you get into the detail you might need more methods - e.g. it may be an idea to generate a conversation token and pass this around

Web UI可以显示具有在线状态(GetPresence)的联系人列表,然后允许用户单击在线联系人以启动新的对话窗口并发送初始消息(SendIM),然后进行轮询服务以获取来自联系人(GetReplies)的任何答复-请注意,该漫游器必须在内部将答复排队,直到调用GetReplies.

The web UI could present a list of contacts with a presence status (GetPresence), then allow the user to click a presence contact to initiate a new conversation window and send the inital message (SendIM), then poll the service for any replies from the contact (GetReplies) - note, the bot will have to queue replies internally until GetReplies is called.

有些商业产品可能会满足您的需求-快速搜索Lync webchat应该会发现一些.另外,可能值得研究 Lync Web App ,以查看它是否适合您的客户

There are commercial products that might meet your needs - a quick search for Lync webchat should turn up a few. Also, it may be worth looking into the Lync Web App, to see if this works for your customer

在回答下面的评论时-是的,您的内部用户将看到"Our Lync Bot"中的对话.如果您不知道您的用户是谁(例如,随机潜在的顾客浏览购物网站),则可以从他们那里获取一些信息(名称,讨论的产品等),并让漫游器将其显示给内部用户,作为一部分IM对话,或作为对话上下文显示在对话窗口扩展"中.

In answer to the comment below - yes, your internal users will see a conversation from "Our Lync Bot". If you don't know who your users are (e.g. random potential customers browsing a shopping site), you can grab some info from them (name, product to discuss etc) and have the bot display this to the internal user, either as part of the IM conversation, or as conversation context displayed in a Conversation Window Extension.

如果您的外部用户(例如注册用户)事先已知,并且内部用户必须看到对话来自他们,那么您将需要为每个对话创建一个UserEndpoint-但这将取决于让用户在广告中.

If your external users are known in advance (e.g. registered customers), and the internal user MUST see the conversation as being from them, then you will need to create a UserEndpoint for each conversation - but this would rely on having the user in AD.

这篇关于UCMA:与不在AD中的用户聊天的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆