私は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
なぜ私は突然承認されていませんか?