Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Nicaraguan phone numbering plan #5891

Merged
merged 1 commit into from

5 participants

@BruceLampson

Nicaraguan phone numbering plan now supports mobile numbers starting with 7

@BruceLampson BruceLampson Nicaraguan phone numbering plan
Nicaraguan phone numbering plan now supports mobile numbers starting with 7 and 8
3a818e5
@DASPRiD
Collaborator

Would you mind to state a source for that? A quick Google search didn't bring anything up, and the Wikipedia page still only lists "8":
http://en.wikipedia.org/wiki/Telephone_numbers_in_Nicaragua

@BruceLampson

I am Nicaraguan and currently living in the country. I tried to contact my local operators for this information. Unfortunately, this information is not documented on their web portal. I can say this took place last year. Don't know the exact date, however I have updated the Wikipedia article in regards to this matter.

http://en.wikipedia.org/wiki/Telephone_numbers_in_Nicaragua

@EvanDotPro
Collaborator

Unless there are any objections, I'm going to have to say we trust the person who actually lives in Nicaragua. :smile:

@weierophinney weierophinney added this to the 2.2.6 milestone
@Maks3w
Collaborator

@BruceLampson Are there numbers begining with 7 right now or is a future plan?

Reading PLAN NACIONAL DE RECURSOS PÚBLICOS DE NUMERACION the first reserved range for future extension of cellular phones is 6. 7 is a reserved extension too but not explicitly for cellular phones

@EvanDotPro EvanDotPro self-assigned this
@EvanDotPro
Collaborator

Per @weierophinney, we're going to go with @BruceLampson's word for now and merge this for 2.2.6.

@weierophinney

Just posting a note: liphonenumber has already added support for the "7" prefix:

@EvanDotPro EvanDotPro referenced this pull request from a commit
@EvanDotPro EvanDotPro Add unit test for #5891
Updated the PhoneNumber test to support arrays of possible phone numbers
to test against.
a361231
@EvanDotPro EvanDotPro merged commit 3a818e5 into zendframework:master

1 check passed

Details default The Travis CI build passed
@EvanDotPro
Collaborator

I also updated the unit tests accordingly.

@BruceLampson

@Maks3w, @EvanDotPro, @DASPRiD, @weierophinney Just got back from visiting Movistar and Claro (Nicaraguan Telecommunication Providers) and confirmed that the number 7 is currently active as part of mobile numbering plan for Movistar Network. Also there is a new number added by Claro which is the number 5. Should i open a new pull request for this?.

@gianarb gianarb referenced this pull request from a commit in zendframework/zend-i18n
@EvanDotPro EvanDotPro Add unit test for zendframework/zf2#5891
Updated the PhoneNumber test to support arrays of possible phone numbers
to test against.
e4c17d1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 2, 2014
  1. @BruceLampson

    Nicaraguan phone numbering plan

    BruceLampson authored
    Nicaraguan phone numbering plan now supports mobile numbers starting with 7 and 8
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  library/Zend/I18n/Validator/PhoneNumber/NI.php
View
2  library/Zend/I18n/Validator/PhoneNumber/NI.php
@@ -13,7 +13,7 @@
'national' => array(
'general' => '/^[128]\\d{7}$/',
'fixed' => '/^2\\d{7}$/',
- 'mobile' => '/^8\\d{7}$/',
+ 'mobile' => '/^[78]\\d{7}$/',
'tollfree' => '/^1800\\d{4}$/',
'emergency' => '/^118$/',
),
Something went wrong with that request. Please try again.