Difficulty with Auto-Answering VOIP Calls via Microsoft Graph API
Description: I’m working on a PowerShell script to initiate and auto-answer VOIP calls using the Microsoft Graph API. I have successfully set up my Azure App Registration, including a callback URI. However, I’m encountering issues when trying to auto-answer calls
Details:
Call Initiation: The script successfully initiates a call using the New-MgCommunicationCall endpoint.Call Status: The call transitions from “establishing” to “established” status as expected.Error on Auto-Answer: Upon attempting to auto-answer the call with the Invoke-RestMethod to the answer endpoint, I receive a 404 Not Found error. The output indicates that the call ID is valid, but it seems the call resource is not found at the time of answering.
Current Script Setup:
I’m using a callback URI (https://kyncomdigiwasusdev.onmicrosoft.com/callback) configured for handling call events.I have ensured the necessary permissions are granted in Azure for the app.I have tried various delays (currently set to 5 seconds) between establishing the call and answering it, but I still receive the 404 error.
Questions:
Are there any known issues with the auto-answer feature in the Microsoft Graph API for VOIP calls?What additional steps should I take to troubleshoot this error?
Description: I’m working on a PowerShell script to initiate and auto-answer VOIP calls using the Microsoft Graph API. I have successfully set up my Azure App Registration, including a callback URI. However, I’m encountering issues when trying to auto-answer calls Details:Call Initiation: The script successfully initiates a call using the New-MgCommunicationCall endpoint.Call Status: The call transitions from “establishing” to “established” status as expected.Error on Auto-Answer: Upon attempting to auto-answer the call with the Invoke-RestMethod to the answer endpoint, I receive a 404 Not Found error. The output indicates that the call ID is valid, but it seems the call resource is not found at the time of answering.Current Script Setup:I’m using a callback URI (https://kyncomdigiwasusdev.onmicrosoft.com/callback) configured for handling call events.I have ensured the necessary permissions are granted in Azure for the app.I have tried various delays (currently set to 5 seconds) between establishing the call and answering it, but I still receive the 404 error.Questions:Are there any known issues with the auto-answer feature in the Microsoft Graph API for VOIP calls?What additional steps should I take to troubleshoot this error? Read More