[英]How can i send a message in a existing conversation established by two normal Lync user?
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. 但是结果似乎不是我想要的。
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.