Forum Discussion

PMcVries's avatar
PMcVries
Copper Contributor
Sep 19, 2023

Teams bot intercepting incoming call

Hi,

 

I want to develope a bot/app that intercepts an incoming call in Teams from a user to another user. It should notify the second user, provide informations about the call and give him the option to accept or decline the call. I've seen this https://techcommunity.microsoft.com/t5/teams-developer/intercept-incoming-call/m-p/871462 and was wondering if Microsoft has added this feature yet.

 

Thanks in advance!

  • PMcVries - Using the Get call API , you can get the source and targets details of a call and based on that you can take decision of redirecting the call using redirect call API.

     

     

     

    Thanks, 

    Prasad Das

    ------------------------------------------------------------------------------------------ 

    If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link.

    • PMcVries's avatar
      PMcVries
      Copper Contributor

      Hello Prasad_Das-MSFT,

      I wasn't quite able to determine whether the redirect resource can enable a third party to intercept an incoming call between two users.

      The background is:

      My agency has agents with personalized Teams accounts. I want to develope an application that can intercept an incoming call to an agent and notifies the agent with informations about the call and the caller. According to these informations the agent is given the option to answer or decline the call. Is the redirect resource able to do that?

       

      • Prasad_Das-MSFT's avatar
        Prasad_Das-MSFT
        Icon for Microsoft rankMicrosoft

        PMcVries - Using the Get call API , you can get the source and targets details of a call and based on that you can take decision of redirecting the call using redirect call API.

         

         

         

        Thanks, 

        Prasad Das

        ------------------------------------------------------------------------------------------ 

        If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link.

Resources