如何通过UCMA保持IM会话存活 [英] How to keep a IM session alive via UCMA

查看:65
本文介绍了如何通过UCMA保持IM会话存活的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个UCMA应用程序,可以打开一个受信任的应用程序端点,充当BOT来接收传入的IM会话。我们发现,如果与Lync客户端建立的IM会话空闲10分钟,则机器人正在与之通信的lync客户端将丢弃空闲会话。
来自该lync客户端的下一条消息将启动一个新会话。现在我们想要阻止这种情况发生,即我们希望会话保持活跃,除非我们从UCMA中删除它或者远程lync客户端真的离开了cnversation。我们尝试了不同的方法来获得
,但都失败了:

We have an UCMA appliation that opens a trusted application endpoint acting as a BOT to take incoming IM session. We found if an established IM session with a Lync client is idle for 10 minutes, the lync client the bot is talking to would drop the idle session. The next message from that lync client will start a new session. Now we'd like to stop that happening, i.e. we want the session stay alive unless we drop it from UCMA or the remote lync client really leaves the cnversation. We tried different approaches to get this going but all failed:

1>发送空消息

1> send empty message

2>改变作曲状态

2> change composing status

3>客户端策略似乎只适用于IM会议

3> client policy which seems only for IM conferences

此外,我查看了会话过期计时器,设置为20分钟,这表明lync客户端在10之后手动删除会话分钟闲置时间。

Also I done a look up the session expire timer, which is set to 20 minutes, which suggests to me the lync client drops the session manually after 10 minutes idle period.

是否有人遇到同样的问题并找到解决方案?

Is there anybody having the same issue and found a solution for it?

感谢任何帮助

推荐答案

Lync客户端会这样做,我不会相信它是可配置的。 保持对话活跃的唯一方法是积极发送即时消息。 

The Lync client will do that, and I don't believe it is configurable.  The only way to keep the conversation alive is to actively be sending IM's. 

您遇到什么样的问题? 即使基础呼叫已关闭,任何一方都可以在任何时候开始新的呼叫,以在同一对话中重新建立IM会话。 从Lync客户端的角度来看,这是透明的。

What kind of issue does the cause for you?  Even if the underlying call is closed, either side can start a new one at any point to reestablish the IM session within the same conversation.  From the Lync client's perspective this is transparent.


这篇关于如何通过UCMA保持IM会话存活的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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