microsoftgraph / microsoftgraph/microsoft-graph-comms-samples

Error on anwering call the first time the bot application starts.

Open
#191 15 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

Describe the issue
I have taken the remote media sample application and published it to an Azure App Service. The issue I have is on the first call to my resource account from a Teams client the call fails in Teams and I get a few errors from the logs which I have below.

Expected behavior
I would expect the Call.Answer() to succeed.

Graph SDK (please complete the following information):

  • Version 1.2.0-beta.1

Call ID
521f0b00-431f-49e4-972a-d4da044def36, 2020-03-11T18:41:32.7101527Z

Logs

$>2020-03-11T18:41:34.3167890Z Error: Bot.cs:450 CallsOnIncoming
ScenarioId: 9c0c1f04-9102-4f0e-a8fc-59532912e3f4
Exception happened when answering the call.
exception: Code: 8522
Message: Call not found.
Scenario Id: 9c0c1f04-9102-4f0e-a8fc-59532912e3f4
Inner error:
	AdditionalData:
	request-id: ab00e78c-1d63-40a0-b165-5c909eb3d685
	date: 2020-03-11T18:41:34

Code: 8522
Message: Call not found.
Inner error:
	AdditionalData:
	request-id: ab00e78c-1d63-40a0-b165-5c909eb3d685
	date: 2020-03-11T18:41:34

StackTrace:    at Microsoft.Graph.Communications.Client.Transport.GraphAuthClient.<ValidateResponseAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Graph.Communications.Client.Transport.GraphAuthClient.<SendHttpRequestAsync>d__4`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Graph.Communications.Client.Transport.GraphClientWrapper.<ValidateAndWrapAsync>d__12`1.MoveNext()
$>2020-03-11T18:41:34.3167890Z Error: GraphAuthClient.cs:117 SendHttpRequestAsync
ScenarioId: 9c0c1f04-9102-4f0e-a8fc-59532912e3f4
AppId: 8c752766-96bf-494c-8469-77406d4c7a86
AppName: IncidentBot
CallId: 521f0b00-431f-49e4-972a-d4da044def36
TenantId: 1cd119ab-b444-4c16-84b9-8538585d1987
TransactionDirection: Outgoing
TraceType: HttpResponse
ResponseTime: 454
request: POST https://graph.microsoft.com/beta/communications/calls/521f0b00-431f-49e4-972a-d4da044def36/microsoft.graph.answer
response: 404 NotFound
headers:
  request-id: ab00e78c-1d63-40a0-b165-5c909eb3d685
  client-request-id: 8611e5b2-0483-4782-82d9-5dec18c0a4ef
  x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"East US","Slice":"SliceC","Ring":"5","ScaleUnit":"002","RoleInstance":"AGSFE_IN_14"}}
  scenario-id: 9c0c1f04-9102-4f0e-a8fc-59532912e3f4
  Strict-Transport-Security: max-age=31536000
  Cache-Control: private
  Date: Wed, 11 Mar 2020 18:41:33 GMT
  Content-Length: 205
  Content-Type: application/json
{
  "error": {
    "code": "8522",
    "message": "Call not found.",
    "innererror": {
      "request-id": "ab00e78c-1d63-40a0-b165-5c909eb3d685",
      "date": "2020-03-11T18:41:34"
    }
  }
}
$>2020-03-11T18:41:34.2394667Z Error: Bot.cs:450 CallsOnIncoming
ScenarioId: 9c0c1f04-9102-4f0e-a8fc-59532912e3f4
Exception happened when answering the call.
exception: Code: 8522
Message: Call not found.
Scenario Id: 9c0c1f04-9102-4f0e-a8fc-59532912e3f4
Inner error:
	AdditionalData:
	request-id: 2244abc0-bca4-4423-a2bf-5d15b2c5db09
	date: 2020-03-11T18:41:34

Code: 8522
Message: Call not found.
Inner error:
	AdditionalData:
	request-id: 2244abc0-bca4-4423-a2bf-5d15b2c5db09
	date: 2020-03-11T18:41:34

StackTrace:    at Microsoft.Graph.Communications.Client.Transport.GraphAuthClient.<ValidateResponseAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Graph.Communications.Client.Transport.GraphAuthClient.<SendHttpRequestAsync>d__4`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Graph.Communications.Client.Transport.GraphClientWrapper.<ValidateAndWrapAsync>d__12`1.MoveNext()
$>2020-03-11T18:41:34.1917543Z Error: GraphAuthClient.cs:117 SendHttpRequestAsync
ScenarioId: 9c0c1f04-9102-4f0e-a8fc-59532912e3f4
AppId: 8c752766-96bf-494c-8469-77406d4c7a86
AppName: IncidentBot
CallId: 521f0b00-431f-49e4-972a-d4da044def36
TenantId: 1cd119ab-b444-4c16-84b9-8538585d1987
TransactionDirection: Outgoing
TraceType: HttpResponse
ResponseTime: 267
request: POST https://graph.microsoft.com/beta/communications/calls/521f0b00-431f-49e4-972a-d4da044def36/microsoft.graph.answer
response: 404 NotFound
headers:
  request-id: 2244abc0-bca4-4423-a2bf-5d15b2c5db09
  client-request-id: f0d2c788-bf26-4578-8350-069a2721fc73
  x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"East US","Slice":"SliceC","Ring":"5","ScaleUnit":"002","RoleInstance":"AGSFE_IN_62"}}
  scenario-id: 9c0c1f04-9102-4f0e-a8fc-59532912e3f4
  Strict-Transport-Security: max-age=31536000
  Cache-Control: private
  Date: Wed, 11 Mar 2020 18:41:33 GMT
  Content-Length: 205
  Content-Type: application/json
{
  "error": {
    "code": "8522",
    "message": "Call not found.",
    "innererror": {
      "request-id": "2244abc0-bca4-4423-a2bf-5d15b2c5db09",
      "date": "2020-03-11T18:41:34"
    }
  }
}
$>2020-03-11T18:41:33.8963323Z Info: GraphAuthClient.cs:100 SendHttpRequestAsync
ScenarioId: 9c0c1f04-9102-4f0e-a8fc-59532912e3f4
AppId: 8c752766-96bf-494c-8469-77406d4c7a86
AppName: IncidentBot
CallId: 521f0b00-431f-49e4-972a-d4da044def36
TenantId: 1cd119ab-b444-4c16-84b9-8538585d1987
TransactionDirection: Outgoing
TraceType: HttpRequest
request: POST https://graph.microsoft.com/beta/communications/calls/521f0b00-431f-49e4-972a-d4da044def36/microsoft.graph.answer
headers:
  Scenario-Id: 9c0c1f04-9102-4f0e-a8fc-59532912e3f4
  Client-Request-Id: f0d2c788-bf26-4578-8350-069a2721fc73
  User-Agent: GraphCommunicationsClient-IncidentBot/1.2.0.1
  Authorization: (redacted)
  Content-Type: application/json; charset=utf-8
{
  "callbackUri": "https://incidentbotcommssamples.azurewebsites.net/callback/calling?webInstanceId=a96167f52c61bd304d7412a6e5d00edca25241f6cc950684909c9162b784055b",
  "mediaConfig": {
    "@odata.type": "#microsoft.graph.serviceHostedMediaConfig",
    "preFetchMedia": [
      {
        "@odata.type": "#microsoft.graph.mediaInfo",
        "uri": "https://incidentbotcommssamples.azurewebsites.net/audio/responder-transfering.wav",
        "resourceId": "bb593339-3cd8-4c41-b047-b40aecd2bac8"
      },
      {
        "@odata.type": "#microsoft.graph.mediaInfo",
        "uri": "https://incidentbotcommssamples.azurewebsites.net/audio/responder-notification.wav",
        "resourceId": "140573b7-ed43-4c81-a89f-fc7dfc33d83a"
      },
      {
        "@odata.type": "#microsoft.graph.mediaInfo",
        "uri": "https://incidentbotcommssamples.azurewebsites.net/audio/bot-incoming.wav",
        "resourceId": "67b1033b-08a3-45e6-b6b2-9990a8a573d1"
      },
      {
        "@odata.type": "#microsoft.graph.mediaInfo",
        "uri": "https://incidentbotcommssamples.azurewebsites.net/audio/bot-endpoint-incoming.wav",
        "resourceId": "d6f84655-c185-41d4-a32a-acce50fd5136"
      }
    ]
  },
  "acceptedModalities": [
    "audio"
  ]
}
$>2020-03-11T18:41:33.8669294Z Info: GraphAuthClient.cs:100 SendHttpRequestAsync
ScenarioId: 9c0c1f04-9102-4f0e-a8fc-59532912e3f4
AppId: 8c752766-96bf-494c-8469-77406d4c7a86
AppName: IncidentBot
CallId: 521f0b00-431f-49e4-972a-d4da044def36
TenantId: 1cd119ab-b444-4c16-84b9-8538585d1987
TransactionDirection: Outgoing
TraceType: HttpRequest
request: POST https://graph.microsoft.com/beta/communications/calls/521f0b00-431f-49e4-972a-d4da044def36/microsoft.graph.answer
headers:
  Scenario-Id: 9c0c1f04-9102-4f0e-a8fc-59532912e3f4
  Client-Request-Id: 8611e5b2-0483-4782-82d9-5dec18c0a4ef
  User-Agent: GraphCommunicationsClient-IncidentBot/1.2.0.1
  Authorization: (redacted)
  Content-Type: application/json; charset=utf-8
{
  "callbackUri": "https://incidentbotcommssamples.azurewebsites.net/callback/calling?webInstanceId=a96167f52c61bd304d7412a6e5d00edca25241f6cc950684909c9162b784055b",
  "mediaConfig": {
    "@odata.type": "#microsoft.graph.serviceHostedMediaConfig",
    "preFetchMedia": [
      {
        "@odata.type": "#microsoft.graph.mediaInfo",
        "uri": "https://incidentbotcommssamples.azurewebsites.net/audio/responder-transfering.wav",
        "resourceId": "bb593339-3cd8-4c41-b047-b40aecd2bac8"
      },
      {
        "@odata.type": "#microsoft.graph.mediaInfo",
        "uri": "https://incidentbotcommssamples.azurewebsites.net/audio/responder-notification.wav",
        "resourceId": "140573b7-ed43-4c81-a89f-fc7dfc33d83a"
      },
      {
        "@odata.type": "#microsoft.graph.mediaInfo",
        "uri": "https://incidentbotcommssamples.azurewebsites.net/audio/bot-incoming.wav",
        "resourceId": "67b1033b-08a3-45e6-b6b2-9990a8a573d1"
      },
      {
        "@odata.type": "#microsoft.graph.mediaInfo",
        "uri": "https://incidentbotcommssamples.azurewebsites.net/audio/bot-endpoint-incoming.wav",
        "resourceId": "d6f84655-c185-41d4-a32a-acce50fd5136"
      }
    ]
  },
  "acceptedModalities": [
    "audio"
  ]
}
$>2020-03-11T18:41:33.3315265Z Info: CommunicationsClientExtensions.cs:153 LogAndCreateResponse
ScenarioId: 9c0c1f04-9102-4f0e-a8fc-59532912e3f4
AppId: 8c752766-96bf-494c-8469-77406d4c7a86
AppName: IncidentBot
TransactionDirection: Incoming
TraceType: HttpResponse
ResponseTime: 13959
request: POST https://incidentbotcommssamples.azurewebsites.net/callback/calling
response: 202 Accepted
headers:
  Client-Request-Id: a1e9f1de-60cc-44aa-ac41-19fb32a0d580
  Scenario-Id: 9c0c1f04-9102-4f0e-a8fc-59532912e3f4
$>2020-03-11T18:41:33.3315265Z Info: CommunicationsClientExtensions.cs:151 LogAndCreateResponse
ScenarioId: 9c0c1f04-9102-4f0e-a8fc-59532912e3f4
AppId: 8c752766-96bf-494c-8469-77406d4c7a86
AppName: IncidentBot
TransactionDirection: Incoming
TraceType: HttpRequest
request: POST https://incidentbotcommssamples.azurewebsites.net/callback/calling
headers:
  Connection: Keep-Alive
  Accept: application/json
  Authorization: (redacted)
  Host: incidentbotcommssamples.azurewebsites.net
  Max-Forwards: (redacted)
  User-Agent: Microsoft-Skype/3.0,(Calling/1.0)
  X-Microsoft-Skype-Chain-ID: 9c0c1f04-9102-4f0e-a8fc-59532912e3f4
  X-Microsoft-Skype-Caller-Region: amer
  X-Microsoft-Skype-Callee-Region: amer
  X-Microsoft-Skype-Message-ID: a1e9f1de-60cc-44aa-ac41-19fb32a0d580
  X-Microsoft-Skype-Original-Message-ID: 00e3f297-3e13-4766-af16-04be8fd89bd2
  X-WAWS-Unencoded-URL: (redacted)
  CLIENT-IP: (redacted)
  X-ARR-LOG-ID: (redacted)
  DISGUISED-HOST: (redacted)
  X-SITE-DEPLOYMENT-ID: (redacted)
  WAS-DEFAULT-HOSTNAME: (redacted)
  X-Original-URL: (redacted)
  X-Forwarded-For: (redacted)
  X-ARR-SSL: (redacted)
  X-Forwarded-Proto: (redacted)
  X-AppService-Proto: (redacted)
  MS-ASPNETCORE-TOKEN: (redacted)
  X-Original-For: (redacted)
  X-Original-Proto: (redacted)
  Content-Type: application/json
  Content-Length: 1602
{
  "@odata.type": "#microsoft.graph.commsNotifications",
  "value": [
    {
      "@odata.type": "#microsoft.graph.commsNotification",
      "changeType": "created",
      "resourceUrl": "/communications/calls/521f0b00-431f-49e4-972a-d4da044def36",
      "resource": "/app/calls/521f0b00-431f-49e4-972a-d4da044def36",
      "resourceData": {
        "@odata.type": "#microsoft.graph.call",
        "state": "incoming",
        "direction": "incoming",
        "callbackUri": "https://incidentbotcommssamples.azurewebsites.net/callback/calling",
        "source": {
          "@odata.type": "#microsoft.graph.participantInfo",
          "identity": {
            "@odata.type": "#microsoft.graph.identitySet",
            "user": {
              "@odata.type": "#microsoft.graph.identity",
              "id": "73146471-c389-40cc-b690-227d58584b93",
              "tenantId": "1cd119ab-b444-4c16-84b9-8538585d1987"
            }
          },
          "endpointType": "default",
          "region": "amer",
          "languageId": "en-us",
          "id": "19b2b05c-e2db-40be-83da-36496b2e1387"
        },
        "targets": [
          {
            "@odata.type": "#microsoft.graph.invitationParticipantInfo",
            "identity": {
              "@odata.type": "#microsoft.graph.identitySet",
              "applicationInstance": {
                "@odata.type": "#microsoft.graph.identity",
                "id": "92167092-d0e9-4fe7-b51a-fea8c3b0e0ce",
                "tenantId": "1cd119ab-b444-4c16-84b9-8538585d1987"
              }
            },
            "endpointType": "default",
            "id": "1a3b251c-7311-4a70-bb52-5b6b83346f24",
            "region": "amer",
            "languageId": null
          }
        ],
        "tenantId": "1cd119ab-b444-4c16-84b9-8538585d1987",
        "myParticipantId": "1a3b251c-7311-4a70-bb52-5b6b83346f24",
        "incomingContext": {
          "@odata.type": "#microsoft.graph.incomingContext",
          "sourceParticipantId": "19b2b05c-e2db-40be-83da-36496b2e1387"
        },
        "id": "521f0b00-431f-49e4-972a-d4da044def36",
        "callChainId": "9c0c1f04-9102-4f0e-a8fc-59532912e3f4"
      }
    }
  ]
}
$>2020-03-11T18:41:32.9747586Z Info: CommunicationsClientExtensions.cs:153 LogAndCreateResponse
ScenarioId: 9c0c1f04-9102-4f0e-a8fc-59532912e3f4
AppId: 8c752766-96bf-494c-8469-77406d4c7a86
AppName: IncidentBot
TransactionDirection: Incoming
TraceType: HttpResponse
ResponseTime: 7778
request: POST https://incidentbotcommssamples.azurewebsites.net/callback/calling
response: 202 Accepted
headers:
  Client-Request-Id: 63ab2182-9386-4dbc-ab47-46feca51b3ac
  Scenario-Id: 9c0c1f04-9102-4f0e-a8fc-59532912e3f4
$>2020-03-11T18:41:32.9455622Z Info: CommunicationsClientExtensions.cs:153 LogAndCreateResponse
ScenarioId: 9c0c1f04-9102-4f0e-a8fc-59532912e3f4
AppId: 8c752766-96bf-494c-8469-77406d4c7a86
AppName: IncidentBot
TransactionDirection: Incoming
TraceType: HttpResponse
ResponseTime: 2882
request: POST https://incidentbotcommssamples.azurewebsites.net/callback/calling
response: 202 Accepted
headers:
  Client-Request-Id: 74b457f3-da24-4377-8c8d-6efc0e3a8d18
  Scenario-Id: 9c0c1f04-9102-4f0e-a8fc-59532912e3f4
$>2020-03-11T18:41:32.7392295Z Info: CommunicationsClientExtensions.cs:151 LogAndCreateResponse
ScenarioId: 9c0c1f04-9102-4f0e-a8fc-59532912e3f4
AppId: 8c752766-96bf-494c-8469-77406d4c7a86
AppName: IncidentBot
TransactionDirection: Incoming
TraceType: HttpRequest
request: POST https://incidentbotcommssamples.azurewebsites.net/callback/calling
headers:
  Connection: Keep-Alive
  Accept: application/json
  Authorization: (redacted)
  Host: incidentbotcommssamples.azurewebsites.net
  Max-Forwards: (redacted)
  User-Agent: Microsoft-Skype/3.0,(Calling/1.0)
  X-Microsoft-Skype-Chain-ID: 9c0c1f04-9102-4f0e-a8fc-59532912e3f4
  X-Microsoft-Skype-Caller-Region: amer
  X-Microsoft-Skype-Callee-Region: amer
  X-Microsoft-Skype-Message-ID: 63ab2182-9386-4dbc-ab47-46feca51b3ac
  X-Microsoft-Skype-Original-Message-ID: 00e3f297-3e13-4766-af16-04be8fd89bd2
  X-WAWS-Unencoded-URL: (redacted)
  CLIENT-IP: (redacted)
  X-ARR-LOG-ID: (redacted)
  DISGUISED-HOST: (redacted)
  X-SITE-DEPLOYMENT-ID: (redacted)
  WAS-DEFAULT-HOSTNAME: (redacted)
  X-Original-URL: (redacted)
  X-Forwarded-For: (redacted)
  X-ARR-SSL: (redacted)
  X-Forwarded-Proto: (redacted)
  X-AppService-Proto: (redacted)
  MS-ASPNETCORE-TOKEN: (redacted)
  X-Original-For: (redacted)
  X-Original-Proto: (redacted)
  Content-Type: application/json
  Content-Length: 1602
{
  "@odata.type": "#microsoft.graph.commsNotifications",
  "value": [
    {
      "@odata.type": "#microsoft.graph.commsNotification",
      "changeType": "created",
      "resourceUrl": "/communications/calls/521f0b00-431f-49e4-972a-d4da044def36",
      "resource": "/app/calls/521f0b00-431f-49e4-972a-d4da044def36",
      "resourceData": {
        "@odata.type": "#microsoft.graph.call",
        "state": "incoming",
        "direction": "incoming",
        "callbackUri": "https://incidentbotcommssamples.azurewebsites.net/callback/calling",
        "source": {
          "@odata.type": "#microsoft.graph.participantInfo",
          "identity": {
            "@odata.type": "#microsoft.graph.identitySet",
            "user": {
              "@odata.type": "#microsoft.graph.identity",
              "id": "73146471-c389-40cc-b690-227d58584b93",
              "tenantId": "1cd119ab-b444-4c16-84b9-8538585d1987"
            }
          },
          "endpointType": "default",
          "region": "amer",
          "languageId": "en-us",
          "id": "19b2b05c-e2db-40be-83da-36496b2e1387"
        },
        "targets": [
          {
            "@odata.type": "#microsoft.graph.invitationParticipantInfo",
            "identity": {
              "@odata.type": "#microsoft.graph.identitySet",
              "applicationInstance": {
                "@odata.type": "#microsoft.graph.identity",
                "id": "92167092-d0e9-4fe7-b51a-fea8c3b0e0ce",
                "tenantId": "1cd119ab-b444-4c16-84b9-8538585d1987"
              }
            },
            "endpointType": "default",
            "id": "1a3b251c-7311-4a70-bb52-5b6b83346f24",
            "region": "amer",
            "languageId": null
          }
        ],
        "tenantId": "1cd119ab-b444-4c16-84b9-8538585d1987",
        "myParticipantId": "1a3b251c-7311-4a70-bb52-5b6b83346f24",
        "incomingContext": {
          "@odata.type": "#microsoft.graph.incomingContext",
          "sourceParticipantId": "19b2b05c-e2db-40be-83da-36496b2e1387"
        },
        "id": "521f0b00-431f-49e4-972a-d4da044def36",
        "callChainId": "9c0c1f04-9102-4f0e-a8fc-59532912e3f4"
      }
    }
  ]
}
$>2020-03-11T18:41:32.7101527Z Info: CommunicationsClientExtensions.cs:151 LogAndCreateResponse
ScenarioId: 9c0c1f04-9102-4f0e-a8fc-59532912e3f4
AppId: 8c752766-96bf-494c-8469-77406d4c7a86
AppName: IncidentBot
TransactionDirection: Incoming
TraceType: HttpRequest
request: POST https://incidentbotcommssamples.azurewebsites.net/callback/calling
headers:
  Connection: Keep-Alive
  Accept: application/json
  Authorization: (redacted)
  Host: incidentbotcommssamples.azurewebsites.net
  Max-Forwards: (redacted)
  User-Agent: Microsoft-Skype/3.0,(Calling/1.0)
  X-Microsoft-Skype-Chain-ID: 9c0c1f04-9102-4f0e-a8fc-59532912e3f4
  X-Microsoft-Skype-Message-ID: 74b457f3-da24-4377-8c8d-6efc0e3a8d18
  X-Microsoft-Skype-Original-Message-ID: c22b661d-ebd6-4d40-b39f-e8a0cae7c280
  X-WAWS-Unencoded-URL: (redacted)
  CLIENT-IP: (redacted)
  X-ARR-LOG-ID: (redacted)
  DISGUISED-HOST: (redacted)
  X-SITE-DEPLOYMENT-ID: (redacted)
  WAS-DEFAULT-HOSTNAME: (redacted)
  X-Original-URL: (redacted)
  X-Forwarded-For: (redacted)
  X-ARR-SSL: (redacted)
  X-Forwarded-Proto: (redacted)
  X-AppService-Proto: (redacted)
  MS-ASPNETCORE-TOKEN: (redacted)
  X-Original-For: (redacted)
  X-Original-Proto: (redacted)
  Content-Type: application/json
  Content-Length: 1781
{
  "@odata.type": "#microsoft.graph.commsNotifications",
  "value": [
    {
      "@odata.type": "#microsoft.graph.commsNotification",
      "changeType": "deleted",
      "resourceUrl": "/communications/calls/521f0b00-431f-49e4-972a-d4da044def36",
      "resource": "/app/calls/521f0b00-431f-49e4-972a-d4da044def36",
      "resourceData": {
        "@odata.type": "#microsoft.graph.call",
        "state": "terminated",
        "resultInfo": {
          "@odata.type": "#microsoft.graph.resultInfo",
          "code": 408,
          "subcode": 8544,
          "message": "Callee could not be reached."
        },
        "terminationReason": "Callee could not be reached.",
        "direction": "incoming",
        "callbackUri": "https://incidentbotcommssamples.azurewebsites.net/callback/calling",
        "source": {
          "@odata.type": "#microsoft.graph.participantInfo",
          "identity": {
            "@odata.type": "#microsoft.graph.identitySet",
            "user": {
              "@odata.type": "#microsoft.graph.identity",
              "id": "73146471-c389-40cc-b690-227d58584b93",
              "tenantId": "1cd119ab-b444-4c16-84b9-8538585d1987"
            }
          },
          "endpointType": "default",
          "region": "amer",
          "languageId": "en-us",
          "id": "19b2b05c-e2db-40be-83da-36496b2e1387"
        },
        "targets": [
          {
            "@odata.type": "#microsoft.graph.invitationParticipantInfo",
            "identity": {
              "@odata.type": "#microsoft.graph.identitySet",
              "applicationInstance": {
                "@odata.type": "#microsoft.graph.identity",
                "id": "92167092-d0e9-4fe7-b51a-fea8c3b0e0ce",
                "tenantId": "1cd119ab-b444-4c16-84b9-8538585d1987"
              }
            },
            "endpointType": "default",
            "id": "1a3b251c-7311-4a70-bb52-5b6b83346f24",
            "region": "amer",
            "languageId": null
          }
        ],
        "tenantId": "1cd119ab-b444-4c16-84b9-8538585d1987",
        "myParticipantId": "1a3b251c-7311-4a70-bb52-5b6b83346f24",
        "incomingContext": {
          "@odata.type": "#microsoft.graph.incomingContext",
          "sourceParticipantId": "19b2b05c-e2db-40be-83da-36496b2e1387"
        },
        "id": "521f0b00-431f-49e4-972a-d4da044def36",
        "callChainId": "9c0c1f04-9102-4f0e-a8fc-59532912e3f4"
      }
    }
  ]
}
$>2020-03-11T18:41:32.2377906Z Warning: NotificationDispatcher.cs:171 ProcessNotification
ScenarioId: 9c0c1f04-9102-4f0e-a8fc-59532912e3f4
AppId: 8c752766-96bf-494c-8469-77406d4c7a86
AppName: IncidentBot
No queue or registered callbacks for
Deleted: /communications/calls/521f0b00-431f-49e4-972a-d4da044def36

Additional context
If I call again any number of times it will then work until I restart the web app in Azure. Then it will have the same failure the first time.

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

Start in Bot.cs at CallsOnIncoming around line 450 and review the first-startup call-answer path using the reported 404 logs. Trace the related request handling in GraphAuthClient.cs around line 117 and CommunicationsClientExtensions.cs; done means the first incoming call reaches Call.Answer() successfully without a “Call not found” response.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
api, backend, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.