安排的Lync会议与UCMA 3.0 [英] Schedule a Lync Conference with UCMA 3.0

查看:154
本文介绍了安排的Lync会议与UCMA 3.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想安排的Lync会议,UCMA 3.0。在创建会议后,我送ConferenceUri给用户,让他们加入会议。

I am trying to schedule a lync conference with UCMA 3.0. After creating the conference I send the ConferenceUri to the users and let them join the conference.

<a href="callto:sip:tuser02@domain.ch;gruu;opaque=app:conf:focus:id:XXXXXXX">Lync Test 2.0</a>

我安排会议,以下code:

I schedule the conference with the following code:

public LyncConference CreateConference(LyncConference lyncConference)
       {
        ApplicationEndpoint appEndpoint = CreateApplicationEndpoint();
        if (appEndpoint == null)
        {
            return null;
        }

        // Event to notify the main thread when the endpoint has scheduled a conference.
        AutoResetEvent waitForConferenceScheduling = new AutoResetEvent(false);

        LyncConference newLyncConference = null;

        ConferenceScheduleInformation conferenceScheduleInformation = CreateConferenceScheduleInformation(lyncConference, null);

        WriteLine("New Conference Schedule Information created. Calling Lync ...", EventLogEntryType.Information);

        Exception error = null;

        appEndpoint.ConferenceServices.BeginScheduleConference(conferenceScheduleInformation,
            result =>
            {
                try
                {
                    Conference conference = appEndpoint.ConferenceServices.EndScheduleConference(result);
                    newLyncConference = CreateLyncConference(conference);
                    waitForConferenceScheduling.Set();
                }
                catch (Exception e)
                {
                    error = e;
                    WriteLine(e.Message, EventLogEntryType.Error);
                    waitForConferenceScheduling.Set();
                }
            },
            appEndpoint.ConferenceServices);


        // Wait until scheduling of the conference completes.
        waitForConferenceScheduling.WaitOne();


        if (error != null)
        {
            String errorMessage = "Error while creating a new lync conference: " + error.Message;
            WriteLine(errorMessage, EventLogEntryType.Error);
            throw new Exception(error.Message, error);
        }

            WriteLine("Conference scheduled with ID: " + newLyncConference.ConferenceId, EventLogEntryType.Information);
            PrintConferenceInfo(newLyncConference);

        return newLyncConference;
    }

调度会后我送物业Conference.ConferenceUri给用户。 如果用户点击与ConferenceUri的链接,Lync客户端反应并询问如果想调用了会议。一切工作正常,但只有我在发布会连同其他模拟用户是谁,因为120天下线。

After scheduling the conference i send the property Conference.ConferenceUri to the users. If the users clicks on the link with the ConferenceUri, the lync client reacts and asks if one would like to call the conference. Everything works fine but i am alone in the conference together with a other impersonate user who is offline since 120 days.

有人能帮助我吗? 非常感谢。

Can someone help me? Thanks a lot.

推荐答案

根据UCMA 3.0大会流程是:

As per UCMA 3.0 Conference flow is:

  1. 使用BeginScheduleConference和EndScheduleConference安排会议。
  2. 加入使用BeginJoin和EndJoin重要的(本地端点将参加通过这些电话会议)会议。
  3. 在上报使用BeginEscalateToConference和EndEscalateToConference您的本地终结点。
  4. 现在,你可以发布会议ID和URI的其他参与者。

这篇关于安排的Lync会议与UCMA 3.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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