Call recording bot

Patrick Gearman 41 Reputation points
2020-10-16T15:19:35.033+00:00

Let me preface this with the fact that I have no experience in C# or bot development. I have been,
prior to this, primarily a PHP developer.

I have been tasked with developing a call recording bot for incoming and outgoing Teams calls for
the company I work for. All of our employees are now in Teams, so it makes sense to have the call
recording done there. It is my understanding that a bot can be created to automatically join incoming
or outgoing phone calls, and automatically record the entire call.

Now, I have created an Azure account, created a "Basic Bot" from the Azure Services "Bot Services"
page, downloaded the code for it to a Visual Studio solution, and used nuget to add Microsoft Graph,
as, given my limited understanding, Microsoft Graph is a prerequisite for this sort of thing.

The problem is, I have no idea what to do next. Yes, I have looked at a number of documentation pages,
but for the life of me, I cannot figure out a starting point, in terms of code, how one goes about having
a bot record a phone call. (I can't even figure out how to get just the one code sample among dozens
listed into the bot, never mind that the code sample explicitly says in the README.md it doesn't record.)

The code sample I am referring to is here:

https://github.com/microsoftgraph/microsoft-graph-comms-samples/tree/master/Samples/V1.0Samples/LocalMediaSamples/PolicyRecordingBot

I realize this comes across as "please do my work for me", but that's not my intention. I literally do
not have the slightest clue where to start on this, beyond what I have already done. (And I'm not even
sure that part is correct.)

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
825 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,679 questions
0 comments No comments
{count} votes

Accepted answer
  1. GiftA-MSFT 11,166 Reputation points
    2020-10-16T17:50:24.72+00:00

    Hi, thanks for reaching out. Have you tried following the steps provided in this sample tutorial? What part are you stuck on?


2 additional answers

Sort by: Most helpful
  1. Petra Marče 1 Reputation point
    2022-11-10T13:55:03.22+00:00

    I am also trying to develop a Microsoft Teams bot that is going to join Teams calls in order to record the meeting. My bot needs access to the video and audio streams.
    After few days of experimentation with samples I still haven't managed to deploy it to Azure nor figure out how to run it locally.

    I am aware that I need Application hosted media teams bot that needs to fulfill requirements https://learn.microsoft.com/en-us/microsoftteams/platform/bots/calls-and-meetings/requirements-considerations-application-hosted-media-bots.

    I've tried deployment of the AudioVideoPlaybackBot (https://github.com/microsoftgraph/microsoft-graph-comms-samples/tree/master/Samples/V1.0Samples/LocalMediaSamples) to the Azure Cloud service with extended support. I used Publish (with extended support) from Visual Studio.
    My deployment never finishes. I also tried to run the bot locally but also haven't succeeded.

    I am not very experienced in C# and .Net 4.7
    Can you point me in the right direction or give me a contact of the person that can give some advice on how to develop locally and the best way to deploy it to Azure because documentation seems slightly outdated.

    0 comments No comments

  2. Amanda 1 Reputation point
    2022-12-15T03:48:25.327+00:00

    @Petra Marče Have you looked at Recall.ai? They provide a hosted solution for the Microsoft Teams bot so you don't need to build, deploy, and maintain the bots yourself.

    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.