Hi,
I think you will find there are some switching contacts inside the headphone socket. A squirt of WD40 into the socket might help. I has a similar fault a while ago, can't remember model though! I actually removed the headphone socket, stripped it down and cleaned it.
Keith