Microsoft Graph - Receive incoming Calls From teams

El Moufid Mohamed [student] 1 Reputation point
2020-10-09T19:28:54.993+00:00

I want to build an application For Teams that use Microsoft Graph (In Angular & ASP.NET)
I need to find a way to receive incoming calls in realtime from Graph (when there is an incoming peer-to-peer call from a real phone number, not a Teams User/Account)
If look at the documentation, I can use a webhook to receive notifications when there is a incoming call (https://learn.microsoft.com/en-us/graph/webhooks#supported-resources)

31363-knipsel.png

The problem now with the webhook is that the notifications of incoming calls has a high latency (15 minutes averag, see https://learn.microsoft.com/en-us/graph/webhooks#latency) so its not realtime anymore.
Incoming chat messages don't has this problem (latency is about 10 seconds)

My question now: Is there an alternative way to receive the calls in realtime with Microsoft Graph?
I was looking for a solution with a bot that enters the peer-to-peer call automatically, so I don't need to use the webhook with high latency.

https://learn.microsoft.com/en-us/microsoftteams/platform/bots/calls-and-meetings/calls-meetings-bots-overview
https://learn.microsoft.com/en-us/microsoftteams/platform/bots/calls-and-meetings/call-notifications

I only need to find a way to receive incoming calls in realtime from Microsoft Graph & get the information of the one who is calling me (in my case the phone number who is calling to my Teams number)

Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,394 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Manish-MSFT 256 Reputation points
    2020-10-21T11:16:14.697+00:00

    There is no such alternative to receive calls in real time using Graph API as of now.


  2. Andrew Bale 1 Reputation point
    2021-01-23T05:58:26.277+00:00

    @Manish-MSFT ,
    I assume that the ability to answer a call is on the roadmap? Is it envisaged that Graph API will be the mechanism for this?

    0 comments No comments

  3. Wilhelm Schmidt 6 Reputation points
    2023-06-15T06:35:22.1566667+00:00

    I'm looking for a way to connect it to our system.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.