Forum Discussion
Petri-X
Oct 16, 2023Bronze Contributor
How to find callChainID...?
Hi,
Case: I have recording platform for Teams policy based recording, but based on Microsoft definitioin (?) there is only a callChainID available on the recordings. The callChainID is available only when the recording is done for the call or meeting: Get callRecord
If I do have a meeting ID or the join URL to Teams meeting, then question is, is it possible to find the correct callchainID? Reason to find the recording is to enrich the metadata of the recording with business data. The meeting details can be found using the: Get onlineMeeting I just haven't had possibilities to see if the callchainID is already returned when getting online meeting.
- Sayali-MSFT
Microsoft
Petri-X- The online meeting API doesn’t have callChainIDs as they are only available when calls initiated when invitees join the meeting, and one meeting could have multiple calls if all invitees join and leave the same meeting multiple times. Using callrecord api is the only way to correlate callChainID and online meeting joinURL.- Petri-XBronze Contributor
Hi Sayali-MSFT
Any possibilities to share the begin of the path for this journey? If I do have the meeting ID or meeting join URL, them how that could be used to find the callChainID?
If I read these correctly: callRecord resource type they mostly giving the meeting ID from the recorded call. They seems to be not allowing to search with meeting id.
- Sayali-MSFT
Microsoft
Petri-X- As mentioned above, the
callChainId
is indeed available only when the recording is done for the call or meeting. This is obtained from thecallRecord
object, which is created after a call or meeting ends and is retained for 30 days.To fetch the
callRecord
object, you can use theGET /communications/callRecords/{id}
endpoint of the Microsoft Graph API. Here is an example of how to do this:GET https://graph.microsoft.com/beta/communications/callRecords/{id}
However, the
callChainId
is not directly linked to theonlineMeeting
object. TheonlineMeeting
object does not contain thecallChainId
property. Therefore, you cannot directly fetch thecallChainId
using theGET /me/onlineMeetings/{meetingId}
endpoint.To enrich the metadata of the recording with business data, you might need to maintain a mapping between the
meetingId
and thecallChainId
in your application. This mapping can be created when you receive thecallRecord
object after the meeting ends.Please note that the APIs under the
/beta
version in Microsoft Graph are subject to change and their use in production applications is not supported.For more information, you can refer to the following documentation:
- Sayali-MSFT
Microsoft
Petri-X- Thanks for reporting your issue.
We will check this at our end and will get back to you.