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

UCMA 5

$
0
0

Hello,

I am new to UCMA. I have a conference and I do send an invitation to a URI:

 ConferenceInvitation invitation = new ConferenceInvitation(conversation,settings);
            invitation.BeginDeliver(u, deliverOptions, EndDeliverInvitation, invitation);

My call is failing in EndDeliverInvitation with no response from remote party:

201901281336410335-ResponceEx -- Failed to connect the call see the reason bellow...-2

201901281336410335-ResponseCode=487 ResponseText=Request terminated
DiagnosticInformation=ErrorCode=5002,Source=S4BFront1.labdm1.name,Reason=Request was cancelled,appuri=http%3A%2F%2Fwww.microsoft.com%2FLCS%2FDefaultRouting
Microsoft.Rtc.Signaling.DiagnosticHeader

Microsoft.Rtc.Signaling.FailureResponseException:A 487 (Request terminated) response was received from the network and the operation failed. See the exception details for more information.

I catch this exception in :

catch (FailureResponseException ResponceEx)
            {
                // OperationFailureException: Indicates failure to connect the 
                // call to the remote party.
                // TODO (Left to the reader): Add error handling code
                LogHelper.Log(LogTarget.FileEvent, "ResponceEx -- Failed to connect the call see the reason bellow...", 2);
                invitation.Conversation.Calls.Clear();
                LogHelper.Log(LogTarget.FileEvent, ResponceEx.ToString(), 2);
                return;
            }

How do I handle this exception so the call comes back to app before I sent the invitation?

Thanks.

bugaian.


Viewing all articles
Browse latest Browse all 889

Trending Articles



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