microsoftgraph / microsoftgraph/microsoft-graph-comms-samples

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

Open
#667 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
253
Forks
275
Avg merge
1d 5h
Merged PRs (30d)
1

Description

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?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Start with the AksSamples/teams-recording-bot demo, the Microsoft Graph SDK 3.8.0 setup, and the /api/calling/notification callback, then reproduce the termination events and determine whether the 500/7106 response still occurs. Done means the call no longer hangs up unexpectedly or the remaining external-service limitation is documented.

Written by the indexing model from the issue text.

Assessment

Domain
api
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.