I’m trying to detect an incoming call in the Lync client . This is done by subscribing to ConversationManager.ConversationAdded event in the Lync client as described in this post
However, by using this method I’m not able to detect incoming calls if a conversation window with the caller is already open before the caller is calling.
For instance if I’m chatting with a friend and therefore have a open conversation windows and this friend decides to call me, the ConversationAdded event is not triggered.
How would I detect incoming calls when I already have an active conversation with the caller?
Thanks,
Nicklas
You should subscribe to the ModalityStateChanged event on Conversation.Modalities[ModalityTypes.AudioVideo], this will give you events when the AV modality is created or changes state.