简体   繁体   English

如何在两个普通Lync用户建立的现有对话中发送消息?

[英]How can i send a message in a existing conversation established by two normal Lync user?

Here is the scenario of my question: 这是我的问题的情况:

  • There is a Two-party call between Roger and Regina, they are common Lync user. Roger和Regina之间有两方通话,它们是Lync的普通用户。 and they have send several IMs to each other. 他们已经相互发送了多个IM。 Now I would like to send a message(like a notification ) to them in their conversation window, but not open a new conversation window which contain the message I send to them. 现在,我想在他们的对话窗口中向他们发送一条消息(例如notification),但不打开一个包含我发送给他们的消息的新对话窗口。

Here is my effort: 这是我的努力:

  • First, I read Michael Greenlee's blog “Invisible OCS conference participants”, then I try to achieve my goal in that way. 首先,我阅读了迈克尔·格林利(Michael Greenlee)的博客“隐形OCS会议参与者”,然后尝试以这种方式实现自己的目标。 But it seems the Result is not what I want. 但是结果似乎不是我想要的。

    1. This is “group conversation ”, but not conversation just between two normal Lync user; 这是“群组对话”,而不是两个普通Lync用户之间的对话;
    2. when the invisible application endpoint send a message in the “group conversation window”, it will not invisible now. 当不可见的应用程序端点在“群组对话窗口”中发送消息时,它现在将不可见。

    So, can anybody give me some advice, I really appreciate that. 所以,有人可以给我一些建议吗,我真的很感激。

BR BR

Rainbow Zhou 周虹

This is not possible. 这是不可能的。 There is a direct message flow between two Lync endpoints, you cannot touch that. 两个Lync端点之间存在直接的消息流,您无法触摸。

For a third endpoint (be it a user or an application) to be able to communicate with your two users, you will need a conference. 为了使第三个端点(无论是用户还是应用程序)能够与您的两个用户进行通信,您需要召开会议。 And then still, messages will show as being send from your application. 然后,消息仍然显示为从您的应用程序发送。

You can hide the application from the participant list, or you could BackToBack both Roger and Regina in the conference so they do not even know theyre in one. 您可以从参加者列表中隐藏该应用程序,也可以在会议中BackToBack Roger和Regina都隐藏,以使他们甚至都不知道自己在其中。 The application can impersonate any name/sipuri and send messages pretending to be someone else. 该应用程序可以模拟任何名称/ sipuri,并发送伪装成其他人的消息。

Your main problem, however, will be getting "in between" the conversation between Roger and Regina. 但是,您的主要问题将是介于Roger和Regina之间的对话之间。 You could use MSPL scripts to redirect SIP Invites to your endpoint, then use your endpoint to create a conference, and invite the second participant. 您可以使用MSPL脚本将SIP邀请重定向到您的端点,然后使用端点创建会议并邀请第二位参与者。 This is not trivial, and depending on why and how you want to send a "notification", probably completely overkill. 这并非易事,具体取决于您为什么以及如何发送“通知”,这可能完全过分了。 If in any way possible, I would look for a different way to notify your users. 如果有可能,我会寻找另一种方式通知您的用户。

One option could be to use the Lync Client SDK to create an application that interacts with the client's Lync instance. 一种选择是使用Lync Client SDK创建与客户端的Lync实例进行交互的应用程序。 Send messages to your application and have it try to inject them into the conversation. 将消息发送到您的应用程序,并使其尝试将其注入对话中。 This would require the app to be installed on each client PC though, and you will need to think of a way to push messages to your application. 但这需要将应用程序安装在每台客户端PC上,并且您需要考虑一种将消息推送到应用程序的方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM