我正在寻找Lync 2010的客户端和服务器端API.但我找到了许多能够开发的API.任何人都有什么区别?请帮忙
Microsoft Lync Server 2010 SDK http://www.microsoft.com/downloads/en/details.aspx?FamilyID=58ccf6fd-31db-4f15-bafb-c5ef28afc5fc
Microsoft统一通信托管API 3.0软件开发工具包 http://www.microsoft.com/downloads/en/details.aspx?FamilyID=4493BAAB-6214-4770-8CF9-69C813E8A9FA
Microsoft Unified Communications Client API SDK
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=82c468da-3294-4ca9-bbcc-d455cfd06af2
围绕Skype for Business似乎有很多不同的SDK/API.我很难解读哪一个适合服务器端的Bot应用程序可以将组织特定信息传递给组织内的用户.例如,我们希望能够通过消息传递任务并执行基于状态的任务分配.这似乎是相当低的成果,但REST端点和文档才能实现这一点.假设例如我想创建一个小的控制台应用程序,可以促进这个API你会推荐什么?
没有样本用于UCMA将文件从applicationendpoint发送到userendpoint,反之亦然.
我试过下面的样本,但它没有用.查看代码和错误:
if (e.State == MediaFlowState.Active)
{
byte[] fileBytes = null;
using (FileStream fs = File.OpenRead(_fileToSend))
{
fileBytes = new byte[fs.Length];
fs.Read(fileBytes, 0, fileBytes.Length);
}
ContentType ct = new ContentType("text/x-msmsgsinvite");
ct.CharSet = "UTF-8";
StringBuilder sb = new StringBuilder();
sb.Append("Application-Name: File Transfer\r\n");
sb.Append("Application-GUID: {5D3E02AB-6190-11d3-BBBB-00C04F795683}\r\n");
sb.Append("Invitation-Command: INVITE\r\n");
sb.Append("Invitation-Cookie: 33267\r\n");
sb.Append("Application-File: Readme.txt\r\n");
sb.Append("Application-FileSize: " + fileBytes.Length.ToString() + "\r\n");
sb.Append("Connectivity: N\r\n\r\n");
string s = sb.ToString();
byte[] bytes1 = Encoding.UTF8.GetBytes(s);
try
{
_instantMessagingFlow.BeginSendInstantMessage(ct, bytes1, result1 =>
{
_instantMessagingFlow.EndSendInstantMessage(result1);
}, null);
WriteLog.AddLine("File sent to: " + …
Run Code Online (Sandbox Code Playgroud) 我正在尝试使用UCMA示例并遇到https://msdn.microsoft.com/en-us/library/office/dn454827(v=office.16).aspx 我从https:// msdn安装了SDK .microsoft.com/EN-US/library/office/dn465959(v = office.16).aspx并且有先决条件,但由于某些原因,当我运行示例时,我遇到了如下错误:
{"Could not load file or assembly 'SIPEPS, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.":"SIPEPS, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"}
Run Code Online (Sandbox Code Playgroud)
是否有人知道为什么我可能会从开箱即用的样本中收到此错误?知道如何解决它吗?
我在VS 2013和VS 2010上都开发了一个UCMA 4.0应用程序.运行项目时,我收到了这个错误:
无法加载文件或程序集'SIPEPS,Version = 5.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35'或其依赖项之一.该系统找不到指定的文件.
我使用了.NET
4并设置了目标构建平台x64
.由dependwalker_x64检查,没有文件丢失.
我还使用了Sample中的App.config文件但没有工作,所以我更改了App.config文件,如下所示:
<runtime>
<assemblyBinding>
<dependentAssembly>
<assemblyIdentity name="SIPEPS" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.5.0.0" newVersion="5.0.0.0"/>
</dependentAssembly>
</assemblyBinding>
Run Code Online (Sandbox Code Playgroud)
我该怎么做这个问题?非常感谢您的帮助!
我正在尝试从独立的UCMA应用程序到SIP提供商(Gamma)进行出站呼叫,该提供商根据连接的IP地址进行身份验证.以下是我试图实现此目的的代码(直接取自Michael Greenlee(http://blog.greenl.ee/2012/06/15/outbound-calls-ucma-lync-server/):
ApplicationEndpointSettings endpointSettings =
new ApplicationEndpointSettings("sip:02037571***@80.229.80.***"); // My Ext. IP
...
CallEstablishOptions options = new CallEstablishOptions();
options.ConnectionContext = new ConnectionContext("88.215.61.***", 5060); // Gamma Ext. IP
Conversation conv = new Conversation(_endpoint);
AudioVideoCall avcall = new AudioVideoCall(conv);
avcall.BeginEstablish("sip:07709411***@88.215.61.***", options,
ar2 =>
{
try
{
avcall.EndEstablish(ar2);
}
catch (Exception ex)
{
Console.WriteLine(ex);
}
},
null);
Run Code Online (Sandbox Code Playgroud)
尝试拨号失败,Gamma返回403 Forbidden-Source Endpoint Lookup Failed.
我已经将wireshark跟踪与此尝试失败以及可以成功拨出的硬件PBX进行了比较.
工作硬件PBX:
From: "02037571***"<sip:02037571***@80.229.80.***>;tag=39E432463135364100006C30
SIP Display info: "02037571***"
SIP from address: sip:02037571040@80.229.80.***
SIP from address User Part: 02037571***
SIP from …
Run Code Online (Sandbox Code Playgroud) 有没有人成功使用UCMA 2.0 sdk通过即时消息流发送格式化文本?
它似乎没有在MSDN上很好地记录.那里有什么例子吗?有没有谈到这个的书?
我刚刚使用UCMA 4.0创建了一个小型LYNC应用程序 - 它在我的本地计算机上运行良好但我在目标服务器上安装它时遇到问题.我已经用丢失的程序集进行了战斗并获胜,但仍无法正常运行程序:
System.IO.FileNotFoundExceptionL Could not load file or assembly SIPEPS.dll or one of its dependencies.
Run Code Online (Sandbox Code Playgroud)
好的 - 我发现一些帮助建议将发布更改为x64和.net框架为4.5,这很好,因为服务器仍然是64位...但这还没有解决问题:运行依赖检查器后我已经发现我失踪了 IESHIMS.DLL, MSCOREE.DLL and OLE32.DLL
等,OLE32?对于64位?
好吧,似乎我可以将它安装在其他计算机上,但不能安装在服务器上......很奇怪.
编辑:问题似乎与Windows Server 2008 R2一起显示,我可以在较新的系统上安装它而不会出现问题
创建受信任的服务器应用程序然后在lync服务器上部署它的步骤是什么?我是lync服务器应用程序开发的新手.