Quantcast
Channel: Microsoft Unified Communications Managed API SDK forum
Viewing all articles
Browse latest Browse all 889

Back to Back, Conference Escalation and AV-MCU Dial out

$
0
0

Hi all,

Here again!!

I have a test application which create a back to back call from one user to another. One of the parties then adds someone else to the conversation which escalates it to a conference. The EscalateToConferenceRequestedEventArgs event fires and I can successfully Join the parties to the conference using beginJoin and and audiovideomcu.transfer.

The issue I have is with the AudioVideoMcuSession.BeginDialOut. I get an exception with this stating that the "The conference was terminated internally."

        private static void EscalateToConferenceRequested(object sender, EscalateToConferenceRequestedEventArgs e)
        {
            Conversation InboundConversation = sender as Conversation;
            AudioVideoCall OutboundCallLeg = InboundConversation.Calls[0].ApplicationContext as AudioVideoCall;
            InboundConversation.ConferenceSession.EndJoin(InboundConversation.ConferenceSession.BeginJoin(default(ConferenceJoinOptions), null, InboundConversation.ConferenceSession));
            InboundConversation.ConferenceSession.AudioVideoMcuSession.EndTransfer(InboundConversation.ConferenceSession.AudioVideoMcuSession.BeginTransfer(OutboundCallLeg, null, null, InboundConversation.ConferenceSession.AudioVideoMcuSession));
            try
            {
                InboundConversation.ConferenceSession.AudioVideoMcuSession.EndDialOut(InboundConversation.ConferenceSession.AudioVideoMcuSession.BeginDialOut("sip:lyncredirector@twdev01.com", null, InboundConversation.ConferenceSession.AudioVideoMcuSession));
            }
            catch (Exception)
            {

            }
        }

I have uploaded the Log file to Here.

I would appreciate some help as I have found nothing on this error.

Thanks

Michael.

Viewing all articles
Browse latest Browse all 889

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>