Lync 2013, Accept incoming InstantMessage call

随声附和 提交于 2019-12-11 11:08:53

问题


Im having some troubles with the Lync 2013 client SDK. I want to accept incoming conversations with my own program. For AV-calls this is working fine: When a new conversation starts, the ConversationAdded event fires, the AVModality state of the conversation is Notified and when calling Accept on the modality, the conversation window of Lync pops up as expected.

The trouble comes when trying to handling incoming IMcalls. On an incoming IMcall, the InstantMessageModality State is connected instead of notified. Also, calling Accept() on the modality does nothing. The first is acceptable, as i can register to window available events and interpret that. The second however, is not. To me it seems rather strange this doesn't work.

Is there any way to accept an incoming IM conversation like a AVconversation? (Ie, the Lync toast should dissappear and the lync conversation window should open)

Thnx


回答1:


Did you already look at How to: Join a Lync conversation on MSDN? In that doc they explain how joining/accepting an incoming A/V conversation is different than doing the same for an incoming IM conversation.
E.g. one of the differences is that IM conversation does not need to be connected.

HTH



来源:https://stackoverflow.com/questions/29117015/lync-2013-accept-incoming-instantmessage-call

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!