Skip to content
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

Phone type does not detect country #5

Open
alexkwolfe opened this issue Jul 17, 2014 · 0 comments
Open

Phone type does not detect country #5

alexkwolfe opened this issue Jul 17, 2014 · 0 comments
Labels

Comments

@alexkwolfe
Copy link
Contributor

A GB phone number is interpreted as a US phone number. The reason is that it is not possible to tell the difference between these numbers in some cases, and US is the first region code to be tried.

A better solution might be to try to detect the country using other fields or using database lookups (say against an area code database). This is dependent upon fixing #4, so that we can examine the full lead while we're parsing the phone number.

@alexkwolfe alexkwolfe added the bug label Jul 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant