daddyz/phonelib

Not able to add valid Indian Numbers

Closed this issue · 1 comments

I am not able to add valid Indian numbers to my software. My web application verifies the numbers from this library and when I add the following numbers it gives the error 'Invalid Phone number'.
The numbers shared below are valid Indian Phone numbers

6232736828
6268131426
6363312463
6363985978
8704942884
7554200108
8216086481
8719888538
7174489610
7552427532
7554233398
7554277869
7554295292
7554299028
7556632115
7556632115
7313380442

There are many more number which do not get added but are valid numbers

@kunalkarlekar I updated to v0.6.38. All numbers now are identified as valid. Since you are passing national numbers, keep in mind that default country should be set for gem or need to pass country code for validation method.