Share your experience!
Try Settings then Apps then swipe to All then locate and open Smart connect and tap on Clear cache and Clear data then reboot and test
Check if there's anything inside, maybe dust. Have you repaired your phone with PCC?
You might want to stop by your local Xperia Care
@francisque before you send it for repair, try to plug/unplug headset several times while listening to music or while in a call.