Skip to content

aleagnelli/teams-call

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

teams-call

Shell script to detect when you're on a Microsoft Teams Call.

What?

When calling the script it will exit with

  • 0 if you're on a call
  • 1 if you're not

How?

You don't wanna know.

Seriously... how?

When I connect to a call I see eventData: s::;m::1;a::1 in ~/Library/Application\ Support/Microsoft/Teams/logs.txt and when I disconnect it writes eventData: s::;m::1;a::3. Sad, but you asked for it. Couldn't find any other way. Specifically, the GraphQL API for checking the call presence is deprecated since v1.0 and I didn't want to scrape the network traffic or screengrab the status icon.

Why?

I couldn't find a script that does this. Using it to indicate that I'm busy with a status LED outside the office.

Using this script in combination with ControlPlane to trigger the LED on status change.

Limitations

Only supports macOS at the moment. The file path has to be adjusted for Linux and Windows.
Please send a PR if you can. 😄 Also would be happy for pull requests that improve the code quality.

About

Shell script to detect when you're on a Microsoft Teams Call

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%