即使用户在手机中,机器状态也是“在线”。 [英] Machine state is 'online' even though the user is in a phone.
问题描述
我的应用程序使用Communicator自动化API来监控本地用户的状态和机器状态。工作良好。但我有一个麻烦的场景:
My application uses the Communicator automation api to monitor the presence and the machine state of the local user. Works fine. But I have one troublesome scenario:
用户在(电话)呼叫中设置自己"可用"。我想完全可以做的事情。但是当我使用CommunicatorAPI.Messenger.GetContact()获取其状态时,他的机器状态(PRESENCE_PROP_MSTATE)也发生了变化,从"在
手机(50)上"变为"在线(2)"。这有点奇怪,因为用户仍处于对话中。
The user sets himself 'Available' while he is in a (telephony) call. Perfectly all right thing to do I suppose. But when I fetch his status using CommunicatorAPI.Messenger.GetContact() his machine state (PRESENCE_PROP_MSTATE) has changed too, from 'On the phone (50)' to 'Online (2). This is somewhat strange since the user is still in a conversation.
无论如何,我需要知道用户仍然在电话上 - 即使他有将他的可用性设置为"可用(3000)"。
Anyway, I need to know that the user is still on the phone - even though he has set his availability to 'available (3000)'.
我还有其他方法可以获取此信息吗?
Is there any other way I can get this information?
谢谢你,最诚挚的问候,
Thank you and best regards,
babu
挪威
推荐答案
按设计。 如果用户手动设置其状态,那么将覆盖任何自动设置,例如"在电话上"等。直到用户选择"重置状态"为止。来自下拉菜单。
By design. If the user manually sets his state, then that will override any automatic setting like "on-the-phone" until the user selects "Reset Status" from the drop down.
为什么用户在通话时会手动将自己设置为可用?
Why are the users manually setting themselves to available when they are in a call?
这篇关于即使用户在手机中,机器状态也是“在线”。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!