In addition to a possibly broken headset, a 3.5mm stereo plug and some wires are needed for this. Throw in some tools that every good hacker should have around like a soldering iron and glue gun ...
Headsets don't have a software or firmware component, so the most likely failure is a broken wire or a bad mute switch.