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:
Initiate a call between two registered bots.After the call is established, invoke the API to fetch the call status.Observe the error response.
https://graph.microsoft.com/v1.0/communications/calls/46005a80-5155-4600-8338-da94acce1473/answer
Body
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 basis1. Call Not Found ErrorDespite 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:Initiate a call between two registered bots.After the call is established, invoke the API to fetch the call status.Observe the error response.https://graph.microsoft.com/v1.0/communications/calls/46005a80-5155-4600-8338-da94acce1473/answerBody{ “callbackUri”: “https://domain.ngrok-free.app/callback”, “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” } }} Read More