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

Update countries.rb #535

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Update countries.rb #535

wants to merge 2 commits into from

Conversation

CallumD
Copy link

@CallumD CallumD commented Dec 17, 2024

Please see an update to https://www.itu.int/oth/T0202000017/en:

The Autorité de Régulation des Communications Electroniques et de la Poste (ARCEP-BENIN), Cotonou, announces, for 30 November 2024 at 0000 hours (UTC+1), the migration of the current national numbering plan of eight (8) digits in format ABPQMCDU to a new plan of ten (10) digits in format EZABPQMCDU.

An update has been applied already that adds preceding digits to the NSN.

This is currently causing validation failures for correct telephone numbers:

Phony.plausible?('+2290165111110', country_code: 'BJ')
=> false

Please see an update to https://www.itu.int/oth/T0202000017/en:

The Autorité de Régulation des Communications Electroniques et de la Poste (ARCEP-BENIN), Cotonou, announces, for 30 November 2024 at 0000 hours (UTC+1), the migration of the current national numbering plan of eight (8) digits in format ABPQMCDU to a new plan of ten (10) digits in format EZABPQMCDU. 

An update has been applied already that adds preceding digits to the NSN. 

This is currently causing validation failures for correct telephone numbers:

```
Phony.plausible?('+2290165111110', country_code: 'BJ')
=> false
```
This was being stripped in the normalize resulting in incorrectly
formatted numbers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant