Although not available as a built-in feature, you have multiple options to record phone calls on your iPhone.