Teams GraphApi - Rerouting calls

Þórdís Björk Arnardóttir 0 Reputation points


I have a client that gets calls through Teams and I'm fetching the call data for them through GraphAPI.

There is a switching board that receives all calls and reroutes them to 3 numbers. I have been trying to find a field that shows which number the call is forwarded to but can't find any that makes sense.

Do you know a call that could give me this information?

I'm mainly using the call

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,234 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ran Hou-MSFT 7,460 Reputation points Microsoft Vendor

    Hi @Þórdís Björk Arnardóttir

    Thanks for visiting our forum. Microsoft Teams tag is mainly focused on the general issue of Microsoft Teams application troubleshooting. Based on your description, this problem is related to Teams development. The following is for informational purposes only:

    I understand you want to know which number the call is forwarded to by the switching board. But according to our research there is a field in the callRecords API that can't give you this information directly. The callRecords API only provides the details of the call between the endpoints, not the internal routing logic of the switching board. However, you may be able to infer the forwarded number by looking at some of the properties of the callRecord, session, or segment entities. For example, you can check the caller and callee identities, the start and end time, the media type, and the failure info. You can also compare the call records with the PSTN call log rows or direct routing log rows to see if there is any correlation.

    Hope the above information is helpful for you!

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.