我试图使用UCMA构建一个解决方案,但无法访问配置存储。没有它就可以使用UCMA吗?我有一个用户名/密码,我可以用来登录lync网络,我想也许我可以访问类似的东西。
发布于 2016-03-19 21:36:27
是的,你可以用UserEndpoint来做这件事。它不需要任何复制配置存储(只要你有一个用户名和密码,你已经说过了)。
我在这里对应用程序和用户端点进行了比较:http://blog.thoughtstuff.co.uk/2014/01/ucma-endpoints-choosing-between-application-and-user-endpoints/
以及在这里使用用户端点发送IM的工作示例:http://blog.thoughtstuff.co.uk/2013/03/creating-ucma-applications-with-a-userapplication-instance-example-sending-ims/
发布于 2016-03-15 23:08:00
UCMA应用程序可以在两种不同的模式下运行:
在这种模式下,您不能创建“ApplicationEndpoint”,但是如果您有用户的sip地址和密码,则可以创建“UserEndpoint”。
在这种模式下,您可以创建“ApplicationEndpoint”,也可以在不需要用户密码的情况下创建模拟"UserEndpoint“的任何用户。
可信应用程序的设置有两种类型。
2.1。自动提供的可信应用程序,这是一个非常容易安装与代码,但很难安装运行在机器上。我不推荐这种设置,因为机器安装要求很高。
2.2。手动提供的可信应用程序--这个程序有更多的“安装”代码,但是安装一台机器运行起来更容易。我会推荐这个设置,因为我发现整体设置要容易得多。
这两种类型的受信任应用程序都要求您在运行这些应用程序之前先在Lync中设置受信任的应用程序详细信息。
您使用的UCMA应用程序设置取决于您如何配置CollaborationPlatform实例。
基本不可信(客户端)应用程序:
var clientPlatformSettings = new ClientPlatformSettings("lync.front.end.server.address", SipTransportType.Tls)
var collaborationPlatform = new CollaborationPlatform(clientPlatformSettings);
...
await Task.Factory.FromAsync(collaborationPlatform.BeginStartup, collaborationPlatform.EndStartup, null);自动配置的可信应用程序:
var serverPlatformSettings = new ProvisionedApplicationPlatformSettings("lync.front.end.server.address", "trusted application id")
var collaborationPlatform = new CollaborationPlatform(serverPlatformSettings);
...
await Task.Factory.FromAsync(collaborationPlatform.BeginStartup, collaborationPlatform.EndStartup, null);手动配置可信应用程序:
var certificate = CertificateHelper.GetLocalCertificate("trusted application pool qfdn");
var settings = new ServerPlatformSettings("lync.front.end.server.address", Dns.GetHostEntry("localhost").HostName, trusted_application_port, trusted_application_gruu, certificate);
...
await Task.Factory.FromAsync(collaborationPlatform.BeginStartup, collaborationPlatform.EndStartup, null);有很多遗漏的细节。一旦你知道你想开发哪种类型的UCMA应用程序,你就可以在互联网上搜索这种类型的具体例子。
https://stackoverflow.com/questions/35998576
复制相似问题