Welcome to Android Central! Does that happen regardless of using a wired headset or not? Some wired headsets can have a plug that isn't quite compatible, so it might be sending false signals to the phone to hang up. Also, have you discussed this with your carrier, in case it's a problem with your SIM?