Additional meeting and call-related features and issues within Microsoft Teams for business
I found a solution to this issue. Problem appears with wireless headsets that have handsfree telephony option enabled. Navigate to control panel -> devices and printers -> right click your headset and choose properties -> go to services tab -> uncheck Handfree telephony option.