[F/OS] 1.5 [BETA] Phone Number Checker Extension (for almost all countries)

Today I am presenting you our team’s extension which is Phone Number Checker 1.5 [BETA]

Using this extension you can check if a phone number is valid or not.

This extension has been updated to 1.5 [BETA] with currently the following countries support:-

        Benin("Benin Republic", "BJ", 229, 8, 8, "0", 616),
        BurkinaFaso("Burkina Faso", "BF", 226, 8, 8, "0", 613),
        CapeVerde("Cape Verde", "CV", 238, 7, 7, "0", 614),
        Cameroon("Cameroon", "CM", 237, 8, 8, "0", 302, 307),
        Canada("Canada", "CA", 1, 10, 10, "0,1", 460),
        China("China", "CN", 86, 11, 11, "0", 612),
        CoteDIvoire("Cote d'Ivoire", "CI", 225, 8, 8, "", 602),
        Egypt("Egpyt", "EG", 20, 9, 10, "0", 625),
        Finland("Finland", "FI", 358, 6, 11, "0", 224),
        France("France", "FR", 33, 9, 9, "0", 208),
        Gambia("Gambia", "GM", 220, 7, 7, "0", 607),
        Germany("Germany", "DE", 49, 7, 12, "0", 262),
        Ghana("Ghana", "GH", 233, 9, 9, "0", 620),
        Greece("Greece", "GR", 30, 10, 10, "0", 202),
        GuineaBissau("Guinea Bissau", "GW", 245, 7, 7, "0", 632),
        Guinea("Guinea", "GN", 224, 8, 9, "0", 611),
        India("India", "IN", 91, 10, 10, "0", 404, 405),
        Italy("Italy", "IT", 39, 9, 10, "0", 222),
        Japan("Japan", "JP", 81, 10, 10, "0", 440, 441),
        Kenya("Kenya", "KE", 254, 9, 9, "0", 639),
        Liberia("Liberia", "LR", 231, 7, 9, "0", 618),
        Libya("Libya", "LY", 218, 9, 9, "0", 606),
        Malawi("Malawi", "MW", 265, 9, 9, "0", 650),
        Malaysia("Malaysia", "MY", 60, 9, 10, "0", 502),
        Mali("Mali", "ML", 223, 8, 8, "0", 610),
        Mauritania("Mauritania", "MR", 222, 8, 8, "0", 609),
        Morocco("Morocco", "MA", 212, 9, 9, "0", 604),
        Niger("Niger", "NE", 227, 8, 8, "0", 614),
        Nigeria("Nigeria", "NG", 234, 10, 10, "0", 621),
        NorthKorea("North Korea", "KP", 850, 10, 10, "0", 467),
        Russia("Russia", "RU", 7, 10, 10, "8", 250),
        SaudiArabia("Saudi Arabia", "SA", 966, 9, 9, "0", 420),
        Senegal("Senegal", "SN", 221, 9, 9, "0", 608),
        SierraLeone("Sierra Leone", "SL", 232, 8, 8, "0", 619),
        SouthAfrica("South Africa", "ZA", 27, 9, 9, "0", 655),
        SouthKorea("South Korea", "KR", 82, 9, 10, "0", 450),
        Spain("Spain", "ES", 34, 9, 9, "0", 214),
        Sweden("Sweden", "SE", 46, 9, 9, "0", 240),
        Switzerland("Switzerland", "CH", 41, 9, 9, "0", 228),
        Togo("Togo", "TG", 228, 8, 8, "0", 615),
        Ukraine("Ukraine", "UA", 380, 9, 9, "0", 225),
        UnitedArabEmirate("United Arab Emirate", "AE", 971, 10, 10, "0", 424, 430, 431),
        UnitedKingdom("United Kingdom", "GB", 44, 10, 10, "0,1", 234, 235),
        UnitedStates("United States", "US", 1, 10, 10, "0,1", 301);

Here are the current blocks:-
image

more blocks will be added in the upcoming days and I will release a final release Version 2.0

Note:- This extension’s procedure can also be achieved by blocks (I think). Secondly, @Mohamed_Tamer has also added this procedure in his Phone Number Tools Extension but we wanted to make this open-source.

So here is the link to this extension’s source:-

The GitHub repo will be updated with the final release till then I request users to test
it and provide feedback.

Beta 1.5:-
xyz.logicaldevz.phonenumbervalidator.aix (17.9 KB)

Special thanks to :-
@oseamiya
@Pradevel
@UnknownBeast

13 Likes

Nice extension @Akshat_Rana

1 Like

Best Creation In Number Checking Extension Till Now.

:heart:

1 Like

is this a country specific phone number checker?
if yes, for which country? and how does a valid phone number look like?

Taifun

1 Like

It is phone number checker for india and other countries whos number starts from digits between 7-9

I think you are thinking that it will validate an invalid phone number but no :sweat_smile: it just checks if the phone number entered by the user is valid or not. In the future update we will try to add this feature

Great extension but unfortunately this is not working for 9 digit numbers. Spain country has 9 digit phone numbers and it’s not working to validate those numbers. Would be the best if it would allow all country numbers. Thanks

1 Like

The upcoming release would be for all numbers

The extension has been updated to 1.5 [BETA] with more countries support.
You can check from here

Can you please include Netherlands as well. (+31)