使用UCMA 3.0创建SIP客户端

| 我只是想知道UCMA 3.0 SDK是否支持此功能。 我计划使用SIP客户端调用一个独立的UCMA应用程序,该应用程序将使用VXML播放提示。谢谢。     
已邀请:
您需要在常规应用程序激活步骤之后首先配置应用程序端点。 之后,请使用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.
             }
    
如果我的问题正确无误,您想创建一个独立的ucma应用程序,当有人使用sip电话呼叫时可以播放提示。对?如果是这样,那是可能的。对于Sip电话,您可以使用Phoner lite或xlite。但是phoner lite不支持呼叫转移。 对于创建独立应用程序,请检查此http://www.ksac.com/blog/bid/58799/UCMA-3-0-Programs-Without-Lync-Server     

要回复问题请先登录注册