无法从Lync客户端接收创建会议事件(立即开会)

编程入门 行业动态 更新时间:2024-10-26 18:25:27
本文介绍了无法从Lync客户端接收创建会议事件(立即开会)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我们使用的是UCMA 5.0(V6.0.9319.0)和Lync Server 2015(V6.0.9276.0)。单击立即Meet时,从Lync客户端,我们希望在使用UCMA 5.0开发的应用层上触发一些事件。

We are using UCMA 5.0(V6.0.9319.0) and Lync Server 2015(V6.0.9276.0). From the Lync client whenever Meet now is clicked, we expect some event to be triggered on the application layer which is developed using UCMA 5.0.

我们对UCMA开发非常天真,以下是我们在应用程序层上尝试过的代码:

We are pretty much naive to UCMA development and below is the code we have tried on the application layer:

ProvisionedApplicationPlatformSettings serverPlat = new ProvisionedApplicationPlatformSettings(" ConferenceOnTheGo" ,"urn:application:ConferenceOnTheGo");

ProvisionedApplicationPlatformSettings serverPlat = new ProvisionedApplicationPlatformSettings("ConferenceOnTheGo", "urn:application:ConferenceOnTheGo");

_platform = new CollaborationPlatform(serverPlat);

_platform = new CollaborationPlatform(serverPlat);

_platform .EndStartup(_platform.BeginStartup(null,null));

_platform.EndStartup(_platform.BeginStartup(null, null));

ApplicationEndpointSettings endpointSettings = new ApplicationEndpointSettings(" sip:ConferenceOnTheGo@dc" ;, " 10.203.229.164",5061);

ApplicationEndpointSettings endpointSettings = new ApplicationEndpointSettings("sip:ConferenceOnTheGo@dc", "10.203.229.164", 5061);

endpointSettings.IsDefaultRoutingEndpoint = true; _endpoint = new ApplicationEndpoint(_platform,endpointSettings);

endpointSettings.IsDefaultRoutingEndpoint = true; _endpoint = new ApplicationEndpoint(_platform, endpointSettings);

_endpoint.EndEstablish(_endpoint.BeginEstablish(null,null));

_endpoint.EndEstablish(_endpoint.BeginEstablish(null, null));

_endpoint.InnerEndpoint.SessionReceived + = OnInnerEndpointSessionReceived; //我们收到此事件

_endpoint.InnerEndpoint.SessionReceived += OnInnerEndpointSessionReceived; // we are receiving this event

_endpoint.RegisterForIncomingCall< AudioVideoCall>(OnAudioVideoCallReceived); //我们没有收到此事件。

_endpoint.RegisterForIncomingCall<AudioVideoCall>(OnAudioVideoCallReceived); // we are not receiving this event.

_endpoint.ConferenceInvitationReceived + = ConferenceInvitationReceived; //我们没有收到此事件。

_endpoint.ConferenceInvitationReceived += ConferenceInvitationReceived;// we are not receiving this event.

请在我们的UCMA申请层获取CreateConference活动时,建议我们是否做得正确或遗漏任何内容

Please suggest if we are doing it rightly or missing anything in getting CreateConference Event on our UCMA apllication layer

推荐答案

这不是UCMA的工作方式。 UCMA端点不会了解其他端点创建的对话。您可以将UCMA端点视为另一个Lync客户端实例。当您有两个客户以相同的用户身份登录时,如果您现在在一个客户上开始会议,则另一个客户没有任何参与。同样,如果Lync客户端启动Meet Now,则UCMA应用程序将不参与。

That is not the way UCMA works. A UCMA endpoint will not have any knowledge of the conversations created by another endpoint. You can think of a UCMA endpoint as another Lync client instance. When you have two clients signed in as the same user, if you start a meet now on one, the other client does not have any involvement in that. Likewise if a Lync client starts a Meet Now, the UCMA app will have no involvement in that.

只有在用户明确呼叫或邀请sip时才会引发您已挂钩的事件:ConferenceOnTheGo @ dc到会议。

The events you have hooked will only be raised if a user explicitly calls or invites sip:ConferenceOnTheGo@dc to a conference.

如果您想知道用户何时开始/加入会议,您可以使用Lync Server SDK应用程序来监控SIP消息并做出反应看到用户创建或加入会议。

If you want to know when a user starts/joins a meeting, you can use a Lync Server SDK application to monitor the SIP messages and react when it sees the user create or join a conference.

更多推荐

无法从Lync客户端接收创建会议事件(立即开会)

本文发布于:2023-10-26 19:19:24,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1531107.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:客户端   事件   会议   Lync

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!