-
-
Notifications
You must be signed in to change notification settings - Fork 322
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
Nigeria E.164 Landline Numbers Error #483
Comments
Had same issue when trying from UK. Number was similar to +447761444669 |
@efraa any ideas about this issue? |
Hi @salami-dev, Thanks for taking the time to try Fonoster. I will be evaluating this issue and will give updates on it no later than next Monday. |
Hi @salami-dev, We found part of the problem and it comes from the library we are using to validate the numbers, it seems that Nigerian numbers are up to 11 digits long but the lib assumes they should be 10 digits. Check: https://github.com/AfterShip/phone/blob/master/src/data/country_phone_data.ts#L1266 We will open an issue for this and next week we will patch the node_modules if necessary. |
Follow AfterShip/phone#349 |
Hi @efraa Thanks for diagnosing the issue. Nigerian mobile numbers are 11 digits long. Landlines are generally 8 - 9 digits, ex: 012802500 |
We added support for Nigerian phone numbers. Would you test configuring your number and let us know? |
Hi @psanders Still unable to add from the fonoster console. |
Any updates? |
Same issue with French numbers (starting with +33), except I'm able to add them on the dashboard but they don't work with the node SDK. Further informations : |
@MRakox, thank you for reporting this issue. I will work on finding a solution as soon as I am able to allocate some time for it. |
Describe the bug
Trying to create a Nigerian E.164 Landline number on the Fonoster Console throws this error "Invalid phone number, please enter a valid phone number with E.164 format (e.g. +17853178070)"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should be able to add a Nigerian E.164 Landline Number to Phone Numbers
Screenshots
System information (please complete the following):
The text was updated successfully, but these errors were encountered: