2016-05-17 5 views
0

私はMicrosoft UCMA 4.0 APIを使用しています。QuickStart App Skype for Business用のオーディオビデオレコーダーです。内部の組織からユーザーに電話すると、私は連絡して音声を録音することができます。 外部スカイプユーザーと連合しています。私は外部のSIP name.surname(gmail.com)@msn.comを呼び出そうとするとき、私はexeptionを取得しています:ここでMicrosoft UCMA 4.0 APIクイックスタートアプリケーションfor Skype

An exception of type 'Microsoft.Rtc.Signaling.RegisterException' occurred in Microsoft.Rtc.Collaboration.dll but was not handled in user code 

Additional information: The endpoint was unable to register. See the ErrorCode for specific reason. 

は手順です:

private void EndEndpointEstablish(IAsyncResult ar) 
    { 
     LocalEndpoint currentEndpoint = ar.AsyncState as LocalEndpoint; 
     try 
     { 
      currentEndpoint.EndEstablish(ar); 
     } 
     catch (AuthenticationException authEx) 
     { 
      // AuthenticationException will be thrown when the credentials are invalid. 
      Console.WriteLine(authEx.Message); 
      throw; 
     } 
     catch (ConnectionFailureException connFailEx) 
     { 
      // ConnectionFailureException will be thrown when the endpoint cannot connect to the server, or the credentials are invalid. 
      Console.WriteLine(connFailEx.Message); 
      throw; 
     } 
     catch (InvalidOperationException iOpEx) 
     { 
      // InvalidOperationException will be thrown when the endpoint is not in a valid state to connect. To connect, the platform must be started and the Endpoint Idle. 
      Console.WriteLine(iOpEx.Message); 
      throw; 
     } 
     finally 
     { 
      // Again, just for sync. reasons. 
      _endpointInitCompletedEvent.Set(); 
     } 
    } 

我々は外部のユーザーに到達することができますどのように?

2時間後に内部のユーザーに電話をかけようとしましたが、動作していません。メッセージを受け取る:

An exception of type 'Microsoft.Rtc.Signaling.AuthenticationException' occurred in RecorderSample.exe but was not handled in user code 
Additional information: Not authorized to perform the requested operation, request is refused 

なぜ私は突然承認されていませんか?

答えて

0

あなたは混乱していると思います。

UCMAアプリケーションは、SIPエンドポイントを作成してサービスします。 SIPエンドポイントは、など、それが作成し、オーディオ/ビデオ通話、インスタントメッセージ受け取ることができるという点で、「電話」、のようなものです

UCMAアプリケーションを作成することができ、エンドポイントの2つのタイプがあります。

両方の種類のエンドポイントは、Lyncで事前定義された種類のユーザーです。

シップエンドポイントは、壁に電話を差し込むようなSIPレジストラ(Lyncフロントエンド)に登録する必要があります。それは私がここにいると言っています。

これで、ローカルのLyncフロントエンドに "name.surname(gmail.com)@msn.com"というSIPエンドポイントを「登録」しようとしました。これは不正なので、「Microsoft.Rtc.Signaling.RegisterException」というエラーが発生しています。

「ローカル」Lyncユーザーを登録し、フェデレーションアカウントを「ダイヤル」するか、フェデレーションアカウントを使用してダイヤルします。

関連する問題