本文介绍了UCMA Presence发布错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

推荐答案

您是否相应地为每个BeginPublishPresence调用EndPublishPresence ?

Do you call the EndPublishPresence for each BeginPublishPresence accordingly?

例如:


UserEndpointSettings userEndpointSettings = new UserEndpointSettings("sip:someuser@someserver");

UserEndpoint userEndpoint = new UserEndpoint(_collabPlatform, userEndpointSettings);

ar = userEndpoint.BeginEstablish(null, null);
userEndpoint.EndEstablish(ar);

List<PresenceCategoryWithMetaData> presenceCategories = new List<PresenceCategoryWithMetaData>();

// Filling up the list
// ...
// ...

IAsyncResult ar = userEndpoint.LocalOwnerPresence.BeginPublishPresence(presenceCategories);
userEndpoint.LocalOwnerPresence.EndPublishPresence(ar);


这篇关于UCMA Presence发布错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-15 14:16