-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
US Number is not getting recognized #129
Comments
Hello @vishalsanghai, |
The simple answer is that there is no area code 555 in the US. Therefore, +15551234567 is not a valid number. This is not anything unique to this library. You will also see the same behaviour in google/libphonenumber so it would be a bug if ttacon/libphonenumber recognised a 555 number. I found an online phone number parser and confirmed that is expected behaviour. 555 Not real area code - https://libphonenumber.appspot.com/phonenumberparser?number=%2B15551234567 |
This library |
Why is this valid US number being marked as not valid?
However another US number works fine : +14155552671
The text was updated successfully, but these errors were encountered: