Forum Discussion

allabashashaik's avatar
allabashashaik
Copper Contributor
Oct 23, 2024

Issues with Bot-to-Bot Calls and Call Status Retrieval in Microsoft Team

Hello Team,

I am currently developing a bot-to-bot VOIP call feature using Microsoft Teams and have encountered critical issue that I need assistance with on urgent basis

1. Call Not Found Error

Despite the call being established successfully, when I attempt to retrieve the call status using the API, I receive a "Call Not Found" error. This occurs even when I confirm that the call is active.

Steps to Reproduce:

  1. Initiate a call between two registered bots.
  2. After the call is established, invoke the API to fetch the call status.
  3. Observe the error response.

https://graph.microsoft.com/v1.0/communications/calls/46005a80-5155-4600-8338-da94acce1473/answer

Body

{
  "mediaConfig": {
    "blob": "<Media Session Configuration Blob>",
    "@odata.type": "#microsoft.graph.appHostedMediaConfig"
  },
  "acceptedModalities": [
    "audio"
  ],
  "callOptions": {
    "isContentSharingNotificationEnabled": true,
    "isDeltaRosterEnabled": true,
    "@odata.type": "#microsoft.graph.incomingCallOptions"
  },
  "participantCapacity": 200
}

 

{
    "error": {
        "code": "8522",
        "message": "Call not found.",
        "innerError": {
            "date": "2024-10-23T19:17:17",
            "request-id": "ecff1740-843f-49dc-8c6b-1a65a2c93010",
            "client-request-id": "ecff1740-843f-49dc-8c6b-1a65a2c93010"
        }
    }
}
No RepliesBe the first to reply

Resources