How do I prevent Lync-Server to send IM to endpoint without IM capabilities?
I have a UCMA application where I have a UserEndpoint created for a user A.
This UserEndpoint should not be able to receive IM (or any other media) so I have created the endpoint with the following settings:
_userEndpointSettings.Presence.PreferredServiceCapabilities.InstantMessagingSupport = CapabilitySupport.UnSupported;
_userEndpointSettings.Presence.PreferredServiceCapabilities.AudioSupport = CapabilitySupport.UnSupported;
_userEndpointSettings.Presence.PreferredServiceCapabilities.ApplicationSharingSupport = CapabilitySupport.UnSupported;
_userEndpointSettings.Presence.PreferredServiceCapabilities.VideoSupport = CapabilitySupport.UnSupported;
_userEndpointSettings.AutomaticPresencePublicationEnabled = true;
For a Lync-client logged in as user B looking at user A the text "Voice and IM Unavailable" is displayed.
However if user B sends an IM to user A the UserEndpoint still get a notification of an incoming IM.
(I registered an eventlistener just to see if this is what is happening)
If User A logs in to a Lync-client IM from user B will first be sent to the UCMA endpoint and then to the Lync-client after about 15 seconds. This causes unnecessary delays.
So, how can I prevent this from happening. Is there another UserEndpoint property that needs to be set?
Regards,
Madelaine