More than 30 states have banned texting and talking on the phone while driving unless the driver is using a headset or in-car speakerphone.