[fix bug 1026590] Better error message for invalid phone numbers.