问题描述
我们使用的是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:[email protected]" ;,
" 10.203.229.164",5061);
ApplicationEndpointSettings endpointSettings = new ApplicationEndpointSettings("sip:[email protected]",
"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
推荐答案
只有在用户明确呼叫或邀请sip时才会引发您已挂钩的事件:ConferenceOnTheGo @ dc.com到会议。
The events you have hooked will only be raised if a user explicitly calls or invites sip:[email protected] 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客户端接收创建会议事件(立即开会)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!