为外部用户创建主要端点 [英] create a principle endpoint for an external user

查看:57
本文介绍了为外部用户创建主要端点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我无法让我的UCCApi代码适用于通过ocs 2007 r2边缘服务器从外部连接的外部用户。代码在内部使用时工作正常 - 在用户和服务器之间创建一个端点,可用于
视频/ IM等。当我尝试使用相同代码进行外部连接时,前端服务器上的诊断显示发送SUBSCRIBE并成功路由响应 - 但我似乎没有在外部连接客户端计算机上收到OnEnable事件。
边缘服务器配置正常,因为我可以通过Communicator连接和视频会议。我想知道在创建端点时是否需要配置任何其他设置; MSDN文档 - 创建原则
端点似乎只适用于本地用户?


 


目前代码我是用于创建和建立端点的是:


 


UccPlatform platform = new UccPlatform();




//使用应用程序名称初始化平台




platform.Initialize(" testapplication",null);




//从平台对象创建端点对象




UccUriManager uriManager = new UccUriManager();
$
endpoint = platform.CreateEndpoint(UCC_ENDPOINT_TYPE.UCCET_PRINCIPAL_SERVER_BASED,uriManager.ParseUri(userURI),null,null);


IUccServerSignalingSettings pSettings = endpoint作为IUccServerSignalingSettings;

UccCredential credential = pSettings.CredentialCache.CreateCredential(signName,Password,domain);




pSettings.CredentialCache。 SetCredential(" *",credential);

pSettings.AllowedAuthenticationModes =(int)UCC_AUTHENTICATION_MODES.UCCAM_KERBEROS | (int)


UCC_AUTHENTICATION_MODES.UCCAM_NTLM;
$
pSettings.Server = pSettings.CreateSignalingServer(" ocsFronteEnd.mydomain.com",UCC_TRANSPORT_MODE.UCCTM_TLS);




Advise< _IUccEndpointEvents>(endpoint,this);

Advise< _IUccSessionManagerEvents>(endpoint,this);




endpoint.Enable(null);


 


任何帮助或指针表示赞赏!

解决方案

当您在外部时,您需要为媒体做一些额外的工作。 在UCC帮助文件中查看此主题:









关于Unified Communications Client API >
API对象模型>
统一通信客户端API的对象模型
>


媒体连接对象



Hi,

I'm having problems getting my UCCApi code to work for an external user connecting externally via an ocs 2007 r2 edge server. The code works fine when it's used internally - creating an endpoint between the user and the server which can be used for video/IM etc. When I try and connect externally using the same code the diagnostics on the front end server show that a SUBSCRIBE is sent and response sucessfully routed - but I don't seem to recieve a OnEnable event on the externally connecting client machine. The edge server is configured and working correctly as I can connect and video conference via Communicator. I was wondering if there were any additional settings that needed to be configured when creating the endpoint; MSDN documenation - Create a Principle Endpoint only seems to be for a local user?

 

Currently the code I'm using to create and establish an endpoint is:

 

UccPlatform platform = new UccPlatform();


//Initialize the platform with application name


platform.Initialize("testapplication", null);


//Create an endpoint object from the platform object


UccUriManager uriManager = new UccUriManager();
endpoint = platform.CreateEndpoint(UCC_ENDPOINT_TYPE.UCCET_PRINCIPAL_SERVER_BASED, uriManager.ParseUri(userURI), null, null);

IUccServerSignalingSettings pSettings = endpoint as IUccServerSignalingSettings;
UccCredential credential = pSettings.CredentialCache.CreateCredential(signName, Password, domain);


pSettings.CredentialCache.SetCredential("*", credential);
pSettings.AllowedAuthenticationModes = (int)UCC_AUTHENTICATION_MODES.UCCAM_KERBEROS | (int)

UCC_AUTHENTICATION_MODES.UCCAM_NTLM;
pSettings.Server = pSettings.CreateSignalingServer("ocsFronteEnd.mydomain.com", UCC_TRANSPORT_MODE.UCCTM_TLS);


Advise<_IUccEndpointEvents>(endpoint, this);
Advise<_IUccSessionManagerEvents>(endpoint, this);


endpoint.Enable(null);

 

Any help or pointers appreciated!

解决方案

You need to do some additional work for media when you are external.  Take a look at this topic in the UCC help file:

About Unified Communications Client API > API Object Models > Object Model of Unified Communications Client API >

Media Connectivity Objects


这篇关于为外部用户创建主要端点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆