microsoft-graph-comms-samples icon indicating copy to clipboard operation
microsoft-graph-comms-samples copied to clipboard

[AksSamples/teams-recording-bot]Server Internal Error. DiagCode: 3003#7106

Open Desarrollo6Calltech opened this issue 2 years ago • 5 comments

The AksSamples/teams-recording-bot demo was working correctly, but now the Teams platform hangs up the call once it is answered and termination code is: "resultInfo": { "@odata.type": "#microsoft.graph.resultInfo", "code": 500, "subcode": 7106, "message": "Server Internal Error. DiagCode: 3003#7106.@" }.

The demo has been running through ngrok.

The Microsoft Graph SDK version is 3.8.0

Below these are the termination events: (the user id and tenant id are changed)

EVENT 1******************* { "@odata.type": "#microsoft.graph.commsNotifications", "value": [ { "@odata.type": "#microsoft.graph.commsNotification", "changeType": "deleted", "resource": "/app/calls/7f1f6300-5631-4c9b-910f-40bab8c6ce8b", "resourceUrl": "/communications/calls/7f1f6300-5631-4c9b-910f-40bab8c6ce8b", "resourceData": { "@odata.type": "#microsoft.graph.call", "state": "terminated", "resultInfo": { "@odata.type": "#microsoft.graph.resultInfo", "code": 500, "subcode": 7106, "message": "Server Internal Error. DiagCode: 3003#7106.@" }, "terminationReason": "CallTerminated", "direction": "incoming", "callbackUri": "https://recording.sa.ngrok.io/0/api/calling/notification", "source": { "@odata.type": "#microsoft.graph.participantInfo", "id": "c6c2fb36-d0dd-414a-b8d6-437dec272b29", "identity": { "@odata.type": "#microsoft.graph.identitySet", "user": { "@odata.type": "#microsoft.graph.identity", "id": "XXXc1-1033-4717-8d44-11253c73XXXX", "displayName": "Jesús Esteban Suarez", "tenantId": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "identityProvider": "AAD" } }, "endpointType": "default", "region": "amer", "languageId": "es-es", "countryCode": "CO" }, "targets": [ { "@odata.type": "#microsoft.graph.invitationParticipantInfo", "identity": { "@odata.type": "#microsoft.graph.identitySet", "applicationInstance": { "@odata.type": "#microsoft.graph.identity", "id": "81d14c7a-94fe-487b-abd6-9e9bc3e6603f", "tenantId": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "identityProvider": "AAD" } }, "endpointType": "default", "id": "abdf2325-298e-403b-9085-c095e4e14134", "region": null, "languageId": null } ], "mediaConfig": { "@odata.type": "#microsoft.graph.appHostedMediaConfig", "blob": "{"mpUri":"net.tcp://recording.sa.ngrok.io:26421/MediaProcessor","audioRenderContexts":["d000f5fe-1949-4549-9de9-1e8bdcb99e6f"],"videoRenderContexts":[null],"audioSourceContexts":[null],"videoSourceContexts":[],"dataRenderContexts":null,"dataSourceContexts":null,"supportedAudioFormat":"Pcm16K","videoSinkEncodingFormats":["Yuv"],"mpMediaSessionId":"4a7183d9-719c-4a82-ade8-db0a2362decd","regionAffinity":null,"skypeMediaBotsVersion":"1.19.0.0025","mediaStackVersion":"2020.18.1.16","mpVersion":"7.2.0.9053","callId":"7f1f6300-5631-4c9b-910f-40bab8c6ce8b"}" }, "meetingInfo": { "@odata.type": "#microsoft.graph.tokenMeetingInfo", "token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" }, "meetingCapability": { "@odata.type": "#microsoft.graph.meetingCapability" }, "tenantId": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "myParticipantId": "abdf2325-298e-403b-9085-c095e4e14134", "callChainId": "5e11918d-1eaf-41ef-b9b2-3a951c576f63", "incomingContext": { "@odata.type": "#microsoft.graph.incomingContext", "sourceParticipantId": "c6c2fb36-d0dd-414a-b8d6-437dec272b29", "observedParticipantId": "c6c2fb36-d0dd-414a-b8d6-437dec272b29" }, "mediaHostedRegion": "USEA2", "id": "7f1f6300-5631-4c9b-910f-40bab8c6ce8b", "applicationMetadata": { "botData": { "callId": "5e11918d-1eaf-41ef-b9b2-3a951c576f63", "mediaHostedRegion": "USEA2", "user": { "participationMethod": "Caller", "clientLocation": "CO", "policyHolderId": "8:orgid:XXXc1-1033-4717-8d44-11253c73XXXX", "policyHolderTenantId": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" }, "otherSideUser": { "id": "8:orgid:XXXX7288-8fdf-4ce5-b808-XXXXXXXXXXXX", "participantId": "XXXa6660-7d55-4d76-979e-XXXXXXXXXXXX", "tenantId": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "participationMethod": "Callee" }, "inviteReasons": [ "ComplianceRecording" ], "policyIdentifier": "TeamsComplianceRecordingPolicy=Tenant:RecorderTeamsRecordingPolicy", "otherRecorders": [], "pairedRecorders": [], "isMultiParty": true, "applicationType": null } } } } ] }

EVENT 2**************************** { "@odata.type": "#microsoft.graph.commsNotifications", "value": [ { "@odata.type": "#microsoft.graph.commsNotification", "changeType": "deleted", "resource": "/app/calls/711f6300-7b5a-4b19-bd2e-b4f1ff7ac0c5", "resourceUrl": "/communications/calls/711f6300-7b5a-4b19-bd2e-b4f1ff7ac0c5", "resourceData": { "@odata.type": "#microsoft.graph.call", "state": "terminated", "resultInfo": { "@odata.type": "#microsoft.graph.resultInfo", "code": 500, "subcode": 7106, "message": "Server Internal Error. DiagCode: 3003#7106.@" }, "terminationReason": "CallTerminated", "direction": "incoming", "callbackUri": "https://recording.sa.ngrok.io/0/api/calling/notification", "source": { "@odata.type": "#microsoft.graph.participantInfo", "id": "c6c2fb36-d0dd-414a-b8d6-437dec272b29", "identity": { "@odata.type": "#microsoft.graph.identitySet", "user": { "@odata.type": "#microsoft.graph.identity", "id": "XXXc1-1033-4717-8d44-11253c73XXXX", "displayName": "Jesús Esteban Suarez", "tenantId": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "identityProvider": "AAD" } }, "endpointType": "default", "region": "amer", "languageId": "es-es", "countryCode": "CO" }, "targets": [ { "@odata.type": "#microsoft.graph.invitationParticipantInfo", "identity": { "@odata.type": "#microsoft.graph.identitySet", "applicationInstance": { "@odata.type": "#microsoft.graph.identity", "id": "81d14c7a-94fe-487b-abd6-9e9bc3e6603f", "tenantId": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "identityProvider": "AAD" } }, "endpointType": "default", "id": "51a9ff1e-3046-40f3-adaa-f97b5e73cca7", "region": null, "languageId": null } ], "mediaConfig": { "@odata.type": "#microsoft.graph.appHostedMediaConfig", "blob": "{"mpUri":"net.tcp://recording.sa.ngrok.io:26421/MediaProcessor","audioRenderContexts":["63cdf1da-8d5f-4337-996e-a6b8d77cd907"],"videoRenderContexts":[null],"audioSourceContexts":[null],"videoSourceContexts":[],"dataRenderContexts":null,"dataSourceContexts":null,"supportedAudioFormat":"Pcm16K","videoSinkEncodingFormats":["Yuv"],"mpMediaSessionId":"7d0bb371-1461-43c9-946d-3e6034028bf7","regionAffinity":null,"skypeMediaBotsVersion":"1.19.0.0025","mediaStackVersion":"2020.18.1.16","mpVersion":"7.2.0.9053","callId":"711f6300-7b5a-4b19-bd2e-b4f1ff7ac0c5"}" }, "meetingInfo": { "@odata.type": "#microsoft.graph.tokenMeetingInfo", "token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" }, "meetingCapability": { "@odata.type": "#microsoft.graph.meetingCapability" }, "tenantId": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "myParticipantId": "51a9ff1e-3046-40f3-adaa-f97b5e73cca7", "callChainId": "5e11918d-1eaf-41ef-b9b2-3a951c576f63", "incomingContext": { "@odata.type": "#microsoft.graph.incomingContext", "sourceParticipantId": "c6c2fb36-d0dd-414a-b8d6-437dec272b29", "observedParticipantId": "c6c2fb36-d0dd-414a-b8d6-437dec272b29" }, "mediaHostedRegion": "USEA", "id": "711f6300-7b5a-4b19-bd2e-b4f1ff7ac0c5", "applicationMetadata": { "botData": { "callId": "5e11918d-1eaf-41ef-b9b2-3a951c576f63", "mediaHostedRegion": "USEA", "user": { "participationMethod": "Caller", "clientLocation": "CO", "policyHolderId": "8:orgid:XXXc1-1033-4717-8d44-11253c73XXXX", "policyHolderTenantId": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" }, "otherSideUser": { "id": "8:orgid:XXXX7288-8fdf-4ce5-b808-XXXXXXXXXXXX", "participantId": "XXXa6660-7d55-4d76-979e-XXXXXXXXXXXX", "tenantId": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "participationMethod": "Callee" }, "inviteReasons": [ "ComplianceRecording" ], "policyIdentifier": "TeamsComplianceRecordingPolicy=Tenant:RecorderTeamsRecordingPolicy", "otherRecorders": [], "pairedRecorders": [], "isMultiParty": true, "applicationType": null } } } } ] }

¿What could be happening?

Desarrollo6Calltech avatar Sep 14 '23 21:09 Desarrollo6Calltech

While I am unfamiliar with the error code, I do have two notes.

  1. it would be great to have proper formatting of the logs
  2. if you decide to redact info like tenant ids, you'll need to redact them inside the tokens as well, otherwise anybody can see your tenant id is 62707388....eecee2e.

InDieTasten avatar Sep 15 '23 08:09 InDieTasten

I believe if you are running the latest version of the Media library that it does not work with ngrok out of the box, although I cannot recall where I heard that.

mosoftwareenterprises avatar Sep 15 '23 09:09 mosoftwareenterprises

Same issue here

rayhuang2 avatar Nov 17 '23 18:11 rayhuang2

If you run your application locally you have to check the setup of the call notification uri in the azure settings, as the setup is made for the k8s cluster not for the ngrok local setup, you can update the building of it to point to your ngrok domain.

1fabi0 avatar Jan 05 '24 09:01 1fabi0

I get the same message when I try to debug AKS bot locally in Visual Studio (no Docker). I've created post for this at https://github.com/LM-Development/aks-sample/issues/64

Below, I will give more details on what I did in order to make bot run and give the requests posted to calling and calling/notification endpoints.

I have closely followed instructions at https://github.com/LM-Development/aks-sample/blob/main/Samples/PublicSamples/RecordingBot/docs/tutorials/deploy-tutorial.md and with help from my DevOps friend, we run this bot in AKS. Security policy is assigned to specific AAD user so whenever I make call between myself and that user, I can see log statements from project shown inside Kube pod. Because bot was not creating WAV files, I wanted to debug it and run into problem with setting up a debug.

I am using pro ngrok that allows me to have TCP set and to upload certificate(s). For this purpose, I used Let's Encrypt to generate certificate for aiden-rt-2.primeholding.com and it is not wildcard certificate.

ngrok, when started is shown on image below image

Now, I go to Azure portal and update bot webhook (for calling) to https://aiden-rt-2.primeholding.com/api/calling and then I start the solution in Visual Studio. When I try to make same call as before this change (use myself to call that user that has policy set on it), I can see request are coming to /calling and /calling/notifications endpoints but call is never established (gets terminated based on ngrok data I will post below).

Here is the list of POST requests made during this process. First call is made to /calling endpoint with request { "@odata.type": "#microsoft.graph.commsNotifications", "value": [ { "@odata.type": "#microsoft.graph.commsNotification", "changeType": "created", "resource": "/app/calls/0b003a80-daaa-4709-aa2c-376514b5f1a1", "resourceUrl": "/communications/calls/0b003a80-daaa-4709-aa2c-376514b5f1a1", "resourceData": { "@odata.type": "#microsoft.graph.call", "state": "incoming", "direction": "incoming", "callbackUri": "https://aiden-rt-2.primeholding.com/api/calling", "source": { "@odata.type": "#microsoft.graph.participantInfo", "id": "b17aa89b-6f47-416c-a5dd-f0c8c677626f", "identity": { "@odata.type": "#microsoft.graph.identitySet", "user": { "@odata.type": "#microsoft.graph.identity", "id": "0caa0608-b970-4990-91d3-51fd2d2c3628", "tenantId": "a4a16ac6-5ec4-4081-9867-01ddd942d88b", "identityProvider": "AAD" } }, "endpointType": "default", "region": "emea" }, "targets": [ { "@odata.type": "#microsoft.graph.invitationParticipantInfo", "identity": { "@odata.type": "#microsoft.graph.identitySet", "applicationInstance": { "@odata.type": "#microsoft.graph.identity", "id": "df2a6152-daf1-44bd-978f-5da419b253c1", "tenantId": "a4a16ac6-5ec4-4081-9867-01ddd942d88b", "identityProvider": "AAD" } }, "endpointType": "default", "id": "7a68e68f-8c07-477b-912a-6c567bca3b51", "region": null, "languageId": null } ], "meetingInfo": { "@odata.type": "#microsoft.graph.tokenMeetingInfo", "token": "eyJhbGciOiJSUzI1NiIsImtpZCI6Im91M3hkOU9GcTVUV3VfZDFTSUw1elRkTzdoQ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Id": "a4a16ac6-5ec4-4081-9867-01ddd942d88b", "myParticipantId": "7a68e68f-8c07-477b-912a-6c567bca3b51", "callChainId": "5e62233e-a201-4d71-9f59-bf957131f814", "incomingContext": { "@odata.type": "#microsoft.graph.incomingContext", "sourceParticipantId": "b17aa89b-6f47-416c-a5dd-f0c8c677626f", "observedParticipantId": "b17aa89b-6f47-416c-a5dd-f0c8c677626f" }, "mediaHostedRegion": "EUNO", "id": "0b003a80-daaa-4709-aa2c-376514b5f1a1", "applicationMetadata": { "botData": { "callId": "5e62233e-a201-4d71-9f59-bf957131f814", "mediaHostedRegion": "EUNO", "user": { "participationMethod": "Callee", "policyHolderId": "8:orgid:0caa0608-b970-4990-91d3-51fd2d2c3628", "policyHolderTenantId": "a4a16ac6-5ec4-4081-9867-01ddd942d88b" }, "otherSideUser": { "id": "8:orgid:40fe9bfc-ea76-4c20-ae66-819a61eeba67", "participantId": "7c1c8770-8490-4740-a6af-caba9a28482f", "tenantId": "a4a16ac6-5ec4-4081-9867-01ddd942d88b", "participationMethod": "Caller", "clientLocation": "RS" }, "inviteReasons": [ "ComplianceRecording" ], "policyIdentifier": "TeamsComplianceRecordingPolicy=Tenant:AiDEN_Real_Time_Bot_Policy", "otherRecorders": [], "pairedRecorders": [], "isMultiParty": true, "applicationType": null }, "disableComplianceRecordingAudioAnnouncementForCalls": false } } } ] }

Second call is made to /calling/notification with request { "@odata.type": "#microsoft.graph.commsNotifications", "value": [ { "@odata.type": "#microsoft.graph.commsNotification", "changeType": "updated", "resource": "/app/calls/0b003a80-daaa-4709-aa2c-376514b5f1a1", "resourceUrl": "/communications/calls/0b003a80-daaa-4709-aa2c-376514b5f1a1", "resourceData": { "@odata.type": "#microsoft.graph.call", "state": "establishing", "meetingInfo": { "@odata.type": "#microsoft.graph.tokenMeetingInfo", "token": "eyJhbGciOiJSUzI1NiIsImtpZCI6Im91M3hkOU9GcTVUV3VfZDFTSUw1elRkTzdoQSIsInR5cCI6IkpXVCIsIng1dCI6Im91M3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] }

Third call is made to /calling/notification with request { "@odata.type": "#microsoft.graph.commsNotifications", "value": [ { "@odata.type": "#microsoft.graph.commsNotification", "changeType": "deleted", "resource": "/app/calls/0b003a80-daaa-4709-aa2c-376514b5f1a1", "resourceUrl": "/communications/calls/0b003a80-daaa-4709-aa2c-376514b5f1a1", "resourceData": { "@odata.type": "#microsoft.graph.call", "state": "terminated", "resultInfo": { "@odata.type": "#microsoft.graph.resultInfo", "code": 500, "subcode": 3003, "message": "Server Internal Error. DiagCode: 500#3003.@" }, "meetingInfo": { "@odata.type": "#microsoft.graph.tokenMeetingInfo", "token": "eyJhbGciOiJSUzI1NiIsImtpZCI6Im91M3hkOU9GcTVUV3VfZDFTSUw1elRkTzdoQSIsInR5cCI6IkpXVCIsIng1dCI6Im91M3hkOU9GcTVUV3VfZDFTSUw1elRkTzdoQSJ9.eyJhcHBJZCI6IjY5ZDNjZjhjLWVmYmYtNGNkOC04NGRiLTlhMzM4N2E1NjEwZSIsImNvbnZlcnNhdGlvbkNvbnRyb2xsZXIiOiJodHRwczovL2FwaS5mbGlnaHRwcm94eS50ZWFtcy5taWNyb3NvZnQuY29tL2FwaS92Mi9lcC9jb252LWV1d2UtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9fMjFMc2pEN2lrcVJBbktGblhyRlhRP2k9MTAtNjAtMTgtNTgmZT02Mzg1Nzg4MjAwMDQwODM5MzEiLCJhY3Rpdml0eUlkIjoiNWU2MjIzM2UtYTIwMS00ZDcxLTlmNTktYmY5NTcxMzFmODE0IiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS9pZGVudGl0eS9jbGFpbXMvdGVuYW50aWQiOiJhNGExNmFjNi01ZWM0LTQwODEtOTg2Ny0wMWRkZDk0MmQ4OGIiLCJuYmYiOjE3MjMxOTA1NjAsImV4cCI6MTcyMzI5ODU2MCwiaXNzIjoiaHR0cHM6Ly9hcGkuYm90ZnJhbWV3b3JrLmNvbSIsImF1ZCI6Imh0dHBzOi8vYXBpLmJvdGZyYW1ld29yay5jb20ifQ.nnkb61vJqpDol6enlqQY_lRR1pGlfzHnvRP8Z-Js4bN7-6HdFHVtekYqeP5Nuy_snCQrKRIQlWdAN2dqrvLdDSvssDKexOKXBdnJLSNGQDZTuYeRUZTgh-ufzg_PI9qFlzQyaG4Mig-LkZEvXPBPV2LRVA-SN4hB-nb7j2ahJIHsZylDUnAaMQyCILpsfmK5_BunqH3BgsJhu24zIRe0uY_dHhi0ZP9V2YEoo8JRtMjVJWNost10ZHCQfSdjJr6HNIu5SGM4x_lr-FALpiuyj5JNZt5BgMZjdtmQNI9fmjjNCLYS3mm5RN1Ez5YZdIKLlr51dEbutLj2dMcha9z9rQ" }, "meetingCapability": { "@odata.type": "#microsoft.graph.meetingCapability", "allowTranslatedCaptions": true, "allowTranslatedTranscriptions": true, "recorderAllowed": [ "Attendee" ] }, "meetingProperties": { "@odata.type": "#microsoft.graph.meetingProperties", "meetingLabel": "00000000-0000-0000-0000-000000000000" }, "coOrganizers": [], "callChainId": "5e62233e-a201-4d71-9f59-bf957131f814" } } ] }

Fourth call is made to /calling/notification with request { "@odata.type": "#microsoft.graph.commsNotifications", "value": [ { "@odata.type": "#microsoft.graph.commsNotification", "changeType": "deleted", "resource": "/app/calls/0b003a80-daaa-4709-aa2c-376514b5f1a1", "resourceUrl": "/communications/calls/0b003a80-daaa-4709-aa2c-376514b5f1a1", "resourceData": { "@odata.type": "#microsoft.graph.call", "state": "terminated", "resultInfo": { "@odata.type": "#microsoft.graph.resultInfo", "code": 500, "subcode": 7106, "message": "Server Internal Error. DiagCode: 3003#7106.@" }, "terminationReason": "CallTerminated", "direction": "incoming", "callbackUri": "https://aiden-rt-2.primeholding.com/api/calling/notification", "source": { "@odata.type": "#microsoft.graph.participantInfo", "id": "b17aa89b-6f47-416c-a5dd-f0c8c677626f", "identity": { "@odata.type": "#microsoft.graph.identitySet", "user": { "@odata.type": "#microsoft.graph.identity", "id": "0caa0608-b970-4990-91d3-51fd2d2c3628", "tenantId": "a4a16ac6-5ec4-4081-9867-01ddd942d88b", "identityProvider": "AAD" } }, "endpointType": "default", "region": "emea" }, "targets": [ { "@odata.type": "#microsoft.graph.invitationParticipantInfo", "identity": { "@odata.type": "#microsoft.graph.identitySet", "applicationInstance": { "@odata.type": "#microsoft.graph.identity", "id": "df2a6152-daf1-44bd-978f-5da419b253c1", "tenantId": "a4a16ac6-5ec4-4081-9867-01ddd942d88b", "identityProvider": "AAD" } }, "endpointType": "default", "id": "7a68e68f-8c07-477b-912a-6c567bca3b51", "region": null, "languageId": null } ], "mediaConfig": { "@odata.type": "#microsoft.graph.appHostedMediaConfig", "blob": "{\"mpUri\":null,\"mpHttpUri\":\"https://aiden-rt-2.primeholding.com:26823/MediaProcessor/v1\",\"audioRenderContexts\":[\"af6c1aba-3ec2-4196-81fd-62969d362dc3\"],\"videoRenderContexts\":[null],\"audioSourceContexts\":[null],\"videoSourceContexts\":[],\"dataRenderContexts\":null,\"dataSourceContexts\":null,\"supportedAudioFormat\":\"Pcm16K\",\"videoSinkEncodingFormats\":[\"Yuv\"],\"mpMediaSessionId\":\"a64ab1bc-4b2c-4ea3-8b7e-c684ce570e6f\",\"regionAffinity\":null,\"skypeMediaBotsVersion\":\"1.27.0.0002\",\"mediaStackVersion\":\"2023.27.1.5\",\"mpVersion\":\"8.0.0.3354\",\"callId\":\"0b003a80-daaa-4709-aa2c-376514b5f1a1\",\"receiveUnmixedMeetingAudio\":true,\"targetFrameworkVersion\":\"net6.0\"}" }, "meetingInfo": { "@odata.type": "#microsoft.graph.tokenMeetingInfo", "token": "eyJhbGciOiJSUzI1NiIsImtpZCI6Im91M3hkOU9GcTVUV3VfZDFTSUw1elRkTzdoQSIsInR5cCI6IkpXVCIsIng1dCI6Im91M3hkOU9GcTVUV3VfZDFTSUw1elRkTzdoQSJ9.eyJhcHBJZCI6IjY5ZDNjZjhjLWVmYmYtNGNkOC04NGRiLTlhMzM4N2E1NjEwZSIsImNvbnZlcnNhdGlvbkNvbnRyb2xsZXIiOiJodHRwczovL2FwaS5mbGlnaHRwcm94eS50ZWFtcy5taWNyb3NvZnQuY29tL2FwaS92Mi9lcC9jb252LWV1d2UtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9fMjFMc2pEN2lrcVJBbktGblhyRlhRP2k9MTAtNjAtMTgtNTgmZT02Mzg1Nzg4MjAwMDQwODM5MzEiLCJhY3Rpdml0eUlkIjoiNWU2MjIzM2UtYTIwMS00ZDcxLTlmNTktYmY5NTcxMzFmODE0IiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS9pZGVudGl0eS9jbGFpbXMvdGVuYW50aWQiOiJhNGExNmFjNi01ZWM0LTQwODEtOTg2Ny0wMWRkZDk0MmQ4OGIiLCJuYmYiOjE3MjMxOTA1NjAsImV4cCI6MTcyMzI5ODU2MCwiaXNzIjoiaHR0cHM6Ly9hcGkuYm90ZnJhbWV3b3JrLmNvbSIsImF1ZCI6Imh0dHBzOi8vYXBpLmJvdGZyYW1ld29yay5jb20ifQ.nnkb61vJqpDol6enlqQY_lRR1pGlfzHnvRP8Z-Js4bN7-6HdFHVtekYqeP5Nuy_snCQrKRIQlWdAN2dqrvLdDSvssDKexOKXBdnJLSNGQDZTuYeRUZTgh-ufzg_PI9qFlzQyaG4Mig-LkZEvXPBPV2LRVA-SN4hB-nb7j2ahJIHsZylDUnAaMQyCILpsfmK5_BunqH3BgsJhu24zIRe0uY_dHhi0ZP9V2YEoo8JRtMjVJWNost10ZHCQfSdjJr6HNIu5SGM4x_lr-FALpiuyj5JNZt5BgMZjdtmQNI9fmjjNCLYS3mm5RN1Ez5YZdIKLlr51dEbutLj2dMcha9z9rQ" }, "meetingCapability": { "@odata.type": "#microsoft.graph.meetingCapability", "allowTranslatedCaptions": true, "allowTranslatedTranscriptions": true, "recorderAllowed": [ "Attendee" ] }, "meetingProperties": { "@odata.type": "#microsoft.graph.meetingProperties", "meetingLabel": "00000000-0000-0000-0000-000000000000" }, "tenantId": "a4a16ac6-5ec4-4081-9867-01ddd942d88b", "myParticipantId": "7a68e68f-8c07-477b-912a-6c567bca3b51", "callChainId": "5e62233e-a201-4d71-9f59-bf957131f814", "incomingContext": { "@odata.type": "#microsoft.graph.incomingContext", "sourceParticipantId": "b17aa89b-6f47-416c-a5dd-f0c8c677626f", "observedParticipantId": "b17aa89b-6f47-416c-a5dd-f0c8c677626f" }, "mediaHostedRegion": "EUNO", "id": "0b003a80-daaa-4709-aa2c-376514b5f1a1", "applicationMetadata": { "botData": { "callId": "5e62233e-a201-4d71-9f59-bf957131f814", "mediaHostedRegion": "EUNO", "user": { "participationMethod": "Callee", "policyHolderId": "8:orgid:0caa0608-b970-4990-91d3-51fd2d2c3628", "policyHolderTenantId": "a4a16ac6-5ec4-4081-9867-01ddd942d88b" }, "otherSideUser": { "id": "8:orgid:40fe9bfc-ea76-4c20-ae66-819a61eeba67", "participantId": "7c1c8770-8490-4740-a6af-caba9a28482f", "tenantId": "a4a16ac6-5ec4-4081-9867-01ddd942d88b", "participationMethod": "Caller", "clientLocation": "RS" }, "inviteReasons": [ "ComplianceRecording" ], "policyIdentifier": "TeamsComplianceRecordingPolicy=Tenant:AiDEN_Real_Time_Bot_Policy", "otherRecorders": [], "pairedRecorders": [], "isMultiParty": true, "applicationType": null }, "disableComplianceRecordingAudioAnnouncementForCalls": false } } } ] }

I am tagging @ssulzer here purely because I saw his response at https://github.com/microsoftgraph/microsoft-graph-comms-samples/issues/721#issuecomment-2071625551 and I have high hopes he will find something in internal logs :)

mjoksa avatar Aug 09 '24 08:08 mjoksa