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 Number starting with 6 for country IN is returning invalid #59

Closed
akchaudhary6532 opened this issue Aug 26, 2022 · 2 comments
Closed

Comments

@akchaudhary6532
Copy link

function called:

{:ok, ph} = ExPhoneNumber.parse("6191805152", "IN")
ExPhoneNumber.is_valid_number?(ph)

Expected response: true
Current response: false

Response from libphonenumber : true
http://libphonenumber.appspot.com/phonenumberparser?number=6191805152&country=IN

@akchaudhary6532
Copy link
Author

akchaudhary6532 commented Aug 26, 2022

@josemrb I copied the latest xml from libphonenumber to check and the above case is passing with new xml but several test cases are failing when I run mix test

@josemrb
Copy link
Collaborator

josemrb commented Aug 26, 2022

@akchaudhary6532 see #43 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants