Forum Discussion

bfany's avatar
bfany
Copper Contributor
Oct 08, 2024

Using C# to Answer call, it does not trigger OnUpdatedbut "state": "established" when calling the ap

Hi.

 

I use AnswerAsync from "Microsoft.Graph.Communications.Calls.ICall" in C#, but it never triggers  call.OnUpdated, however when I call the api using postman I see that state is "established":

 

  call.OnUpdated += triggerupdatecall;
  await call.AnswerAsync(GetMediaConfig(), new []{Microsoft.Graph.Models.Modality.Audio});

 

response from the api :

 

 "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#communications/calls/$entity",
    "id": "0b005180-12de-42ca-b80d-ab14c81cf45d",
    "state": "established",
No RepliesBe the first to reply

Resources