简体   繁体   中英

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

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?

Currently there is no graph API to get a list of active PSTN calls in Teams.

Microsoft will always focus on customer's feedback and experience, some new features would be added to the services based on customers' feedback in the future, we also recommend you give your new idea in Teams UserVoice here .

They clearly mentioned in the document, we can not fetch the details directly. But you can fetch the records from your application. Using app side bearer token.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM