I think, which means that phoneNumber has the crap in it. (or just maybe Serial.print() has a problem with String).So and a debug statement to print out each key as you get it from the key pad i.e. in this bit of code