Presentation is loading. Please wait.

Presentation is loading. Please wait.

Or about how to find the monkey in the lab….

Similar presentations


Presentation on theme: "Or about how to find the monkey in the lab…."— Presentation transcript:

1

2 Or about how to find the monkey in the lab….

3

4

5

6

7

8 client HTTP/ Unauthorized Cache-Control: no-cache Content-Type: text/html Server: Microsoft-IIS/7.5 WWW-Authenticate: Bearer trusted_issuers=" ff1-ce00- client_id=" ff1-ce " WWW-Authenticate: MsRtcOAuth href="https://lync32.lyncweb.microsoft.com/WebTicket/oauthtoken",grant_type="urn:microsoft.rtc:wi ndows,urn:microsoft.rtc:passive,urn:microsoft.rtc:anonmeeting,password" X-MS-Server-Fqdn: 000DCO2L50FE1B.redmond.corp.microsoft.com { "access_token": "cwt=AAEBHAEFAAAAAAAFFQAAAKBlz354S5tf53yHcA- ScgCBEDmnM6DEtsVUgAWP_RV8MvyCAsL7gyBmWIhojzG8M83- YPuWob0VoXver6tQPtoGGLFDZipCS4YIJibsGhP50AgNEH3WUHptad9YvSOZbec3KbQ", "expires_in": 27734, "ms_rtc_identityscope": "local", "token_type": "Bearer" }

9 { "_links": { "self": { "href": "https://lync0b.lyncweb.microsoft.com/Autodiscover/AutodiscoverService.svc/root/user" }, "applications": { "href": "https://lync0b.lyncweb.microsoft.com/ucwa/oauth/v1/applications" }, "xframe": { "href": "https://lync0b.lyncweb.microsoft.com/Autodiscover/XFrame/XFrame.html" }

10

11

12

13

14

15 Contact APIs Presence APIs Online Meeting Scheduling APIs

16 POST https://.../onlineMeetings/myOnlineMeetings 200-OK with meeting information

17 Messaging Invitations Online Meeting Invitations Send Message Presence Subscriptions Contacts and Groups Subscriptions

18 POST https://.../communication/onlineMeetingInvitations 201 Created - with location header GET https://... / /events?ack=1&timeout= OK – ack=1 PGET completes with event payload { "rel": "communication", "events": [ { "link": { "rel": "onlineMeetingInvitation",..}, "status": "Success", "_embedded": { "onlineMeetingInvitation": { "state": "Connected", "operationId": "2DCC542A-031B-4E1D-8FE7-C321B326D359", }, "rel": "onlineMeetingInvitation" } }, "type": "completed" } ]

19

20

21

22 Broad Categories: Sync and Async Can be programmed against

23 Ever-growing enum Has to be taken into context with the error code Can be programmed against Examples: ApplicationNotFound DeserializationFailure ParameterValidationFailure ResourceNotFound TooManyApplications Etc.

24

25 Synchronous error sub code Always comes with 400-Bad Request Developer friendly

26 Dictionary of Key Value pairs If enabled, gives rich details about the error that occurred Disabled by default due to legal reasons Can be enabled by explicitly adding the following key to the Web.Config file of UCWA :

27

28

29

30 Start, Stop, Search commands

31

32

33 X-MS-Server-Fqdn Date X-MS-Correlation-Id

34 Via Good to log all the headers returned by UCWA

35 UCWA Collaboration WebInfrastructure S4

36

37

38

39 During Development During Deployment After Deployment

40 Error about SIPEPS DLL with UCMA SIPEPS, Version= could not be found 1.You have targeted the wrong version of the.NET framework (.Net Framework 4.5) 2.You have targeted the wrong type of CPU (x64) Firewalls and UCMA applications 1.Firewall blocking incoming connections – SIP 504 error 2.Listening port and media ports (1024 – 65535) Media troubleshooting and quality data void OnMediaTroubleshootingDataReported(object sender, MediaTroubleshootingDataReportedEventArgs e) { foreach (MediaChannelEstablishmentData data in e.MediaChannelEstablishmentDataCollection) { if (data.EstablishmentStatus == MediaChannelEstablishmentStatus.Succeeded) { Console.WriteLine("Media establishment succeeded."); } else { Console.WriteLine("Media establishment failed: {0}", data.GetDiagnosticsReason()); } string qualityOfExperienceXml = System.Text.Encoding.UTF8.GetString(e.QualityOfExperienceContent.GetBody()) ; Console.WriteLine(qualityOfExperienceXml); } void OnCallReceived(object sender, CallReceivedEventArgs e) { e.Call.MediaTroubleshootingDataReported += this.call_MediaTroubleshootingDataReported; // Accept the call, do other important stuff, etc. }

41 Range and range name ‘success’- normal termination 'expected failures' - common error cases 'unexpected failures' - unexpected state or corner case

42

43 Error about loading dlls

44

45

46

47

48

49

50


Download ppt "Or about how to find the monkey in the lab…."

Similar presentations


Ads by Google