2

UCMA 3.0 で Lync 会議をスケジュールしようとしています。会議を作成したら、ConferenceUri をユーザーに送信し、会議に参加させます。

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

次のコードを使用して会議をスケジュールします。

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 日以上オフラインになっている別のなりすましユーザーと一緒に会議に参加しているのは私だけです。

誰かが私を助けることができますか?どうもありがとう。

4

3 に答える 3

1

UCMA 3.0 によると、会議の流れは次のとおりです。

  1. BeginScheduleConference と EndScheduleConference を使用して会議をスケジュールします。
  2. BeginJoin および EndJoin-Important を使用して会議に参加します (ローカル エンド ポイントは、これらの呼び出しを通じて会議に参加します)。
  3. ローカル エンドポイントの BeginEscalateToConference と EndEscalateToConference を使用してエスカレートします。
  4. これで、他の参加者の会議 ID と URI を公開できます。
于 2014-02-25T04:09:46.870 に答える
0

私はあなたが使用できると思います

conferenceScheduleInformation.ExpiryTime
于 2014-07-10T10:46:17.927 に答える