Does it ONLY happen whenever you try to call? Also, are you using a 3rd party phone app? Try to make a call while the phone is plugged on the charger, observe if it still restarts, please use loudspeaker just to be safe.