How to get a list of active PSTN calls in Teams using the Microsoft Graph API

Copper Contributor

We're looking for a way to get a list of all currently active PSTN calls being made into MS Teams. We've tried this:

 

https://docs.microsoft.com/en-us/graph/api/callrecords-callrecord-getpstncalls?view=graph-rest-beta

 

That's almost exactly what we need except records do not seem to appear here until the call has ended. What we need for the app we're trying to build is live call records.

 

We've also tried it by creating subscriptions and getting the ID of specific calls then looking up call records, but this data also appears to be delayed.

 

Is there a method we're missing here, or equally, is this something that may be added to the API some point soon?

0 Replies