简体   繁体   English

如何为Lync 2010和Skype for Business编码

[英]How do I code for both Lync 2010 and Skype For Business

I need to write an application that handles incoming and outgoing calls from both Lync 2010 and Skype For Business. 我需要编写一个处理来自Lync 2010和Skype for Business的传入和传出呼叫的应用程序。

From my understanding of the Lync SDKs. 根据我对Lync SDK的了解。

  • Lync 2013 SDK works with Skype For Business; Lync 2013 SDK可与Skype for Business一起使用; however, it will not work with Lync 2010. 但是,它不适用于Lync 2010。
  • Lync 2010 SDK also doesn't seem to work with Lync 2013. Lync 2010 SDK似乎也不适用于Lync 2013。

My question is: Is there a way in which I can code for both Lync 2010 and SFB so that they can share the same code or do I have to code them both separately? 我的问题是:有没有一种方法可以同时为Lync 2010和SFB编写代码,以便它们可以共享同一代码,还是必须分别对它们进行编码?

Additional Information 附加信息

We use both SFB and Lync 2010. These calls include Calls from other Lync/Skype users as well as PSTN calls [Calls internal and external via skype/lync or telephone (PBX)]. 我们同时使用SFB和Lync2010。这些呼叫包括来自其他Lync / Skype用户的呼叫以及PSTN呼叫[通过skype / lync或电话(PBX)内部和外部呼叫]。

We're currently in a transition from Lync 2010 to SfB (This will take a really long time). 我们目前正在从Lync 2010过渡到SfB(这将花费很长时间)。 The current application will not work for SfB, so I have to add that in. Unfortunately, the original code is written using UCCAPI. 当前的应用程序不适用于SfB,因此我必须添加它。不幸的是,原始代码是使用UCCAPI编写的。 I planned to rewrite this code with Lync SDK since the code will be simpler, safer, and easier to maintain. 我计划使用Lync SDK重写此代码,因为该代码将更加简单,安全并且易于维护。

At first, it depends on the calls, are they PSTN calls or calls from other Lync/SfB users on the same environment? 首先,它取决于呼叫,它们是PSTN呼叫还是来自同一环境中其他Lync / SfB用户的呼叫? Because if the users are on the same SfB environment then a so called peer2peer call might occour and this will not involve the server. 因为如果用户在相同的SfB环境中,则可能会发生所谓的peer2peer调用,并且这不会涉及服务器。

The 2nd point is Lync 2010 reached the mainstream support since April 2016 so most companies should considering now an upgrade to a newer version as Lync 2010 will be soon end of life. 第二点是Lync 2010自2016年4月以来已成为主流支持,因此大多数公司应该考虑现在升级到较新版本,因为Lync 2010即将寿终正寝。 I personally wouldn´t build something for an Software which is that old. 我个人不会为那么老的软件构建东西。

Based on that I think you might mean Lync 2013 & Skype for Business. 基于此,我认为您可能指的是Lync 2013和Skype for Business。 So without knowing what you wish to build as you didn´t go into details: 因此,在不了解详细信息的情况下,您不知道要构建什么:

  • In general Lync Server 2013 CU1 and above used UCWA 1.0.* (Lync 2013 RTM didn´t have UCWA) while Skype for business Server 2015 used UCWA 2.0.* 通常,Lync Server 2013 CU1及更高版本使用UCWA 1.0。*(Lync 2013 RTM不具有UCWA),而Skype for business Server 2015使用UCWA 2.0。*
  • In coexistence mode (Lync 2010 and Skype for Business 2015) you must point the Autodiscover CNAME (Lyncdiscover. and LyncDiscoverinternal.) to a Skype for Business Server 2015 pool in order support custom UCWA 2.0 application development (as written here ). 在共存模式(Lync 2010和Skype for Business 2015)中,您必须将自动发现CNAME(Lyncdiscover。和LyncDiscoverinternal。)指向Skype for Business Server 2015池,以便支持自定义UCWA 2.0应用程序开发(如此处所述 )。 But that's for Lync 2010 which do not have any UCWA on its frontend server as written here . 但这是针对Lync 2010的,其前端服务器上没有此处编写的UCWA。
  • A Lync 2013 mobile client used also the UCWA (as mentioned here or here ) and is compatible with Skype for Business. Lync 2013移动客户端也使用UCWA(如此此处所述 ),并且与Skype for Business兼容。
  • The UCWA 1.0 Code samples, Get started, What is this API?, Core features and Reference URLs here all points now to the UCWA 2.0 links so they are compatible (in some ways) UCWA 1.0代码示例,入门,这是什么API ?、 此处的核心功能和参考URL现在都指向UCWA 2.0链接,因此它们(在某些方面)兼容

So I would try to build something with UCWA is possible. 因此,我将尝试使用UCWA构建一些东西。

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

相关问题 在C#中访问Lync / Skype for Business对话 - access Lync / Skype for Business conversation in C# 使用Lync SDK在Skype for Business / Lync中为代表用户创建呼叫 - Create a Call for an representation User in Skype for Business / Lync using the Lync SDK Lync(2013)客户端SDK不适用于Skype for Business Online - Lync (2013) Client SDK does not work with Skype for Business Online 无法使用Skype for Business 2016安装Lync 2013 SDK - Can't install Lync 2013 SDK with Skype for Business 2016 在Skype for Business 2016中找不到Lync SDK 2013文件异常 - Lync SDK 2013 File not found exception in Skype for Business 2016 Skype for Business 2016联机状态的Lync.Model参考 - Lync.Model reference for Skype for Business 2016 Online Status Lync 2010 SDK:如何获取用户的语音邮件URI? - Lync 2010 SDK: how do I get the user's voicemail URI? 使用Lync 2013 SDK的Skype for Business-AutomationModalitySettings.FirstInstantMessage不起作用 - Skype for Business Using Lync 2013 SDK- AutomationModalitySettings.FirstInstantMessage Not Working 使用Lync SDK为所有Skype for Business参与者结束会议的正确方法 - Proper way to end meeting for all participants in Skype for Business using Lync SDK Skype for Business 2019和MSPL +托管代码不起作用 - Skype for Business 2019 and MSPL + managed code not working
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM