问题
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