0

UCMA3.0SDKがこれをサポートしているかどうか疑問に思っています。SIPクライアントを使用してスタンドアロンUCMAアプリケーションに電話をかける予定です。このアプリケーションは、VXMLを使用してプロンプトを再生します。ありがとう。

4

2 に答える 2

3

一般的なアプリケーションのアクティブ化手順に従って、最初にアプリケーション エンドポイントをプロビジョニングする必要があります。

次の手順に従って、ucma 3.0 API を使用します。

1) Create a new collaboration platform. Using 



X509Certificate2 cert ="your certificate thumb here";

 CollaborationPlatform _collabPlatform;

  ServerPlatformSettings settings = new ServerPlatformSettings(Name,  LocalhostFQDN,  ServicePort,  ServerGruu, cert);

 _collabPlatform = new CollaborationPlatform(settings);
  _collabPlatform.AllowedAuthenticationProtocol = SipAuthenticationProtocols.Ntlm;
_collabPlatform.BeginStartup(PlatformStartupCompleted, _collabPlatform);

2) Create a new Endpoint.
Here is the callback.

         private void PlatformStartupCompleted(IAsyncResult result)
                 {

            try
            {
                _collabPlatform.EndStartup(result);

              ApplicationEndpointSettings settings = new ApplicationEndpointSettings( AgentUri,  ServerFQDN,  ServerPort);
                    // For registered endpoints (recommended).
                    settings.UseRegistration = true;
                    _localEndpoint = new ApplicationEndpoint(_collabPlatform, settings);

                    _localEndpoint.BeginEstablish(EndpointEstablishCompleted, null);

            }
            catch (ConnectionFailureException connFailEx)
            {
                // ConnectionFailureException will be thrown when the platform cannot connect. 

            }
            catch (RealTimeException rte)
            {
                // Any other RealTimeException could occur due to other error.

            }

            }
       }


         private void EndpointEstablishCompleted(IAsyncResult result)
             {
              _localEndpoint.EndEstablish(result);
             //Register Event for incoming call here.
             }
于 2012-12-11T06:15:34.237 に答える