the law doesn't explicitly talk about using the phone, they actually write you up for not having both hands on the steering wheel.
this is why using speakerphone is also an offense. best it to turn the speaker on, either put it in your pocket or rest it on your shoulder. as long as you have both hands on the wheel, you are ok.