简体   繁体   English

没有lync客户端的Lync应用程序

[英]Lync application without lync client

I was wondering if it's possible to create a Lync application to chat or call other users with the Lync SDK, but without the Lync client, and if it can be done. 我想知道是否可以使用Lync SDK创建Lync应用程序来聊天或调用其他用户,但是没有Lync客户端,是否可以完成。

I would appreciate some help. 我将不胜感激。

Hope you can help me 希望你能帮我

Lync SDK need Lync Client. Lync SDK需要Lync Client。 If you want to create such application try to use UCMA 如果要创建此类应用程序,请尝试使用UCMA

Lync SDK is kind like a wrapper of the Lync client application. Lync SDK有点像Lync客户端应用程序的包装。 It can't work alone without the Lync client. 没有Lync客户端,它不能单独工作。

The reason is about how Lync SDK works. 原因是关于Lync SDK的工作方式。 Lync SDK calls the functions exposed by the Lync client process to do all its works, itself doesn't have any ability to do sip communication directly with Lync server. Lync SDK调用Lync客户端进程公开的功能来完成其所有工作,它本身没有任何能力直接与Lync Server进行Sip通信。 Lync client process acts as a COM server and Lync SDK app process acts as a COM client, they do cross-process communication by using this COM based interface. Lync客户端进程充当COM服务器,而Lync SDK应用程序进程充当COM客户端,它们使用此基于COM的界面进行跨进程通信。

If you are not keen to use Lync client SDK, several options for you: 如果您不希望使用Lync客户端SDK,可以使用以下几种方法:

  1. Use UCMA. 使用UCMA。 It deals with Lync server directly by using sip just like what Lync client does. 就像Lync客户端一样,它通过使用sip直接处理Lync服务器。 It can achieve almost all features that a Lync client can do. 它可以实现Lync客户端可以执行的几乎所有功能。 What's more, in some areas it provides more powerful features like impersonation, application endpoint, streaming handling. 而且,在某些方面,它提供了更强大的功能,例如模拟,应用程序终结点,流处理。 Maybe a drawback of using UCMA is you need to install UCMA SDK on local machine. 使用UCMA的缺点可能是您需要在本地计算机上安装UCMA SDK。 Maybe another drawback as a personal idea is UCMA has quite a few unacceptable bugs. 作为个人想法,另一个缺点可能是UCMA有很多无法接受的错误。

  2. Use UCWA. 使用UCWA。 It's a web service introduced from Lync server 2013. Because it's web service so it's up to you if you want to implement B/S, C/S, Windows/Linux or even mobile application. 这是Lync Server 2013引入的Web服务。因为它是Web服务,所以要实现B / S,C / S,Windows / Linux甚至移动应用程序取决于您。 The drawback is the limited features it provides. 缺点是它提供的功能有限。

  3. Though not recommended, but it's also possible to implement your own sip client if you are expert on how sip/Lync works. 尽管不建议这样做,但是如果您对sip / Lync的工作方式很熟练,也可以实现自己的sip客户端。

一种可能的方法是按照https://ucwa.lync.com/about/about-ucwa的概述使用Lync UCWA,尽管该API的功能目前受到一定限制。

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

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