daddyz/phonelib

Valid Australian phone numbers starting with `483` failed validation

Closed this issue · 1 comments

We have an Australian phone number that is falsely invalidated by phonelib.

Here is an example:

irb(main):022:0> Phonelib.parse('61483910455').valid?
=> false

I the libphonenumber demo it is parsed correctly.

Screenshot 2023-02-27 at 09 55 05

Is there a way to fix it?

EDIT: looks like this is a problem for all numbers starting with 483. Numbers starting with 482 or 484 for example doesn't have this problem

This seems fixed in the latest version of the library.