-
Notifications
You must be signed in to change notification settings - Fork 0
/
locations.yaml
1214 lines (1212 loc) · 18.3 KB
/
locations.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#
# Top Level Dialing Locations
#
# This list was compiled from several sources including:
# - https://www.itu.int/oth/T0202.aspx?parent=T0202 (ITU National Numbering Plans)
#
# Iso Codes Should reference: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3
#
# Rules:
# - NAMP (North American Numbering PLan) numbers prefixed with 1
# - Common/Standard Name used
#
# Duplicates:
# - See tests for cases:
# - number shared by multiple countries (eg USA/Canada)
# - multiple number used by single country (eg Puerto Rico)
# - sub numbers (eg Scott Base (NZ))
#
1:
Canada:
iso: CAN
aliases: []
USA:
iso: USA
aliases:
- United States
- United States of America
- Alaska
- Hawaii
-
1242:
Bahamas:
iso: BHS
aliases: []
1246:
Barbados:
iso: BRB
aliases: []
1264:
Anguilla:
iso: AIA
aliases: []
1268:
Antigua and Barbuda:
iso: ATG
aliases:
- Antigua & Barbuda
- Antigua
1284:
Virgin Islands (British):
iso: VGB
aliases:
- British Virgin Islands
- Virgin Islands British
- British V.I
1340:
Virgin Islands (US):
iso: VIR
aliases:
- Virgin Islands US
- Virgin Islands (USA)
- United States Virgin Islands
- U.S. Virgin Islands
1345:
Cayman Islands:
iso: CYM
aliases: []
1441:
Bermuda:
iso: BMU
aliases: []
1473:
Grenada:
iso: GRD
aliases:
- Grenada/Carricou
1649:
Turks and Caicos Islands:
iso: TCA
aliases:
- Turks & Caicos Is
- Turks and Caicos
1658:
Jamaica:
iso: JAM
aliases: []
1664:
Montserrat:
iso: MSR
aliases: []
1670:
Mariana Islands:
iso: MNP
aliases:
- Mariana Island
- North Mariana Islands (Saipan)
- Northern Mariana Islands
- No. Mariana Islands
1671:
Guam:
iso: GUM
aliases: []
1684:
American Samoa:
iso: ASM
aliases:
- Samoa (American)
1721:
# Dutch part
Sint Maarten:
iso: SXM
aliases:
- Sint Maarten Dutch part
- St. Martin
1758:
Saint Lucia:
iso: LCA
aliases:
- St. Lucia
1767:
Dominica:
iso: DMA
aliases: []
1784:
Saint Vincent and the Grenadines:
iso: VCT
aliases:
- St Vincent & Bequia
- St. Vincent
1787:
Puerto Rico:
iso: PRI
aliases: []
1809:
Dominican Republic:
iso: DOM
aliases:
- Dominican Rep
1829:
Dominican Republic:
iso: DOM
aliases:
- Dominican Rep
1849:
Dominican Republic:
iso: DOM
aliases:
- Dominican Rep
1868:
Trinidad and Tobago:
iso: TTO
aliases:
- Trinidad & Tobago
1869:
Saint Kitts and Nevis:
iso: KNA
aliases:
- St Kitts & Nevis
- Nevis
- St. Kitts/Nevis
1876:
Jamaica:
iso: JAM
aliases: []
1939:
Puerto Rico:
iso: PRI
aliases: []
20:
Egypt:
iso: EGY
aliases: []
211:
South Sudan:
iso: SSD
aliases: []
212:
Morocco:
iso: MAR
aliases: []
# Western Sahara use ranges owned by Morocco
Western Sahara:
iso: ESH
aliases: []
213:
Algeria:
iso: DZA
aliases: []
216:
Tunisia:
iso: TUN
aliases: []
218:
Libya:
iso: LBY
aliases: []
220:
Gambia:
iso: GMB
aliases: []
221:
Senegal:
iso: SEN
aliases: []
222:
Mauritania:
iso: MRT
aliases: []
223:
Mali:
iso: MLI
aliases: []
224:
Guinea:
iso: GIN
aliases: []
225:
Ivory Coast:
iso: CIV
aliases:
- Ivory Coast (La Cote d'Ivoire)
- Cote d'Ivoire
226:
Burkina Faso:
iso: BFA
aliases: []
227:
Niger:
iso: NER
aliases: []
228:
Togo:
iso: TGO
aliases:
- Togolese Republic
- Togo (Togolese Republic)
229:
Benin:
iso: BEN
aliases: []
230:
Mauritius:
iso: MUS
aliases: []
231:
Liberia:
iso: LBR
aliases: []
232:
Sierra Leone:
iso: SLE
aliases: []
233:
Ghana:
iso: GHA
aliases: []
234:
Nigeria:
iso: NGA
aliases: []
235:
Chad:
iso: TCD
aliases: []
236:
Central African Republic:
iso: CAF
aliases:
- Central African Rep
237:
Cameroon:
iso: CMR
aliases: []
238:
Cape Verde:
iso: CPV
aliases:
- Cape Verdi
- CapeVerde Islands
- Cabo Verde
239:
Sao Tome and Principe:
iso: STP
aliases:
- Sao Tome & Principe
240:
Equatorial Guinea:
iso: GNQ
aliases: []
241:
Gabon:
iso: GAB
aliases:
- Gabonese
- Gabonese Republic
- Gabon (Gabonese Republic)
242:
Congo:
iso: COG
aliases:
- Republic of the Congo
- Congo Rep. of the
243:
Congo Democratic Republic of:
iso: COD
aliases:
- Democratic Republic of the Congo
- Dem. Rep. of the Congo
- Zaire
244:
Angola:
iso: AGO
aliases: []
245:
Guinea Bissau:
iso: GNB
aliases:
- Guinea-Bissau
- GuineaBissau
246:
British Indian Ocean Territory:
iso: IOT
aliases: []
Diego Garcia:
iso: DGA
aliases: []
247:
Ascension Island:
iso: SHN
aliases:
- Ascension
248:
Seychelles:
iso: SYC
aliases: []
249:
Sudan:
iso: SDN
aliases: []
250:
Rwanda:
iso: RWA
aliases:
- Rwanda (Rwandese Republic)
251:
Ethiopia:
iso: ETH
aliases: []
252:
Somalia:
iso: SOM
aliases:
- Somali Democratic Republic
253:
Djibouti:
iso: DJI
aliases: []
254:
Kenya:
iso: KEN
aliases: []
255:
Tanzania:
iso: TZA
aliases:
- Tanzania (includes Zanzibar)
- Zanzibar
256:
Uganda:
iso: UGA
aliases: []
257:
Burundi:
iso: BDI
aliases: []
258:
Mozambique:
iso: MOZ
aliases: []
260:
Zambia:
iso: ZMB
aliases: []
261:
Madagascar:
iso: MDG
aliases: []
262:
# +262 thus became an Indian Ocean regional country code for French territories. (Reunion, Mayotte)
Mayotte:
iso: MYT
aliases: []
Reunion:
iso: REU
aliases:
- Reunion (France)
263:
Zimbabwe:
iso: ZWE
aliases: []
264:
Namibia:
iso: NAM
aliases:
- Namibia (former SouthWest Africa)
265:
Malawi:
iso: MWI
aliases: []
266:
Lesotho:
iso: LSO
aliases: []
267:
Botswana:
iso: BWA
aliases: []
268:
Eswatini:
iso: SWZ
aliases:
- Swaziland
269:
# Prior to 2007, country code +269 was shared by the islands of Comoros and Mayotte.
Comoros:
iso: COM
aliases: []
27:
South Africa:
iso: ZAF
aliases: []
290:
Saint Helena and Tristan de Cunha:
iso: SHN
aliases:
- Tristan da Cunha
- Saint Helena
- St Helena
- St. Helena
- Saint Helena Ascension and Tristan da Cunha
291:
Eritrea:
iso: ERI
aliases: []
297:
Aruba:
iso: ABW
aliases: []
298:
Faroe Islands:
iso: FRO
aliases:
- Faeroe Island
- Faroe (Faeroe) Islands (Denmark)
299:
Greenland:
iso: GRL
aliases: []
30:
Greece:
iso: GRC
aliases: []
31:
Netherlands:
iso: NLD
aliases: []
32:
Belgium:
iso: BEL
aliases: []
33:
France:
iso: FRA
aliases: []
34:
Spain:
iso: ESP
aliases: []
350:
Gibraltar:
iso: GIB
aliases: []
351:
Portugal:
iso: PRT
aliases:
- Portugal (includes Azores)
352:
Luxembourg:
iso: LUX
aliases: []
353:
Ireland:
iso: IRL
aliases:
- Ireland (Republic)
- Ireland (Irish Republic; Eire)
354:
Iceland:
iso: ISL
aliases: []
355:
Albania:
iso: ALB
aliases: []
356:
Malta:
iso: MLT
aliases: []
357:
Cyprus:
iso: CYP
aliases:
- Cyprus Republic of
358:
Finland:
iso: FIN
aliases: []
Aland Islands:
iso: FIN
aliases:
- Aland Islands
359:
Bulgaria:
iso: BGR
aliases: []
36:
Hungary:
iso: HUN
aliases: []
370:
Lithuania:
iso: LTU
aliases: []
371:
Latvia:
iso: LVA
aliases: []
372:
Estonia:
iso: EST
aliases: []
373:
Moldova:
iso: MDA
aliases: []
374:
Armenia:
iso: ARM
aliases: []
375:
Belarus:
iso: BLR
aliases: []
376:
Andorra:
iso: AND
aliases: []
377:
Monaco:
iso: MCO
aliases: []
378:
San Marino:
iso: SMR
aliases: []
379:
Vatican City:
iso: VAT
aliases:
- Vatican City
- Vatican City State
- Vatican
380:
Ukraine:
iso: UKR
aliases: []
381:
Serbia:
iso: SRB
aliases:
- Serbia and Montenegro
382:
Montenegro:
iso: MNE
aliases: []
383:
Kosovo:
iso: XKX
aliases:
- Republic of Kosovo
385:
Croatia:
iso: HRV
aliases: []
386:
Slovenia:
iso: SVN
aliases: []
387:
Bosnia and Herzegovina:
iso: BIH
aliases:
- Bosnia Herzegovina
- Bosnia and Hercegovina
389:
North Macedonia:
iso: MKD
aliases:
- FYR of Macedonia
- Macedonia
39:
Italy:
iso: ITA
aliases: []
40:
Romania:
iso: ROU
aliases: []
41:
Switzerland:
iso: CHE
aliases: []
420:
Czech Republic:
iso: CZE
aliases:
- Czech Rep
421:
Slovakia:
iso: SVK
aliases:
- Slovak Republic
423:
Liechtenstein:
iso: LIE
aliases: []
43:
Austria:
iso: AUT
aliases: []
44:
UK:
iso: GBR
aliases:
- United Kingdom
- UK Special
441481:
Guernsey:
iso: GGY
aliases: []
441534:
Jersey:
iso: JEY
aliases: []
441624:
Isle of Man:
iso: IMN
aliases: []
45:
Denmark:
iso: DNK
aliases: []
46:
Sweden:
iso: SWE
aliases: []
47:
Norway:
iso: NOR
aliases: []
4779:
# https://en.wikipedia.org/wiki/Telephone_numbers_in_Svalbard
Svalbard and Jan Mayen:
iso: SJM
aliases: []
48:
Poland:
iso: POL
aliases: []
49:
Germany:
iso: DEU
aliases: []
500:
Falkland Islands:
iso: FLK
aliases:
- Falkland Islands
- Falkland Islands Malvinas
501:
Belize:
iso: BLZ
aliases: []
502:
Guatemala:
iso: GTM
aliases: []
503:
El Salvador:
iso: SLV
aliases: []
504:
Honduras:
iso: HND
aliases: []
505:
Nicaragua:
iso: NIC
aliases: []
506:
Costa Rica:
iso: CRI
aliases: []
507:
Panama:
iso: PAN
aliases: []
508:
Saint Pierre and Miquelon:
iso: SPM
aliases:
- St Pierre & Miquelon
- St. Pierre &(et) Miquelon (France)
509:
Haiti:
iso: HTI
aliases: []
51:
Peru:
iso: PER
aliases: []
52:
Mexico:
iso: MEX
aliases: []
53:
Cuba:
iso: CUB
aliases: []
54:
Argentina:
iso: ARG
aliases:
- Argentine Republic
55:
Brazil:
iso: BRA
aliases: []
56:
Chile:
iso: CHL
aliases: []
57:
Colombia:
iso: COL
aliases: []
58:
Venezuela:
iso: VEN
aliases: []
590:
Saint Barthelemy:
iso: BLM
aliases: []
# The northern French side of the island, known as Saint-Martin, is not within the North American Numbering Plan, and has the country code +590, shared with Guadeloupe and Saint Barthélemy.
Saint Martin:
iso: MAF
aliases:
- St. Martin
Guadeloupe:
iso: GLP
aliases:
- Guadeloupe (French)
591:
Bolivia:
iso: BOL
aliases: []
592:
Guyana:
iso: GUY
aliases:
- GUYANA
593:
Ecuador:
iso: ECU
aliases: []
594:
French Guiana:
iso: GUF
aliases: []
595:
Paraguay:
iso: PRY
aliases: []
596:
Martinique:
iso: MTQ
aliases: []
597:
Suriname:
iso: SUR
aliases: []
598:
Uruguay:
iso: URY
aliases: []
599:
Curacao:
iso: CUW
aliases:
- Curacao
Caribbean Netherlands:
iso: BES
aliases:
- Bonaire, Sint Eustatius and Saba
- Bonaire Sint Eustatius and Saba
- Netherlands Antilles
60:
Malaysia:
iso: MYS
aliases: []
61:
Australia:
iso: AUS
aliases: []
61891:
# Telephone numbers in Christmas Island use ranges owned by Australia.
# Central and West region (Derby [inc. Cocos/Keeling & Christmas Islands.])
Christmas Island:
iso: CXR
aliases:
- Christmas Is
Cocos Islands:
iso: CCK
aliases:
- Cocos (Keeling) Islands
62:
Indonesia:
iso: IDN
aliases: []
63:
Philippines:
iso: PHL
aliases: []
64:
New Zealand:
iso: NZL
aliases: []
# Telephone numbers in Pitcairn Island use ranges owned by New Zealand.
Pitcairn:
iso: PCN
aliases: []
64240:
Scott Base (New Zealand):
iso: NZL
aliases:
- Scott Base
- NEW ZEALAND Scott Base
65:
Singapore:
iso: SGP
aliases: []
66:
Thailand:
iso: THA
aliases: []
670:
Timor-Leste:
iso: TLS
aliases:
- Democratic Republic of Timor-Leste
- Timor Leste
- East Timor
672:
# 672 Includes Australia-administered territories: Antarctica (Australian bases), Norfolk Islands.
# In April 2003, an extra digit was added to subscriber numbers of Antarctic bases under +672 (Australia-administered network)
Norfolk Island:
iso: NFK
aliases: []
6721:
Antarctic bases (Australia):
iso: AUS
aliases:
- Antarctica
673:
Brunei:
iso: BRN
aliases:
- Brunei Darussalm
- Brunei Darussalam
674:
Nauru:
iso: NRU
aliases: []
675:
Papua New Guinea:
iso: PNG
aliases: []
676:
Tonga:
iso: TON
aliases: []
677:
Solomon Islands:
iso: SLB
aliases: []
678:
Vanuatu:
iso: VUT
aliases:
- Vanuatu (New Hebrides)
679:
Fiji:
iso: FJI
aliases: []
680:
Palau:
iso: PLW
aliases: []
681:
Wallis and Futuna:
iso: WLF
aliases:
- Wallis and Futuna Islands
682:
Cook Islands:
iso: COK
aliases: []
683:
Niue:
iso: NIU
aliases:
- Niue Island
685:
Samoa (Western):
iso: WSM
aliases:
- Samoa (Western)
- Western Samoa
- Samoa
686:
Kiribati:
iso: KIR
aliases:
- Kiribati Republic (Gilbert Islands)
687:
New Caledonia:
iso: NCL
aliases: []
688:
Tuvalu:
iso: TUV
aliases:
- Tuvalu (Ellice Islands)
689:
French Polynesia:
iso: PYF
aliases:
- Tahiti
- Tahiti (French Polynesia)
690:
Tokelau:
iso: TKL
aliases: []
691:
Micronesia (Federated States):
iso: FSM
aliases:
- Micronesia
- Micronesia (F.S. of Polynesia)
692:
Marshall Islands:
iso: MHL
aliases: []
7:
Russia:
iso: RUS
aliases:
- Russian Federation
- Kazakhstan
76:
# Telephone numbers in Kazakhstan are under a unified numbering plan with Russia with the country calling code +7. Historically, +7 was used as the Soviet Union country calling code.
# Following the break-up of the Soviet Union, all former republics except Russia and Kazakhstan switched to new country codes.
# Area codes of the form 3xx were changed to 7xx form (that is, the 3 digits immediately following the trunk prefix domestically or country code internationally).
# Both old and new area codes were diallable in permissive mode until 5 October 2007.
# Range Nation
# ----- ------
# +7 3... Russia
# +7 4... Russia
# +7 5... Russia
# +7 6... Kazakhstan
# +7 7... Kazakhstan
# +7 9... Russia
Kazakhstan:
iso: KAZ
aliases:
- Russian