I had the same problem. Found a fix on the web, and it worked for me.
Get a can of compressed air, one with the little red straws. Stick it in the headset jack and blast away. I did it a couple of times and all is fixed. There must be a switch inside that gets stuck.