无法从Lync客户端接收创建会议事件(立即开会) [英] Not able to receive create conference event from Lync client (on Meet now)

查看:110
本文介绍了无法从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.com" ;,

           " 10.203.229.164",5061);

 ApplicationEndpointSettings endpointSettings = new ApplicationEndpointSettings("sip:ConferenceOnTheGo@dc.com",
                    "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.com到会议。

The events you have hooked will only be raised if a user explicitly calls or invites sip:ConferenceOnTheGo@dc.com 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客户端接收创建会议事件(立即开会)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆