We are building a SupressedUI Lync application.
When we set ourself to 'Do Not Disturb'. The other contacts see this immediately.
When a contact tries to call us (audio or video) our lync exe is crashing.
The default behavior of Lync is that when a contact is calling us. The call is not coming in and the contact gets a message that the user has a state of 'Do Not Disturb'.
When we set ourself to 'Do Not Disturb' we set the Availability to ContactAvailability.DoNotDisturb and the activityid to "DoNotDisturb".
What can we do to handle the Do Not Disturb availability correct?