Reputation: 479
I'm working from home, and perform certain tasks when a Teams call is made, such as muting the music on my sonos system. I'd like to do some automation on this. Is there a way to run a script (python or js comes to mind) or webhook when the MS Teams app receives a call? Both incoming and outgoing would be relevant.
Upvotes: 1
Views: 923
Reputation: 480
Have a look at the docs on Policy Recording. If you make your user subject to a recording policy, then you can create a bot that will get a call whenever that user joins a call (incoming or outgoing). You don't actually have to accept/record the call, but it'll at least get you the event. It's probably overkill, but it does at least trigger something.
Upvotes: 1