How MS Teams Calling Bot can redirect inbound SIP call to Teams User and stay on a call too?

Dmitry Haletsky 0 Reputation points

Hello Everyone

We have MS Teams direct routing setup and everything works as expected.

The question is when we have inbound PSTN call and MS sends incoming call webhook how to redirect it to a Teams User and ALLOW the Calling Bot to stay on a call too?

P.S. Of course the calling bot can answer first and invite an user after but it contradicts with use case when you call to The User who can't answer the call should have Busy response at the beginning.

Many Thanks

Dmitry Haletsky

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
8,653 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
9,954 questions
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.
2,751 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Nivedipa-MSFT 2,796 Reputation points Microsoft Vendor

    You can use the Microsoft Graph API mentioned below to transfer the call to another user while the bot remains present on the call:

    POST /communications/calls/{id}/transfer

    Refer to the documentation for more details: Call Transfer - Microsoft Graph API



    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.

    1 person found this answer helpful.