Is it possible to interact with Microsoft Teams meetings using Real-time Media and my own voice bot?

Kais Lamine 20 Reputation points
2023-07-10T18:34:11.57+00:00

Hello everyone,

I am excited to share my project involving a voice bot designed to conduct job interviews on Visio conference platforms like Microsoft Teams. The voice bot has been trained to simulate real recruiter-led job interviews by asking questions and evaluating candidate responses to determine the next steps of the interview process.

During my research, I discovered that Microsoft Teams offers a Real-time Media Platform, which seems like a suitable solution for my project. However, I noticed that it requires a bot to be developed in C# and .NET. Currently, my AI bot is developed and trained in Python.

I would like to know if it's possible to directly use my Python bot instead, as I am not well-versed in C# and .NET development. It would be ideal if I could leverage my existing bot for this project.

I appreciate the excellent developer documentation provided and I am eagerly awaiting your valuable insights.

Best regards, Kais

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
8,709 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,005 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,738 questions
{count} votes

Accepted answer
  1. SokiGuo-MSFT 21,461 Reputation points Microsoft Vendor
    2023-07-11T08:30:04.72+00:00

    Hi @Kais Lamine

    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:


    According to the official documentation, it seems that the Real-time Media Platform is currently only available for bots developed in C# and .NET. An application-hosted media bot requires the Microsoft.Graph.Communications.Calls.Media .NET library to access the audio and video media streams, and the bot must be deployed on a Windows Server machine or Windows Server guest Operating System (OS) in Azure. Therefore, it may not be possible to directly use your Python bot for this project.

    If you're only developing in Python, you can try the approach in this document, take advantage of some of the capabilities of existing bots, and then add features like interactive voice response, call control, and access to real-time audio and video streams.

    Hope this helps!


    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.



0 additional answers

Sort by: Most helpful