Hi,
we have a problem that has been discussed here and in other communitys several times, but there is still no solution.
The problem is that we developed a lync client with lync SDK 2013, which unfortunately does not fireing (ConversationAdded method) for a formal response group. A skype call between to contacts works perfectly.
Im getting no exceptions or errors in VS...
private void Conversation_Added(object sender, ConversationManagerEventArgs e)
{
conargs = e;
if (e.Conversation.Modalities.TryGetValue(ModalityTypes.AudioVideo, out var avModality))
{
avModality.ModalityStateChanged -= AVModalityStateChanged;
avModality.ModalityStateChanged += AVModalityStateChanged;
}
private void AVModalityStateChanged(object sender, ModalityStateChangedEventArgs e)
{
try
{
Show.MessageBox("Incoming call");
if (e.NewState == ModalityState.Notified)
{
Application.Current.Dispatcher.BeginInvoke(new Action(() =>
{
pickup_img.IsEnabled = true;
Incoming_call = 1;
}
));
Can anybody help?
Thanks a lot!