1<!-- Copyright (C) 2013 The Libphonenumber Authors
2
3     Licensed under the Apache License, Version 2.0 (the "License");
4     you may not use this file except in compliance with the License.
5     You may obtain a copy of the License at
6
7     http://www.apache.org/licenses/LICENSE-2.0
8
9     Unless required by applicable law or agreed to in writing, software
10     distributed under the License is distributed on an "AS IS" BASIS,
11     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12     See the License for the specific language governing permissions and
13     limitations under the License.
14
15     @author: David Yonge-Mallo
16     @author: Shaopeng Jia
17     @author: Lara Rennie
18
19     Metadata on Short Number patterns, containing information for classifying short numbers by
20     type and cost. Note that this is used in addition to the information provided by the
21     PhoneNumberMetadata.xml file - patterns should not be duplicated between these files.
22
23     Emergency numbers Wikipedia source:
24     http://en.wikipedia.org/wiki/Emergency_telephone_number
25-->
26
27<!DOCTYPE phoneNumberMetadata [
28    <!ELEMENT phoneNumberMetadata (territories)>
29    <!ELEMENT territories (territory+)>
30    <!ELEMENT territory (generalDesc, shortCode, tollFree?, standardRate?, premiumRate?,
31        carrierSpecific?, emergency?, expandedEmergency?, smsServices?)>
32    <!ELEMENT generalDesc (nationalNumberPattern)>
33    <!ELEMENT shortCode (possibleLengths, exampleNumber, nationalNumberPattern)>
34
35    <!-- The following cost categories are mutually exclusive. Emergency numbers are implicitly
36         considered toll free and do not need to be repeated here. Otherwise, a short number which
37         does not fall into one of these categories is considered to have unknown cost. -->
38    <!ELEMENT tollFree (possibleLengths, exampleNumber, nationalNumberPattern)>
39    <!ELEMENT standardRate (possibleLengths, exampleNumber, nationalNumberPattern)>
40    <!ELEMENT premiumRate (possibleLengths, exampleNumber, nationalNumberPattern)>
41
42    <!-- The following tags are currently used to classify numbers as a particular type and need not
43         be mutually exclusive. The names are provisionary only and may be revised in the future.
44         -->
45    <!-- carrierSpecific numbers are numbers for which the endpoint can vary by carrier. The number
46         may connect to a different endpoint on another carrier, or may not work at all. -->
47    <!ELEMENT carrierSpecific (possibleLengths, exampleNumber, nationalNumberPattern)>
48    <!ELEMENT emergency (possibleLengths, exampleNumber, nationalNumberPattern)>
49    <!-- Emergency numbers beyond the traditional fire-police-ambulance trio. This includes things
50         like rescue helicopters and help-lines that include "emergency" in their description. -->
51    <!ELEMENT expandedEmergency (possibleLengths, exampleNumber, nationalNumberPattern)>
52    <!-- Used for numbers where the primary or only intended usage is to receive and/or send text
53         messages (SMSs). -->
54    <!ELEMENT smsServices (possibleLengths, exampleNumber, nationalNumberPattern)>
55
56    <!ELEMENT nationalNumberPattern (#PCDATA)>
57    <!ELEMENT exampleNumber (#PCDATA)>
58    <!ELEMENT possibleLengths EMPTY>
59
60    <!ATTLIST territory id CDATA #REQUIRED>
61    <!ATTLIST possibleLengths national CDATA #REQUIRED>
62    <!ATTLIST possibleLengths localOnly CDATA #IMPLIED>
63]>
64
65<phoneNumberMetadata>
66  <territories>
67    <!-- Ascension Island (AC) -->
68    <!-- www.itu.int/oth/T02020000AF -->
69    <territory id="AC">
70      <generalDesc>
71        <nationalNumberPattern>9\d\d</nationalNumberPattern>
72      </generalDesc>
73      <shortCode>
74        <possibleLengths national="3"/>
75        <exampleNumber>911</exampleNumber>
76        <nationalNumberPattern>
77          9(?:
78            11|
79            99
80          )
81        </nationalNumberPattern>
82      </shortCode>
83      <tollFree>
84        <possibleLengths national="3"/>
85        <exampleNumber>911</exampleNumber>
86        <nationalNumberPattern>
87          9(?:
88            11|
89            99
90          )
91        </nationalNumberPattern>
92      </tollFree>
93      <!-- http://studentsabroad.state.gov/content/pdfs/911_ABROAD.pdf
94           http://www.noonsite.com/Countries/AscensionIsland/?rc=GeneralInfo
95           Note the 4-digit emergency numbers fit the fixed-line pattern, therefore are not
96           included. This is consistent with how we handle such numbers in other countries. -->
97      <emergency>
98        <possibleLengths national="3"/>
99        <exampleNumber>911</exampleNumber>
100        <nationalNumberPattern>
101          9(?:
102            11|
103            99
104          )
105        </nationalNumberPattern>
106      </emergency>
107    </territory>
108
109    <!-- Andorra (AD) -->
110    <!-- http://www.itu.int/oth/T0202000005/en -->
111    <territory id="AD">
112      <generalDesc>
113        <nationalNumberPattern>1\d\d</nationalNumberPattern>
114      </generalDesc>
115      <shortCode>
116        <possibleLengths national="3"/>
117        <exampleNumber>110</exampleNumber>
118        <nationalNumberPattern>11[0268]</nationalNumberPattern>
119      </shortCode>
120      <tollFree>
121        <possibleLengths national="3"/>
122        <exampleNumber>110</exampleNumber>
123        <nationalNumberPattern>11[0268]</nationalNumberPattern>
124      </tollFree>
125      <!-- http://www.fco.gov.uk/en/travel-and-living-abroad/travel-advice-by-country/europe/andorra -->
126      <emergency>
127        <possibleLengths national="3"/>
128        <exampleNumber>110</exampleNumber>
129        <nationalNumberPattern>11[0268]</nationalNumberPattern>
130      </emergency>
131    </territory>
132
133    <!-- United Arab Emirates (AE) -->
134    <!-- http://www.itu.int/oth/T02020000DC/en -->
135    <territory id="AE">
136      <generalDesc>
137        <nationalNumberPattern>[149]\d{2,3}</nationalNumberPattern>
138      </generalDesc>
139      <shortCode>
140        <possibleLengths national="3,4"/>
141        <exampleNumber>112</exampleNumber>
142        <nationalNumberPattern>
143          112|
144          445[16]|
145          99[7-9]
146        </nationalNumberPattern>
147      </shortCode>
148      <tollFree>
149        <possibleLengths national="3"/>
150        <exampleNumber>112</exampleNumber>
151        <nationalNumberPattern>
152          112|
153          99[7-9]
154        </nationalNumberPattern>
155      </tollFree>
156      <emergency>
157        <possibleLengths national="3"/>
158        <exampleNumber>112</exampleNumber>
159        <nationalNumberPattern>
160          112|
161          99[7-9]
162        </nationalNumberPattern>
163      </emergency>
164      <!-- As per online evidences, 4451 and 4456 are SMS-able short codes. -->
165      <smsServices>
166        <possibleLengths national="4"/>
167        <exampleNumber>4450</exampleNumber>
168        <nationalNumberPattern>445\d</nationalNumberPattern>
169      </smsServices>
170    </territory>
171
172    <!-- Afghanistan (AF) -->
173    <!-- http://www.itu.int/oth/T0202000001/en -->
174    <territory id="AF">
175      <generalDesc>
176        <nationalNumberPattern>
177          [14]\d\d(?:
178            \d{2}
179          )?
180        </nationalNumberPattern>
181      </generalDesc>
182      <shortCode>
183        <possibleLengths national="3,5"/>
184        <exampleNumber>100</exampleNumber>
185        <nationalNumberPattern>
186          1(?:
187            0[02]|
188            19
189          )|
190          40404
191        </nationalNumberPattern>
192      </shortCode>
193      <tollFree>
194        <possibleLengths national="3"/>
195        <exampleNumber>100</exampleNumber>
196        <nationalNumberPattern>
197          1(?:
198            0[02]|
199            19
200          )
201        </nationalNumberPattern>
202      </tollFree>
203      <!-- https://support.twitter.com/articles/20170024 -->
204      <carrierSpecific>
205        <possibleLengths national="5"/>
206        <exampleNumber>40400</exampleNumber>
207        <nationalNumberPattern>404\d\d</nationalNumberPattern>
208      </carrierSpecific>
209      <emergency>
210        <possibleLengths national="3"/>
211        <exampleNumber>100</exampleNumber>
212        <nationalNumberPattern>
213          1(?:
214            0[02]|
215            19
216          )
217        </nationalNumberPattern>
218      </emergency>
219      <!-- https://support.twitter.com/articles/20170024 -->
220      <smsServices>
221        <possibleLengths national="5"/>
222        <exampleNumber>40400</exampleNumber>
223        <nationalNumberPattern>404\d\d</nationalNumberPattern>
224      </smsServices>
225    </territory>
226
227    <!-- Antigua & Barbuda (AG) -->
228    <!-- http://www.itu.int/oth/T0202000008/en -->
229    <territory id="AG">
230      <generalDesc>
231        <nationalNumberPattern>[19]\d\d</nationalNumberPattern>
232      </generalDesc>
233      <shortCode>
234        <possibleLengths national="3"/>
235        <exampleNumber>176</exampleNumber>
236        <nationalNumberPattern>
237          176|
238          9(?:
239            11|
240            88|
241            99
242          )
243        </nationalNumberPattern>
244      </shortCode>
245      <tollFree>
246        <possibleLengths national="3"/>
247        <exampleNumber>911</exampleNumber>
248        <nationalNumberPattern>
249          9(?:
250            11|
251            88|
252            99
253          )
254        </nationalNumberPattern>
255      </tollFree>
256      <!-- https://support.twitter.com/articles/20170024 -->
257      <carrierSpecific>
258        <possibleLengths national="3"/>
259        <exampleNumber>176</exampleNumber>
260        <nationalNumberPattern>176</nationalNumberPattern>
261      </carrierSpecific>
262      <!-- http://barbados.usembassy.gov/emergency-antigua_barbuda.html -->
263      <emergency>
264        <possibleLengths national="3"/>
265        <exampleNumber>911</exampleNumber>
266        <nationalNumberPattern>
267          9(?:
268            11|
269            99
270          )
271        </nationalNumberPattern>
272      </emergency>
273      <expandedEmergency>
274        <possibleLengths national="3"/>
275        <exampleNumber>988</exampleNumber>
276        <nationalNumberPattern>988</nationalNumberPattern>
277      </expandedEmergency>
278      <!-- https://support.twitter.com/articles/20170024 -->
279      <smsServices>
280        <possibleLengths national="3"/>
281        <exampleNumber>176</exampleNumber>
282        <nationalNumberPattern>176</nationalNumberPattern>
283      </smsServices>
284    </territory>
285
286    <!-- Anguilla (AI) -->
287    <!-- http://www.itu.int/oth/T0202000007/en -->
288    <territory id="AI">
289      <generalDesc>
290        <nationalNumberPattern>[19]\d\d</nationalNumberPattern>
291      </generalDesc>
292      <shortCode>
293        <possibleLengths national="3"/>
294        <exampleNumber>176</exampleNumber>
295        <nationalNumberPattern>
296          176|
297          9(?:
298            11|
299            88
300          )
301        </nationalNumberPattern>
302      </shortCode>
303      <tollFree>
304        <possibleLengths national="3"/>
305        <exampleNumber>911</exampleNumber>
306        <nationalNumberPattern>
307          9(?:
308            11|
309            88
310          )
311        </nationalNumberPattern>
312      </tollFree>
313      <!-- https://support.twitter.com/articles/20170024 -->
314      <carrierSpecific>
315        <possibleLengths national="3"/>
316        <exampleNumber>176</exampleNumber>
317        <nationalNumberPattern>176</nationalNumberPattern>
318      </carrierSpecific>
319      <!-- http://barbados.usembassy.gov/emergency-anguilla.html -->
320      <emergency>
321        <possibleLengths national="3"/>
322        <exampleNumber>911</exampleNumber>
323        <nationalNumberPattern>911</nationalNumberPattern>
324      </emergency>
325      <expandedEmergency>
326        <possibleLengths national="3"/>
327        <exampleNumber>988</exampleNumber>
328        <nationalNumberPattern>988</nationalNumberPattern>
329      </expandedEmergency>
330      <!-- https://support.twitter.com/articles/20170024 -->
331      <smsServices>
332        <possibleLengths national="3"/>
333        <exampleNumber>176</exampleNumber>
334        <nationalNumberPattern>176</nationalNumberPattern>
335      </smsServices>
336    </territory>
337
338    <!-- Albania (AL) -->
339    <!-- http://www.itu.int/oth/T0202000002/en -->
340    <territory id="AL">
341      <generalDesc>
342        <nationalNumberPattern>[15]\d{2,5}</nationalNumberPattern>
343      </generalDesc>
344      <shortCode>
345        <possibleLengths national="[3-6]"/>
346        <exampleNumber>110</exampleNumber>
347        <nationalNumberPattern>
348          1(?:
349            1(?:
350              6(?:
351                000|
352                1(?:
353                  06|
354                  11|
355                  23
356                )
357              )|
358              8\d\d
359            )|
360            65\d|
361            89[12]
362          )|
363          5\d{4}|
364          1(?:
365            [1349]\d|
366            2[2-9]
367          )
368        </nationalNumberPattern>
369      </shortCode>
370      <!-- All 116XXX, "European harmonized services of social" value are toll-free.
371           See: https://ec.europa.eu/digital-single-market/116-helplines. -->
372      <tollFree>
373        <possibleLengths national="3,6"/>
374        <exampleNumber>112</exampleNumber>
375        <nationalNumberPattern>
376          1(?:
377            1(?:
378              2|
379              6[01]\d\d
380            )|
381            2[7-9]|
382            3[15]|
383            41
384          )
385        </nationalNumberPattern>
386      </tollFree>
387      <premiumRate>
388        <possibleLengths national="5"/>
389        <exampleNumber>50000</exampleNumber>
390        <nationalNumberPattern>5\d{4}</nationalNumberPattern>
391      </premiumRate>
392      <!-- 123 is a ALBtelecom customer service number. -->
393      <carrierSpecific>
394        <possibleLengths national="3"/>
395        <exampleNumber>123</exampleNumber>
396        <nationalNumberPattern>123</nationalNumberPattern>
397      </carrierSpecific>
398      <emergency>
399        <possibleLengths national="3"/>
400        <exampleNumber>112</exampleNumber>
401        <nationalNumberPattern>
402          1(?:
403            12|
404            2[7-9]
405          )
406        </nationalNumberPattern>
407      </emergency>
408      <!-- According to http://www.itu.int/net/itu-t/inrdb/e129_important_numbers.aspx this is for
409           sea emergencies and 126 for traffic emergencies. -->
410      <expandedEmergency>
411        <possibleLengths national="3,6"/>
412        <exampleNumber>125</exampleNumber>
413        <nationalNumberPattern>
414          1(?:
415            16(?:
416              000|
417              1(?:
418                06|
419                11|
420                23
421              )
422            )|
423            2[56]
424          )
425        </nationalNumberPattern>
426      </expandedEmergency>
427      <smsServices>
428        <possibleLengths national="3,5"/>
429        <exampleNumber>131</exampleNumber>
430        <nationalNumberPattern>
431          131|
432          5\d{4}
433        </nationalNumberPattern>
434      </smsServices>
435    </territory>
436
437    <!-- Armenia (AM) -->
438    <!-- http://www.itu.int/oth/T020200000A/en -->
439    <territory id="AM">
440      <generalDesc>
441        <nationalNumberPattern>[148]\d{2,4}</nationalNumberPattern>
442      </generalDesc>
443      <shortCode>
444        <possibleLengths national="[3-5]"/>
445        <exampleNumber>100</exampleNumber>
446        <nationalNumberPattern>
447          (?:
448            1|
449            8[1-7]
450          )\d\d|
451          40404
452        </nationalNumberPattern>
453      </shortCode>
454      <tollFree>
455        <possibleLengths national="3"/>
456        <exampleNumber>101</exampleNumber>
457        <nationalNumberPattern>10[1-3]</nationalNumberPattern>
458      </tollFree>
459      <!-- https://support.twitter.com/articles/20170024 -->
460      <carrierSpecific>
461        <possibleLengths national="5"/>
462        <exampleNumber>40400</exampleNumber>
463        <nationalNumberPattern>404\d\d</nationalNumberPattern>
464      </carrierSpecific>
465      <emergency>
466        <possibleLengths national="3"/>
467        <exampleNumber>101</exampleNumber>
468        <nationalNumberPattern>10[1-3]</nationalNumberPattern>
469      </emergency>
470      <!-- https://support.twitter.com/articles/20170024 -->
471      <smsServices>
472        <possibleLengths national="5"/>
473        <exampleNumber>40400</exampleNumber>
474        <nationalNumberPattern>404\d\d</nationalNumberPattern>
475      </smsServices>
476    </territory>
477
478    <!-- Angola (AO) -->
479    <!-- http://www.itu.int/oth/T0202000006/en -->
480    <territory id="AO">
481      <generalDesc>
482        <nationalNumberPattern>1\d\d</nationalNumberPattern>
483      </generalDesc>
484      <shortCode>
485        <possibleLengths national="3"/>
486        <exampleNumber>112</exampleNumber>
487        <nationalNumberPattern>11[235]</nationalNumberPattern>
488      </shortCode>
489      <tollFree>
490        <possibleLengths national="3"/>
491        <exampleNumber>112</exampleNumber>
492        <nationalNumberPattern>11[235]</nationalNumberPattern>
493      </tollFree>
494      <!-- http://travel.state.gov/travel/cis_pa_tw/cis/cis_1096.html -->
495      <emergency>
496        <possibleLengths national="3"/>
497        <exampleNumber>112</exampleNumber>
498        <nationalNumberPattern>11[235]</nationalNumberPattern>
499      </emergency>
500    </territory>
501
502    <!-- Argentina (AR) -->
503    <!-- http://www.itu.int/oth/T0202000009/en -->
504    <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Argentina#Public_utility_numbers -->
505    <territory id="AR">
506      <generalDesc>
507        <nationalNumberPattern>[01389]\d{1,4}</nationalNumberPattern>
508      </generalDesc>
509      <shortCode>
510        <possibleLengths national="[2-5]"/>
511        <exampleNumber>19</exampleNumber>
512        <nationalNumberPattern>
513          000|
514          1(?:
515            0[0-35-7]|
516            1[02-5]|
517            2[015]|
518            3[47]|
519            4[478]|
520            9
521          )|
522          3372|
523          89338|
524          911
525        </nationalNumberPattern>
526      </shortCode>
527      <!-- According to http://wikitravel.org/en/Argentina all 2 and 3 digit numbers are free,
528           except for 113. -->
529      <tollFree>
530        <possibleLengths national="2,3"/>
531        <exampleNumber>19</exampleNumber>
532        <nationalNumberPattern>
533          000|
534          1(?:
535            0[0-35-7]|
536            1[0245]|
537            2[015]|
538            3[47]|
539            4[478]|
540            9
541          )|
542          911
543        </nationalNumberPattern>
544      </tollFree>
545      <!-- https://support.twitter.com/articles/20170024 -->
546      <carrierSpecific>
547        <possibleLengths national="5"/>
548        <exampleNumber>89300</exampleNumber>
549        <nationalNumberPattern>893\d\d</nationalNumberPattern>
550      </carrierSpecific>
551      <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Argentina#Public_utility_numbers -->
552      <!-- 911 is only available in some places. -->
553      <emergency>
554        <possibleLengths national="3"/>
555        <exampleNumber>100</exampleNumber>
556        <nationalNumberPattern>
557          10[017]|
558          911
559        </nationalNumberPattern>
560      </emergency>
561      <expandedEmergency>
562        <possibleLengths national="3"/>
563        <exampleNumber>103</exampleNumber>
564        <nationalNumberPattern>
565          1(?:
566            0[356]|
567            20|
568            3[47]|
569            4[478]
570          )
571        </nationalNumberPattern>
572      </expandedEmergency>
573      <!-- https://support.twitter.com/articles/20170024 -->
574      <smsServices>
575        <possibleLengths national="4,5"/>
576        <exampleNumber>3370</exampleNumber>
577        <nationalNumberPattern>
578          (?:
579            337|
580            893\d
581          )\d
582        </nationalNumberPattern>
583      </smsServices>
584    </territory>
585
586    <!-- American Samoa (AS) -->
587    <!-- http://www.itu.int/oth/T0202000004/en -->
588    <territory id="AS">
589      <generalDesc>
590        <nationalNumberPattern>
591          [49]\d\d(?:
592            \d{2}
593          )?
594        </nationalNumberPattern>
595      </generalDesc>
596      <shortCode>
597        <possibleLengths national="3,5"/>
598        <exampleNumber>911</exampleNumber>
599        <nationalNumberPattern>
600          40404|
601          9(?:
602            11|
603            88
604          )
605        </nationalNumberPattern>
606      </shortCode>
607      <tollFree>
608        <possibleLengths national="3"/>
609        <exampleNumber>911</exampleNumber>
610        <nationalNumberPattern>
611          9(?:
612            11|
613            88
614          )
615        </nationalNumberPattern>
616      </tollFree>
617      <!-- http://studentsabroad.state.gov/content/pdfs/911_ABROAD.pdf
618           http://www.airportairport.com/American-Samoa.html
619           http://www.frommers.com/destinations/americansamoa/3038020157.html -->
620      <emergency>
621        <possibleLengths national="3"/>
622        <exampleNumber>911</exampleNumber>
623        <nationalNumberPattern>911</nationalNumberPattern>
624      </emergency>
625      <expandedEmergency>
626        <possibleLengths national="3"/>
627        <exampleNumber>988</exampleNumber>
628        <nationalNumberPattern>988</nationalNumberPattern>
629      </expandedEmergency>
630      <!-- https://support.twitter.com/articles/20170024 -->
631      <smsServices>
632        <possibleLengths national="5"/>
633        <exampleNumber>40400</exampleNumber>
634        <nationalNumberPattern>404\d\d</nationalNumberPattern>
635      </smsServices>
636    </territory>
637
638    <!-- Austria (AT) -->
639    <!-- http://www.rtr.at/en/tk/E129 -->
640    <territory id="AT">
641      <generalDesc>
642        <nationalNumberPattern>
643          [168]\d\d(?:
644            \d(?:
645              \d{2}
646            )?
647          )?
648        </nationalNumberPattern>
649      </generalDesc>
650      <shortCode>
651        <possibleLengths national="3,4,6"/>
652        <exampleNumber>112</exampleNumber>
653        <nationalNumberPattern>
654          1(?:
655            1(?:
656              2|
657              6(?:
658                00[06]|
659                1(?:
660                  17|
661                  23
662                )
663              )
664            )|
665            2[0238]|
666            3[03]|
667            4(?:
668              [0-247]|
669              5[05]|
670              84
671            )
672          )|
673          (?:
674            61|
675            8108[1-3]
676          )0
677        </nationalNumberPattern>
678      </shortCode>
679      <tollFree>
680        <possibleLengths national="3,4,6"/>
681        <exampleNumber>112</exampleNumber>
682        <nationalNumberPattern>
683          1(?:
684            12|
685            2[0238]|
686            3[03]|
687            4[0-247]
688          )|
689          1(?:
690            16\d\d|
691            4[58]
692          )\d
693        </nationalNumberPattern>
694      </tollFree>
695      <!-- Added yesss! numbers 810810 , 810820 and 810830 based on their website. 
696           Added Georg number 610 based on their website. -->
697      <carrierSpecific>
698        <possibleLengths national="3,6"/>
699        <exampleNumber>610</exampleNumber>
700        <nationalNumberPattern>
701          610|
702          810\d{3}
703        </nationalNumberPattern>
704      </carrierSpecific>
705      <emergency>
706        <possibleLengths national="3"/>
707        <exampleNumber>112</exampleNumber>
708        <nationalNumberPattern>
709          1(?:
710            [12]2|
711            33|
712            44
713          )
714        </nationalNumberPattern>
715      </emergency>
716      <expandedEmergency>
717        <possibleLengths national="3,4,6"/>
718        <exampleNumber>120</exampleNumber>
719        <nationalNumberPattern>
720          1(?:
721            16\d{3}|
722            2[038]|
723            30|
724            4(?:
725              [0-27]|
726              [58]\d
727            )
728          )
729        </nationalNumberPattern>
730      </expandedEmergency>
731    </territory>
732
733    <!-- Australia (AU) -->
734    <!-- http://www.itu.int/oth/T020200000D/en -->
735    <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Australia -->
736    <!-- Note 200[1-3] are ignored, despite being mentioned in the ITU document, because no
737         evidence that these numbers really exist could be found online, and it is unclear what
738         they actually are. -->
739    <territory id="AU">
740      <generalDesc>
741        <nationalNumberPattern>[0-27]\d{2,7}</nationalNumberPattern>
742      </generalDesc>
743      <shortCode>
744        <possibleLengths national="[3-8]"/>
745        <exampleNumber>000</exampleNumber>
746        <nationalNumberPattern>
747          000|
748          1(?:
749            06|
750            1(?:
751              00|
752              2|
753              9[46]
754            )|
755            2(?:
756              014[1-3]|
757              [23]\d|
758              (?:
759                4|
760                5\d
761              )\d{2,3}|
762              68[689]|
763              72(?:
764                20|
765                3\d\d
766              )|
767              8(?:
768                [013-9]\d|
769                2
770              )
771            )|
772            555|
773            9\d{4,6}
774          )|
775          225|
776          7(?:
777            33|
778            67
779          )
780        </nationalNumberPattern>
781      </shortCode>
782      <tollFree>
783        <possibleLengths national="3,4,7"/>
784        <exampleNumber>000</exampleNumber>
785        <nationalNumberPattern>
786          000|
787          1(?:
788            06|
789            12|
790            258885|
791            55\d
792          )|
793          733
794        </nationalNumberPattern>
795      </tollFree>
796      <standardRate>
797        <possibleLengths national="3,4,6"/>
798        <exampleNumber>225</exampleNumber>
799        <nationalNumberPattern>
800          1(?:
801            1[09]\d|
802            24733
803          )|
804          225|
805          767
806        </nationalNumberPattern>
807      </standardRate>
808      <!-- http://www.vodafone.com.au/personal/services/messaging/txt/mobilepremiumservices -->
809      <premiumRate>
810        <possibleLengths national="[4-8]"/>
811        <exampleNumber>1234</exampleNumber>
812        <nationalNumberPattern>
813          1(?:
814            2(?:
815              34|
816              456
817            )|
818            9\d{4,6}
819          )
820        </nationalNumberPattern>
821      </premiumRate>
822      <!-- http://www.vodafone.com.au/personal/services/messaging/txt/mobilepremiumservices -->
823      <carrierSpecific>
824        <possibleLengths national="4,7"/>
825        <exampleNumber>1550</exampleNumber>
826        <nationalNumberPattern>
827          1(?:
828            258885|
829            55\d
830          )
831        </nationalNumberPattern>
832      </carrierSpecific>
833      <emergency>
834        <possibleLengths national="3"/>
835        <exampleNumber>000</exampleNumber>
836        <nationalNumberPattern>
837          000|
838          1(?:
839            06|
840            12
841          )
842        </nationalNumberPattern>
843      </emergency>
844      <smsServices>
845        <possibleLengths national="[6-8]"/>
846        <exampleNumber>190000</exampleNumber>
847        <nationalNumberPattern>19\d{4,6}</nationalNumberPattern>
848      </smsServices>
849    </territory>
850
851    <!-- Aruba (AW) -->
852    <!-- http://www.itu.int/oth/T020200000B/en -->
853    <territory id="AW">
854      <generalDesc>
855        <nationalNumberPattern>[19]\d\d</nationalNumberPattern>
856      </generalDesc>
857      <shortCode>
858        <possibleLengths national="3"/>
859        <exampleNumber>100</exampleNumber>
860        <nationalNumberPattern>
861          1(?:
862            00|
863            18|
864            76
865          )|
866          91[13]
867        </nationalNumberPattern>
868      </shortCode>
869      <tollFree>
870        <possibleLengths national="3"/>
871        <exampleNumber>100</exampleNumber>
872        <nationalNumberPattern>
873          100|
874          911
875        </nationalNumberPattern>
876      </tollFree>
877      <!-- https://support.twitter.com/articles/20170024 -->
878      <carrierSpecific>
879        <possibleLengths national="3"/>
880        <exampleNumber>176</exampleNumber>
881        <nationalNumberPattern>176</nationalNumberPattern>
882      </carrierSpecific>
883      <!-- http://www.yellowpages-aruba.com/home/emergency-numbers -->
884      <emergency>
885        <possibleLengths national="3"/>
886        <exampleNumber>100</exampleNumber>
887        <nationalNumberPattern>
888          100|
889          911
890        </nationalNumberPattern>
891      </emergency>
892      <!-- https://support.twitter.com/articles/20170024 -->
893      <smsServices>
894        <possibleLengths national="3"/>
895        <exampleNumber>176</exampleNumber>
896        <nationalNumberPattern>176</nationalNumberPattern>
897      </smsServices>
898    </territory>
899
900    <!-- Åland Islands (AX) -->
901    <territory id="AX">
902      <generalDesc>
903        <nationalNumberPattern>
904          [17]\d\d(?:
905            \d{2}
906          )?
907        </nationalNumberPattern>
908      </generalDesc>
909      <!-- Most service numbers are included under UAN in PhoneNumberMetadata.xml (and also in
910           the no-international-dialling block) but prefixes 75[12] are always short and used for
911           directory services, hence we consider them to be short numbers. -->
912      <shortCode>
913        <possibleLengths national="3,5"/>
914        <exampleNumber>112</exampleNumber>
915        <nationalNumberPattern>
916          112|
917          75[12]\d\d
918        </nationalNumberPattern>
919      </shortCode>
920      <tollFree>
921        <possibleLengths national="3"/>
922        <exampleNumber>112</exampleNumber>
923        <nationalNumberPattern>112</nationalNumberPattern>
924      </tollFree>
925      <!-- http://www.arrivalguides.com/en/Travelguides/Europe/Finland/ALAND -->
926      <emergency>
927        <possibleLengths national="3"/>
928        <exampleNumber>112</exampleNumber>
929        <nationalNumberPattern>112</nationalNumberPattern>
930      </emergency>
931    </territory>
932
933    <!-- Azerbaijan (AZ) -->
934    <!-- http://www.itu.int/oth/T020200000F/en -->
935    <territory id="AZ">
936      <generalDesc>
937        <nationalNumberPattern>[148]\d{2,3}</nationalNumberPattern>
938      </generalDesc>
939      <shortCode>
940        <possibleLengths national="3,4"/>
941        <exampleNumber>101</exampleNumber>
942        <nationalNumberPattern>
943          1(?:
944            0[1-3]|
945            12
946          )|
947          (?:
948            404|
949            880
950          )0
951        </nationalNumberPattern>
952      </shortCode>
953      <tollFree>
954        <possibleLengths national="3"/>
955        <exampleNumber>101</exampleNumber>
956        <nationalNumberPattern>
957          1(?:
958            0[1-3]|
959            12
960          )
961        </nationalNumberPattern>
962      </tollFree>
963      <!-- https://support.twitter.com/articles/20170024 -->
964      <carrierSpecific>
965        <possibleLengths national="4"/>
966        <exampleNumber>4040</exampleNumber>
967        <nationalNumberPattern>
968          (?:
969            404|
970            880
971          )\d
972        </nationalNumberPattern>
973      </carrierSpecific>
974      <!-- http://travel.state.gov/travel/cis_pa_tw/cis/cis_978.html
975           http://wikitravel.org/en/Azerbaijan#Emergency_contact_numbers -->
976      <emergency>
977        <possibleLengths national="3"/>
978        <exampleNumber>101</exampleNumber>
979        <nationalNumberPattern>
980          1(?:
981            0[1-3]|
982            12
983          )
984        </nationalNumberPattern>
985      </emergency>
986      <!-- https://support.twitter.com/articles/20170024 -->
987      <smsServices>
988        <possibleLengths national="4"/>
989        <exampleNumber>4040</exampleNumber>
990        <nationalNumberPattern>
991          (?:
992            404|
993            880
994          )\d
995        </nationalNumberPattern>
996      </smsServices>
997    </territory>
998
999    <!-- Bosnia & Herzegovina (BA) -->
1000    <!-- https://www.itu.int/dms_pub/itu-t/oth/02/02/T020200001B0001PDFE.pdf -->
1001    <!-- http://www.rak.ba/eng/index.php?uid=1272016657 (accessible from
1002         http://www.cra.ba/en/telecom/numbering/) -->
1003    <!-- http://en.wikipedia.org/wiki/+387 -->
1004    <territory id="BA">
1005      <generalDesc>
1006        <nationalNumberPattern>1\d{2,5}</nationalNumberPattern>
1007      </generalDesc>
1008      <shortCode>
1009        <possibleLengths national="[3-6]"/>
1010        <exampleNumber>122</exampleNumber>
1011        <nationalNumberPattern>
1012          1(?:
1013            16(?:
1014              00[06]|
1015              1(?:
1016                1[17]|
1017                23
1018              )
1019            )|
1020            2(?:
1021              0[0-7]|
1022              [2-5]|
1023              6[0-26]
1024            )|
1025            (?:
1026              [3-5]|
1027              7\d
1028            )\d\d
1029          )|
1030          1(?:
1031            18|
1032            2[78]
1033          )\d\d?
1034        </nationalNumberPattern>
1035      </shortCode>
1036      <!-- All 116XXX, "European harmonized services of social" value are toll-free.
1037           See: https://ec.europa.eu/digital-single-market/116-helplines. -->
1038      <tollFree>
1039        <possibleLengths national="3,6"/>
1040        <exampleNumber>122</exampleNumber>
1041        <nationalNumberPattern>
1042          1(?:
1043            16\d{3}|
1044            2[2-4]
1045          )
1046        </nationalNumberPattern>
1047      </tollFree>
1048      <emergency>
1049        <possibleLengths national="3"/>
1050        <exampleNumber>122</exampleNumber>
1051        <nationalNumberPattern>12[2-4]</nationalNumberPattern>
1052      </emergency>
1053    </territory>
1054
1055    <!-- Barbados (BB) -->
1056    <!-- http://www.itu.int/oth/T0202000013/en -->
1057    <territory id="BB">
1058      <generalDesc>
1059        <nationalNumberPattern>[2-689]\d\d</nationalNumberPattern>
1060      </generalDesc>
1061      <shortCode>
1062        <possibleLengths national="3"/>
1063        <exampleNumber>211</exampleNumber>
1064        <nationalNumberPattern>
1065          988|
1066          [2-689]11
1067        </nationalNumberPattern>
1068      </shortCode>
1069      <tollFree>
1070        <possibleLengths national="3"/>
1071        <exampleNumber>211</exampleNumber>
1072        <nationalNumberPattern>
1073          988|
1074          [2359]11
1075        </nationalNumberPattern>
1076      </tollFree>
1077      <carrierSpecific>
1078        <possibleLengths national="3"/>
1079        <exampleNumber>411</exampleNumber>
1080        <nationalNumberPattern>[468]11</nationalNumberPattern>
1081      </carrierSpecific>
1082      <emergency>
1083        <possibleLengths national="3"/>
1084        <exampleNumber>211</exampleNumber>
1085        <nationalNumberPattern>[2359]11</nationalNumberPattern>
1086      </emergency>
1087      <expandedEmergency>
1088        <possibleLengths national="3"/>
1089        <exampleNumber>988</exampleNumber>
1090        <nationalNumberPattern>988</nationalNumberPattern>
1091      </expandedEmergency>
1092    </territory>
1093
1094    <!-- Bangladesh (BD) -->
1095    <!-- http://www.itu.int/oth/T0202000012/en -->
1096    <territory id="BD">
1097      <generalDesc>
1098        <nationalNumberPattern>[1579]\d{2,4}</nationalNumberPattern>
1099      </generalDesc>
1100      <shortCode>
1101        <possibleLengths national="[3-5]"/>
1102        <exampleNumber>100</exampleNumber>
1103        <nationalNumberPattern>
1104          1(?:
1105            0(?:
1106              [0-369]|
1107              5[1-4]|
1108              7[0-4]|
1109              8[0-29]
1110            )|
1111            1[16-9]|
1112            2(?:
1113              [134]|
1114              2[0-5]
1115            )|
1116            3(?:
1117              1\d?|
1118              6[3-6]
1119            )|
1120            5[2-9]
1121          )|
1122          5012|
1123          786|
1124          9594|
1125          [19]99|
1126          1(?:
1127            0(?:
1128              50|
1129              6\d
1130            )|
1131            33|
1132            4(?:
1133              0|
1134              1\d
1135            )
1136          )\d
1137        </nationalNumberPattern>
1138      </shortCode>
1139      <tollFree>
1140        <possibleLengths national="3"/>
1141        <exampleNumber>100</exampleNumber>
1142        <nationalNumberPattern>
1143          10[0-26]|
1144          [19]99
1145        </nationalNumberPattern>
1146      </tollFree>
1147      <!-- https://support.twitter.com/articles/20170024 -->
1148      <carrierSpecific>
1149        <possibleLengths national="3,4"/>
1150        <exampleNumber>111</exampleNumber>
1151        <nationalNumberPattern>
1152          1(?:
1153            11|
1154            2[13]
1155          )|
1156          (?:
1157            501|
1158            959
1159          )\d|
1160          786
1161        </nationalNumberPattern>
1162      </carrierSpecific>
1163      <emergency>
1164        <possibleLengths national="3"/>
1165        <exampleNumber>100</exampleNumber>
1166        <nationalNumberPattern>
1167          10[0-2]|
1168          [19]99
1169        </nationalNumberPattern>
1170      </emergency>
1171      <!-- https://support.twitter.com/articles/20170024 -->
1172      <smsServices>
1173        <possibleLengths national="4"/>
1174        <exampleNumber>9590</exampleNumber>
1175        <nationalNumberPattern>959\d</nationalNumberPattern>
1176      </smsServices>
1177    </territory>
1178
1179    <!-- Belgium (BE) -->
1180    <!-- http://www.bipt.be/en/161/ShowContent/502/Database/Databases.aspx -->
1181    <!-- http://www.mobileweb.be/en/mobileweb/sms-numberplan.asp -->
1182    <territory id="BE">
1183      <generalDesc>
1184        <nationalNumberPattern>
1185          [1-9]\d\d(?:
1186            \d(?:
1187              \d{2}
1188            )?
1189          )?
1190        </nationalNumberPattern>
1191      </generalDesc>
1192      <shortCode>
1193        <possibleLengths national="3,4,6"/>
1194        <exampleNumber>100</exampleNumber>
1195        <nationalNumberPattern>
1196          1(?:
1197            0[0-8]|
1198            16117|
1199            2(?:
1200              12|
1201              3[0-24]
1202            )|
1203            313|
1204            414|
1205            5(?:
1206              1[05]|
1207              5[15]|
1208              66|
1209              95
1210            )|
1211            6(?:
1212              1[167]|
1213              36|
1214              6[16]
1215            )|
1216            7(?:
1217              [07][017]|
1218              1[27-9]|
1219              22|
1220              33|
1221              65
1222            )|
1223            81[39]
1224          )|
1225          [2-9]\d{3}|
1226          11[02679]|
1227          1(?:
1228            1600|
1229            45
1230          )0|
1231          1(?:
1232            [2-4]9|
1233            78
1234          )9|
1235          1[2-4]0[47]
1236        </nationalNumberPattern>
1237      </shortCode>
1238      <!-- Documentation from www.childfocus.be says that 110 and 116000 are both free. Other
1239           information comes from the website of each number. -->
1240      <tollFree>
1241        <possibleLengths national="3,4,6"/>
1242        <exampleNumber>100</exampleNumber>
1243        <nationalNumberPattern>
1244          1(?:
1245            0[0-35-8]|
1246            1[0269]|
1247            7(?:
1248              12|
1249              77
1250            )|
1251            813
1252          )|
1253          (?:
1254            116|
1255            8
1256          )\d{3}
1257        </nationalNumberPattern>
1258      </tollFree>
1259      <!-- For the numbers starting with 2-7 or 9, in practice, there is a range of rates; but the
1260           maximum is at least half a Euro, and in some cases 31 Euros (for mobile payments) so we
1261           consider them all premium rate for now. Other numbers have been assigned here because
1262           operators have listed them as being more expensive than normal numbers, e.g.
1263           http://www.voo.be/fr/telephone/tarifs-speciaux/ -->
1264      <premiumRate>
1265        <possibleLengths national="4"/>
1266        <exampleNumber>1204</exampleNumber>
1267        <nationalNumberPattern>
1268          1(?:
1269            2[03]|
1270            40
1271          )4|
1272          (?:
1273            1(?:
1274              [24]1|
1275              3[01]
1276            )|
1277            [2-79]\d\d
1278          )\d
1279        </nationalNumberPattern>
1280      </premiumRate>
1281      <emergency>
1282        <possibleLengths national="3"/>
1283        <exampleNumber>100</exampleNumber>
1284        <nationalNumberPattern>
1285          1(?:
1286            0[01]|
1287            12
1288          )
1289        </nationalNumberPattern>
1290      </emergency>
1291      <!-- http://www.childfocus.be/fr/accueil/ lists this as being an emergency number. -->
1292      <expandedEmergency>
1293        <possibleLengths national="3,6"/>
1294        <exampleNumber>102</exampleNumber>
1295        <nationalNumberPattern>
1296          1(?:
1297            0[235-8]|
1298            1(?:
1299              [09]|
1300              6000
1301            )
1302          )
1303        </nationalNumberPattern>
1304      </expandedEmergency>
1305      <smsServices>
1306        <possibleLengths national="4"/>
1307        <exampleNumber>2000</exampleNumber>
1308        <nationalNumberPattern>[2-9]\d{3}</nationalNumberPattern>
1309      </smsServices>
1310    </territory>
1311
1312    <!-- Burkina Faso (BF) -->
1313    <!-- http://www.itu.int/oth/T0202000021/en -->
1314    <!-- http://www.onatel.bf/onatelsa/plandenumerotation_burkina.pdf -->
1315    <territory id="BF">
1316      <generalDesc>
1317        <nationalNumberPattern>1\d</nationalNumberPattern>
1318      </generalDesc>
1319      <shortCode>
1320        <possibleLengths national="2"/>
1321        <exampleNumber>17</exampleNumber>
1322        <nationalNumberPattern>1[78]</nationalNumberPattern>
1323      </shortCode>
1324      <tollFree>
1325        <possibleLengths national="2"/>
1326        <exampleNumber>17</exampleNumber>
1327        <nationalNumberPattern>1[78]</nationalNumberPattern>
1328      </tollFree>
1329      <!-- http://www.diplomatie.gouv.fr/fr/conseils-aux-voyageurs_909/conseils-par-pays_12191/burkina-faso_12217/index.html -->
1330      <emergency>
1331        <possibleLengths national="2"/>
1332        <exampleNumber>17</exampleNumber>
1333        <nationalNumberPattern>1[78]</nationalNumberPattern>
1334      </emergency>
1335    </territory>
1336
1337    <!-- Bulgaria (BG) -->
1338    <!-- http://www.itu.int/oth/T0202000020/en -->
1339    <territory id="BG">
1340      <generalDesc>
1341        <nationalNumberPattern>
1342          1\d\d(?:
1343            \d{3}
1344          )?
1345        </nationalNumberPattern>
1346      </generalDesc>
1347      <shortCode>
1348        <possibleLengths national="3,6"/>
1349        <exampleNumber>112</exampleNumber>
1350        <nationalNumberPattern>
1351          1(?:
1352            1(?:
1353              2|
1354              6(?:
1355                000|
1356                111
1357              )
1358            )|
1359            50|
1360            6[06]
1361          )
1362        </nationalNumberPattern>
1363      </shortCode>
1364      <tollFree>
1365        <possibleLengths national="3,6"/>
1366        <exampleNumber>112</exampleNumber>
1367        <nationalNumberPattern>
1368          1(?:
1369            1(?:
1370              2|
1371              6\d{3}
1372            )|
1373            50|
1374            6[06]
1375          )
1376        </nationalNumberPattern>
1377      </tollFree>
1378      <emergency>
1379        <possibleLengths national="3"/>
1380        <exampleNumber>112</exampleNumber>
1381        <nationalNumberPattern>
1382          1(?:
1383            12|
1384            50|
1385            6[06]
1386          )
1387        </nationalNumberPattern>
1388      </emergency>
1389      <expandedEmergency>
1390        <possibleLengths national="6"/>
1391        <exampleNumber>116000</exampleNumber>
1392        <nationalNumberPattern>116\d{3}</nationalNumberPattern>
1393      </expandedEmergency>
1394    </territory>
1395
1396    <!-- Bahrain (BH) -->
1397    <!-- http://www.itu.int/oth/T0202000011/en -->
1398    <!-- http://www.tra.org.bh/media/document/National%20Numbering%20Plan.pdf -->
1399    <territory id="BH">
1400      <generalDesc>
1401        <nationalNumberPattern>
1402          [0189]\d\d(?:
1403            \d{2}
1404          )?
1405        </nationalNumberPattern>
1406      </generalDesc>
1407      <!-- As per official numbering plan, 85xxx shortcodes are shared cost numbers. As the cost
1408           details are not clear, categorized them as unknown cost numbers. -->
1409      <shortCode>
1410        <possibleLengths national="3,5"/>
1411        <exampleNumber>100</exampleNumber>
1412        <nationalNumberPattern>
1413          1(?:
1414            [02]\d|
1415            12|
1416            4[01]|
1417            51|
1418            8[18]|
1419            9[169]
1420          )|
1421          99[02489]|
1422          (?:
1423            0[167]|
1424            8[158]|
1425            9[148]
1426          )\d{3}
1427        </nationalNumberPattern>
1428      </shortCode>
1429      <tollFree>
1430        <possibleLengths national="3,5"/>
1431        <exampleNumber>199</exampleNumber>
1432        <nationalNumberPattern>
1433          (?:
1434            0[167]|
1435            81
1436          )\d{3}|
1437          [19]99
1438        </nationalNumberPattern>
1439      </tollFree>
1440      <premiumRate>
1441        <possibleLengths national="5"/>
1442        <exampleNumber>91000</exampleNumber>
1443        <nationalNumberPattern>9[148]\d{3}</nationalNumberPattern>
1444      </premiumRate>
1445      <!-- https://support.twitter.com/articles/20170024 -->
1446      <carrierSpecific>
1447        <possibleLengths national="5"/>
1448        <exampleNumber>06000</exampleNumber>
1449        <nationalNumberPattern>
1450          0[67]\d{3}|
1451          88000|
1452          98555
1453        </nationalNumberPattern>
1454      </carrierSpecific>
1455      <emergency>
1456        <possibleLengths national="3"/>
1457        <exampleNumber>199</exampleNumber>
1458        <nationalNumberPattern>[19]99</nationalNumberPattern>
1459      </emergency>
1460      <expandedEmergency>
1461        <possibleLengths national="3"/>
1462        <exampleNumber>112</exampleNumber>
1463        <nationalNumberPattern>
1464          112|
1465          99[0248]
1466        </nationalNumberPattern>
1467      </expandedEmergency>
1468      <!-- https://support.twitter.com/articles/20170024 -->
1469      <smsServices>
1470        <possibleLengths national="5"/>
1471        <exampleNumber>88000</exampleNumber>
1472        <nationalNumberPattern>
1473          88000|
1474          98555
1475        </nationalNumberPattern>
1476      </smsServices>
1477    </territory>
1478
1479    <!-- Burundi (BI) -->
1480    <!-- http://www.itu.int/oth/T0202000022/en -->
1481    <territory id="BI">
1482      <generalDesc>
1483        <nationalNumberPattern>[16-9]\d{2,3}</nationalNumberPattern>
1484      </generalDesc>
1485      <shortCode>
1486        <possibleLengths national="3,4"/>
1487        <exampleNumber>110</exampleNumber>
1488        <nationalNumberPattern>
1489          1(?:
1490            1\d|
1491            5[2-9]|
1492            6[0-256]
1493          )|
1494          611|
1495          7(?:
1496            10|
1497            77|
1498            979
1499          )|
1500          8[28]8|
1501          900
1502        </nationalNumberPattern>
1503      </shortCode>
1504      <!-- Leo call centre (marked as free on their website) -->
1505      <tollFree>
1506        <possibleLengths national="3"/>
1507        <exampleNumber>112</exampleNumber>
1508        <nationalNumberPattern>
1509          11[237]|
1510          611
1511        </nationalNumberPattern>
1512      </tollFree>
1513      <carrierSpecific>
1514        <possibleLengths national="3"/>
1515        <exampleNumber>611</exampleNumber>
1516        <nationalNumberPattern>
1517          611|
1518          7(?:
1519            10|
1520            77
1521          )|
1522          888|
1523          900
1524        </nationalNumberPattern>
1525      </carrierSpecific>
1526      <emergency>
1527        <possibleLengths national="3"/>
1528        <exampleNumber>112</exampleNumber>
1529        <nationalNumberPattern>11[237]</nationalNumberPattern>
1530      </emergency>
1531      <expandedEmergency>
1532        <possibleLengths national="3"/>
1533        <exampleNumber>110</exampleNumber>
1534        <nationalNumberPattern>11[014-689]</nationalNumberPattern>
1535      </expandedEmergency>
1536      <!-- 900 is used by Leo to buy a certain package, 710 by Tempo. -->
1537      <smsServices>
1538        <possibleLengths national="3"/>
1539        <exampleNumber>710</exampleNumber>
1540        <nationalNumberPattern>
1541          (?:
1542            71|
1543            90
1544          )0
1545        </nationalNumberPattern>
1546      </smsServices>
1547    </territory>
1548
1549    <!-- Benin (BJ) -->
1550    <!-- http://www.itu.int/oth/T0202000017/en -->
1551    <territory id="BJ">
1552      <generalDesc>
1553        <nationalNumberPattern>[17]\d{2,3}</nationalNumberPattern>
1554      </generalDesc>
1555      <shortCode>
1556        <possibleLengths national="3,4"/>
1557        <exampleNumber>117</exampleNumber>
1558        <nationalNumberPattern>
1559          1(?:
1560            1[78]|
1561            2[02-5]|
1562            60
1563          )|
1564          7[0-5]\d\d
1565        </nationalNumberPattern>
1566      </shortCode>
1567      <tollFree>
1568        <possibleLengths national="3,4"/>
1569        <exampleNumber>117</exampleNumber>
1570        <nationalNumberPattern>
1571          11[78]|
1572          7[3-5]\d\d
1573        </nationalNumberPattern>
1574      </tollFree>
1575      <carrierSpecific>
1576        <possibleLengths national="3"/>
1577        <exampleNumber>120</exampleNumber>
1578        <nationalNumberPattern>12[02-5]</nationalNumberPattern>
1579      </carrierSpecific>
1580      <emergency>
1581        <possibleLengths national="3"/>
1582        <exampleNumber>117</exampleNumber>
1583        <nationalNumberPattern>11[78]</nationalNumberPattern>
1584      </emergency>
1585    </territory>
1586
1587    <!-- St. Barthélemy (BL) -->
1588    <!-- http://www.itu.int/oth/T0202000058/en -->
1589    <territory id="BL">
1590      <generalDesc>
1591        <nationalNumberPattern>1\d</nationalNumberPattern>
1592      </generalDesc>
1593      <shortCode>
1594        <possibleLengths national="2"/>
1595        <exampleNumber>18</exampleNumber>
1596        <nationalNumberPattern>18</nationalNumberPattern>
1597      </shortCode>
1598      <tollFree>
1599        <possibleLengths national="2"/>
1600        <exampleNumber>18</exampleNumber>
1601        <nationalNumberPattern>18</nationalNumberPattern>
1602      </tollFree>
1603      <!-- http://www.comstbarth.fr/urgences.asp -->
1604      <emergency>
1605        <possibleLengths national="2"/>
1606        <exampleNumber>18</exampleNumber>
1607        <nationalNumberPattern>18</nationalNumberPattern>
1608      </emergency>
1609    </territory>
1610
1611    <!-- Bermuda (BM) -->
1612    <!-- http://www.itu.int/oth/T0202000018/en -->
1613    <territory id="BM">
1614      <generalDesc>
1615        <nationalNumberPattern>[19]\d\d</nationalNumberPattern>
1616      </generalDesc>
1617      <shortCode>
1618        <possibleLengths national="3"/>
1619        <exampleNumber>176</exampleNumber>
1620        <nationalNumberPattern>
1621          176|
1622          9(?:
1623            11|
1624            88
1625          )
1626        </nationalNumberPattern>
1627      </shortCode>
1628      <tollFree>
1629        <possibleLengths national="3"/>
1630        <exampleNumber>911</exampleNumber>
1631        <nationalNumberPattern>
1632          9(?:
1633            11|
1634            88
1635          )
1636        </nationalNumberPattern>
1637      </tollFree>
1638      <!-- https://support.twitter.com/articles/20170024 -->
1639      <carrierSpecific>
1640        <possibleLengths national="3"/>
1641        <exampleNumber>176</exampleNumber>
1642        <nationalNumberPattern>176</nationalNumberPattern>
1643      </carrierSpecific>
1644      <!-- http://travel.state.gov/travel/cis_pa_tw/cis/cis_1067.html -->
1645      <emergency>
1646        <possibleLengths national="3"/>
1647        <exampleNumber>911</exampleNumber>
1648        <nationalNumberPattern>911</nationalNumberPattern>
1649      </emergency>
1650      <expandedEmergency>
1651        <possibleLengths national="3"/>
1652        <exampleNumber>988</exampleNumber>
1653        <nationalNumberPattern>988</nationalNumberPattern>
1654      </expandedEmergency>
1655      <!-- https://support.twitter.com/articles/20170024 -->
1656      <smsServices>
1657        <possibleLengths national="3"/>
1658        <exampleNumber>176</exampleNumber>
1659        <nationalNumberPattern>176</nationalNumberPattern>
1660      </smsServices>
1661    </territory>
1662
1663    <!-- Brunei (BN) -->
1664    <!-- http://www.itu.int/oth/T020200001F/en -->
1665    <territory id="BN">
1666      <generalDesc>
1667        <nationalNumberPattern>9\d\d</nationalNumberPattern>
1668      </generalDesc>
1669      <shortCode>
1670        <possibleLengths national="3"/>
1671        <exampleNumber>991</exampleNumber>
1672        <nationalNumberPattern>99[135]</nationalNumberPattern>
1673      </shortCode>
1674      <tollFree>
1675        <possibleLengths national="3"/>
1676        <exampleNumber>991</exampleNumber>
1677        <nationalNumberPattern>99[135]</nationalNumberPattern>
1678      </tollFree>
1679      <!-- http://www.information.gov.bn/VER2/content/view/52/62/ -->
1680      <emergency>
1681        <possibleLengths national="3"/>
1682        <exampleNumber>991</exampleNumber>
1683        <nationalNumberPattern>99[135]</nationalNumberPattern>
1684      </emergency>
1685    </territory>
1686
1687    <!-- Bolivia (BO) -->
1688    <!-- http://www.itu.int/oth/T020200001A/en -->
1689    <!-- http://www.bolivia.com/Servicios/Plandenumeracion.pdf -->
1690    <territory id="BO">
1691      <generalDesc>
1692        <nationalNumberPattern>
1693          [14]\d\d(?:
1694            \d{2}
1695          )?
1696        </nationalNumberPattern>
1697      </generalDesc>
1698      <shortCode>
1699        <possibleLengths national="3,5"/>
1700        <exampleNumber>110</exampleNumber>
1701        <nationalNumberPattern>
1702          11[089]|
1703          40404
1704        </nationalNumberPattern>
1705      </shortCode>
1706      <tollFree>
1707        <possibleLengths national="3"/>
1708        <exampleNumber>110</exampleNumber>
1709        <nationalNumberPattern>11[089]</nationalNumberPattern>
1710      </tollFree>
1711      <emergency>
1712        <possibleLengths national="3"/>
1713        <exampleNumber>110</exampleNumber>
1714        <nationalNumberPattern>11[089]</nationalNumberPattern>
1715      </emergency>
1716      <!-- https://support.twitter.com/articles/20170024 -->
1717      <smsServices>
1718        <possibleLengths national="5"/>
1719        <exampleNumber>40400</exampleNumber>
1720        <nationalNumberPattern>404\d\d</nationalNumberPattern>
1721      </smsServices>
1722    </territory>
1723
1724    <!-- Caribbean Netherlands (BQ) -->
1725    <!-- http://www.itu.int/oth/T02020000F8/en -->
1726    <territory id="BQ">
1727      <generalDesc>
1728        <nationalNumberPattern>[19]\d\d</nationalNumberPattern>
1729      </generalDesc>
1730      <shortCode>
1731        <possibleLengths national="3"/>
1732        <exampleNumber>112</exampleNumber>
1733        <nationalNumberPattern>
1734          1(?:
1735            12|
1736            76
1737          )|
1738          911
1739        </nationalNumberPattern>
1740      </shortCode>
1741      <tollFree>
1742        <possibleLengths national="3"/>
1743        <exampleNumber>112</exampleNumber>
1744        <nationalNumberPattern>
1745          112|
1746          911
1747        </nationalNumberPattern>
1748      </tollFree>
1749      <!-- https://support.twitter.com/articles/20170024 -->
1750      <carrierSpecific>
1751        <possibleLengths national="3"/>
1752        <exampleNumber>176</exampleNumber>
1753        <nationalNumberPattern>176</nationalNumberPattern>
1754      </carrierSpecific>
1755      <!-- http://www.rijksdienstcn.com/index.php?view=pagina&id=126&set_language=EN -->
1756      <emergency>
1757        <possibleLengths national="3"/>
1758        <exampleNumber>112</exampleNumber>
1759        <nationalNumberPattern>
1760          112|
1761          911
1762        </nationalNumberPattern>
1763      </emergency>
1764      <!-- https://support.twitter.com/articles/20170024 -->
1765      <smsServices>
1766        <possibleLengths national="3"/>
1767        <exampleNumber>176</exampleNumber>
1768        <nationalNumberPattern>176</nationalNumberPattern>
1769      </smsServices>
1770    </territory>
1771
1772    <!-- Brazil (BR) -->
1773    <!-- http://en.wikipedia.org/wiki/%2B55#Public_utility -->
1774    <!-- http://www.itu.int/net/itu-t/inrdb/e129_important_numbers.aspx?country=32 -->
1775    <!-- http://www.anatel.gov.br/Portal/exibirPortalPaginaEspecial.do?codItemCanal=746&codCanal=277 -->
1776    <territory id="BR">
1777      <generalDesc>
1778        <nationalNumberPattern>[1-69]\d{2,5}</nationalNumberPattern>
1779      </generalDesc>
1780      <shortCode>
1781        <possibleLengths national="[3-6]"/>
1782        <exampleNumber>100</exampleNumber>
1783        <nationalNumberPattern>
1784          1(?:
1785            0(?:
1786              [02]|
1787              3(?:
1788                1[2-579]|
1789                2[13-9]|
1790                3[124-9]|
1791                4[1-3578]|
1792                5[1-468]|
1793                6[139]|
1794                8[149]|
1795                9[168]
1796              )|
1797              5[0-35-9]|
1798              6(?:
1799                0|
1800                1[0-35-8]?|
1801                2[0145]|
1802                3[0137]?|
1803                4[37-9]?|
1804                5[0-35]|
1805                6[016]?|
1806                7[137]?|
1807                8[5-8]|
1808                9[1359]
1809              )
1810            )|
1811            1[25-8]|
1812            2[357-9]|
1813            3[024-68]|
1814            4[12568]|
1815            5\d|
1816            6[0-8]|
1817            8[015]|
1818            9[0-47-9]
1819          )|
1820          2(?:
1821            7(?:
1822              330|
1823              878
1824            )|
1825            85959?
1826          )|
1827          (?:
1828            32|
1829            91
1830          )1|
1831          4(?:
1832            0404?|
1833            57|
1834            828
1835          )|
1836          55555|
1837          6(?:
1838            0\d{4}|
1839            10000
1840          )|
1841          (?:
1842            133|
1843            411
1844          )[12]
1845        </nationalNumberPattern>
1846      </shortCode>
1847      <!-- The plan says all numbers marked as SERVIÇOS PÚBLICOS DE EMERGÊNCIA are toll-free. The
1848           18X and 19X ranges seem to be allocated for these kinds of numbers based on the last
1849           numbering plan. -->
1850      <tollFree>
1851        <possibleLengths national="3,4"/>
1852        <exampleNumber>100</exampleNumber>
1853        <nationalNumberPattern>
1854          1(?:
1855            00|
1856            12|
1857            28|
1858            8[015]|
1859            9[0-47-9]
1860          )|
1861          4(?:
1862            57|
1863            82\d
1864          )|
1865          911
1866        </nationalNumberPattern>
1867      </tollFree>
1868      <standardRate>
1869        <possibleLengths national="3,5"/>
1870        <exampleNumber>102</exampleNumber>
1871        <nationalNumberPattern>
1872          102|
1873          273\d\d|
1874          321
1875        </nationalNumberPattern>
1876      </standardRate>
1877      <!-- https://support.twitter.com/articles/20170024 -->
1878      <!-- For unsubscribing to SMS short code campaigns: 457 is Vivo, 4112 is Tim, 55555 is Oi,
1879           4040 is Claro. For example, see
1880           http://www.tim.com.br/sp/sobre-a-tim/regulatorio/mensagens-publicitarias. Note this
1881           also mentions 4111 as the TIM short-code to sign up.
1882           151 is listed here since it isn't available throughout the country; e.g. not in Rio
1883           Grande do Sul. -->
1884      <carrierSpecific>
1885        <possibleLengths national="[3-5]"/>
1886        <exampleNumber>151</exampleNumber>
1887        <nationalNumberPattern>
1888          151|
1889          (?:
1890            278|
1891            555
1892          )\d\d|
1893          4(?:
1894            04\d\d?|
1895            11\d|
1896            57
1897          )
1898        </nationalNumberPattern>
1899      </carrierSpecific>
1900      <emergency>
1901        <possibleLengths national="3"/>
1902        <exampleNumber>112</exampleNumber>
1903        <nationalNumberPattern>
1904          1(?:
1905            12|
1906            28|
1907            9[023]
1908          )|
1909          911
1910        </nationalNumberPattern>
1911      </emergency>
1912      <!-- 195 from https://www9.sabesp.com.br/agenciavirtual/ is limited to the state of São
1913           Paulo. -->
1914      <expandedEmergency>
1915        <possibleLengths national="3"/>
1916        <exampleNumber>116</exampleNumber>
1917        <nationalNumberPattern>
1918          1(?:
1919            16|
1920            23|
1921            68|
1922            8[015]|
1923            9[147-9]
1924          )
1925        </nationalNumberPattern>
1926      </expandedEmergency>
1927      <!-- https://support.twitter.com/articles/20170024 -->
1928      <!-- Added short codes 28595, 285959 and 4828 after a report that it is used for SMS
1929           services. We can't find range-related information, despite emailing Anatel. -->
1930      <smsServices>
1931        <possibleLengths national="[3-6]"/>
1932        <exampleNumber>321</exampleNumber>
1933        <nationalNumberPattern>
1934          285\d{2,3}|
1935          321|
1936          40404|
1937          (?:
1938            27[38]\d|
1939            482
1940          )\d|
1941          6(?:
1942            0\d|
1943            10
1944          )\d{3}
1945        </nationalNumberPattern>
1946      </smsServices>
1947    </territory>
1948
1949    <!-- Bahamas (BS) -->
1950    <!-- http://www.itu.int/oth/T0202000010/en -->
1951    <territory id="BS">
1952      <generalDesc>
1953        <nationalNumberPattern>9\d\d</nationalNumberPattern>
1954      </generalDesc>
1955      <shortCode>
1956        <possibleLengths national="3"/>
1957        <exampleNumber>911</exampleNumber>
1958        <nationalNumberPattern>
1959          9(?:
1960            1[19]|
1961            88
1962          )
1963        </nationalNumberPattern>
1964      </shortCode>
1965      <tollFree>
1966        <possibleLengths national="3"/>
1967        <exampleNumber>911</exampleNumber>
1968        <nationalNumberPattern>
1969          9(?:
1970            1[19]|
1971            88
1972          )
1973        </nationalNumberPattern>
1974      </tollFree>
1975      <!-- http://travel.state.gov/travel/cis_pa_tw/cis/cis_989.html -->
1976      <emergency>
1977        <possibleLengths national="3"/>
1978        <exampleNumber>911</exampleNumber>
1979        <nationalNumberPattern>91[19]</nationalNumberPattern>
1980      </emergency>
1981      <expandedEmergency>
1982        <possibleLengths national="3"/>
1983        <exampleNumber>988</exampleNumber>
1984        <nationalNumberPattern>988</nationalNumberPattern>
1985      </expandedEmergency>
1986    </territory>
1987
1988    <!-- Bhutan (BT) -->
1989    <!-- http://www.itu.int/oth/T0202000019/en -->
1990    <territory id="BT">
1991      <generalDesc>
1992        <nationalNumberPattern>
1993          [14]\d\d(?:
1994            \d{2}
1995          )?
1996        </nationalNumberPattern>
1997      </generalDesc>
1998      <shortCode>
1999        <possibleLengths national="3,5"/>
2000        <exampleNumber>110</exampleNumber>
2001        <nationalNumberPattern>
2002          11[0-6]|
2003          40404
2004        </nationalNumberPattern>
2005      </shortCode>
2006      <tollFree>
2007        <possibleLengths national="3"/>
2008        <exampleNumber>110</exampleNumber>
2009        <nationalNumberPattern>11[023]</nationalNumberPattern>
2010      </tollFree>
2011      <!-- http://www.rbp.gov.bt/requestpolice.php -->
2012      <!-- http://www.jdwnrh.gov.bt/sfo2011/?page_id=51 -->
2013      <emergency>
2014        <possibleLengths national="3"/>
2015        <exampleNumber>110</exampleNumber>
2016        <nationalNumberPattern>11[023]</nationalNumberPattern>
2017      </emergency>
2018      <!-- https://support.twitter.com/articles/20170024 -->
2019      <smsServices>
2020        <possibleLengths national="5"/>
2021        <exampleNumber>40400</exampleNumber>
2022        <nationalNumberPattern>404\d\d</nationalNumberPattern>
2023      </smsServices>
2024    </territory>
2025
2026    <!-- Botswana (BW) -->
2027    <!-- http://www.itu.int/oth/T020200001C/en -->
2028    <territory id="BW">
2029      <generalDesc>
2030        <nationalNumberPattern>
2031          [19]\d\d(?:
2032            \d{2}
2033          )?
2034        </nationalNumberPattern>
2035      </generalDesc>
2036      <shortCode>
2037        <possibleLengths national="3,5"/>
2038        <exampleNumber>112</exampleNumber>
2039        <nationalNumberPattern>
2040          1(?:
2041            1[26]|
2042            3123
2043          )|
2044          9(?:
2045            1[14]|
2046            9[1-57-9]
2047          )
2048        </nationalNumberPattern>
2049      </shortCode>
2050      <tollFree>
2051        <possibleLengths national="3"/>
2052        <exampleNumber>911</exampleNumber>
2053        <nationalNumberPattern>
2054          9(?:
2055            11|
2056            9[7-9]
2057          )
2058        </nationalNumberPattern>
2059      </tollFree>
2060      <!-- https://support.twitter.com/articles/20170024 -->
2061      <carrierSpecific>
2062        <possibleLengths national="5"/>
2063        <exampleNumber>13100</exampleNumber>
2064        <nationalNumberPattern>131\d\d</nationalNumberPattern>
2065      </carrierSpecific>
2066      <!-- http://www.gov.bw/en/Ministries%2D%2DAuthorities/Ministries/State-President/Botswana-Police-Service-/About-the-BPS/Toll-Free-Numbers/ -->
2067      <!-- http://travel.state.gov/travel/cis_pa_tw/cis/cis_1071.html -->
2068      <emergency>
2069        <possibleLengths national="3"/>
2070        <exampleNumber>911</exampleNumber>
2071        <nationalNumberPattern>
2072          9(?:
2073            11|
2074            9[7-9]
2075          )
2076        </nationalNumberPattern>
2077      </emergency>
2078      <!-- https://support.twitter.com/articles/20170024 -->
2079      <smsServices>
2080        <possibleLengths national="5"/>
2081        <exampleNumber>13100</exampleNumber>
2082        <nationalNumberPattern>131\d\d</nationalNumberPattern>
2083      </smsServices>
2084    </territory>
2085
2086    <!-- Belarus (BY) -->
2087    <!-- http://www.eng.beltelecom.by/en/subscribers/phone-codes -->
2088    <territory id="BY">
2089      <generalDesc>
2090        <nationalNumberPattern>1\d\d</nationalNumberPattern>
2091      </generalDesc>
2092      <!-- Wikipedia notes not all numbers are active everywhere. -->
2093      <shortCode>
2094        <possibleLengths national="3"/>
2095        <exampleNumber>101</exampleNumber>
2096        <nationalNumberPattern>
2097          1(?:
2098            0[1-79]|
2099            1[246]|
2100            35|
2101            5[1-35]|
2102            6[89]|
2103            7[5-7]|
2104            8[58]|
2105            9[1-7]
2106          )
2107        </nationalNumberPattern>
2108      </shortCode>
2109      <tollFree>
2110        <possibleLengths national="3"/>
2111        <exampleNumber>101</exampleNumber>
2112        <nationalNumberPattern>
2113          1(?:
2114            0[1-3]|
2115            12
2116          )
2117        </nationalNumberPattern>
2118      </tollFree>
2119      <emergency>
2120        <possibleLengths national="3"/>
2121        <exampleNumber>101</exampleNumber>
2122        <nationalNumberPattern>
2123          1(?:
2124            0[1-3]|
2125            12
2126          )
2127        </nationalNumberPattern>
2128      </emergency>
2129    </territory>
2130
2131    <!-- Belize (BZ) -->
2132    <!-- http://www.itu.int/oth/T0202000016/en -->
2133    <territory id="BZ">
2134      <generalDesc>
2135        <nationalNumberPattern>9\d\d?</nationalNumberPattern>
2136      </generalDesc>
2137      <shortCode>
2138        <possibleLengths national="2,3"/>
2139        <exampleNumber>90</exampleNumber>
2140        <nationalNumberPattern>
2141          9(?:
2142            0|
2143            11|
2144            22|
2145            66|
2146            77|
2147            9[09]
2148          )
2149        </nationalNumberPattern>
2150      </shortCode>
2151      <tollFree>
2152        <possibleLengths national="2,3"/>
2153        <exampleNumber>90</exampleNumber>
2154        <nationalNumberPattern>
2155          9(?:
2156            0|
2157            11|
2158            22|
2159            66|
2160            77|
2161            9[09]
2162          )
2163        </nationalNumberPattern>
2164      </tollFree>
2165      <!-- http://studentsabroad.state.gov/content/pdfs/911_ABROAD.pdf -->
2166      <emergency>
2167        <possibleLengths national="2,3"/>
2168        <exampleNumber>90</exampleNumber>
2169        <nationalNumberPattern>
2170          9(?:
2171            0|
2172            11|
2173            90
2174          )
2175        </nationalNumberPattern>
2176      </emergency>
2177      <expandedEmergency>
2178        <possibleLengths national="3"/>
2179        <exampleNumber>922</exampleNumber>
2180        <nationalNumberPattern>
2181          9(?:
2182            22|
2183            66|
2184            77|
2185            99
2186          )
2187        </nationalNumberPattern>
2188      </expandedEmergency>
2189    </territory>
2190
2191    <!-- Canada (CA) -->
2192    <!-- http://www.cnac.ca/canadian_dial_plan/canadian_dial_plan.htm -->
2193    <!-- Excluding local normal numbers from the general description (and indeed from being possible
2194         short numbers, since they definitely are not). -->
2195    <territory id="CA">
2196      <generalDesc>
2197        <nationalNumberPattern>
2198          [1-9]\d\d(?:
2199            \d\d(?:
2200              \d(?:
2201                \d{2}
2202              )?
2203            )?
2204          )?
2205        </nationalNumberPattern>
2206      </generalDesc>
2207      <shortCode>
2208        <possibleLengths national="3,5,6,8"/>
2209        <exampleNumber>112</exampleNumber>
2210        <nationalNumberPattern>
2211          112|
2212          30000\d{3}|
2213          [1-35-9]\d{4,5}|
2214          [2-8]11|
2215          9(?:
2216            11|
2217            88
2218          )
2219        </nationalNumberPattern>
2220      </shortCode>
2221      <tollFree>
2222        <possibleLengths national="3"/>
2223        <exampleNumber>112</exampleNumber>
2224        <nationalNumberPattern>
2225          112|
2226          988|
2227          [29]11
2228        </nationalNumberPattern>
2229      </tollFree>
2230      <!-- https://en.wikipedia.org/wiki/6-1-1 says it is only partially supported, similar to
2231           articles on these other numbers. 7-1-1 is required to be supported by all carriers in
2232           the US, but in Canada it is up to individual communities it seems. -->
2233      <carrierSpecific>
2234        <possibleLengths national="3"/>
2235        <exampleNumber>211</exampleNumber>
2236        <nationalNumberPattern>[235-7]11</nationalNumberPattern>
2237      </carrierSpecific>
2238      <emergency>
2239        <possibleLengths national="3"/>
2240        <exampleNumber>112</exampleNumber>
2241        <nationalNumberPattern>
2242          112|
2243          911
2244        </nationalNumberPattern>
2245      </emergency>
2246      <expandedEmergency>
2247        <possibleLengths national="3"/>
2248        <exampleNumber>988</exampleNumber>
2249        <nationalNumberPattern>988</nationalNumberPattern>
2250      </expandedEmergency>
2251      <!-- https://support.twitter.com/articles/20170024 -->
2252      <!-- http://www.txt.ca/en/shortcode-search/ -->
2253      <!-- We also support so-called "long codes" (8 digits). Technically we know that 30000 is
2254           not a valid short-code but this is too complex/not worth the time to exclude here. -->
2255      <smsServices>
2256        <possibleLengths national="5,6,8"/>
2257        <exampleNumber>10000</exampleNumber>
2258        <nationalNumberPattern>
2259          300\d{5}|
2260          [1-35-9]\d{4,5}
2261        </nationalNumberPattern>
2262      </smsServices>
2263    </territory>
2264
2265    <!-- Cocos (Keeling) Islands (CC) -->
2266    <territory id="CC">
2267      <generalDesc>
2268        <nationalNumberPattern>[01]\d\d</nationalNumberPattern>
2269      </generalDesc>
2270      <shortCode>
2271        <possibleLengths national="3"/>
2272        <exampleNumber>000</exampleNumber>
2273        <nationalNumberPattern>
2274          000|
2275          112
2276        </nationalNumberPattern>
2277      </shortCode>
2278      <tollFree>
2279        <possibleLengths national="3"/>
2280        <exampleNumber>000</exampleNumber>
2281        <nationalNumberPattern>
2282          000|
2283          112
2284        </nationalNumberPattern>
2285      </tollFree>
2286      <!-- We assume this is the same as for Australia, since they have the same country code and
2287           share their police force, and no better information can be found. -->
2288      <emergency>
2289        <possibleLengths national="3"/>
2290        <exampleNumber>000</exampleNumber>
2291        <nationalNumberPattern>
2292          000|
2293          112
2294        </nationalNumberPattern>
2295      </emergency>
2296    </territory>
2297
2298    <!-- Congo - Kinshasa (CD) -->
2299    <!-- http://www.itu.int/net/itu-t/inrdb/e129_important_numbers.aspx?country=47&pg_size=50 -->
2300    <territory id="CD">
2301      <generalDesc>
2302        <nationalNumberPattern>
2303          [14]\d\d(?:
2304            \d{2}
2305          )?
2306        </nationalNumberPattern>
2307      </generalDesc>
2308      <shortCode>
2309        <possibleLengths national="3,5"/>
2310        <exampleNumber>113</exampleNumber>
2311        <nationalNumberPattern>
2312          1(?:
2313            1[348]|
2314            23|
2315            77|
2316            88
2317          )|
2318          40404
2319        </nationalNumberPattern>
2320      </shortCode>
2321      <tollFree>
2322        <possibleLengths national="3"/>
2323        <exampleNumber>113</exampleNumber>
2324        <nationalNumberPattern>
2325          1(?:
2326            1[348]|
2327            77|
2328            88
2329          )
2330        </nationalNumberPattern>
2331      </tollFree>
2332      <!-- https://support.twitter.com/articles/20170024 -->
2333      <carrierSpecific>
2334        <possibleLengths national="5"/>
2335        <exampleNumber>40400</exampleNumber>
2336        <nationalNumberPattern>404\d\d</nationalNumberPattern>
2337      </carrierSpecific>
2338      <!-- No national emergency numbers were located for Congo. -->
2339      <emergency>
2340        <possibleLengths national="3"/>
2341        <exampleNumber>113</exampleNumber>
2342        <nationalNumberPattern>
2343          1(?:
2344            1[348]|
2345            77|
2346            88
2347          )
2348        </nationalNumberPattern>
2349      </emergency>
2350      <expandedEmergency>
2351        <possibleLengths national="3"/>
2352        <exampleNumber>123</exampleNumber>
2353        <nationalNumberPattern>123</nationalNumberPattern>
2354      </expandedEmergency>
2355      <!-- https://support.twitter.com/articles/20170024 -->
2356      <smsServices>
2357        <possibleLengths national="5"/>
2358        <exampleNumber>40400</exampleNumber>
2359        <nationalNumberPattern>404\d\d</nationalNumberPattern>
2360      </smsServices>
2361    </territory>
2362
2363    <!-- Central African Republic (CF) -->
2364    <!-- http://www.itu.int/net/itu-t/inrdb/e129_important_numbers.aspx?country=37&pg_size=50 -->
2365    <territory id="CF">
2366      <generalDesc>
2367        <nationalNumberPattern>1\d{2,3}</nationalNumberPattern>
2368      </generalDesc>
2369      <shortCode>
2370        <possibleLengths national="3,4"/>
2371        <exampleNumber>114</exampleNumber>
2372        <nationalNumberPattern>
2373          1(?:
2374            1[478]|
2375            220
2376          )
2377        </nationalNumberPattern>
2378      </shortCode>
2379      <tollFree>
2380        <possibleLengths national="3,4"/>
2381        <exampleNumber>117</exampleNumber>
2382        <nationalNumberPattern>
2383          1(?:
2384            1[78]|
2385            22\d
2386          )
2387        </nationalNumberPattern>
2388      </tollFree>
2389      <emergency>
2390        <possibleLengths national="3,4"/>
2391        <exampleNumber>117</exampleNumber>
2392        <nationalNumberPattern>
2393          1(?:
2394            1[78]|
2395            220
2396          )
2397        </nationalNumberPattern>
2398      </emergency>
2399      <expandedEmergency>
2400        <possibleLengths national="3"/>
2401        <exampleNumber>114</exampleNumber>
2402        <nationalNumberPattern>114</nationalNumberPattern>
2403      </expandedEmergency>
2404    </territory>
2405
2406    <!-- Congo - Brazzaville (CG) -->
2407    <territory id="CG">
2408      <generalDesc>
2409        <nationalNumberPattern>1\d\d</nationalNumberPattern>
2410      </generalDesc>
2411      <shortCode>
2412        <possibleLengths national="3"/>
2413        <exampleNumber>111</exampleNumber>
2414        <nationalNumberPattern>11[126-8]</nationalNumberPattern>
2415      </shortCode>
2416      <tollFree>
2417        <possibleLengths national="3"/>
2418        <exampleNumber>111</exampleNumber>
2419        <nationalNumberPattern>11[178]</nationalNumberPattern>
2420      </tollFree>
2421      <emergency>
2422        <possibleLengths national="3"/>
2423        <exampleNumber>117</exampleNumber>
2424        <nationalNumberPattern>11[78]</nationalNumberPattern>
2425      </emergency>
2426      <expandedEmergency>
2427        <possibleLengths national="3"/>
2428        <exampleNumber>112</exampleNumber>
2429        <nationalNumberPattern>11[26]</nationalNumberPattern>
2430      </expandedEmergency>
2431    </territory>
2432
2433    <!-- Switzerland (CH) -->
2434    <!-- http://www.bakom.admin.ch/themen/telekom/00479/00604/index.html?lang=en -->
2435    <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Switzerland#Short_numbers -->
2436    <!-- http://csi.sunrise.ch/smartzone/_privat -->
2437    <territory id="CH">
2438      <generalDesc>
2439        <nationalNumberPattern>[1-9]\d{2,5}</nationalNumberPattern>
2440      </generalDesc>
2441      <!-- According to the "E.164 national numbering plan of Switzerland", some short numbers
2442           may be accessible from abroad. However, it does not specify which ones. -->
2443      <shortCode>
2444        <possibleLengths national="[3-6]"/>
2445        <exampleNumber>112</exampleNumber>
2446        <nationalNumberPattern>
2447          1(?:
2448            0[78]\d\d|
2449            1(?:
2450              [278]|
2451              45|
2452              6(?:
2453                000|
2454                111
2455              )
2456            )|
2457            4(?:
2458              [03-57]|
2459              1[0145]
2460            )|
2461            6(?:
2462              00|
2463              [1-46]
2464            )|
2465            8(?:
2466              02|
2467              1[189]|
2468              [25]0|
2469              7|
2470              8[08]|
2471              99
2472            )
2473          )|
2474          [2-9]\d{2,4}
2475        </nationalNumberPattern>
2476      </shortCode>
2477      <tollFree>
2478        <possibleLengths national="3,4,6"/>
2479        <exampleNumber>112</exampleNumber>
2480        <nationalNumberPattern>
2481          1(?:
2482            1(?:
2483              [278]|
2484              6\d{3}
2485            )|
2486            4[47]
2487          )|
2488          5200
2489        </nationalNumberPattern>
2490      </tollFree>
2491      <!-- These are priced by the mobile companies at just under the rate they charge for calls
2492           to fixed-line and mobile phones, so we consider them standard rate. 143 is actually
2493           free for Sunrise. -->
2494      <standardRate>
2495        <possibleLengths national="3,4"/>
2496        <exampleNumber>140</exampleNumber>
2497        <nationalNumberPattern>
2498          1(?:
2499            4[035]|
2500            6[1-46]
2501          )|
2502          1(?:
2503            41|
2504            60
2505          )\d
2506        </nationalNumberPattern>
2507      </standardRate>
2508      <!-- http://www.zouk88.com/switzerland/index.htm -->
2509      <!-- http://aonebill.com/coverage&tariffs#Switzerland -->
2510      <!-- Swisscom and Sunrise refer to 18XY as being premium rate. 1145 is priced similarly. -->
2511      <premiumRate>
2512        <possibleLengths national="[3-5]"/>
2513        <exampleNumber>543</exampleNumber>
2514        <nationalNumberPattern>
2515          1(?:
2516            14|
2517            8[0-2589]
2518          )\d|
2519          543|
2520          83111
2521        </nationalNumberPattern>
2522      </premiumRate>
2523      <!-- 5200, 535 are both used by Orange for SMSs. -->
2524      <carrierSpecific>
2525        <possibleLengths national="3,4"/>
2526        <exampleNumber>535</exampleNumber>
2527        <nationalNumberPattern>
2528          5(?:
2529            200|
2530            35
2531          )
2532        </nationalNumberPattern>
2533      </carrierSpecific>
2534      <emergency>
2535        <possibleLengths national="3"/>
2536        <exampleNumber>112</exampleNumber>
2537        <nationalNumberPattern>
2538          1(?:
2539            1[278]|
2540            44
2541          )
2542        </nationalNumberPattern>
2543      </emergency>
2544      <expandedEmergency>
2545        <possibleLengths national="3,4,6"/>
2546        <exampleNumber>140</exampleNumber>
2547        <nationalNumberPattern>
2548          14[0357]|
2549          1(?:
2550            161\d|
2551            41
2552          )\d
2553        </nationalNumberPattern>
2554      </expandedEmergency>
2555      <smsServices>
2556        <possibleLengths national="[3-5]"/>
2557        <exampleNumber>200</exampleNumber>
2558        <nationalNumberPattern>[2-9]\d{2,4}</nationalNumberPattern>
2559      </smsServices>
2560    </territory>
2561
2562    <!-- Côte d’Ivoire (CI) -->
2563    <!-- http://www.itu.int/oth/T0202000031/en -->
2564    <territory id="CI">
2565      <generalDesc>
2566        <nationalNumberPattern>[14]\d{2,3}</nationalNumberPattern>
2567      </generalDesc>
2568      <shortCode>
2569        <possibleLengths national="3,4"/>
2570        <exampleNumber>110</exampleNumber>
2571        <nationalNumberPattern>
2572          1(?:
2573            1[01]|
2574            [78]0
2575          )|
2576          4443
2577        </nationalNumberPattern>
2578      </shortCode>
2579      <tollFree>
2580        <possibleLengths national="3"/>
2581        <exampleNumber>110</exampleNumber>
2582        <nationalNumberPattern>
2583          1(?:
2584            1[01]|
2585            [78]0
2586          )
2587        </nationalNumberPattern>
2588      </tollFree>
2589      <!-- https://support.twitter.com/articles/20170024 -->
2590      <carrierSpecific>
2591        <possibleLengths national="4"/>
2592        <exampleNumber>4440</exampleNumber>
2593        <nationalNumberPattern>444\d</nationalNumberPattern>
2594      </carrierSpecific>
2595      <!-- http://studentsabroad.state.gov/content/pdfs/911_ABROAD.pdf -->
2596      <emergency>
2597        <possibleLengths national="3"/>
2598        <exampleNumber>110</exampleNumber>
2599        <nationalNumberPattern>
2600          1(?:
2601            1[01]|
2602            [78]0
2603          )
2604        </nationalNumberPattern>
2605      </emergency>
2606      <!-- https://support.twitter.com/articles/20170024 -->
2607      <smsServices>
2608        <possibleLengths national="4"/>
2609        <exampleNumber>4440</exampleNumber>
2610        <nationalNumberPattern>444\d</nationalNumberPattern>
2611      </smsServices>
2612    </territory>
2613
2614    <!-- Cook Islands (CK) -->
2615    <!-- http://www.itu.int/oth/T020200002F/en -->
2616    <territory id="CK">
2617      <generalDesc>
2618        <nationalNumberPattern>9\d\d</nationalNumberPattern>
2619      </generalDesc>
2620      <shortCode>
2621        <possibleLengths national="3"/>
2622        <exampleNumber>996</exampleNumber>
2623        <nationalNumberPattern>99[689]</nationalNumberPattern>
2624      </shortCode>
2625      <tollFree>
2626        <possibleLengths national="3"/>
2627        <exampleNumber>996</exampleNumber>
2628        <nationalNumberPattern>99[689]</nationalNumberPattern>
2629      </tollFree>
2630      <!-- http://www.frommers.com/destinations/cookislands/3036020157.html and other tourist
2631           sites agree on the following numbers. -->
2632      <emergency>
2633        <possibleLengths national="3"/>
2634        <exampleNumber>996</exampleNumber>
2635        <nationalNumberPattern>99[689]</nationalNumberPattern>
2636      </emergency>
2637    </territory>
2638
2639    <!-- Chile (CL) -->
2640    <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Chile -->
2641    <!-- http://www.clarochile.cl/wps/portal/cl/pc/personas/movil/sms-premium -->
2642    <territory id="CL">
2643      <generalDesc>
2644        <nationalNumberPattern>[1-9]\d{2,4}</nationalNumberPattern>
2645      </generalDesc>
2646      <shortCode>
2647        <possibleLengths national="[3-5]"/>
2648        <exampleNumber>100</exampleNumber>
2649        <nationalNumberPattern>
2650          1(?:
2651            00|
2652            21[13]|
2653            3(?:
2654              13|
2655              [348]0|
2656              5[01]
2657            )|
2658            4(?:
2659              0[02-6]|
2660              17|
2661              [379]
2662            )|
2663            818|
2664            919
2665          )|
2666          2(?:
2667            0(?:
2668              01|
2669              122
2670            )|
2671            22[47]|
2672            323|
2673            777|
2674            882
2675          )|
2676          3(?:
2677            0(?:
2678              51|
2679              99
2680            )|
2681            132|
2682            3(?:
2683              29|
2684              [37]7
2685            )|
2686            665
2687          )|
2688          43656|
2689          5(?:
2690            (?:
2691              00|
2692              415
2693            )4|
2694            5(?:
2695              66|
2696              77
2697            )|
2698            995
2699          )|
2700          6(?:
2701            131|
2702            222|
2703            366|
2704            699
2705          )|
2706          7878|
2707          8(?:
2708            011|
2709            11[28]|
2710            482|
2711            889
2712          )|
2713          9(?:
2714            01|
2715            1
2716          )1|
2717          13\d|
2718          4(?:
2719            [13]42|
2720            243|
2721            4(?:
2722              02|
2723              15|
2724              77
2725            )|
2726            554
2727          )|
2728          (?:
2729            1(?:
2730              [05]6|
2731              98
2732            )|
2733            339|
2734            6(?:
2735              07|
2736              [35]
2737            )0|
2738            9(?:
2739              [12]0|
2740              33
2741            )
2742          )0
2743        </nationalNumberPattern>
2744      </shortCode>
2745      <!-- http://www.clarochile.cl/portal/cl/pc/personas/movil/prepago/ under "Mensajería
2746           Ilimitada". -->
2747      <tollFree>
2748        <possibleLengths national="3,4"/>
2749        <exampleNumber>131</exampleNumber>
2750        <nationalNumberPattern>
2751          1(?:
2752            213|
2753            3[1-3]
2754          )|
2755          434\d|
2756          911
2757        </nationalNumberPattern>
2758      </tollFree>
2759      <!-- http://www.clarochile.cl/portal/cl/pc/personas/movil/prepago/#04-prepago-multimedia -->
2760      <standardRate>
2761        <possibleLengths national="4"/>
2762        <exampleNumber>2000</exampleNumber>
2763        <nationalNumberPattern>
2764          (?:
2765            200|
2766            333
2767          )\d
2768        </nationalNumberPattern>
2769      </standardRate>
2770      <premiumRate>
2771        <possibleLengths national="4,5"/>
2772        <exampleNumber>1060</exampleNumber>
2773        <nationalNumberPattern>
2774          1(?:
2775            211|
2776            3(?:
2777              13|
2778              [348]0|
2779              5[01]
2780            )
2781          )|
2782          (?:
2783            1(?:
2784              [05]6|
2785              [48]1|
2786              9[18]
2787            )|
2788            2(?:
2789              01\d|
2790              [23]2|
2791              77|
2792              88
2793            )|
2794            3(?:
2795              0[59]|
2796              13|
2797              3[279]|
2798              66
2799            )|
2800            4(?:
2801              [12]4|
2802              36\d|
2803              4[017]|
2804              55
2805            )|
2806            5(?:
2807              00|
2808              41\d|
2809              5[67]|
2810              99
2811            )|
2812            6(?:
2813              07\d|
2814              13|
2815              22|
2816              3[06]|
2817              50|
2818              69
2819            )|
2820            787|
2821            8(?:
2822              [01]1|
2823              [48]8
2824            )|
2825            9(?:
2826              01|
2827              [12]0|
2828              33
2829            )
2830          )\d
2831        </nationalNumberPattern>
2832      </premiumRate>
2833      <!-- http://www.13.cl/concursos -->
2834      <emergency>
2835        <possibleLengths national="3"/>
2836        <exampleNumber>131</exampleNumber>
2837        <nationalNumberPattern>
2838          13[1-3]|
2839          911
2840        </nationalNumberPattern>
2841      </emergency>
2842      <!-- http://es.wikipedia.org/wiki/Anexo:Teléfonos_de_emergencias -->
2843      <expandedEmergency>
2844        <possibleLengths national="3,4"/>
2845        <exampleNumber>100</exampleNumber>
2846        <nationalNumberPattern>
2847          1(?:
2848            00|
2849            3[04-9]|
2850            4(?:
2851              0\d|
2852              [379]
2853            )
2854          )
2855        </nationalNumberPattern>
2856      </expandedEmergency>
2857      <smsServices>
2858        <possibleLengths national="4,5"/>
2859        <exampleNumber>1060</exampleNumber>
2860        <nationalNumberPattern>
2861          13(?:
2862            13|
2863            [348]0|
2864            5[01]
2865          )|
2866          (?:
2867            1(?:
2868              [05]6|
2869              [28]1|
2870              4[01]|
2871              9[18]
2872            )|
2873            2(?:
2874              0(?:
2875                0|
2876                1\d
2877              )|
2878              [23]2|
2879              77|
2880              88
2881            )|
2882            3(?:
2883              0[59]|
2884              13|
2885              3[2379]|
2886              66
2887            )|
2888            436\d|
2889            5(?:
2890              00|
2891              41\d|
2892              5[67]|
2893              99
2894            )|
2895            6(?:
2896              07\d|
2897              13|
2898              22|
2899              3[06]|
2900              50|
2901              69
2902            )|
2903            787|
2904            8(?:
2905              [01]1|
2906              [48]8
2907            )|
2908            9(?:
2909              01|
2910              [12]0|
2911              33
2912            )
2913          )\d|
2914          4(?:
2915            [1-3]4|
2916            4[017]|
2917            55
2918          )\d
2919        </nationalNumberPattern>
2920      </smsServices>
2921    </territory>
2922
2923    <!-- Cameroon (CM) -->
2924    <!-- http://www.itu.int/oth/T0202000024/en -->
2925    <territory id="CM">
2926      <generalDesc>
2927        <nationalNumberPattern>[18]\d{1,3}</nationalNumberPattern>
2928      </generalDesc>
2929      <shortCode>
2930        <possibleLengths national="[2-4]"/>
2931        <exampleNumber>13</exampleNumber>
2932        <nationalNumberPattern>
2933          1(?:
2934            1[37]|
2935            [37]
2936          )|
2937          8711
2938        </nationalNumberPattern>
2939      </shortCode>
2940      <tollFree>
2941        <possibleLengths national="2,3"/>
2942        <exampleNumber>13</exampleNumber>
2943        <nationalNumberPattern>
2944          1(?:
2945            1[37]|
2946            [37]
2947          )
2948        </nationalNumberPattern>
2949      </tollFree>
2950      <!-- https://support.twitter.com/articles/20170024 -->
2951      <carrierSpecific>
2952        <possibleLengths national="4"/>
2953        <exampleNumber>8710</exampleNumber>
2954        <nationalNumberPattern>871\d</nationalNumberPattern>
2955      </carrierSpecific>
2956      <!-- http://www.diplomatie.gouv.fr/fr/conseils-aux-voyageurs_909/conseils-par-pays_12191/cameroun_12221/index.html -->
2957      <!-- Numbers must be prefixed with a 1 when dialled from a mobile. -->
2958      <emergency>
2959        <possibleLengths national="2,3"/>
2960        <exampleNumber>13</exampleNumber>
2961        <nationalNumberPattern>
2962          1(?:
2963            1[37]|
2964            [37]
2965          )
2966        </nationalNumberPattern>
2967      </emergency>
2968      <!-- https://support.twitter.com/articles/20170024 -->
2969      <smsServices>
2970        <possibleLengths national="4"/>
2971        <exampleNumber>8710</exampleNumber>
2972        <nationalNumberPattern>871\d</nationalNumberPattern>
2973      </smsServices>
2974    </territory>
2975
2976    <!-- China (CN) -->
2977    <!-- http://www.itu.int/oth/T020200002B/en -->
2978    <territory id="CN">
2979      <generalDesc>
2980        <nationalNumberPattern>
2981          [19]\d\d(?:
2982            \d{2,3}
2983          )?
2984        </nationalNumberPattern>
2985      </generalDesc>
2986      <!-- 100xx numbers are mainly used for carrier services. They can be dialed nationwide and
2987           are always routed to the local provider.  Note they can also be used with area codes
2988           when one specifically wants to reach an operator in a different region. That case is
2989           more like fixed-line and is covered under the fixed-line pattern in
2990           PhoneNumberMetadata.xml. -->
2991      <shortCode>
2992        <possibleLengths national="3,5,6"/>
2993        <exampleNumber>110</exampleNumber>
2994        <nationalNumberPattern>
2995          1(?:
2996            00\d\d|
2997            1[029]|
2998            20
2999          )|
3000          95\d{3,4}
3001        </nationalNumberPattern>
3002      </shortCode>
3003      <tollFree>
3004        <possibleLengths national="3"/>
3005        <exampleNumber>110</exampleNumber>
3006        <nationalNumberPattern>
3007          1(?:
3008            1[09]|
3009            20
3010          )
3011        </nationalNumberPattern>
3012      </tollFree>
3013      <!-- 100xx numbers are free if called from a phone by the same carrier, or charged at local
3014           rate if called from a phone by a different carrier.
3015           95xxx(x) numbers are covered by the ITU doc, but the following doc contains more info:
3016           http://baike.baidu.com/view/3269670.htm. They can be dialed nationwide and are always
3017           routed to the local provider. Note they can also be used with area codes when one
3018           specifically wants to reach an operator in a different region. That case is more like
3019           fixed-line and is covered under the fixed-line pattern in PhoneNumberMetadata.xml. -->
3020      <standardRate>
3021        <possibleLengths national="3,5,6"/>
3022        <exampleNumber>112</exampleNumber>
3023        <nationalNumberPattern>
3024          1(?:
3025            00\d\d|
3026            12
3027          )|
3028          95\d{3,4}
3029        </nationalNumberPattern>
3030      </standardRate>
3031      <emergency>
3032        <possibleLengths national="3"/>
3033        <exampleNumber>110</exampleNumber>
3034        <nationalNumberPattern>
3035          1(?:
3036            1[09]|
3037            20
3038          )
3039        </nationalNumberPattern>
3040      </emergency>
3041    </territory>
3042
3043    <!-- Colombia (CO) -->
3044    <!-- Information primarily obtained from:
3045           http://en.wikipedia.org/wiki/Telephone_numbers_in_Colombia
3046         and:
3047           http://en.wikipedia.org/wiki/Emergency_telephone_number
3048         The "civil defense" line (144) was found in:
3049           http://www.icsu.unal.edu.co/ciudad.html
3050
3051         The Wikipedia page states:
3052           "More specialized three-digit numbers are available; check the local Yellow Pages for
3053            more information". See: http://sites.paginasamarillas.com/directorio/colombia.html
3054
3055         For examples of local Yellow Pages information see:
3056         * http://images.paginasamarillas.com/flipping/colombia/bogota/Book/index.html#/20/
3057         * http://images.paginasamarillas.com/flipping/colombia/amazonia/index.html#/2/
3058         * http://images.paginasamarillas.com/flipping/colombia/cali/index.html#/18/
3059
3060         Currently not all short numbers from all local Yellow Pages have been included and we don't
3061         know the cost for any of them. Current local short numbers are (* = urgent services):
3062         Child Helpline:      106 *
3063         Energy (Claims):     115 (the description for this is not very clear)
3064         Water pipes (leaks): 116 *
3065         Health Secretary     125
3066         Hospital (Urgent)    137 *
3067         Cooperation Network: 146
3068         Gaula (Military)     147 *
3069         Dept. of Security:   153
3070         Gas emergencies:     164 *
3071         Information:         195 -->
3072    <territory id="CO">
3073      <generalDesc>
3074        <nationalNumberPattern>
3075          [1-589]\d\d(?:
3076            \d{2,3}
3077          )?
3078        </nationalNumberPattern>
3079      </generalDesc>
3080      <shortCode>
3081        <possibleLengths national="3,5,6"/>
3082        <exampleNumber>106</exampleNumber>
3083        <nationalNumberPattern>
3084          1(?:
3085            06|
3086            1[2-9]|
3087            2[35-7]|
3088            3[27]|
3089            4[467]|
3090            5[36]|
3091            6[4-7]|
3092            95
3093          )|
3094          (?:
3095            29002|
3096            39003
3097          )9|
3098          40404|
3099          5930\d\d|
3100          85432|
3101          (?:
3102            [2359][57]|
3103            8(?:
3104              7|
3105              9\d
3106            )
3107          )\d{3}
3108        </nationalNumberPattern>
3109      </shortCode>
3110      <tollFree>
3111        <possibleLengths national="3"/>
3112        <exampleNumber>112</exampleNumber>
3113        <nationalNumberPattern>
3114          1(?:
3115            1[29]|
3116            23|
3117            32|
3118            56
3119          )
3120        </nationalNumberPattern>
3121      </tollFree>
3122      <!-- https://support.twitter.com/articles/20170024 -->
3123      <!-- 85432 is used for customer complaints - found on mobile websites - and will go to your
3124           carrier specifically. -->
3125      <carrierSpecific>
3126        <possibleLengths national="5"/>
3127        <exampleNumber>40400</exampleNumber>
3128        <nationalNumberPattern>
3129          (?:
3130            40|
3131            85
3132          )4\d\d
3133        </nationalNumberPattern>
3134      </carrierSpecific>
3135      <!-- Police, medical and fire plus general emergency numbers (112,123). -->
3136      <emergency>
3137        <possibleLengths national="3"/>
3138        <exampleNumber>112</exampleNumber>
3139        <nationalNumberPattern>
3140          1(?:
3141            1[29]|
3142            23|
3143            32|
3144            56
3145          )
3146        </nationalNumberPattern>
3147      </emergency>
3148      <!-- Traffic accidents, civil defense, GAULA and urgent local short numbers from above. -->
3149      <expandedEmergency>
3150        <possibleLengths national="3"/>
3151        <exampleNumber>106</exampleNumber>
3152        <nationalNumberPattern>
3153          1(?:
3154            06|
3155            1[467]|
3156            [23]7|
3157            4[47]|
3158            6[4-6]
3159          )
3160        </nationalNumberPattern>
3161      </expandedEmergency>
3162      <!-- https://support.twitter.com/articles/20170024 -->
3163      <smsServices>
3164        <possibleLengths national="5"/>
3165        <exampleNumber>40400</exampleNumber>
3166        <nationalNumberPattern>
3167          (?:
3168            40|
3169            85
3170          )4\d\d
3171        </nationalNumberPattern>
3172      </smsServices>
3173    </territory>
3174
3175    <!-- Costa Rica (CR) -->
3176    <!-- http://www.itu.int/oth/T0202000030/en -->
3177    <territory id="CR">
3178      <generalDesc>
3179        <nationalNumberPattern>[1359]\d{2,3}</nationalNumberPattern>
3180      </generalDesc>
3181      <!-- This pattern excludes 4-digit SMS content numbers for now. -->
3182      <shortCode>
3183        <possibleLengths national="3,4"/>
3184        <exampleNumber>112</exampleNumber>
3185        <nationalNumberPattern>
3186          1(?:
3187            0(?:
3188              00|
3189              15|
3190              2[2-4679]
3191            )|
3192            1(?:
3193              1[0-35-9]|
3194              2|
3195              37|
3196              [46]6|
3197              7[57]|
3198              8[79]|
3199              9[0-379]
3200            )|
3201            2(?:
3202              00|
3203              [12]2|
3204              34|
3205              55
3206            )|
3207            3(?:
3208              21|
3209              33
3210            )|
3211            4(?:
3212              0[06]|
3213              1[4-6]
3214            )|
3215            5(?:
3216              15|
3217              5[15]
3218            )|
3219            693|
3220            7(?:
3221              00|
3222              1[7-9]|
3223              2[02]|
3224              [67]7
3225            )|
3226            975
3227          )|
3228          3855|
3229          5(?:
3230            0(?:
3231              30|
3232              49
3233            )|
3234            510
3235          )|
3236          911
3237        </nationalNumberPattern>
3238      </shortCode>
3239      <tollFree>
3240        <possibleLengths national="3"/>
3241        <exampleNumber>112</exampleNumber>
3242        <nationalNumberPattern>
3243          112|
3244          911
3245        </nationalNumberPattern>
3246      </tollFree>
3247      <emergency>
3248        <possibleLengths national="3"/>
3249        <exampleNumber>112</exampleNumber>
3250        <nationalNumberPattern>
3251          112|
3252          911
3253        </nationalNumberPattern>
3254      </emergency>
3255      <smsServices>
3256        <possibleLengths national="4"/>
3257        <exampleNumber>3850</exampleNumber>
3258        <nationalNumberPattern>
3259          (?:
3260            385|
3261            5(?:
3262              0[34]|
3263              51
3264            )
3265          )\d
3266        </nationalNumberPattern>
3267      </smsServices>
3268    </territory>
3269
3270    <!-- Cuba (CU) -->
3271    <!-- www.itu.int/oth/T0202000033/en -->
3272    <territory id="CU">
3273      <generalDesc>
3274        <nationalNumberPattern>
3275          [12]\d\d(?:
3276            \d{3,4}
3277          )?
3278        </nationalNumberPattern>
3279      </generalDesc>
3280      <shortCode>
3281        <possibleLengths national="3,6,7"/>
3282        <exampleNumber>104</exampleNumber>
3283        <nationalNumberPattern>
3284          1(?:
3285            0[4-7]|
3286            1(?:
3287              6111|
3288              8
3289            )|
3290            40
3291          )|
3292          2045252
3293        </nationalNumberPattern>
3294      </shortCode>
3295      <tollFree>
3296        <possibleLengths national="3,6,7"/>
3297        <exampleNumber>104</exampleNumber>
3298        <nationalNumberPattern>
3299          10[4-7]|
3300          (?:
3301            116|
3302            204\d
3303          )\d{3}
3304        </nationalNumberPattern>
3305      </tollFree>
3306      <emergency>
3307        <possibleLengths national="3"/>
3308        <exampleNumber>104</exampleNumber>
3309        <nationalNumberPattern>10[4-6]</nationalNumberPattern>
3310      </emergency>
3311      <expandedEmergency>
3312        <possibleLengths national="3,6,7"/>
3313        <exampleNumber>107</exampleNumber>
3314        <nationalNumberPattern>
3315          107|
3316          (?:
3317            116|
3318            204\d
3319          )\d{3}
3320        </nationalNumberPattern>
3321      </expandedEmergency>
3322    </territory>
3323
3324    <!-- Cape Verde (CV) -->
3325    <!-- http://www.itu.int/oth/T0202000026/en -->
3326    <territory id="CV">
3327      <generalDesc>
3328        <nationalNumberPattern>1\d\d</nationalNumberPattern>
3329      </generalDesc>
3330      <shortCode>
3331        <possibleLengths national="3"/>
3332        <exampleNumber>130</exampleNumber>
3333        <nationalNumberPattern>13[0-2]</nationalNumberPattern>
3334      </shortCode>
3335      <tollFree>
3336        <possibleLengths national="3"/>
3337        <exampleNumber>130</exampleNumber>
3338        <nationalNumberPattern>13[0-2]</nationalNumberPattern>
3339      </tollFree>
3340      <!-- http://www.capeverde.com/travel-tips/safety.html -->
3341      <emergency>
3342        <possibleLengths national="3"/>
3343        <exampleNumber>130</exampleNumber>
3344        <nationalNumberPattern>13[0-2]</nationalNumberPattern>
3345      </emergency>
3346    </territory>
3347
3348    <!-- Curaçao (CW) -->
3349    <!-- http://www.itu.int/oth/T02020000F5/en -->
3350    <territory id="CW">
3351      <generalDesc>
3352        <nationalNumberPattern>[19]\d\d</nationalNumberPattern>
3353      </generalDesc>
3354      <shortCode>
3355        <possibleLengths national="3"/>
3356        <exampleNumber>112</exampleNumber>
3357        <nationalNumberPattern>
3358          1(?:
3359            12|
3360            76
3361          )|
3362          911
3363        </nationalNumberPattern>
3364      </shortCode>
3365      <tollFree>
3366        <possibleLengths national="3"/>
3367        <exampleNumber>112</exampleNumber>
3368        <nationalNumberPattern>
3369          112|
3370          911
3371        </nationalNumberPattern>
3372      </tollFree>
3373      <!-- https://support.twitter.com/articles/20170024 -->
3374      <carrierSpecific>
3375        <possibleLengths national="3"/>
3376        <exampleNumber>176</exampleNumber>
3377        <nationalNumberPattern>176</nationalNumberPattern>
3378      </carrierSpecific>
3379      <!-- http://www.rijksdienstcn.com/index.php?view=pagina&id=126&set_language=EN -->
3380      <emergency>
3381        <possibleLengths national="3"/>
3382        <exampleNumber>112</exampleNumber>
3383        <nationalNumberPattern>
3384          112|
3385          911
3386        </nationalNumberPattern>
3387      </emergency>
3388      <!-- https://support.twitter.com/articles/20170024 -->
3389      <smsServices>
3390        <possibleLengths national="3"/>
3391        <exampleNumber>176</exampleNumber>
3392        <nationalNumberPattern>176</nationalNumberPattern>
3393      </smsServices>
3394    </territory>
3395
3396    <!-- Christmas Island (CX) -->
3397    <territory id="CX">
3398      <generalDesc>
3399        <nationalNumberPattern>[01]\d\d</nationalNumberPattern>
3400      </generalDesc>
3401      <shortCode>
3402        <possibleLengths national="3"/>
3403        <exampleNumber>000</exampleNumber>
3404        <nationalNumberPattern>
3405          000|
3406          112
3407        </nationalNumberPattern>
3408      </shortCode>
3409      <tollFree>
3410        <possibleLengths national="3"/>
3411        <exampleNumber>000</exampleNumber>
3412        <nationalNumberPattern>
3413          000|
3414          112
3415        </nationalNumberPattern>
3416      </tollFree>
3417      <!-- We assume this is the same as for Australia, since they have the same country code and
3418           share their police force, and no better information can be found. -->
3419      <emergency>
3420        <possibleLengths national="3"/>
3421        <exampleNumber>000</exampleNumber>
3422        <nationalNumberPattern>
3423          000|
3424          112
3425        </nationalNumberPattern>
3426      </emergency>
3427    </territory>
3428
3429    <!-- Cyprus (CY) -->
3430    <!-- http://www.itu.int/oth/T0202000034/en -->
3431    <territory id="CY">
3432      <generalDesc>
3433        <nationalNumberPattern>
3434          1\d\d(?:
3435            \d{3}
3436          )?
3437        </nationalNumberPattern>
3438      </generalDesc>
3439      <shortCode>
3440        <possibleLengths national="3,6"/>
3441        <exampleNumber>112</exampleNumber>
3442        <nationalNumberPattern>
3443          1(?:
3444            1(?:
3445              2|
3446              6(?:
3447                000|
3448                111
3449              )
3450            )|
3451            99
3452          )
3453        </nationalNumberPattern>
3454      </shortCode>
3455      <tollFree>
3456        <possibleLengths national="3,6"/>
3457        <exampleNumber>112</exampleNumber>
3458        <nationalNumberPattern>
3459          1(?:
3460            1(?:
3461              2|
3462              6\d{3}
3463            )|
3464            99
3465          )
3466        </nationalNumberPattern>
3467      </tollFree>
3468      <emergency>
3469        <possibleLengths national="3"/>
3470        <exampleNumber>112</exampleNumber>
3471        <nationalNumberPattern>
3472          1(?:
3473            12|
3474            99
3475          )
3476        </nationalNumberPattern>
3477      </emergency>
3478      <expandedEmergency>
3479        <possibleLengths national="6"/>
3480        <exampleNumber>116000</exampleNumber>
3481        <nationalNumberPattern>116\d{3}</nationalNumberPattern>
3482      </expandedEmergency>
3483    </territory>
3484
3485    <!-- Czechia (CZ) -->
3486    <!-- http://www.itu.int/oth/T0202000035/en -->
3487    <!-- http://en.wikipedia.org/wiki/%2B420 -->
3488    <territory id="CZ">
3489      <generalDesc>
3490        <nationalNumberPattern>1\d{2,5}</nationalNumberPattern>
3491      </generalDesc>
3492      <shortCode>
3493        <possibleLengths national="[3-6]"/>
3494        <exampleNumber>112</exampleNumber>
3495        <nationalNumberPattern>
3496          1(?:
3497            1(?:
3498              2|
3499              8\d
3500            )|
3501            (?:
3502              2|
3503              3\d
3504            )\d{2,3}|
3505            5\d|
3506            99
3507          )|
3508          1(?:
3509            16|
3510            4
3511          )\d{3}
3512        </nationalNumberPattern>
3513      </shortCode>
3514      <tollFree>
3515        <possibleLengths national="3,6"/>
3516        <exampleNumber>112</exampleNumber>
3517        <nationalNumberPattern>
3518          1(?:
3519            1(?:
3520              2|
3521              6(?:
3522                00[06]|
3523                1(?:
3524                  11|
3525                  23
3526                )
3527              )
3528            )|
3529            5\d
3530          )
3531        </nationalNumberPattern>
3532      </tollFree>
3533      <emergency>
3534        <possibleLengths national="3"/>
3535        <exampleNumber>112</exampleNumber>
3536        <nationalNumberPattern>
3537          1(?:
3538            12|
3539            5\d
3540          )
3541        </nationalNumberPattern>
3542      </emergency>
3543      <expandedEmergency>
3544        <possibleLengths national="6"/>
3545        <exampleNumber>116000</exampleNumber>
3546        <nationalNumberPattern>
3547          116(?:
3548            00[06]|
3549            1(?:
3550              11|
3551              23
3552            )
3553          )
3554        </nationalNumberPattern>
3555      </expandedEmergency>
3556    </territory>
3557
3558    <!-- Germany (DE) -->
3559    <!-- http://www.itu.int/oth/T0202000051/en -->
3560    <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_germany -->
3561    <territory id="DE">
3562      <generalDesc>
3563        <nationalNumberPattern>
3564          1\d\d(?:
3565            \d{2,3}
3566          )?
3567        </nationalNumberPattern>
3568      </generalDesc>
3569      <!-- 118xx short numbers are used for directory services and 1180xx are used for call
3570           connect services. -->
3571      <shortCode>
3572        <possibleLengths national="3,5,6"/>
3573        <exampleNumber>110</exampleNumber>
3574        <nationalNumberPattern>
3575          11(?:
3576            [025]|
3577            6(?:
3578              00[06]|
3579              1(?:
3580                1[167]|
3581                23
3582              )
3583            )|
3584            800\d
3585          )|
3586          118\d\d
3587        </nationalNumberPattern>
3588      </shortCode>
3589      <tollFree>
3590        <possibleLengths national="3,6"/>
3591        <exampleNumber>110</exampleNumber>
3592        <nationalNumberPattern>
3593          11(?:
3594            [02]|
3595            6\d{3}
3596          )
3597        </nationalNumberPattern>
3598      </tollFree>
3599      <emergency>
3600        <possibleLengths national="3"/>
3601        <exampleNumber>110</exampleNumber>
3602        <nationalNumberPattern>11[02]</nationalNumberPattern>
3603      </emergency>
3604      <expandedEmergency>
3605        <possibleLengths national="6"/>
3606        <exampleNumber>116000</exampleNumber>
3607        <nationalNumberPattern>116\d{3}</nationalNumberPattern>
3608      </expandedEmergency>
3609    </territory>
3610
3611    <!-- Djibouti (DJ) -->
3612    <!-- http://www.itu.int/oth/T020200003A/en -->
3613    <territory id="DJ">
3614      <generalDesc>
3615        <nationalNumberPattern>1\d</nationalNumberPattern>
3616      </generalDesc>
3617      <shortCode>
3618        <possibleLengths national="2"/>
3619        <exampleNumber>17</exampleNumber>
3620        <nationalNumberPattern>1[78]</nationalNumberPattern>
3621      </shortCode>
3622      <tollFree>
3623        <possibleLengths national="2"/>
3624        <exampleNumber>17</exampleNumber>
3625        <nationalNumberPattern>1[78]</nationalNumberPattern>
3626      </tollFree>
3627      <emergency>
3628        <possibleLengths national="2"/>
3629        <exampleNumber>17</exampleNumber>
3630        <nationalNumberPattern>1[78]</nationalNumberPattern>
3631      </emergency>
3632    </territory>
3633
3634    <!-- Denmark (DK) -->
3635    <!-- http://www.dba.erhvervsstyrelsen.dk/numbering-lists -->
3636    <territory id="DK">
3637      <generalDesc>
3638        <nationalNumberPattern>1\d{2,5}</nationalNumberPattern>
3639      </generalDesc>
3640      <shortCode>
3641        <possibleLengths national="[3-6]"/>
3642        <exampleNumber>112</exampleNumber>
3643        <nationalNumberPattern>
3644          1(?:
3645            1(?:
3646              [2-48]|
3647              6(?:
3648                00[06]|
3649                111
3650              )
3651            )|
3652            619[0-2]|
3653            8(?:
3654              01|
3655              1[0238]|
3656              28|
3657              30|
3658              5[13]|
3659              8[18]
3660            )
3661          )
3662        </nationalNumberPattern>
3663      </shortCode>
3664      <tollFree>
3665        <possibleLengths national="3,6"/>
3666        <exampleNumber>112</exampleNumber>
3667        <nationalNumberPattern>
3668          11(?:
3669            [24]|
3670            6\d{3}
3671          )
3672        </nationalNumberPattern>
3673      </tollFree>
3674      <emergency>
3675        <possibleLengths national="3"/>
3676        <exampleNumber>112</exampleNumber>
3677        <nationalNumberPattern>11[24]</nationalNumberPattern>
3678      </emergency>
3679      <expandedEmergency>
3680        <possibleLengths national="6"/>
3681        <exampleNumber>116000</exampleNumber>
3682        <nationalNumberPattern>116\d{3}</nationalNumberPattern>
3683      </expandedEmergency>
3684    </territory>
3685
3686    <!-- Dominica (DM) -->
3687    <!-- http://www.itu.int/oth/T020200003B/en -->
3688    <territory id="DM">
3689      <generalDesc>
3690        <nationalNumberPattern>[39]\d\d</nationalNumberPattern>
3691      </generalDesc>
3692      <shortCode>
3693        <possibleLengths national="3"/>
3694        <exampleNumber>333</exampleNumber>
3695        <nationalNumberPattern>
3696          333|
3697          9(?:
3698            11|
3699            88|
3700            99
3701          )
3702        </nationalNumberPattern>
3703      </shortCode>
3704      <tollFree>
3705        <possibleLengths national="3"/>
3706        <exampleNumber>333</exampleNumber>
3707        <nationalNumberPattern>
3708          333|
3709          9(?:
3710            11|
3711            88|
3712            99
3713          )
3714        </nationalNumberPattern>
3715      </tollFree>
3716      <!-- http://barbados.usembassy.gov/emergency-dominica.html -->
3717      <!-- http://travel.state.gov/travel/cis_pa_tw/cis/cis_1102.html -->
3718      <emergency>
3719        <possibleLengths national="3"/>
3720        <exampleNumber>333</exampleNumber>
3721        <nationalNumberPattern>
3722          333|
3723          9(?:
3724            11|
3725            99
3726          )
3727        </nationalNumberPattern>
3728      </emergency>
3729      <expandedEmergency>
3730        <possibleLengths national="3"/>
3731        <exampleNumber>988</exampleNumber>
3732        <nationalNumberPattern>988</nationalNumberPattern>
3733      </expandedEmergency>
3734    </territory>
3735
3736    <!-- Dominican Republic (DO) -->
3737    <!-- http://www.itu.int/oth/T020200003C/en -->
3738    <territory id="DO">
3739      <generalDesc>
3740        <nationalNumberPattern>[19]\d\d</nationalNumberPattern>
3741      </generalDesc>
3742      <shortCode>
3743        <possibleLengths national="3"/>
3744        <exampleNumber>112</exampleNumber>
3745        <nationalNumberPattern>
3746          112|
3747          9(?:
3748            11|
3749            88
3750          )
3751        </nationalNumberPattern>
3752      </shortCode>
3753      <tollFree>
3754        <possibleLengths national="3"/>
3755        <exampleNumber>112</exampleNumber>
3756        <nationalNumberPattern>
3757          112|
3758          9(?:
3759            11|
3760            88
3761          )
3762        </nationalNumberPattern>
3763      </tollFree>
3764      <emergency>
3765        <possibleLengths national="3"/>
3766        <exampleNumber>112</exampleNumber>
3767        <nationalNumberPattern>
3768          112|
3769          911
3770        </nationalNumberPattern>
3771      </emergency>
3772      <expandedEmergency>
3773        <possibleLengths national="3"/>
3774        <exampleNumber>988</exampleNumber>
3775        <nationalNumberPattern>988</nationalNumberPattern>
3776      </expandedEmergency>
3777    </territory>
3778
3779    <!-- Algeria (DZ) -->
3780    <!-- http://www.itu.int/oth/T0202000003/en -->
3781    <!-- www.arpt.dz -->
3782    <territory id="DZ">
3783      <generalDesc>
3784        <nationalNumberPattern>[17]\d{1,3}</nationalNumberPattern>
3785      </generalDesc>
3786      <shortCode>
3787        <possibleLengths national="[2-4]"/>
3788        <exampleNumber>14</exampleNumber>
3789        <nationalNumberPattern>
3790          1(?:
3791            055|
3792            12|
3793            [47]|
3794            548
3795          )|
3796          730
3797        </nationalNumberPattern>
3798      </shortCode>
3799      <tollFree>
3800        <possibleLengths national="[2-4]"/>
3801        <exampleNumber>14</exampleNumber>
3802        <nationalNumberPattern>
3803          1(?:
3804            12|
3805            [47]|
3806            54\d
3807          )
3808        </nationalNumberPattern>
3809      </tollFree>
3810      <!-- https://support.twitter.com/articles/20170024 -->
3811      <carrierSpecific>
3812        <possibleLengths national="3"/>
3813        <exampleNumber>730</exampleNumber>
3814        <nationalNumberPattern>730</nationalNumberPattern>
3815      </carrierSpecific>
3816      <emergency>
3817        <possibleLengths national="2,3"/>
3818        <exampleNumber>14</exampleNumber>
3819        <nationalNumberPattern>
3820          1(?:
3821            12|
3822            [47]
3823          )
3824        </nationalNumberPattern>
3825      </emergency>
3826      <expandedEmergency>
3827        <possibleLengths national="4"/>
3828        <exampleNumber>1050</exampleNumber>
3829        <nationalNumberPattern>
3830          1(?:
3831            05|
3832            54
3833          )\d
3834        </nationalNumberPattern>
3835      </expandedEmergency>
3836      <!-- https://support.twitter.com/articles/20170024 -->
3837      <smsServices>
3838        <possibleLengths national="3"/>
3839        <exampleNumber>730</exampleNumber>
3840        <nationalNumberPattern>730</nationalNumberPattern>
3841      </smsServices>
3842    </territory>
3843
3844    <!-- Ecuador (EC) -->
3845    <!-- http://en.wikipedia.org/wiki/+593 -->
3846    <!-- http://www.conatel.gob.ec/site_conatel/index.php?option=com_content&view=category&layout=blog&id=52&Itemid=153 -->
3847    <!-- http://www.itu.int/oth/T020200003D/en -->
3848    <territory id="EC">
3849      <generalDesc>
3850        <nationalNumberPattern>[19]\d\d</nationalNumberPattern>
3851      </generalDesc>
3852      <shortCode>
3853        <possibleLengths national="3"/>
3854        <exampleNumber>101</exampleNumber>
3855        <nationalNumberPattern>
3856          1(?:
3857            0[12]|
3858            12
3859          )|
3860          911
3861        </nationalNumberPattern>
3862      </shortCode>
3863      <tollFree>
3864        <possibleLengths national="3"/>
3865        <exampleNumber>101</exampleNumber>
3866        <nationalNumberPattern>
3867          1(?:
3868            0[12]|
3869            12
3870          )|
3871          911
3872        </nationalNumberPattern>
3873      </tollFree>
3874      <emergency>
3875        <possibleLengths national="3"/>
3876        <exampleNumber>101</exampleNumber>
3877        <nationalNumberPattern>
3878          1(?:
3879            0[12]|
3880            12
3881          )|
3882          911
3883        </nationalNumberPattern>
3884      </emergency>
3885    </territory>
3886
3887    <!-- Estonia (EE) -->
3888    <!-- http://www.itu.int/oth/T0202000043/en -->
3889    <territory id="EE">
3890      <generalDesc>
3891        <nationalNumberPattern>1\d{2,5}</nationalNumberPattern>
3892      </generalDesc>
3893      <shortCode>
3894        <possibleLengths national="[3-6]"/>
3895        <exampleNumber>110</exampleNumber>
3896        <nationalNumberPattern>
3897          1(?:
3898            1(?:
3899              [02-579]|
3900              6(?:
3901                000|
3902                111
3903              )|
3904              8(?:
3905                [09]\d|
3906                [1-8]
3907              )
3908            )|
3909            2[36-9]|
3910            3[7-9]|
3911            4[05-7]|
3912            5[6-8]|
3913            6[05]|
3914            7[3-6]|
3915            8[02-7]|
3916            9[3-9]
3917          )|
3918          1(?:
3919            2[0-245]|
3920            3[0-6]|
3921            4[1-489]|
3922            5[0-59]|
3923            6[1-46-9]|
3924            7[0-27-9]|
3925            8[189]|
3926            9[0-2]
3927          )\d\d?
3928        </nationalNumberPattern>
3929      </shortCode>
3930      <tollFree>
3931        <possibleLengths national="[3-6]"/>
3932        <exampleNumber>110</exampleNumber>
3933        <nationalNumberPattern>
3934          1(?:
3935            1(?:
3936              [02]|
3937              6\d{3}
3938            )|
3939            2(?:
3940              05|
3941              28
3942            )|
3943            3(?:
3944              014|
3945              3(?:
3946                21|
3947                5\d?
3948              )|
3949              660
3950            )|
3951            492|
3952            5(?:
3953              1[03]|
3954              410|
3955              501
3956            )|
3957            6(?:
3958              112|
3959              333|
3960              644
3961            )|
3962            7(?:
3963              012|
3964              127|
3965              89
3966            )|
3967            8(?:
3968              10|
3969              8[57]
3970            )|
3971            9(?:
3972              0[134]|
3973              14
3974            )
3975          )
3976        </nationalNumberPattern>
3977      </tollFree>
3978      <premiumRate>
3979        <possibleLengths national="[3-5]"/>
3980        <exampleNumber>123</exampleNumber>
3981        <nationalNumberPattern>
3982          1(?:
3983            18(?:
3984              00|
3985              [12458]\d?
3986            )|
3987            2(?:
3988              0(?:
3989                [02-46-8]\d?|
3990                1[0-36]
3991              )|
3992              1(?:
3993                [0-4]\d?|
3994                6[06]
3995              )|
3996              2(?:
3997                [0-4]\d?|
3998                5[25]
3999              )|
4000              [367]|
4001              4(?:
4002                0[04]|
4003                [12]\d?|
4004                4[24]|
4005                54
4006              )|
4007              55[12457]
4008            )|
4009            3(?:
4010              0(?:
4011                [02]\d?|
4012                1[13578]|
4013                3[356]
4014              )|
4015              1[1347]|
4016              2[02-5]|
4017              3(?:
4018                [01347]\d?|
4019                2[023]|
4020                88
4021              )|
4022              4(?:
4023                [35]\d?|
4024                4[34]
4025              )|
4026              5(?:
4027                3[134]|
4028                5[035]
4029              )|
4030              666
4031            )|
4032            4(?:
4033              2(?:
4034                00|
4035                4\d?
4036              )|
4037              4(?:
4038                0[01358]|
4039                1[024]|
4040                50|
4041                7\d?
4042              )|
4043              900
4044            )|
4045            5(?:
4046              0[0-35]|
4047              1(?:
4048                [1267]\d?|
4049                5[0-7]|
4050                82
4051              )|
4052              2(?:
4053                [014-6]\d?|
4054                22
4055              )|
4056              330|
4057              4(?:
4058                [35]\d?|
4059                44
4060              )|
4061              5(?:
4062                00|
4063                [1-69]\d?
4064              )|
4065              9(?:
4066                [159]\d?|
4067                [38]0|
4068                77
4069              )
4070            )|
4071            6(?:
4072              1(?:
4073                00|
4074                1[19]|
4075                [35-9]\d?
4076              )|
4077              2(?:
4078                2[26]|
4079                [68]\d?
4080              )|
4081              3(?:
4082                22|
4083                36|
4084                6[36]
4085              )|
4086              5|
4087              6(?:
4088                [0-359]\d?|
4089                6[0-26]
4090              )|
4091              7(?:
4092                00|
4093                55|
4094                7\d?|
4095                8[89]
4096              )|
4097              9(?:
4098                00|
4099                1\d?|
4100                69
4101              )
4102            )|
4103            7(?:
4104              0(?:
4105                [023]\d?|
4106                1[0578]
4107              )|
4108              1(?:
4109                00|
4110                2[034]|
4111                [4-9]\d?
4112              )|
4113              2(?:
4114                [07]\d?|
4115                20|
4116                44
4117              )|
4118              7(?:
4119                [0-57]\d?|
4120                9[79]
4121              )|
4122              8(?:
4123                0[08]|
4124                2\d?|
4125                8[0178]
4126              )|
4127              9(?:
4128                00|
4129                97
4130              )
4131            )|
4132            8(?:
4133              1[127]|
4134              8[1268]|
4135              9[269]
4136            )|
4137            9(?:
4138              0(?:
4139                [02]\d?|
4140                69|
4141                9[0269]
4142              )|
4143              1[1-3689]|
4144              21
4145            )
4146          )
4147        </nationalNumberPattern>
4148      </premiumRate>
4149      <emergency>
4150        <possibleLengths national="3"/>
4151        <exampleNumber>110</exampleNumber>
4152        <nationalNumberPattern>11[02]</nationalNumberPattern>
4153      </emergency>
4154      <expandedEmergency>
4155        <possibleLengths national="6"/>
4156        <exampleNumber>116000</exampleNumber>
4157        <nationalNumberPattern>116\d{3}</nationalNumberPattern>
4158      </expandedEmergency>
4159      <smsServices>
4160        <possibleLengths national="[3-5]"/>
4161        <exampleNumber>126</exampleNumber>
4162        <nationalNumberPattern>
4163          1(?:
4164            18[1258]|
4165            2(?:
4166              0(?:
4167                1[036]|
4168                [46]\d?
4169              )|
4170              166|
4171              21|
4172              4(?:
4173                0[04]|
4174                1\d?|
4175                5[47]
4176              )|
4177              [67]
4178            )|
4179            3(?:
4180              0(?:
4181                1[13-578]|
4182                2\d?|
4183                3[56]
4184              )|
4185              1[15]|
4186              2[045]|
4187              3(?:
4188                [13]\d?|
4189                2[13]
4190              )|
4191              43|
4192              5(?:
4193                00|
4194                3[34]|
4195                53
4196              )
4197            )|
4198            44(?:
4199              0[0135]|
4200              14|
4201              50|
4202              7\d?
4203            )|
4204            5(?:
4205              05|
4206              1(?:
4207                [12]\d?|
4208                5[1246]|
4209                8[12]
4210              )|
4211              2(?:
4212                [01]\d?|
4213                22
4214              )|
4215              3(?:
4216                00|
4217                3[03]
4218              )|
4219              4(?:
4220                15|
4221                5\d?
4222              )|
4223              500|
4224              9(?:
4225                5\d?|
4226                77|
4227                80
4228              )
4229            )|
4230            6(?:
4231              1[35-8]|
4232              226|
4233              3(?:
4234                22|
4235                3[36]|
4236                66
4237              )|
4238              644|
4239              7(?:
4240                00|
4241                7\d?|
4242                89
4243              )|
4244              9(?:
4245                00|
4246                69
4247              )
4248            )|
4249            7(?:
4250              01[258]|
4251              1(?:
4252                00|
4253                [15]\d?
4254              )|
4255              2(?:
4256                44|
4257                7\d?
4258              )|
4259              8(?:
4260                00|
4261                87|
4262                9\d?
4263              )
4264            )|
4265            8(?:
4266              1[128]|
4267              8[56]|
4268              9(?:
4269                [26]\d?|
4270                77
4271              )
4272            )|
4273            90(?:
4274              2\d?|
4275              69|
4276              92
4277            )
4278          )
4279        </nationalNumberPattern>
4280      </smsServices>
4281    </territory>
4282
4283    <!-- Egypt (EG) -->
4284    <!-- http://www.itu.int/oth/T020200003E/en -->
4285    <territory id="EG">
4286      <generalDesc>
4287        <nationalNumberPattern>
4288          [13]\d\d(?:
4289            \d{2}
4290          )?
4291        </nationalNumberPattern>
4292      </generalDesc>
4293      <shortCode>
4294        <possibleLengths national="3,5"/>
4295        <exampleNumber>122</exampleNumber>
4296        <nationalNumberPattern>
4297          1(?:
4298            2[23]|
4299            [69]\d{3}|
4300            80
4301          )|
4302          34400
4303        </nationalNumberPattern>
4304      </shortCode>
4305      <tollFree>
4306        <possibleLengths national="3"/>
4307        <exampleNumber>122</exampleNumber>
4308        <nationalNumberPattern>
4309          1(?:
4310            2[23]|
4311            80
4312          )
4313        </nationalNumberPattern>
4314      </tollFree>
4315      <!-- https://support.google.com/plus/answer/1304917 -->
4316      <carrierSpecific>
4317        <possibleLengths national="5"/>
4318        <exampleNumber>34400</exampleNumber>
4319        <nationalNumberPattern>344\d\d</nationalNumberPattern>
4320      </carrierSpecific>
4321      <emergency>
4322        <possibleLengths national="3"/>
4323        <exampleNumber>122</exampleNumber>
4324        <nationalNumberPattern>
4325          1(?:
4326            2[23]|
4327            80
4328          )
4329        </nationalNumberPattern>
4330      </emergency>
4331      <!-- https://support.google.com/plus/answer/1304917 -->
4332      <smsServices>
4333        <possibleLengths national="5"/>
4334        <exampleNumber>34400</exampleNumber>
4335        <nationalNumberPattern>344\d\d</nationalNumberPattern>
4336      </smsServices>
4337    </territory>
4338
4339    <!-- Western Sahara (EH) -->
4340    <!-- http://www.itu.int/oth/T0202000090/en -->
4341    <territory id="EH">
4342      <generalDesc>
4343        <nationalNumberPattern>1\d\d?</nationalNumberPattern>
4344      </generalDesc>
4345      <shortCode>
4346        <possibleLengths national="2,3"/>
4347        <exampleNumber>15</exampleNumber>
4348        <nationalNumberPattern>
4349          1(?:
4350            [59]|
4351            77
4352          )
4353        </nationalNumberPattern>
4354      </shortCode>
4355      <tollFree>
4356        <possibleLengths national="2,3"/>
4357        <exampleNumber>15</exampleNumber>
4358        <nationalNumberPattern>
4359          1(?:
4360            [59]|
4361            77
4362          )
4363        </nationalNumberPattern>
4364      </tollFree>
4365      <emergency>
4366        <possibleLengths national="2,3"/>
4367        <exampleNumber>15</exampleNumber>
4368        <nationalNumberPattern>
4369          1(?:
4370            [59]|
4371            77
4372          )
4373        </nationalNumberPattern>
4374      </emergency>
4375    </territory>
4376
4377    <!-- Eritrea (ER) -->
4378    <territory id="ER">
4379      <generalDesc>
4380        <nationalNumberPattern>
4381          [12]\d\d(?:
4382            \d{3}
4383          )?
4384        </nationalNumberPattern>
4385      </generalDesc>
4386      <shortCode>
4387        <possibleLengths national="3,6"/>
4388        <exampleNumber>112</exampleNumber>
4389        <nationalNumberPattern>
4390          1(?:
4391            1[2-6]|
4392            24422
4393          )|
4394          20(?:
4395            1(?:
4396              606|
4397              917
4398            )|
4399            2914
4400          )|
4401          (?:
4402            1277|
4403            2020
4404          )99
4405        </nationalNumberPattern>
4406      </shortCode>
4407      <tollFree>
4408        <possibleLengths national="3,6"/>
4409        <exampleNumber>112</exampleNumber>
4410        <nationalNumberPattern>
4411          11[2-46]|
4412          (?:
4413            12[47]|
4414            20[12]
4415          )\d{3}
4416        </nationalNumberPattern>
4417      </tollFree>
4418      <emergency>
4419        <possibleLengths national="3,6"/>
4420        <exampleNumber>112</exampleNumber>
4421        <nationalNumberPattern>
4422          1(?:
4423            1[2-46]|
4424            24422
4425          )|
4426          20(?:
4427            1(?:
4428              606|
4429              917
4430            )|
4431            2914
4432          )|
4433          (?:
4434            1277|
4435            2020
4436          )99
4437        </nationalNumberPattern>
4438      </emergency>
4439      <expandedEmergency>
4440        <possibleLengths national="3"/>
4441        <exampleNumber>115</exampleNumber>
4442        <nationalNumberPattern>115</nationalNumberPattern>
4443      </expandedEmergency>
4444    </territory>
4445
4446    <!-- Spain (ES) -->
4447    <!-- http://www.minetur.gob.es/telecomunicaciones/es-ES/Servicios/Numeracion/Documents/2012_09_10_Presentation_E164_Numbering_plan_Spain.pdf -->
4448    <!-- http://www.minetur.gob.es/telecomunicaciones/es-ES/Servicios/Numeracion/Documents/Descripcion_plan_20101216.pdf -->
4449    <!-- http://www.minetur.gob.es/telecomunicaciones/es-ES/Servicios/Numeracion/Documents/13-01-11_Gu%C3%ADa_Numeracion.pdf -->
4450    <territory id="ES">
4451      <generalDesc>
4452        <nationalNumberPattern>[0-379]\d{2,5}</nationalNumberPattern>
4453      </generalDesc>
4454      <!-- 133, 134 and 177 aren't in the numbering plan but on vodafone's homepage as short
4455           numbers. -->
4456      <shortCode>
4457        <possibleLengths national="[3-6]"/>
4458        <exampleNumber>010</exampleNumber>
4459        <nationalNumberPattern>
4460          0(?:
4461            1[0-26]|
4462            6[0-257]|
4463            8[058]|
4464            9[12]
4465          )|
4466          1(?:
4467            0[03-57]\d{1,3}|
4468            1(?:
4469              2|
4470              6(?:
4471                000|
4472                111
4473              )|
4474              8\d\d
4475            )|
4476            2\d{1,4}|
4477            [3-9]\d\d
4478          )|
4479          2(?:
4480            2\d{1,4}|
4481            80\d\d
4482          )|
4483          90(?:
4484            5[124578]|
4485            7
4486          )|
4487          1(?:
4488            3[34]|
4489            77
4490          )|
4491          (?:
4492            2[01]\d|
4493            [79]9[57]
4494          )\d{3}|
4495          [23][357]\d{3}
4496        </nationalNumberPattern>
4497      </shortCode>
4498      <!-- Section 5.3 and 6.2 of Guia Numeracion (link above) -->
4499      <tollFree>
4500        <possibleLengths national="3,4,6"/>
4501        <exampleNumber>016</exampleNumber>
4502        <nationalNumberPattern>
4503          0(?:
4504            16|
4505            6[57]|
4506            8[58]
4507          )|
4508          1(?:
4509            006|
4510            12|
4511            [3-7]\d\d
4512          )|
4513          (?:
4514            116|
4515            20\d
4516          )\d{3}
4517        </nationalNumberPattern>
4518      </tollFree>
4519      <!-- Section 6.2 of Guia Numeracion (link above).
4520           Section 2 and 3 specify that the standard rate from mobile phones is 18-20 cents/min,
4521           using this as a guideline the numbers having a cost in the doc have been placed either
4522           as standard or premium rate. -->
4523      <standardRate>
4524        <possibleLengths national="3,6"/>
4525        <exampleNumber>010</exampleNumber>
4526        <nationalNumberPattern>
4527          0(?:
4528            [16][0-2]|
4529            80|
4530            9[12]
4531          )|
4532          21\d{4}
4533        </nationalNumberPattern>
4534      </standardRate>
4535      <!-- Section 5.2 and 6.3 of Guia Numeracion (link above) -->
4536      <premiumRate>
4537        <possibleLengths national="[3-6]"/>
4538        <exampleNumber>120</exampleNumber>
4539        <nationalNumberPattern>
4540          [12]2\d{1,4}|
4541          90(?:
4542            5\d|
4543            7
4544          )|
4545          (?:
4546            118|
4547            2(?:
4548              [357]\d|
4549              80
4550            )|
4551            3[357]\d
4552          )\d\d|
4553          [79]9[57]\d{3}
4554        </nationalNumberPattern>
4555      </premiumRate>
4556      <!-- Network internal services in the numbering plan are actually carrier specific services.
4557           The maximum length is specified as 'any' but here they're limited to 6 since that's
4558           the maximum of any other short number for Spain. -->
4559      <carrierSpecific>
4560        <possibleLengths national="[3-6]"/>
4561        <exampleNumber>120</exampleNumber>
4562        <nationalNumberPattern>
4563          1(?:
4564            3[34]|
4565            77
4566          )|
4567          [12]2\d{1,4}
4568        </nationalNumberPattern>
4569      </carrierSpecific>
4570      <emergency>
4571        <possibleLengths national="3"/>
4572        <exampleNumber>085</exampleNumber>
4573        <nationalNumberPattern>
4574          08[58]|
4575          112
4576        </nationalNumberPattern>
4577      </emergency>
4578      <expandedEmergency>
4579        <possibleLengths national="3,4,6"/>
4580        <exampleNumber>016</exampleNumber>
4581        <nationalNumberPattern>
4582          0(?:
4583            16|
4584            [69][12]|
4585            80
4586          )|
4587          1(?:
4588            006|
4589            16\d{3}
4590          )
4591        </nationalNumberPattern>
4592      </expandedEmergency>
4593      <!-- Section 6 of Guia Numeracion (link above) -->
4594      <smsServices>
4595        <possibleLengths national="5,6"/>
4596        <exampleNumber>22000</exampleNumber>
4597        <nationalNumberPattern>
4598          (?:
4599            2[0-2]\d|
4600            3[357]|
4601            [79]9[57]
4602          )\d{3}|
4603          2(?:
4604            [2357]\d|
4605            80
4606          )\d\d
4607        </nationalNumberPattern>
4608      </smsServices>
4609    </territory>
4610
4611    <!-- Ethiopia (ET) -->
4612    <!-- http://www.itu.int/oth/T0202000044/en -->
4613    <territory id="ET">
4614      <generalDesc>
4615        <nationalNumberPattern>9\d\d?</nationalNumberPattern>
4616      </generalDesc>
4617      <shortCode>
4618        <possibleLengths national="2,3"/>
4619        <exampleNumber>91</exampleNumber>
4620        <nationalNumberPattern>
4621          9(?:
4622            07|
4623            11?|
4624            2|
4625            39?|
4626            45|
4627            9[17]
4628          )
4629        </nationalNumberPattern>
4630      </shortCode>
4631      <tollFree>
4632        <possibleLengths national="2,3"/>
4633        <exampleNumber>91</exampleNumber>
4634        <nationalNumberPattern>
4635          9(?:
4636            07|
4637            11?|
4638            2|
4639            39?|
4640            9[17]
4641          )
4642        </nationalNumberPattern>
4643      </tollFree>
4644      <!-- http://www.addisculturetourism.gov.et/en/component/k2/itemlist/category/64.html?layout=category -->
4645      <!-- http://www.netglobers.com/africa/ethiopia-emergency-numbers-in-ethiopia-.html -->
4646      <!-- http://www.addisababacity.gov.et/index.php?option=com_content&view=article&id=139&Itemid=136 -->
4647      <!-- http://studentsabroad.state.gov/content/pdfs/911_ABROAD.pdf -->
4648      <!-- The 91, 92, and 93 numbers are for the city of Addis Ababa. -->
4649      <emergency>
4650        <possibleLengths national="2,3"/>
4651        <exampleNumber>91</exampleNumber>
4652        <nationalNumberPattern>
4653          9(?:
4654            11?|
4655            2|
4656            39?|
4657            9[17]
4658          )
4659        </nationalNumberPattern>
4660      </emergency>
4661      <expandedEmergency>
4662        <possibleLengths national="3"/>
4663        <exampleNumber>907</exampleNumber>
4664        <nationalNumberPattern>
4665          9(?:
4666            07|
4667            45
4668          )
4669        </nationalNumberPattern>
4670      </expandedEmergency>
4671    </territory>
4672
4673    <!-- Finland (FI) -->
4674    <!-- https://www.viestintavirasto.fi/internetpuhelin/puhelinverkonnumerointi.html -->
4675    <territory id="FI">
4676      <generalDesc>
4677        <nationalNumberPattern>
4678          [17]\d\d(?:
4679            \d{2,3}
4680          )?
4681        </nationalNumberPattern>
4682      </generalDesc>
4683      <!-- Most service numbers are included under UAN in PhoneNumberMetadata.xml (and also in
4684           the no-international-dialling block) but prefixes 75[12] are always short and used for
4685           directory services, hence we consider them to be short numbers. -->
4686      <shortCode>
4687        <possibleLengths national="3,5,6"/>
4688        <exampleNumber>112</exampleNumber>
4689        <nationalNumberPattern>
4690          11(?:
4691            2|
4692            6(?:
4693              00[06]|
4694              1(?:
4695                1[17]|
4696                23
4697              )
4698            )
4699          )|
4700          75[12]\d\d
4701        </nationalNumberPattern>
4702      </shortCode>
4703      <tollFree>
4704        <possibleLengths national="3,6"/>
4705        <exampleNumber>112</exampleNumber>
4706        <nationalNumberPattern>
4707          11(?:
4708            2|
4709            6\d{3}
4710          )
4711        </nationalNumberPattern>
4712      </tollFree>
4713      <emergency>
4714        <possibleLengths national="3"/>
4715        <exampleNumber>112</exampleNumber>
4716        <nationalNumberPattern>112</nationalNumberPattern>
4717      </emergency>
4718      <expandedEmergency>
4719        <possibleLengths national="6"/>
4720        <exampleNumber>116000</exampleNumber>
4721        <nationalNumberPattern>116\d{3}</nationalNumberPattern>
4722      </expandedEmergency>
4723    </territory>
4724
4725    <!-- Fiji (FJ) -->
4726    <!-- http://www.itu.int/oth/T0202000048/en -->
4727    <!-- www.tfl.com.fj -->
4728    <territory id="FJ">
4729      <generalDesc>
4730        <nationalNumberPattern>
4731          [0-579]\d(?:
4732            \d(?:
4733              \d{2}
4734            )?
4735          )?
4736        </nationalNumberPattern>
4737      </generalDesc>
4738      <!-- From the Emergency Numbers page on the Telecom Fiji website:
4739           http://www.tfl.com.fj/index.cfm?go=tfl.support&id=B5B4EDF6-05EC-069A-38162D21274B90BC&category=support -->
4740      <shortCode>
4741        <possibleLengths national="2,3,5"/>
4742        <exampleNumber>22</exampleNumber>
4743        <nationalNumberPattern>
4744          0(?:
4745            1[34]|
4746            8[1-4]
4747          )|
4748          1(?:
4749            0[1-3]|
4750            [25]9
4751          )|
4752          2[289]|
4753          30|
4754          40404|
4755          91[137]|
4756          [45]4|
4757          75
4758        </nationalNumberPattern>
4759      </shortCode>
4760      <tollFree>
4761        <possibleLengths national="3"/>
4762        <exampleNumber>911</exampleNumber>
4763        <nationalNumberPattern>91[17]</nationalNumberPattern>
4764      </tollFree>
4765      <emergency>
4766        <possibleLengths national="3"/>
4767        <exampleNumber>911</exampleNumber>
4768        <nationalNumberPattern>91[17]</nationalNumberPattern>
4769      </emergency>
4770      <!-- https://support.twitter.com/articles/20170024 -->
4771      <smsServices>
4772        <possibleLengths national="5"/>
4773        <exampleNumber>40400</exampleNumber>
4774        <nationalNumberPattern>404\d\d</nationalNumberPattern>
4775      </smsServices>
4776    </territory>
4777
4778    <!-- Falkland Islands (Islas Malvinas) (FK) -->
4779    <!-- http://www.itu.int/oth/T0202000046/en -->
4780    <territory id="FK">
4781      <generalDesc>
4782        <nationalNumberPattern>[19]\d\d</nationalNumberPattern>
4783      </generalDesc>
4784      <!-- Service numbers use 3 digit short codes -->
4785      <shortCode>
4786        <possibleLengths national="3"/>
4787        <exampleNumber>100</exampleNumber>
4788        <nationalNumberPattern>
4789          1\d\d|
4790          999
4791        </nationalNumberPattern>
4792      </shortCode>
4793      <tollFree>
4794        <possibleLengths national="3"/>
4795        <exampleNumber>999</exampleNumber>
4796        <nationalNumberPattern>999</nationalNumberPattern>
4797      </tollFree>
4798      <!-- http://studentsabroad.state.gov/content/pdfs/911_ABROAD.pdf -->
4799      <emergency>
4800        <possibleLengths national="3"/>
4801        <exampleNumber>999</exampleNumber>
4802        <nationalNumberPattern>999</nationalNumberPattern>
4803      </emergency>
4804    </territory>
4805
4806    <!-- Micronesia (FM) -->
4807    <!-- http://www.itu.int/oth/T020200008B/en -->
4808    <territory id="FM">
4809      <generalDesc>
4810        <nationalNumberPattern>
4811          [39]\d\d(?:
4812            \d{3}
4813          )?
4814        </nationalNumberPattern>
4815      </generalDesc>
4816      <shortCode>
4817        <possibleLengths national="3,6"/>
4818        <exampleNumber>911</exampleNumber>
4819        <nationalNumberPattern>
4820          (?:
4821            32022|
4822            91
4823          )1
4824        </nationalNumberPattern>
4825      </shortCode>
4826      <tollFree>
4827        <possibleLengths national="3,6"/>
4828        <exampleNumber>911</exampleNumber>
4829        <nationalNumberPattern>
4830          320\d{3}|
4831          911
4832        </nationalNumberPattern>
4833      </tollFree>
4834      <!-- http://travel.state.gov/travel/cis_pa_tw/cis/cis_971.html -->
4835      <emergency>
4836        <possibleLengths national="3,6"/>
4837        <exampleNumber>911</exampleNumber>
4838        <nationalNumberPattern>
4839          (?:
4840            32022|
4841            91
4842          )1
4843        </nationalNumberPattern>
4844      </emergency>
4845    </territory>
4846
4847    <!-- Faroe Islands (FO) -->
4848    <!-- http://www.itu.int/oth/T0202000047/en -->
4849    <territory id="FO">
4850      <generalDesc>
4851        <nationalNumberPattern>1\d{2,3}</nationalNumberPattern>
4852      </generalDesc>
4853      <!-- Includes special numbers, special services and universal services. -->
4854      <shortCode>
4855        <possibleLengths national="3,4"/>
4856        <exampleNumber>112</exampleNumber>
4857        <nationalNumberPattern>
4858          1(?:
4859            1[248]|
4860            819
4861          )|
4862          1(?:
4863            4[124]|
4864            71|
4865            8[7-9]
4866          )\d
4867        </nationalNumberPattern>
4868      </shortCode>
4869      <tollFree>
4870        <possibleLengths national="3,4"/>
4871        <exampleNumber>112</exampleNumber>
4872        <nationalNumberPattern>
4873          1(?:
4874            1[24]|
4875            81\d
4876          )
4877        </nationalNumberPattern>
4878      </tollFree>
4879      <emergency>
4880        <possibleLengths national="3"/>
4881        <exampleNumber>112</exampleNumber>
4882        <nationalNumberPattern>11[24]</nationalNumberPattern>
4883      </emergency>
4884      <expandedEmergency>
4885        <possibleLengths national="4"/>
4886        <exampleNumber>1810</exampleNumber>
4887        <nationalNumberPattern>181\d</nationalNumberPattern>
4888      </expandedEmergency>
4889    </territory>
4890
4891    <!-- France (FR) -->
4892    <!-- http://www.arcep.fr/index.php?id=8146 -->
4893    <!-- http://fr.wikipedia.org/wiki/Num%C3%A9ro_d'appel_d'urgence -->
4894    <territory id="FR">
4895      <generalDesc>
4896        <nationalNumberPattern>[1-8]\d{1,5}</nationalNumberPattern>
4897      </generalDesc>
4898      <!-- 110 is a number used for different campaigns such as Sidaction for a limited time only. -->
4899      <shortCode>
4900        <possibleLengths national="[2-6]"/>
4901        <exampleNumber>15</exampleNumber>
4902        <nationalNumberPattern>
4903          1(?:
4904            0\d\d|
4905            1(?:
4906              [02459]|
4907              6(?:
4908                000|
4909                111
4910              )|
4911              8\d{3}
4912            )|
4913            [578]|
4914            9[167]
4915          )|
4916          2(?:
4917            0(?:
4918              00|
4919              2
4920            )0|
4921            24
4922          )|
4923          [3-8]\d{4}|
4924          3\d{3}|
4925          6(?:
4926            1[14]|
4927            34
4928          )|
4929          7(?:
4930            0[06]|
4931            22|
4932            40
4933          )
4934        </nationalNumberPattern>
4935      </shortCode>
4936      <!-- http://www.appel118.fr/detail.php#histo -->
4937      <!-- Includes some "urgent services" numbers, plus short-codes designated as being free of
4938           cost and European harmonised numbers (116XXX). -->
4939      <!-- 740 is listed as carrier-specific and toll-free on contact.orange.fr. -->
4940      <tollFree>
4941        <possibleLengths national="[2-6]"/>
4942        <exampleNumber>15</exampleNumber>
4943        <nationalNumberPattern>
4944          1(?:
4945            0(?:
4946              07|
4947              [13]3
4948            )|
4949            1[02459]|
4950            [578]|
4951            9[167]
4952          )|
4953          224|
4954          (?:
4955            3370|
4956            74
4957          )0|
4958          (?:
4959            116\d|
4960            3[01]
4961          )\d\d
4962        </nationalNumberPattern>
4963      </tollFree>
4964      <!-- 3646 is listed as being the same as a local call on www.ameli.fr. -->
4965      <standardRate>
4966        <possibleLengths national="3,4"/>
4967        <exampleNumber>611</exampleNumber>
4968        <nationalNumberPattern>
4969          10(?:
4970            [134]4|
4971            2[23]|
4972            5\d|
4973            99
4974          )|
4975          202\d|
4976          634|
4977          70[06]|
4978          (?:
4979            106|
4980            61
4981          )[14]
4982        </nationalNumberPattern>
4983      </standardRate>
4984      <!-- SMS Services [4-8]\d{4} vary in price from 0.05 euro to 4.50 euro per SMS, based on
4985           prefix - we consider these all premium rate for now. All 118 XYZ numbers are considered
4986           here as it is given "libre" which does not mean zero cost instead it is up to the
4987           provider http://www.telecom-infoconso.fr/les-numeros-08-et-les-numeros-courts/ -->
4988      <premiumRate>
4989        <possibleLengths national="[4-6]"/>
4990        <exampleNumber>3200</exampleNumber>
4991        <nationalNumberPattern>
4992          366\d\d|
4993          3[2-9]\d\d|
4994          (?:
4995            118|
4996            [4-8]\d
4997          )\d{3}
4998        </nationalNumberPattern>
4999      </premiumRate>
5000      <!-- http://www.appel118.fr/detail.php lists 118777 as only being accessible from SFR. 224
5001           is an Orange-only service. -->
5002      <carrierSpecific>
5003        <possibleLengths national="[3-6]"/>
5004        <exampleNumber>224</exampleNumber>
5005        <nationalNumberPattern>
5006          118777|
5007          224|
5008          6(?:
5009            1[14]|
5010            34
5011          )|
5012          7(?:
5013            0[06]|
5014            22|
5015            40
5016          )|
5017          20(?:
5018            0\d|
5019            2
5020          )\d
5021        </nationalNumberPattern>
5022      </carrierSpecific>
5023      <emergency>
5024        <possibleLengths national="2,3"/>
5025        <exampleNumber>15</exampleNumber>
5026        <nationalNumberPattern>
5027          1(?:
5028            12|
5029            [578]
5030          )
5031        </nationalNumberPattern>
5032      </emergency>
5033      <expandedEmergency>
5034        <possibleLengths national="3,6"/>
5035        <exampleNumber>114</exampleNumber>
5036        <nationalNumberPattern>
5037          1(?:
5038            1(?:
5039              [459]|
5040              6\d{3}
5041            )|
5042            9[167]
5043          )
5044        </nationalNumberPattern>
5045      </expandedEmergency>
5046      <!-- https://clients.txtnation.com/entries/22523777-France-Premium-SMS-Short-Code-Regulations -->
5047      <smsServices>
5048        <possibleLengths national="3,5"/>
5049        <exampleNumber>114</exampleNumber>
5050        <nationalNumberPattern>
5051          114|
5052          [3-8]\d{4}
5053        </nationalNumberPattern>
5054      </smsServices>
5055    </territory>
5056
5057    <!-- Gabon (GA) -->
5058    <!-- http://www.itu.int/oth/T020200004E/en -->
5059    <!-- www.arcep.ga -->
5060    <territory id="GA">
5061      <generalDesc>
5062        <nationalNumberPattern>
5063          1\d(?:
5064            \d{2}
5065          )?
5066        </nationalNumberPattern>
5067      </generalDesc>
5068      <shortCode>
5069        <possibleLengths national="2,4"/>
5070        <exampleNumber>18</exampleNumber>
5071        <nationalNumberPattern>
5072          1(?:
5073            3\d\d|
5074            730|
5075            8
5076          )
5077        </nationalNumberPattern>
5078      </shortCode>
5079      <tollFree>
5080        <possibleLengths national="2,4"/>
5081        <exampleNumber>18</exampleNumber>
5082        <nationalNumberPattern>
5083          18|
5084          1(?:
5085            3\d|
5086            73
5087          )\d
5088        </nationalNumberPattern>
5089      </tollFree>
5090      <emergency>
5091        <possibleLengths national="2,4"/>
5092        <exampleNumber>18</exampleNumber>
5093        <nationalNumberPattern>
5094          1(?:
5095            3\d\d|
5096            730|
5097            8
5098          )
5099        </nationalNumberPattern>
5100      </emergency>
5101    </territory>
5102
5103    <!-- United Kingdom (GB) -->
5104    <territory id="GB">
5105      <generalDesc>
5106        <nationalNumberPattern>[1-46-9]\d{2,5}</nationalNumberPattern>
5107      </generalDesc>
5108      <shortCode>
5109        <possibleLengths national="[3-6]"/>
5110        <exampleNumber>100</exampleNumber>
5111        <nationalNumberPattern>
5112          1(?:
5113            0[015]|
5114            1(?:
5115              [129]|
5116              6(?:
5117                000|
5118                1(?:
5119                  11|
5120                  23
5121                )
5122              )|
5123              8\d{3}
5124            )|
5125            2(?:
5126              [1-3]|
5127              50
5128            )|
5129            33|
5130            4(?:
5131              1|
5132              7\d
5133            )|
5134            571|
5135            7(?:
5136              0\d|
5137              [56]0
5138            )|
5139            800\d|
5140            9[15]
5141          )|
5142          2(?:
5143            0202|
5144            1300|
5145            2(?:
5146              02|
5147              11
5148            )|
5149            3(?:
5150              02|
5151              336|
5152              45
5153            )|
5154            4(?:
5155              25|
5156              8
5157            )
5158          )|
5159          3[13]3|
5160          4(?:
5161            0[02]|
5162            35[01]|
5163            44[45]|
5164            5\d
5165          )|
5166          (?:
5167            [68]\d|
5168            7[089]
5169          )\d{3}|
5170          15\d|
5171          2[02]2|
5172          650|
5173          789|
5174          9(?:
5175            01|
5176            99
5177          )
5178        </nationalNumberPattern>
5179      </shortCode>
5180      <tollFree>
5181        <possibleLengths national="[3-6]"/>
5182        <exampleNumber>105</exampleNumber>
5183        <nationalNumberPattern>
5184          1(?:
5185            05|
5186            1(?:
5187              [29]|
5188              6\d{3}
5189            )|
5190            7[56]\d|
5191            8000
5192          )|
5193          2(?:
5194            20\d|
5195            48
5196          )|
5197          4444|
5198          999
5199        </nationalNumberPattern>
5200      </tollFree>
5201      <!-- 1250: White Mobile balance check. -->
5202      <carrierSpecific>
5203        <possibleLengths national="[3-5]"/>
5204        <exampleNumber>202</exampleNumber>
5205        <nationalNumberPattern>
5206          1(?:
5207            (?:
5208              25|
5209              7[56]
5210            )\d|
5211            571
5212          )|
5213          2(?:
5214            02(?:
5215              \d{2}
5216            )?|
5217            [13]3\d\d|
5218            48
5219          )|
5220          4444|
5221          901
5222        </nationalNumberPattern>
5223      </carrierSpecific>
5224      <emergency>
5225        <possibleLengths national="3"/>
5226        <exampleNumber>112</exampleNumber>
5227        <nationalNumberPattern>
5228          112|
5229          999
5230        </nationalNumberPattern>
5231      </emergency>
5232      <expandedEmergency>
5233        <possibleLengths national="3,6"/>
5234        <exampleNumber>101</exampleNumber>
5235        <nationalNumberPattern>
5236          1(?:
5237            01|
5238            1(?:
5239              6\d{3}|
5240              9
5241            )
5242          )
5243        </nationalNumberPattern>
5244      </expandedEmergency>
5245      <!-- http://www.short-codes.com/codes/browse/70000-70999/100_1 says that the service is not
5246           available as voice for any of these prefixes for at least some carriers; for carriers
5247           where it is listed as possible it isn't actually activated for any short-code at this
5248           time. This is the same for the 78, 79, 80 and 81 prefixes. -->
5249      <smsServices>
5250        <possibleLengths national="4,5"/>
5251        <exampleNumber>1250</exampleNumber>
5252        <nationalNumberPattern>
5253          (?:
5254            125|
5255            2(?:
5256              020|
5257              13\d
5258            )|
5259            (?:
5260              7[089]|
5261              8[01]
5262            )\d\d
5263          )\d
5264        </nationalNumberPattern>
5265      </smsServices>
5266    </territory>
5267
5268    <!-- Grenada (GD) -->
5269    <!-- http://www.itu.int/oth/T0202000057/en -->
5270    <territory id="GD">
5271      <generalDesc>
5272        <nationalNumberPattern>[19]\d\d</nationalNumberPattern>
5273      </generalDesc>
5274      <shortCode>
5275        <possibleLengths national="3"/>
5276        <exampleNumber>176</exampleNumber>
5277        <nationalNumberPattern>
5278          176|
5279          9(?:
5280            11|
5281            88
5282          )
5283        </nationalNumberPattern>
5284      </shortCode>
5285      <tollFree>
5286        <possibleLengths national="3"/>
5287        <exampleNumber>911</exampleNumber>
5288        <nationalNumberPattern>
5289          9(?:
5290            11|
5291            88
5292          )
5293        </nationalNumberPattern>
5294      </tollFree>
5295      <!-- https://support.twitter.com/articles/20170024 -->
5296      <carrierSpecific>
5297        <possibleLengths national="3"/>
5298        <exampleNumber>176</exampleNumber>
5299        <nationalNumberPattern>176</nationalNumberPattern>
5300      </carrierSpecific>
5301      <!-- http://barbados.usembassy.gov/emergency-grenada.html -->
5302      <emergency>
5303        <possibleLengths national="3"/>
5304        <exampleNumber>911</exampleNumber>
5305        <nationalNumberPattern>911</nationalNumberPattern>
5306      </emergency>
5307      <expandedEmergency>
5308        <possibleLengths national="3"/>
5309        <exampleNumber>988</exampleNumber>
5310        <nationalNumberPattern>988</nationalNumberPattern>
5311      </expandedEmergency>
5312      <!-- https://support.twitter.com/articles/20170024 -->
5313      <smsServices>
5314        <possibleLengths national="3"/>
5315        <exampleNumber>176</exampleNumber>
5316        <nationalNumberPattern>176</nationalNumberPattern>
5317      </smsServices>
5318    </territory>
5319
5320    <!-- Georgia (GE) -->
5321    <!-- http://www.itu.int/oth/T0202000050/en -->
5322    <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Georgia. -->
5323    <territory id="GE">
5324      <generalDesc>
5325        <nationalNumberPattern>
5326          [014]\d\d(?:
5327            \d{2}
5328          )?
5329        </nationalNumberPattern>
5330      </generalDesc>
5331      <shortCode>
5332        <possibleLengths national="3,5"/>
5333        <exampleNumber>011</exampleNumber>
5334        <nationalNumberPattern>
5335          0(?:
5336            11|
5337            33
5338          )|
5339          11[1-3]|
5340          40404|
5341          [01]22
5342        </nationalNumberPattern>
5343      </shortCode>
5344      <tollFree>
5345        <possibleLengths national="3"/>
5346        <exampleNumber>011</exampleNumber>
5347        <nationalNumberPattern>
5348          0(?:
5349            11|
5350            33
5351          )|
5352          11[1-3]|
5353          [01]22
5354        </nationalNumberPattern>
5355      </tollFree>
5356      <!-- https://support.twitter.com/articles/20170024 -->
5357      <carrierSpecific>
5358        <possibleLengths national="5"/>
5359        <exampleNumber>40400</exampleNumber>
5360        <nationalNumberPattern>404\d\d</nationalNumberPattern>
5361      </carrierSpecific>
5362      <!-- According to Wikipedia, 011, 022 and 033 will be replaced by 111, 122, 113 and 114 in
5363           2011. We are not sure if that has happened, so we support both versions for now. -->
5364      <emergency>
5365        <possibleLengths national="3"/>
5366        <exampleNumber>011</exampleNumber>
5367        <nationalNumberPattern>
5368          0(?:
5369            11|
5370            33
5371          )|
5372          11[1-3]|
5373          [01]22
5374        </nationalNumberPattern>
5375      </emergency>
5376      <!-- https://support.twitter.com/articles/20170024 -->
5377      <smsServices>
5378        <possibleLengths national="5"/>
5379        <exampleNumber>40400</exampleNumber>
5380        <nationalNumberPattern>404\d\d</nationalNumberPattern>
5381      </smsServices>
5382    </territory>
5383
5384    <!-- French Guiana (GF) -->
5385    <!-- http://www.itu.int/oth/T020200004C/en -->
5386    <!-- http://www.arcep.fr/index.php?id=2137&bloc=0594&CMD=RESULTS_NUMEROTATION -->
5387    <!-- http://www.arcep.fr/uploads/tx_gsavis/11-1297.pdf -->
5388    <territory id="GF">
5389      <generalDesc>
5390        <nationalNumberPattern>1\d</nationalNumberPattern>
5391      </generalDesc>
5392      <shortCode>
5393        <possibleLengths national="2"/>
5394        <exampleNumber>15</exampleNumber>
5395        <nationalNumberPattern>1[578]</nationalNumberPattern>
5396      </shortCode>
5397      <tollFree>
5398        <possibleLengths national="2"/>
5399        <exampleNumber>15</exampleNumber>
5400        <nationalNumberPattern>1[578]</nationalNumberPattern>
5401      </tollFree>
5402      <emergency>
5403        <possibleLengths national="2"/>
5404        <exampleNumber>15</exampleNumber>
5405        <nationalNumberPattern>1[578]</nationalNumberPattern>
5406      </emergency>
5407    </territory>
5408
5409    <!-- Guernsey (GG) -->
5410    <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_the_United_Kingdom -->
5411    <territory id="GG">
5412      <generalDesc>
5413        <nationalNumberPattern>[19]\d{2,5}</nationalNumberPattern>
5414      </generalDesc>
5415      <!-- Taken from numbers listed explicitly as Public Telephone Network Numbers in
5416           http://stakeholders.ofcom.org.uk/binaries/telecoms/numbering/numplan201210.pdf -->
5417      <shortCode>
5418        <possibleLengths national="[3-6]"/>
5419        <exampleNumber>100</exampleNumber>
5420        <nationalNumberPattern>
5421          1(?:
5422            0[01]|
5423            1[12]|
5424            23|
5425            41|
5426            55|
5427            9[05]
5428          )|
5429          999|
5430          1(?:
5431            1[68]\d\d|
5432            47|
5433            800
5434          )\d
5435        </nationalNumberPattern>
5436      </shortCode>
5437      <tollFree>
5438        <possibleLengths national="3"/>
5439        <exampleNumber>112</exampleNumber>
5440        <nationalNumberPattern>
5441          112|
5442          999
5443        </nationalNumberPattern>
5444      </tollFree>
5445      <!-- http://en.wikipedia.org/wiki/Guernsey#Emergency_services -->
5446      <emergency>
5447        <possibleLengths national="3"/>
5448        <exampleNumber>112</exampleNumber>
5449        <nationalNumberPattern>
5450          112|
5451          999
5452        </nationalNumberPattern>
5453      </emergency>
5454    </territory>
5455
5456    <!-- Ghana (GH) -->
5457    <!-- http://www.itu.int/oth/T0202000052/en -->
5458    <!-- http://www.nca.org.gh/index.php?option=com_content&view=article&id=90&Itemid=65 -->
5459    <territory id="GH">
5460      <generalDesc>
5461        <nationalNumberPattern>[14589]\d{2,4}</nationalNumberPattern>
5462      </generalDesc>
5463      <shortCode>
5464        <possibleLengths national="[3-5]"/>
5465        <exampleNumber>191</exampleNumber>
5466        <nationalNumberPattern>
5467          19[1-3]|
5468          40404|
5469          (?:
5470            54|
5471            83
5472          )00|
5473          999
5474        </nationalNumberPattern>
5475      </shortCode>
5476      <tollFree>
5477        <possibleLengths national="3"/>
5478        <exampleNumber>191</exampleNumber>
5479        <nationalNumberPattern>
5480          19[1-3]|
5481          999
5482        </nationalNumberPattern>
5483      </tollFree>
5484      <!-- https://support.twitter.com/articles/20170024 -->
5485      <!-- https://support.google.com/plus/answer/1304917 -->
5486      <carrierSpecific>
5487        <possibleLengths national="4,5"/>
5488        <exampleNumber>5400</exampleNumber>
5489        <nationalNumberPattern>
5490          404\d\d|
5491          (?:
5492            54|
5493            83
5494          )0\d
5495        </nationalNumberPattern>
5496      </carrierSpecific>
5497      <emergency>
5498        <possibleLengths national="3"/>
5499        <exampleNumber>191</exampleNumber>
5500        <nationalNumberPattern>
5501          19[1-3]|
5502          999
5503        </nationalNumberPattern>
5504      </emergency>
5505      <!-- https://support.twitter.com/articles/20170024 -->
5506      <smsServices>
5507        <possibleLengths national="4,5"/>
5508        <exampleNumber>5400</exampleNumber>
5509        <nationalNumberPattern>
5510          404\d\d|
5511          (?:
5512            54|
5513            83
5514          )0\d
5515        </nationalNumberPattern>
5516      </smsServices>
5517    </territory>
5518
5519    <!-- Gibraltar (GI) -->
5520    <!-- http://www.gra.gi/communications/numbering-plan -->
5521    <territory id="GI">
5522      <generalDesc>
5523        <nationalNumberPattern>[158]\d{2,5}</nationalNumberPattern>
5524      </generalDesc>
5525      <!-- Supporting all Type B short codes (used to access services of other carriers as well) as
5526           the status is not clear in GRA's doc. -->
5527      <shortCode>
5528        <possibleLengths national="[3-6]"/>
5529        <exampleNumber>100</exampleNumber>
5530        <nationalNumberPattern>
5531          1(?:
5532            00|
5533            1(?:
5534              [25]|
5535              6(?:
5536                00[06]|
5537                1(?:
5538                  1[17]|
5539                  23
5540                )
5541              )|
5542              8\d\d
5543            )|
5544            23|
5545            4(?:
5546              1|
5547              7[014]
5548            )|
5549            5[015]|
5550            9[02-49]
5551          )|
5552          555|
5553          8[0-79]\d\d|
5554          8(?:
5555            00|
5556            4[0-2]|
5557            8[0-589]
5558          )
5559        </nationalNumberPattern>
5560      </shortCode>
5561      <tollFree>
5562        <possibleLengths national="3,4,6"/>
5563        <exampleNumber>100</exampleNumber>
5564        <nationalNumberPattern>
5565          1(?:
5566            00|
5567            1[25]|
5568            23|
5569            4(?:
5570              1|
5571              7\d
5572            )|
5573            5[15]|
5574            9[02-49]
5575          )|
5576          555|
5577          (?:
5578            116\d|
5579            80
5580          )\d\d
5581        </nationalNumberPattern>
5582      </tollFree>
5583      <standardRate>
5584        <possibleLengths national="3,4"/>
5585        <exampleNumber>150</exampleNumber>
5586        <nationalNumberPattern>
5587          150|
5588          87\d\d
5589        </nationalNumberPattern>
5590      </standardRate>
5591      <!-- Prefix 88 is not included here as it inconsistent in the doc provided by www.gra.gi.
5592           Hence we will continue to treat it as 8 digit premiumRate number in
5593           PhoneNumberMetadata.xml unless we hear otherwise. -->
5594      <premiumRate>
5595        <possibleLengths national="4"/>
5596        <exampleNumber>8100</exampleNumber>
5597        <nationalNumberPattern>8[1-69]\d\d</nationalNumberPattern>
5598      </premiumRate>
5599      <carrierSpecific>
5600        <possibleLengths national="3,5"/>
5601        <exampleNumber>100</exampleNumber>
5602        <nationalNumberPattern>
5603          1(?:
5604            00|
5605            1(?:
5606              5|
5607              8\d\d
5608            )|
5609            23|
5610            51|
5611            9[2-4]
5612          )|
5613          555|
5614          8(?:
5615            00|
5616            4[0-2]|
5617            8[0-589]
5618          )
5619        </nationalNumberPattern>
5620      </carrierSpecific>
5621      <emergency>
5622        <possibleLengths national="3"/>
5623        <exampleNumber>112</exampleNumber>
5624        <nationalNumberPattern>
5625          1(?:
5626            12|
5627            9[09]
5628          )
5629        </nationalNumberPattern>
5630      </emergency>
5631      <expandedEmergency>
5632        <possibleLengths national="4,6"/>
5633        <exampleNumber>8008</exampleNumber>
5634        <nationalNumberPattern>
5635          116\d{3}|
5636          8008
5637        </nationalNumberPattern>
5638      </expandedEmergency>
5639    </territory>
5640
5641    <!-- Greenland (GL) -->
5642    <!-- http://www.itu.int/oth/T0202000056/en -->
5643    <territory id="GL">
5644      <generalDesc>
5645        <nationalNumberPattern>1\d\d</nationalNumberPattern>
5646      </generalDesc>
5647      <shortCode>
5648        <possibleLengths national="3"/>
5649        <exampleNumber>110</exampleNumber>
5650        <nationalNumberPattern>1[1-8]\d</nationalNumberPattern>
5651      </shortCode>
5652      <tollFree>
5653        <possibleLengths national="3"/>
5654        <exampleNumber>112</exampleNumber>
5655        <nationalNumberPattern>112</nationalNumberPattern>
5656      </tollFree>
5657      <emergency>
5658        <possibleLengths national="3"/>
5659        <exampleNumber>112</exampleNumber>
5660        <nationalNumberPattern>112</nationalNumberPattern>
5661      </emergency>
5662    </territory>
5663
5664    <!-- Gambia (GM) -->
5665    <!-- http://www.itu.int/oth/T020200004F/en -->
5666    <territory id="GM">
5667      <generalDesc>
5668        <nationalNumberPattern>1\d\d?</nationalNumberPattern>
5669      </generalDesc>
5670      <shortCode>
5671        <possibleLengths national="2,3"/>
5672        <exampleNumber>16</exampleNumber>
5673        <nationalNumberPattern>
5674          1(?:
5675            1[6-8]|
5676            [6-8]
5677          )
5678        </nationalNumberPattern>
5679      </shortCode>
5680      <tollFree>
5681        <possibleLengths national="2,3"/>
5682        <exampleNumber>16</exampleNumber>
5683        <nationalNumberPattern>
5684          1(?:
5685            1[6-8]|
5686            [6-8]
5687          )
5688        </nationalNumberPattern>
5689      </tollFree>
5690      <!-- http://travel.state.gov/travel/cis_pa_tw/cis/cis_1121.html -->
5691      <!-- http://www.netglobers.com/africa/gambia-emergency-numbers-in-the-gambia.html -->
5692      <emergency>
5693        <possibleLengths national="2,3"/>
5694        <exampleNumber>16</exampleNumber>
5695        <nationalNumberPattern>
5696          1(?:
5697            1[6-8]|
5698            [6-8]
5699          )
5700        </nationalNumberPattern>
5701      </emergency>
5702    </territory>
5703
5704    <!-- Guinea (GN) -->
5705    <territory id="GN">
5706      <generalDesc>
5707        <nationalNumberPattern>
5708          [14]\d\d(?:
5709            \d{2}
5710          )?
5711        </nationalNumberPattern>
5712      </generalDesc>
5713      <shortCode>
5714        <possibleLengths national="3,5"/>
5715        <exampleNumber>120</exampleNumber>
5716        <nationalNumberPattern>
5717          12\d|
5718          40404
5719        </nationalNumberPattern>
5720      </shortCode>
5721      <!-- https://support.twitter.com/articles/20170024 -->
5722      <carrierSpecific>
5723        <possibleLengths national="5"/>
5724        <exampleNumber>40400</exampleNumber>
5725        <nationalNumberPattern>404\d\d</nationalNumberPattern>
5726      </carrierSpecific>
5727      <!-- No national emergency numbers were located for Guinea. -->
5728      <!-- https://support.twitter.com/articles/20170024 -->
5729      <smsServices>
5730        <possibleLengths national="5"/>
5731        <exampleNumber>40400</exampleNumber>
5732        <nationalNumberPattern>404\d\d</nationalNumberPattern>
5733      </smsServices>
5734    </territory>
5735
5736    <!-- Guadeloupe (GP) -->
5737    <!-- http://www.itu.int/oth/T0202000058/en -->
5738    <!-- http://www.guadeloupe.franceantilles.fr/pratique/urgences/numeros-urgence-guadeloupe-14950.php -->
5739    <territory id="GP">
5740      <generalDesc>
5741        <nationalNumberPattern>1\d</nationalNumberPattern>
5742      </generalDesc>
5743      <shortCode>
5744        <possibleLengths national="2"/>
5745        <exampleNumber>15</exampleNumber>
5746        <nationalNumberPattern>1[578]</nationalNumberPattern>
5747      </shortCode>
5748      <tollFree>
5749        <possibleLengths national="2"/>
5750        <exampleNumber>15</exampleNumber>
5751        <nationalNumberPattern>1[578]</nationalNumberPattern>
5752      </tollFree>
5753      <emergency>
5754        <possibleLengths national="2"/>
5755        <exampleNumber>15</exampleNumber>
5756        <nationalNumberPattern>1[578]</nationalNumberPattern>
5757      </emergency>
5758    </territory>
5759
5760    <!-- Greece (GR) -->
5761    <!-- http://www.itu.int/oth/T0202000055/en -->
5762    <!-- http://en.wikipedia.org/wiki/%2B30 -->
5763    <territory id="GR">
5764      <generalDesc>
5765        <nationalNumberPattern>
5766          1\d\d(?:
5767            \d{2,3}
5768          )?
5769        </nationalNumberPattern>
5770      </generalDesc>
5771      <shortCode>
5772        <possibleLengths national="3,5,6"/>
5773        <exampleNumber>100</exampleNumber>
5774        <nationalNumberPattern>
5775          1(?:
5776            0[089]|
5777            1(?:
5778              2|
5779              320|
5780              6(?:
5781                000|
5782                1(?:
5783                  1[17]|
5784                  23
5785                )
5786              )
5787            )|
5788            (?:
5789              389|
5790              9
5791            )9|
5792            66
5793          )
5794        </nationalNumberPattern>
5795      </shortCode>
5796      <tollFree>
5797        <possibleLengths national="3,6"/>
5798        <exampleNumber>100</exampleNumber>
5799        <nationalNumberPattern>
5800          1(?:
5801            0[089]|
5802            1(?:
5803              2|
5804              6\d{3}
5805            )|
5806            66|
5807            99
5808          )
5809        </nationalNumberPattern>
5810      </tollFree>
5811      <standardRate>
5812        <possibleLengths national="5"/>
5813        <exampleNumber>11300</exampleNumber>
5814        <nationalNumberPattern>113\d\d</nationalNumberPattern>
5815      </standardRate>
5816      <emergency>
5817        <possibleLengths national="3"/>
5818        <exampleNumber>100</exampleNumber>
5819        <nationalNumberPattern>
5820          1(?:
5821            00|
5822            12|
5823            66|
5824            99
5825          )
5826        </nationalNumberPattern>
5827      </emergency>
5828      <expandedEmergency>
5829        <possibleLengths national="3,6"/>
5830        <exampleNumber>108</exampleNumber>
5831        <nationalNumberPattern>
5832          1(?:
5833            0[89]|
5834            16\d{3}
5835          )
5836        </nationalNumberPattern>
5837      </expandedEmergency>
5838    </territory>
5839
5840    <!-- Guatemala (GT) -->
5841    <!-- http://www.itu.int/oth/T020200005A/en -->
5842    <!-- http://www.sit.gob.gt/index.php?page=plan-de-numeracion -->
5843    <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Guatemala -->
5844    <territory id="GT">
5845      <generalDesc>
5846        <nationalNumberPattern>[14]\d{2,4}</nationalNumberPattern>
5847      </generalDesc>
5848      <shortCode>
5849        <possibleLengths national="[3-5]"/>
5850        <exampleNumber>110</exampleNumber>
5851        <nationalNumberPattern>
5852          110|
5853          40404|
5854          1(?:
5855            2|
5856            [57]\d
5857          )\d
5858        </nationalNumberPattern>
5859      </shortCode>
5860      <tollFree>
5861        <possibleLengths national="3"/>
5862        <exampleNumber>110</exampleNumber>
5863        <nationalNumberPattern>
5864          1(?:
5865            10|
5866            2[03]
5867          )
5868        </nationalNumberPattern>
5869      </tollFree>
5870      <!-- https://support.twitter.com/articles/20170024 -->
5871      <carrierSpecific>
5872        <possibleLengths national="5"/>
5873        <exampleNumber>40400</exampleNumber>
5874        <nationalNumberPattern>404\d\d</nationalNumberPattern>
5875      </carrierSpecific>
5876      <emergency>
5877        <possibleLengths national="3"/>
5878        <exampleNumber>110</exampleNumber>
5879        <nationalNumberPattern>
5880          1(?:
5881            10|
5882            2[03]
5883          )
5884        </nationalNumberPattern>
5885      </emergency>
5886      <!-- https://support.twitter.com/articles/20170024 -->
5887      <smsServices>
5888        <possibleLengths national="5"/>
5889        <exampleNumber>40400</exampleNumber>
5890        <nationalNumberPattern>404\d\d</nationalNumberPattern>
5891      </smsServices>
5892    </territory>
5893
5894    <!-- Guam (GU) -->
5895    <!-- http://www.nationalnanpa.com/nas/public/assigned_code_query_step1.do?method=resetCodeQueryModel -->
5896    <territory id="GU">
5897      <generalDesc>
5898        <nationalNumberPattern>9\d\d</nationalNumberPattern>
5899      </generalDesc>
5900      <shortCode>
5901        <possibleLengths national="3"/>
5902        <exampleNumber>911</exampleNumber>
5903        <nationalNumberPattern>
5904          9(?:
5905            11|
5906            88
5907          )
5908        </nationalNumberPattern>
5909      </shortCode>
5910      <tollFree>
5911        <possibleLengths national="3"/>
5912        <exampleNumber>911</exampleNumber>
5913        <nationalNumberPattern>
5914          9(?:
5915            11|
5916            88
5917          )
5918        </nationalNumberPattern>
5919      </tollFree>
5920      <!-- http://www.justice.gov.gu/compileroflaws/gca/10gca/10gc084.PDF -->
5921      <emergency>
5922        <possibleLengths national="3"/>
5923        <exampleNumber>911</exampleNumber>
5924        <nationalNumberPattern>911</nationalNumberPattern>
5925      </emergency>
5926      <expandedEmergency>
5927        <possibleLengths national="3"/>
5928        <exampleNumber>988</exampleNumber>
5929        <nationalNumberPattern>988</nationalNumberPattern>
5930      </expandedEmergency>
5931    </territory>
5932
5933    <!-- Guinea-Bissau (GW) -->
5934    <!-- http://www.itu.int/oth/T020200005C/en -->
5935    <territory id="GW">
5936      <generalDesc>
5937        <nationalNumberPattern>1\d\d</nationalNumberPattern>
5938      </generalDesc>
5939      <shortCode>
5940        <possibleLengths national="3"/>
5941        <exampleNumber>113</exampleNumber>
5942        <nationalNumberPattern>11[378]</nationalNumberPattern>
5943      </shortCode>
5944      <tollFree>
5945        <possibleLengths national="3"/>
5946        <exampleNumber>113</exampleNumber>
5947        <nationalNumberPattern>11[378]</nationalNumberPattern>
5948      </tollFree>
5949      <!-- https://www.osac.gov/pages/ContentReportDetails.aspx?cid=10970 -->
5950      <emergency>
5951        <possibleLengths national="3"/>
5952        <exampleNumber>113</exampleNumber>
5953        <nationalNumberPattern>11[378]</nationalNumberPattern>
5954      </emergency>
5955    </territory>
5956
5957    <!-- Guyana (GY) -->
5958    <!-- http://www.itu.int/oth/T020200005D/en -->
5959    <territory id="GY">
5960      <generalDesc>
5961        <nationalNumberPattern>[019]\d{2,3}</nationalNumberPattern>
5962      </generalDesc>
5963      <shortCode>
5964        <possibleLengths national="3,4"/>
5965        <exampleNumber>002</exampleNumber>
5966        <nationalNumberPattern>
5967          0(?:
5968            02|
5969            (?:
5970              17|
5971              80
5972            )1|
5973            444|
5974            7(?:
5975              [67]7|
5976              9
5977            )|
5978            9(?:
5979              0[78]|
5980              [2-47]
5981            )
5982          )|
5983          1(?:
5984            443|
5985            5[568]
5986          )|
5987          91[1-3]
5988        </nationalNumberPattern>
5989      </shortCode>
5990      <tollFree>
5991        <possibleLengths national="3"/>
5992        <exampleNumber>911</exampleNumber>
5993        <nationalNumberPattern>91[1-3]</nationalNumberPattern>
5994      </tollFree>
5995      <!-- https://support.twitter.com/articles/20170024 -->
5996      <carrierSpecific>
5997        <possibleLengths national="4"/>
5998        <exampleNumber>1440</exampleNumber>
5999        <nationalNumberPattern>144\d</nationalNumberPattern>
6000      </carrierSpecific>
6001      <emergency>
6002        <possibleLengths national="3"/>
6003        <exampleNumber>911</exampleNumber>
6004        <nationalNumberPattern>91[1-3]</nationalNumberPattern>
6005      </emergency>
6006      <!-- https://support.twitter.com/articles/20170024 -->
6007      <smsServices>
6008        <possibleLengths national="4"/>
6009        <exampleNumber>1440</exampleNumber>
6010        <nationalNumberPattern>144\d</nationalNumberPattern>
6011      </smsServices>
6012    </territory>
6013
6014    <!-- Hong Kong (HK) -->
6015    <!-- http://www.ofca.gov.hk/en/industry_focus/telecommunications/portability/index.html -->
6016    <!-- http://www.ofca.gov.hk/filemanager/ofca/tc/content_311/no_plan.pdf -->
6017    <territory id="HK">
6018      <generalDesc>
6019        <nationalNumberPattern>[19]\d{2,6}</nationalNumberPattern>
6020      </generalDesc>
6021      <!-- Short number ranges in the doc which have categories but have no assigned to/allocated
6022           information have not been included here, such as 1819 and 1820[0-4]. 189 is assigned to
6023           'Disaster recovery' and it is in the format 189+prefix
6024           https://zh.wikipedia.org/wiki/%E9%A6%99%E6%B8%AF%E9%9B%BB%E8%A9%B1%E8%99%9F%E7%A2%BC%E5%88%86%E9%A1%9Eas
6025           As we do not have much information on the prefix that needs to be used we have not
6026           included it. Generally all withdrawn short codes mentioned in 'Change History' section of
6027           ca.gov.hk's doc are not supported unless the range is is mentiond as assigned in main
6028           table. -->
6029      <shortCode>
6030        <possibleLengths national="[3-7]"/>
6031        <exampleNumber>100</exampleNumber>
6032        <nationalNumberPattern>
6033          1(?:
6034            0(?:
6035              (?:
6036                [0136]\d|
6037                2[14]
6038              )\d{0,3}|
6039              8[138]
6040            )|
6041            12|
6042            2(?:
6043              [0-3]\d{0,4}|
6044              (?:
6045                58|
6046                8[13]
6047              )\d{0,3}
6048            )|
6049            7(?:
6050              [135-9]\d{0,4}|
6051              219\d{0,2}
6052            )|
6053            8(?:
6054              0(?:
6055                (?:
6056                  [13]|
6057                  60\d
6058                )\d|
6059                8
6060              )|
6061              1(?:
6062                0\d|
6063                [2-8]
6064              )|
6065              2(?:
6066                0[5-9]|
6067                (?:
6068                  18|
6069                  2
6070                )2|
6071                3|
6072                8[128]
6073              )|
6074              (?:
6075                (?:
6076                  3[0-689]\d|
6077                  7(?:
6078                    2[1-389]|
6079                    8[0235-9]|
6080                    93
6081                  )
6082                )\d|
6083                8
6084              )\d|
6085              50[138]|
6086              6(?:
6087                1(?:
6088                  11|
6089                  86
6090                )|
6091                8
6092              )
6093            )
6094          )|
6095          99[29]|
6096          10[0139]
6097        </nationalNumberPattern>
6098      </shortCode>
6099      <tollFree>
6100        <possibleLengths national="3"/>
6101        <exampleNumber>112</exampleNumber>
6102        <nationalNumberPattern>
6103          112|
6104          99[29]
6105        </nationalNumberPattern>
6106      </tollFree>
6107      <carrierSpecific>
6108        <possibleLengths national="[3-5]"/>
6109        <exampleNumber>109</exampleNumber>
6110        <nationalNumberPattern>
6111          109|
6112          1(?:
6113            08|
6114            85\d
6115          )\d
6116        </nationalNumberPattern>
6117      </carrierSpecific>
6118      <emergency>
6119        <possibleLengths national="3"/>
6120        <exampleNumber>112</exampleNumber>
6121        <nationalNumberPattern>
6122          112|
6123          99[29]
6124        </nationalNumberPattern>
6125      </emergency>
6126      <expandedEmergency>
6127        <possibleLengths national="5"/>
6128        <exampleNumber>18200</exampleNumber>
6129        <nationalNumberPattern>1820\d</nationalNumberPattern>
6130      </expandedEmergency>
6131      <!-- 992 is an SMS service short code for emergency. -->
6132      <smsServices>
6133        <possibleLengths national="3"/>
6134        <exampleNumber>992</exampleNumber>
6135        <nationalNumberPattern>992</nationalNumberPattern>
6136      </smsServices>
6137    </territory>
6138
6139    <!-- Honduras (HN) -->
6140    <!-- http://www.itu.int/oth/T020200005F/en -->
6141    <territory id="HN">
6142      <generalDesc>
6143        <nationalNumberPattern>
6144          [14]\d\d(?:
6145            \d{2}
6146          )?
6147        </nationalNumberPattern>
6148      </generalDesc>
6149      <shortCode>
6150        <possibleLengths national="3,5"/>
6151        <exampleNumber>199</exampleNumber>
6152        <nationalNumberPattern>
6153          199|
6154          40404
6155        </nationalNumberPattern>
6156      </shortCode>
6157      <tollFree>
6158        <possibleLengths national="3"/>
6159        <exampleNumber>199</exampleNumber>
6160        <nationalNumberPattern>199</nationalNumberPattern>
6161      </tollFree>
6162      <!-- https://support.twitter.com/articles/20170024 -->
6163      <carrierSpecific>
6164        <possibleLengths national="5"/>
6165        <exampleNumber>40400</exampleNumber>
6166        <nationalNumberPattern>404\d\d</nationalNumberPattern>
6167      </carrierSpecific>
6168      <emergency>
6169        <possibleLengths national="3"/>
6170        <exampleNumber>199</exampleNumber>
6171        <nationalNumberPattern>199</nationalNumberPattern>
6172      </emergency>
6173      <!-- https://support.twitter.com/articles/20170024 -->
6174      <smsServices>
6175        <possibleLengths national="5"/>
6176        <exampleNumber>40400</exampleNumber>
6177        <nationalNumberPattern>404\d\d</nationalNumberPattern>
6178      </smsServices>
6179    </territory>
6180
6181    <!-- Croatia (HR) -->
6182    <!-- http://www.itu.int/oth/T0202000032/en -->
6183    <!-- http://en.wikipedia.org/wiki/%2B385 -->
6184    <territory id="HR">
6185      <generalDesc>
6186        <nationalNumberPattern>[19]\d{1,5}</nationalNumberPattern>
6187      </generalDesc>
6188      <shortCode>
6189        <possibleLengths national="[2-6]"/>
6190        <exampleNumber>93</exampleNumber>
6191        <nationalNumberPattern>
6192          1(?:
6193            1(?:
6194              2|
6195              6(?:
6196                00[06]|
6197                1(?:
6198                  1[17]|
6199                  23
6200                )
6201              )|
6202              8\d\d
6203            )|
6204            3977|
6205            9(?:
6206              [2-5]|
6207              87
6208            )
6209          )|
6210          9[34]
6211        </nationalNumberPattern>
6212      </shortCode>
6213      <tollFree>
6214        <possibleLengths national="2,3,5,6"/>
6215        <exampleNumber>93</exampleNumber>
6216        <nationalNumberPattern>
6217          1(?:
6218            12|
6219            9[2-4]
6220          )|
6221          9[34]|
6222          1(?:
6223            16\d|
6224            39
6225          )\d\d
6226        </nationalNumberPattern>
6227      </tollFree>
6228      <!-- ITU doc says 118XX short codes are directory enquiry services and cost is standard
6229           / premium rate. Adding 118XX to premium rate so that products are aware of the
6230           possibility of premium rate numbers under 118 range. -->
6231      <premiumRate>
6232        <possibleLengths national="5"/>
6233        <exampleNumber>11800</exampleNumber>
6234        <nationalNumberPattern>118\d\d</nationalNumberPattern>
6235      </premiumRate>
6236      <!-- Bonbon users can send free SMS to 13977 short code.
6237           http://www.bonbon.hr/ponuda/pretplata/paketi/ -->
6238      <carrierSpecific>
6239        <possibleLengths national="5"/>
6240        <exampleNumber>13900</exampleNumber>
6241        <nationalNumberPattern>139\d\d</nationalNumberPattern>
6242      </carrierSpecific>
6243      <!-- 93 (fire dep) and 94 (ambulance) don't appear in the latest ITU document, but still on
6244           various websites. Need to verify that they are no longer valid before removing. -->
6245      <emergency>
6246        <possibleLengths national="2,3"/>
6247        <exampleNumber>93</exampleNumber>
6248        <nationalNumberPattern>
6249          1(?:
6250            12|
6251            9[2-4]
6252          )|
6253          9[34]
6254        </nationalNumberPattern>
6255      </emergency>
6256      <expandedEmergency>
6257        <possibleLengths national="3,4,6"/>
6258        <exampleNumber>195</exampleNumber>
6259        <nationalNumberPattern>
6260          195|
6261          1(?:
6262            16\d\d|
6263            98
6264          )\d
6265        </nationalNumberPattern>
6266      </expandedEmergency>
6267      <smsServices>
6268        <possibleLengths national="5"/>
6269        <exampleNumber>13900</exampleNumber>
6270        <nationalNumberPattern>139\d\d</nationalNumberPattern>
6271      </smsServices>
6272    </territory>
6273
6274    <!-- Haiti (HT) -->
6275    <!-- http://www.itu.int/oth/T020200005E/en -->
6276    <territory id="HT">
6277      <generalDesc>
6278        <nationalNumberPattern>
6279          [14]\d\d(?:
6280            \d{2}
6281          )?
6282        </nationalNumberPattern>
6283      </generalDesc>
6284      <shortCode>
6285        <possibleLengths national="3,5"/>
6286        <exampleNumber>114</exampleNumber>
6287        <nationalNumberPattern>
6288          11[48]|
6289          40404
6290        </nationalNumberPattern>
6291      </shortCode>
6292      <tollFree>
6293        <possibleLengths national="3"/>
6294        <exampleNumber>114</exampleNumber>
6295        <nationalNumberPattern>11[48]</nationalNumberPattern>
6296      </tollFree>
6297      <!-- https://support.twitter.com/articles/20170024 -->
6298      <carrierSpecific>
6299        <possibleLengths national="5"/>
6300        <exampleNumber>40400</exampleNumber>
6301        <nationalNumberPattern>404\d\d</nationalNumberPattern>
6302      </carrierSpecific>
6303      <!-- http://studentsabroad.state.gov/content/pdfs/911_ABROAD.pdf -->
6304      <emergency>
6305        <possibleLengths national="3"/>
6306        <exampleNumber>114</exampleNumber>
6307        <nationalNumberPattern>11[48]</nationalNumberPattern>
6308      </emergency>
6309      <!-- https://support.twitter.com/articles/20170024 -->
6310      <smsServices>
6311        <possibleLengths national="5"/>
6312        <exampleNumber>40400</exampleNumber>
6313        <nationalNumberPattern>404\d\d</nationalNumberPattern>
6314      </smsServices>
6315    </territory>
6316
6317    <!-- Hungary (HU) -->
6318    <!-- http://www.itu.int/oth/T0202000061/en -->
6319    <territory id="HU">
6320      <generalDesc>
6321        <nationalNumberPattern>1\d{2,5}</nationalNumberPattern>
6322      </generalDesc>
6323      <shortCode>
6324        <possibleLengths national="[3-6]"/>
6325        <exampleNumber>104</exampleNumber>
6326        <nationalNumberPattern>
6327          1(?:
6328            0[457]|
6329            1(?:
6330              2|
6331              6(?:
6332                000|
6333                1(?:
6334                  11|
6335                  23
6336                )
6337              )|
6338              800
6339            )|
6340            2(?:
6341              0[0-4]|
6342              1[013489]|
6343              2[0-5]|
6344              3[0-46]|
6345              4[0-24-68]|
6346              5[0-2568]|
6347              6[06]|
6348              7[0-25-7]|
6349              8[028]|
6350              9[08]
6351            )|
6352            37(?:
6353              00|
6354              37|
6355              7[07]
6356            )|
6357            4(?:
6358              0[0-5]|
6359              1[013-8]|
6360              2[034]|
6361              3[23]|
6362              4[02-9]|
6363              5(?:
6364                00|
6365                41|
6366                67
6367              )
6368            )|
6369            777|
6370            8(?:
6371              1[27-9]|
6372              2[04]|
6373              40|
6374              [589]
6375            )
6376          )
6377        </nationalNumberPattern>
6378      </shortCode>
6379      <tollFree>
6380        <possibleLengths national="[3-6]"/>
6381        <exampleNumber>104</exampleNumber>
6382        <nationalNumberPattern>
6383          1(?:
6384            0[457]|
6385            12|
6386            4[0-4]\d
6387          )|
6388          1(?:
6389            16\d|
6390            37|
6391            45
6392          )\d\d
6393        </nationalNumberPattern>
6394      </tollFree>
6395      <carrierSpecific>
6396        <possibleLengths national="4,5"/>
6397        <exampleNumber>1200</exampleNumber>
6398        <nationalNumberPattern>
6399          1(?:
6400            4[0-4]|
6401            77
6402          )\d|
6403          1(?:
6404            18|
6405            2|
6406            45
6407          )\d\d
6408        </nationalNumberPattern>
6409      </carrierSpecific>
6410      <emergency>
6411        <possibleLengths national="3"/>
6412        <exampleNumber>104</exampleNumber>
6413        <nationalNumberPattern>
6414          1(?:
6415            0[457]|
6416            12
6417          )
6418        </nationalNumberPattern>
6419      </emergency>
6420      <expandedEmergency>
6421        <possibleLengths national="6"/>
6422        <exampleNumber>116000</exampleNumber>
6423        <nationalNumberPattern>116\d{3}</nationalNumberPattern>
6424      </expandedEmergency>
6425      <smsServices>
6426        <possibleLengths national="4"/>
6427        <exampleNumber>1840</exampleNumber>
6428        <nationalNumberPattern>184\d</nationalNumberPattern>
6429      </smsServices>
6430    </territory>
6431
6432    <!-- Indonesia (ID) -->
6433    <!-- http://en.wikipedia.org/wiki/%2B62 -->
6434    <territory id="ID">
6435      <generalDesc>
6436        <nationalNumberPattern>
6437          [178]\d\d(?:
6438            \d{2,3}
6439          )?
6440        </nationalNumberPattern>
6441      </generalDesc>
6442      <shortCode>
6443        <possibleLengths national="3,5,6"/>
6444        <exampleNumber>110</exampleNumber>
6445        <nationalNumberPattern>
6446          1(?:
6447            1[02389]|
6448            40\d\d|
6449            50264
6450          )|
6451          71400|
6452          89887
6453        </nationalNumberPattern>
6454      </shortCode>
6455      <tollFree>
6456        <possibleLengths national="3"/>
6457        <exampleNumber>110</exampleNumber>
6458        <nationalNumberPattern>11[02389]</nationalNumberPattern>
6459      </tollFree>
6460      <!-- https://support.google.com/plus/answer/1304917 -->
6461      <!-- https://support.twitter.com/articles/20170024 -->
6462      <carrierSpecific>
6463        <possibleLengths national="5"/>
6464        <exampleNumber>71400</exampleNumber>
6465        <nationalNumberPattern>
6466          (?:
6467            714|
6468            898
6469          )\d\d
6470        </nationalNumberPattern>
6471      </carrierSpecific>
6472      <emergency>
6473        <possibleLengths national="3"/>
6474        <exampleNumber>110</exampleNumber>
6475        <nationalNumberPattern>11[02389]</nationalNumberPattern>
6476      </emergency>
6477      <!-- https://support.google.com/plus/answer/1304917 -->
6478      <smsServices>
6479        <possibleLengths national="5"/>
6480        <exampleNumber>71400</exampleNumber>
6481        <nationalNumberPattern>714\d\d</nationalNumberPattern>
6482      </smsServices>
6483    </territory>
6484
6485    <!-- Ireland (IE) -->
6486    <!-- https://www.comreg.ie/csv/downloads/ComReg15136.pdf -->
6487    <territory id="IE">
6488      <generalDesc>
6489        <nationalNumberPattern>[159]\d{2,5}</nationalNumberPattern>
6490      </generalDesc>
6491      <shortCode>
6492        <possibleLengths national="[3-6]"/>
6493        <exampleNumber>112</exampleNumber>
6494        <nationalNumberPattern>
6495          11(?:
6496            2|
6497            6(?:
6498              00[06]|
6499              1(?:
6500                1[17]|
6501                23
6502              )
6503            )
6504          )|
6505          999|
6506          (?:
6507            1(?:
6508              18|
6509              9
6510            )|
6511            5[0137]\d
6512          )\d\d
6513        </nationalNumberPattern>
6514      </shortCode>
6515      <tollFree>
6516        <possibleLengths national="3,6"/>
6517        <exampleNumber>112</exampleNumber>
6518        <nationalNumberPattern>
6519          11(?:
6520            2|
6521            6\d{3}
6522          )|
6523          999
6524        </nationalNumberPattern>
6525      </tollFree>
6526      <standardRate>
6527        <possibleLengths national="5"/>
6528        <exampleNumber>51000</exampleNumber>
6529        <nationalNumberPattern>51\d{3}</nationalNumberPattern>
6530      </standardRate>
6531      <premiumRate>
6532        <possibleLengths national="5"/>
6533        <exampleNumber>53000</exampleNumber>
6534        <nationalNumberPattern>5[37]\d{3}</nationalNumberPattern>
6535      </premiumRate>
6536      <!-- https://support.twitter.com/articles/20170024 -->
6537      <carrierSpecific>
6538        <possibleLengths national="5"/>
6539        <exampleNumber>51210</exampleNumber>
6540        <nationalNumberPattern>51210</nationalNumberPattern>
6541      </carrierSpecific>
6542      <emergency>
6543        <possibleLengths national="3"/>
6544        <exampleNumber>112</exampleNumber>
6545        <nationalNumberPattern>
6546          112|
6547          999
6548        </nationalNumberPattern>
6549      </emergency>
6550      <expandedEmergency>
6551        <possibleLengths national="6"/>
6552        <exampleNumber>116000</exampleNumber>
6553        <nationalNumberPattern>116\d{3}</nationalNumberPattern>
6554      </expandedEmergency>
6555      <!-- https://support.twitter.com/articles/20170024 -->
6556      <smsServices>
6557        <possibleLengths national="5"/>
6558        <exampleNumber>11800</exampleNumber>
6559        <nationalNumberPattern>
6560          51210|
6561          (?:
6562            118|
6563            5[037]\d
6564          )\d\d
6565        </nationalNumberPattern>
6566      </smsServices>
6567    </territory>
6568
6569    <!-- Israel (IL) -->
6570    <!-- http://www.itu.int/oth/T020200006A/en -->
6571    <!-- http://en.wikipedia.org/wiki/%2B972 -->
6572    <territory id="IL">
6573      <generalDesc>
6574        <nationalNumberPattern>[12]\d{2,4}</nationalNumberPattern>
6575      </generalDesc>
6576      <shortCode>
6577        <possibleLengths national="[3-5]"/>
6578        <exampleNumber>100</exampleNumber>
6579        <nationalNumberPattern>
6580          1(?:
6581            0[0-2]|
6582            1(?:
6583              [013-9]\d|
6584              2
6585            )|
6586            [2-9]\d\d
6587          )|
6588          2407|
6589          (?:
6590            104|
6591            27
6592          )00
6593        </nationalNumberPattern>
6594      </shortCode>
6595      <tollFree>
6596        <possibleLengths national="3"/>
6597        <exampleNumber>100</exampleNumber>
6598        <nationalNumberPattern>
6599          1(?:
6600            0[0-2]|
6601            12
6602          )
6603        </nationalNumberPattern>
6604      </tollFree>
6605      <!-- https://support.google.com/plus/answer/1304917 -->
6606      <carrierSpecific>
6607        <possibleLengths national="5"/>
6608        <exampleNumber>10400</exampleNumber>
6609        <nationalNumberPattern>104\d\d</nationalNumberPattern>
6610      </carrierSpecific>
6611      <emergency>
6612        <possibleLengths national="3"/>
6613        <exampleNumber>100</exampleNumber>
6614        <nationalNumberPattern>
6615          1(?:
6616            0[0-2]|
6617            12
6618          )
6619        </nationalNumberPattern>
6620      </emergency>
6621      <!-- https://support.google.com/plus/answer/1304917 -->
6622      <smsServices>
6623        <possibleLengths national="5"/>
6624        <exampleNumber>10400</exampleNumber>
6625        <nationalNumberPattern>104\d\d</nationalNumberPattern>
6626      </smsServices>
6627    </territory>
6628
6629    <!-- Isle of Man (IM) -->
6630    <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_the_United_Kingdom -->
6631    <territory id="IM">
6632      <generalDesc>
6633        <nationalNumberPattern>
6634          [189]\d\d(?:
6635            \d{2,3}
6636          )?
6637        </nationalNumberPattern>
6638      </generalDesc>
6639      <shortCode>
6640        <possibleLengths national="3,5,6"/>
6641        <exampleNumber>100</exampleNumber>
6642        <nationalNumberPattern>
6643          1\d\d(?:
6644            \d{3}
6645          )?|
6646          8(?:
6647            6444|
6648            9887
6649          )|
6650          999
6651        </nationalNumberPattern>
6652      </shortCode>
6653      <tollFree>
6654        <possibleLengths national="3"/>
6655        <exampleNumber>999</exampleNumber>
6656        <nationalNumberPattern>999</nationalNumberPattern>
6657      </tollFree>
6658      <!-- http://www.directory.im/directory_useful.aspx -->
6659      <emergency>
6660        <possibleLengths national="3"/>
6661        <exampleNumber>999</exampleNumber>
6662        <nationalNumberPattern>999</nationalNumberPattern>
6663      </emergency>
6664      <!-- https://support.twitter.com/articles/20170024 -->
6665      <smsServices>
6666        <possibleLengths national="5"/>
6667        <exampleNumber>86400</exampleNumber>
6668        <nationalNumberPattern>
6669          8(?:
6670            64|
6671            98
6672          )\d\d
6673        </nationalNumberPattern>
6674      </smsServices>
6675    </territory>
6676
6677    <!-- India (IN) -->
6678    <!-- http://www.itu.int/oth/T0202000063/en -->
6679    <!-- http://en.wikipedia.org/wiki/%2B91 -->
6680    <!-- http://www.dot.gov.in/access-services/national-numbering-plan-2003 -->
6681    <!-- https://www.telenor.in/public/upload/files/Short-Codes-list.xlsx? -->
6682    <territory id="IN">
6683      <generalDesc>
6684        <nationalNumberPattern>[12578]\d{2,8}</nationalNumberPattern>
6685      </generalDesc>
6686      <!-- 1802 - Virtual Card calling (VCC) codes are actually access codes for making VCC calls as
6687           per http://www.cdothelpline.ernet.in/documents/C-DOT_IN/INS&FDES.PDF. Not adding them to
6688           phone or short number metadata as there are no valid numbers online. Same is the case
6689           with 1804 Account Card Calling (ACC) numbers. -->
6690      <!-- As per telenor.in doc supporting only specific ones with length less than 5 digits.
6691           Simplified the ranges when short code is more than 5 digits. Not adding these short codes
6692           to respective categories because of maintainability. -->
6693      <!-- 5902XXXX short codes were supported based on user report. -->
6694      <shortCode>
6695        <possibleLengths national="[3-9]"/>
6696        <exampleNumber>100</exampleNumber>
6697        <nationalNumberPattern>
6698          1(?:
6699            0(?:
6700              [0-248]|
6701              3[39]|
6702              5(?:
6703                010|
6704                6
6705              )|
6706              6[3468]|
6707              7(?:
6708                [01357]|
6709                [28]0?|
6710                4[01]
6711              )|
6712              9[0135-9]
6713            )|
6714            1(?:
6715              00|
6716              [289]
6717            )|
6718            2(?:
6719              1|
6720              98
6721            )|
6722            3(?:
6723              11|
6724              2[0-2]|
6725              63|
6726              [89]
6727            )|
6728            4[01]|
6729            5(?:
6730              1(?:
6731                0[0-36]|
6732                [127]
6733              )|
6734              54
6735            )|
6736            6(?:
6737              1|
6738              6[01]?
6739            )|
6740            7000|
6741            8[12]|
6742            9(?:
6743              0[013-59]|
6744              12|
6745              25|
6746              4[4-9]\d?|
6747              50|
6748              6[1347]|
6749              [89]
6750            )
6751          )|
6752          2611|
6753          5(?:
6754            0(?:
6755              0(?:
6756                0\d|
6757                1|
6758                20?
6759              )|
6760              325|
6761              5[2-79]\d{3,5}
6762            )|
6763            1(?:
6764              234|
6765              555|
6766              717|
6767              818|
6768              96[49]
6769            )|
6770            2(?:
6771              0(?:
6772                0[01]|
6773                [14]0
6774              )|
6775              151|
6776              555|
6777              666|
6778              888|
6779              9(?:
6780                06|
6781                99\d?
6782              )
6783            )|
6784            3(?:
6785              0[01]0|
6786              131|
6787              553|
6788              (?:
6789                66|
6790                77
6791              )6
6792            )|
6793            (?:
6794              464|
6795              55[05]
6796            )\d{1,3}|
6797            6(?:
6798              070|
6799              3[68]|
6800              43
6801            )|
6802            717\d
6803          )|
6804          777|
6805          800|
6806          5(?:
6807            05(?:
6808              0|
6809              1\d
6810            )|
6811            221|
6812            3(?:
6813              03|
6814              3[23]
6815            )
6816          )\d{1,4}|
6817          5(?:
6818            (?:
6819              04|
6820              88
6821            )0|
6822            2(?:
6823              2[0267]|
6824              3[16]
6825            )|
6826            4(?:
6827              1[04]|
6828              20|
6829              3[02]
6830            )|
6831            5(?:
6832              3[16]|
6833              67
6834            )|
6835            6(?:
6836              06|
6837              [67]\d
6838            )|
6839            787|
6840            9(?:
6841              64|
6842              90
6843            )
6844          )\d\d?|
6845          (?:
6846            1(?:
6847              05[79]|
6848              (?:
6849                1[67][0-2]|
6850                802
6851              )\d|
6852              55[23]
6853            )\d|
6854            5(?:
6855              (?:
6856                00(?:
6857                  0\d|
6858                  1
6859                )|
6860                (?:
6861                  304|
6862                  616
6863                )\d\d
6864              )\d|
6865              1(?:
6866                0[12]|
6867                4[2-4]
6868              )|
6869              2(?:
6870                2[3589]|
6871                3(?:
6872                  1\d{3}|
6873                  2
6874                )|
6875                4[04]|
6876                7[78]
6877              )|
6878              4(?:
6879                [02]4|
6880                32\d{4}|
6881                4[04]|
6882                99
6883              )|
6884              5(?:
6885                1[25]|
6886                [36]5|
6887                4[45]|
6888                93
6889              )|
6890              7(?:
6891                (?:
6892                  17\d|
6893                  57
6894                )\d\d|
6895                [27]7|
6896                88
6897              )|
6898              8(?:
6899                3[4-69]|
6900                4[01]|
6901                5[58]|
6902                88(?:
6903                  8\d\d|
6904                  9
6905                )|
6906                99
6907              )|
6908              9(?:
6909                0(?:
6910                  0|
6911                  2\d{3}
6912                )|
6913                55|
6914                6[67]|
6915                77|
6916                88
6917              )
6918            )
6919          )\d
6920        </nationalNumberPattern>
6921      </shortCode>
6922      <tollFree>
6923        <possibleLengths national="[3-6]"/>
6924        <exampleNumber>100</exampleNumber>
6925        <nationalNumberPattern>
6926          1(?:
6927            0[0-248]|
6928            1[289]|
6929            21|
6930            [39][89]|
6931            4[01]|
6932            6(?:
6933              1|
6934              6\d?
6935            )|
6936            8[12]
6937          )|
6938          777|
6939          800|
6940          1[05]5\d|
6941          1(?:
6942            07|
6943            51|
6944            94
6945          )\d\d?|
6946          (?:
6947            1(?:
6948              [05]5\d|
6949              70
6950            )\d|
6951            261
6952          )\d|
6953          1(?:
6954            0[369]|
6955            10|
6956            29|
6957            3[126]|
6958            9[0-256]
6959          )\d
6960        </nationalNumberPattern>
6961      </tollFree>
6962      <!-- Cost of SMS to 5142[5-9], 514[34]\d and 5757555 is of standard rate. -->
6963      <standardRate>
6964        <possibleLengths national="5,7"/>
6965        <exampleNumber>51425</exampleNumber>
6966        <nationalNumberPattern>
6967          5(?:
6968            14(?:
6969              2[5-9]|
6970              [34]\d
6971            )|
6972            757555
6973          )
6974        </nationalNumberPattern>
6975      </standardRate>
6976      <!-- As per DOT's doc 116 is for "Wakeup call Registration" and 117 for "Wakeup call
6977           Cancellation". Dialling format 11[67] + <hours_in_24_hours_format> + <minutes>. This
6978           service costs double the standard rate.
6979           http://delhi.mtnl.net.in/services/phonewakeup.htm -->
6980      <!-- Added Vodafone number 56161561 based on their website. -->
6981      <premiumRate>
6982        <possibleLengths national="7,8"/>
6983        <exampleNumber>1160000</exampleNumber>
6984        <nationalNumberPattern>
6985          11[67]\d{4}|
6986          56161561
6987        </nationalNumberPattern>
6988      </premiumRate>
6989      <!-- Some numbers are from https://support.twitter.com/articles/20170024. -->
6990      <!-- Added Vodafone numbers 5616117[89] based on user reports. -->
6991      <!-- Added Vodafone number 56161561 based on their website. -->
6992      <carrierSpecific>
6993        <possibleLengths national="[3-8]"/>
6994        <exampleNumber>118</exampleNumber>
6995        <nationalNumberPattern>
6996          1(?:
6997            (?:
6998              1[67]\d\d|
6999              70
7000            )\d\d|
7001            55330|
7002            909
7003          )|
7004          5(?:
7005            300\d|
7006            6161(?:
7007              17[89]|
7008              561
7009            )
7010          )|
7011          1(?:
7012            [19][89]|
7013            21|
7014            4[01]
7015          )
7016        </nationalNumberPattern>
7017      </carrierSpecific>
7018      <emergency>
7019        <possibleLengths national="3,4"/>
7020        <exampleNumber>100</exampleNumber>
7021        <nationalNumberPattern>
7022          1(?:
7023            0[0-28]|
7024            12|
7025            298
7026          )|
7027          2611
7028        </nationalNumberPattern>
7029      </emergency>
7030      <expandedEmergency>
7031        <possibleLengths national="3,4,6"/>
7032        <exampleNumber>181</exampleNumber>
7033        <nationalNumberPattern>
7034          1(?:
7035            0(?:
7036              56|
7037              9[016]
7038            )|
7039            55200|
7040            81
7041          )
7042        </nationalNumberPattern>
7043      </expandedEmergency>
7044      <!-- Added Vodafone numbers 5616117[89] based on user reports. -->
7045      <!-- Added Vodafone number 56161561 based on their website. -->
7046      <smsServices>
7047        <possibleLengths national="[3-5],7,8"/>
7048        <exampleNumber>139</exampleNumber>
7049        <nationalNumberPattern>
7050          1(?:
7051            39|
7052            90[019]
7053          )|
7054          5(?:
7055            14(?:
7056              2[5-9]|
7057              [34]\d
7058            )|
7059            6161(?:
7060              17[89]|
7061              561
7062            )|
7063            757555
7064          )
7065        </nationalNumberPattern>
7066      </smsServices>
7067    </territory>
7068
7069    <!-- Iraq (IQ) -->
7070    <territory id="IQ">
7071      <generalDesc>
7072        <nationalNumberPattern>[1479]\d{2,4}</nationalNumberPattern>
7073      </generalDesc>
7074      <shortCode>
7075        <possibleLengths national="[3-5]"/>
7076        <exampleNumber>100</exampleNumber>
7077        <nationalNumberPattern>
7078          1(?:
7079            0[04]|
7080            15|
7081            22
7082          )|
7083          4432|
7084          71117|
7085          9988
7086        </nationalNumberPattern>
7087      </shortCode>
7088      <tollFree>
7089        <possibleLengths national="3"/>
7090        <exampleNumber>100</exampleNumber>
7091        <nationalNumberPattern>
7092          1(?:
7093            0[04]|
7094            15|
7095            22
7096          )
7097        </nationalNumberPattern>
7098      </tollFree>
7099      <!-- https://support.twitter.com/articles/20170024 -->
7100      <carrierSpecific>
7101        <possibleLengths national="4,5"/>
7102        <exampleNumber>4430</exampleNumber>
7103        <nationalNumberPattern>
7104          (?:
7105            443|
7106            711\d|
7107            998
7108          )\d
7109        </nationalNumberPattern>
7110      </carrierSpecific>
7111      <!-- http://www.itu.int/net/itu-t/inrdb/e129_important_numbers.aspx?country=112 -->
7112      <emergency>
7113        <possibleLengths national="3"/>
7114        <exampleNumber>100</exampleNumber>
7115        <nationalNumberPattern>
7116          1(?:
7117            0[04]|
7118            15|
7119            22
7120          )
7121        </nationalNumberPattern>
7122      </emergency>
7123      <!-- https://support.twitter.com/articles/20170024 -->
7124      <smsServices>
7125        <possibleLengths national="4,5"/>
7126        <exampleNumber>4430</exampleNumber>
7127        <nationalNumberPattern>
7128          (?:
7129            443|
7130            711\d|
7131            998
7132          )\d
7133        </nationalNumberPattern>
7134      </smsServices>
7135    </territory>
7136
7137    <!-- Iran (IR) -->
7138    <!-- http://www.itu.int/oth/T0202000066/en -->
7139    <!-- https://www.itu.int/net/itu-t/inrdb/e129_important_numbers.aspx?country=111 -->
7140    <!-- http://118.tct.ir/necnum.htm -->
7141    <territory id="IR">
7142      <generalDesc>
7143        <nationalNumberPattern>[129]\d{2,5}</nationalNumberPattern>
7144      </generalDesc>
7145      <!-- As per http://118.tct.ir/necnum.htm and http://www.ictna.ir/id/030363/.
7146           Ranges with leading zero (e.g. 096XX and 096XXX) are modelled as UAN numbers. -->
7147      <shortCode>
7148        <possibleLengths national="[3-6]"/>
7149        <exampleNumber>110</exampleNumber>
7150        <nationalNumberPattern>
7151          1(?:
7152            1[0-68]|
7153            2[0-59]|
7154            3[346-8]|
7155            4(?:
7156              [0147]|
7157              [289]0
7158            )|
7159            5(?:
7160              0[14]|
7161              1[02479]|
7162              2[0-3]|
7163              39|
7164              [49]0|
7165              65
7166            )|
7167            6(?:
7168              [16]6|
7169              [27]|
7170              90
7171            )|
7172            8(?:
7173              03|
7174              1[18]|
7175              22|
7176              3[37]|
7177              4[28]|
7178              88|
7179              99
7180            )|
7181            9[0-579]
7182          )|
7183          20(?:
7184            [09]0|
7185            1(?:
7186              [038]|
7187              1[079]|
7188              26|
7189              9[69]
7190            )|
7191            2[01]
7192          )|
7193          9(?:
7194            11|
7195            9(?:
7196              0009|
7197              90
7198            )
7199          )
7200        </nationalNumberPattern>
7201      </shortCode>
7202      <!-- 11X, 12X and 19X are toll-free as these are public and government services. -->
7203      <tollFree>
7204        <possibleLengths national="3"/>
7205        <exampleNumber>110</exampleNumber>
7206        <nationalNumberPattern>
7207          1(?:
7208            1[0-68]|
7209            2[0-59]|
7210            9[0-579]
7211          )|
7212          911
7213        </nationalNumberPattern>
7214      </tollFree>
7215      <!-- 15XX, 18XX are supported as standard rate because the cost depends only on
7216           calling device as per http://www.ictna.ir/id/030363/. -->
7217      <standardRate>
7218        <possibleLengths national="4"/>
7219        <exampleNumber>1500</exampleNumber>
7220        <nationalNumberPattern>
7221          1(?:
7222            5[0-469]|
7223            8[0-489]
7224          )\d
7225        </nationalNumberPattern>
7226      </standardRate>
7227      <!-- As per http://www.ictna.ir/id/030363/, 15XX and 18XX are region specific short codes as
7228           the organizations either need to have office / permission code in order to be
7229           accessible in specific regions. -->
7230      <carrierSpecific>
7231        <possibleLengths national="4,6"/>
7232        <exampleNumber>1500</exampleNumber>
7233        <nationalNumberPattern>
7234          (?:
7235            1(?:
7236              5[0-469]|
7237              8[0-489]
7238            )|
7239            99(?:
7240              0\d\d|
7241              9
7242            )
7243          )\d
7244        </nationalNumberPattern>
7245      </carrierSpecific>
7246      <emergency>
7247        <possibleLengths national="3"/>
7248        <exampleNumber>110</exampleNumber>
7249        <nationalNumberPattern>
7250          1(?:
7251            1[025]|
7252            25
7253          )|
7254          911
7255        </nationalNumberPattern>
7256      </emergency>
7257      <!-- As per http://www.ictna.ir/id/030363/, 121, 122 and 194 are emergency service numbers. -->
7258      <expandedEmergency>
7259        <possibleLengths national="3"/>
7260        <exampleNumber>116</exampleNumber>
7261        <nationalNumberPattern>
7262          1(?:
7263            16|
7264            2[0-3]|
7265            47|
7266            94
7267          )
7268        </nationalNumberPattern>
7269      </expandedEmergency>
7270      <smsServices>
7271        <possibleLengths national="6"/>
7272        <exampleNumber>990000</exampleNumber>
7273        <nationalNumberPattern>990\d{3}</nationalNumberPattern>
7274      </smsServices>
7275    </territory>
7276
7277    <!-- Iceland (IS) -->
7278    <!-- https://www.pfs.is/english/telecom-affairs/numbering/ -->
7279    <territory id="IS">
7280      <generalDesc>
7281        <nationalNumberPattern>
7282          1\d\d(?:
7283            \d(?:
7284              \d{2}
7285            )?
7286          )?
7287        </nationalNumberPattern>
7288      </generalDesc>
7289      <shortCode>
7290        <possibleLengths national="3,4,6"/>
7291        <exampleNumber>112</exampleNumber>
7292        <nationalNumberPattern>
7293          1(?:
7294            1(?:
7295              [28]|
7296              61(?:
7297                16|
7298                23
7299              )
7300            )|
7301            4(?:
7302              00|
7303              1[145]|
7304              4[0146]
7305            )|
7306            55|
7307            7(?:
7308              00|
7309              17|
7310              7[07-9]
7311            )|
7312            8(?:
7313              [02]0|
7314              1[16-9]|
7315              88
7316            )|
7317            900
7318          )
7319        </nationalNumberPattern>
7320      </shortCode>
7321      <tollFree>
7322        <possibleLengths national="3,4"/>
7323        <exampleNumber>112</exampleNumber>
7324        <nationalNumberPattern>
7325          1(?:
7326            12|
7327            71\d
7328          )
7329        </nationalNumberPattern>
7330      </tollFree>
7331      <carrierSpecific>
7332        <possibleLengths national="4"/>
7333        <exampleNumber>1400</exampleNumber>
7334        <nationalNumberPattern>
7335          14(?:
7336            0\d|
7337            41
7338          )
7339        </nationalNumberPattern>
7340      </carrierSpecific>
7341      <emergency>
7342        <possibleLengths national="3"/>
7343        <exampleNumber>112</exampleNumber>
7344        <nationalNumberPattern>112</nationalNumberPattern>
7345      </emergency>
7346      <expandedEmergency>
7347        <possibleLengths national="4,6"/>
7348        <exampleNumber>1770</exampleNumber>
7349        <nationalNumberPattern>
7350          1(?:
7351            16\d{3}|
7352            770
7353          )
7354        </nationalNumberPattern>
7355      </expandedEmergency>
7356      <smsServices>
7357        <possibleLengths national="4"/>
7358        <exampleNumber>1415</exampleNumber>
7359        <nationalNumberPattern>
7360          1(?:
7361            415|
7362            90\d
7363          )
7364        </nationalNumberPattern>
7365      </smsServices>
7366    </territory>
7367
7368    <!-- Italy (IT) -->
7369    <!-- http://www.itu.int/oth/T020200006B/en -->
7370    <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Italy -->
7371    <territory id="IT">
7372      <generalDesc>
7373        <nationalNumberPattern>[14]\d{2,6}</nationalNumberPattern>
7374      </generalDesc>
7375      <shortCode>
7376        <possibleLengths national="[3-7]"/>
7377        <exampleNumber>112</exampleNumber>
7378        <nationalNumberPattern>
7379          1(?:
7380            0\d{2,3}|
7381            1(?:
7382              [2-57-9]|
7383              6(?:
7384                000|
7385                111
7386              )
7387            )|
7388            3[39]|
7389            4(?:
7390              82|
7391              9\d{1,3}
7392            )|
7393            5(?:
7394              00|
7395              1[58]|
7396              2[25]|
7397              3[03]|
7398              44|
7399              [59]
7400            )|
7401            60|
7402            8[67]|
7403            9(?:
7404              [01]|
7405              2[2-9]|
7406              4\d|
7407              696
7408            )
7409          )|
7410          4(?:
7411            2323|
7412            5045
7413          )|
7414          (?:
7415            1(?:
7416              2|
7417              92[01]
7418            )|
7419            4(?:
7420              3(?:
7421                [01]|
7422                [45]\d\d
7423              )|
7424              [478](?:
7425                [0-4]|
7426                [5-9]\d\d
7427              )|
7428              55
7429            )
7430          )\d\d
7431        </nationalNumberPattern>
7432      </shortCode>
7433      <tollFree>
7434        <possibleLengths national="3,6"/>
7435        <exampleNumber>112</exampleNumber>
7436        <nationalNumberPattern>
7437          1(?:
7438            1(?:
7439              [2358]|
7440              6\d{3}
7441            )|
7442            87
7443          )
7444        </nationalNumberPattern>
7445      </tollFree>
7446      <!-- http://clients.txtnation.com/attachments/token/di5kfblvubttvlw/?name=Italy_CASP_EN.pdf -->
7447      <premiumRate>
7448        <possibleLengths national="4,5,7"/>
7449        <exampleNumber>1200</exampleNumber>
7450        <nationalNumberPattern>
7451          (?:
7452            12|
7453            4(?:
7454              [478](?:
7455                [0-4]|
7456                [5-9]\d\d
7457              )|
7458              55
7459            )
7460          )\d\d
7461        </nationalNumberPattern>
7462      </premiumRate>
7463      <emergency>
7464        <possibleLengths national="3"/>
7465        <exampleNumber>112</exampleNumber>
7466        <nationalNumberPattern>11[2358]</nationalNumberPattern>
7467      </emergency>
7468      <expandedEmergency>
7469        <possibleLengths national="[3-6]"/>
7470        <exampleNumber>114</exampleNumber>
7471        <nationalNumberPattern>
7472          1(?:
7473            1[47]|
7474            5(?:
7475              15|
7476              [2-4]\d
7477            )
7478          )|
7479          1(?:
7480            16\d|
7481            96
7482          )\d\d
7483        </nationalNumberPattern>
7484      </expandedEmergency>
7485      <smsServices>
7486        <possibleLengths national="5,7"/>
7487        <exampleNumber>43000</exampleNumber>
7488        <nationalNumberPattern>
7489          4(?:
7490            3(?:
7491              [01]|
7492              [45]\d\d
7493            )|
7494            [478](?:
7495              [0-4]|
7496              [5-9]\d\d
7497            )|
7498            5[05]
7499          )\d\d
7500        </nationalNumberPattern>
7501      </smsServices>
7502    </territory>
7503
7504    <!-- Jersey (JE) -->
7505    <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_the_United_Kingdom -->
7506    <territory id="JE">
7507      <generalDesc>
7508        <nationalNumberPattern>
7509          [129]\d\d(?:
7510            \d(?:
7511              \d{2}
7512            )?
7513          )?
7514        </nationalNumberPattern>
7515      </generalDesc>
7516      <!-- http://www.jcra.je/cms3/v2/public/cmsChild.asp?pageID=1024&childID=1036 -->
7517      <shortCode>
7518        <possibleLengths national="3,4,6"/>
7519        <exampleNumber>100</exampleNumber>
7520        <nationalNumberPattern>
7521          1(?:
7522            00|
7523            1(?:
7524              2|
7525              8\d{3}
7526            )|
7527            23|
7528            4(?:
7529              [14]|
7530              28|
7531              7\d
7532            )|
7533            5\d|
7534            7(?:
7535              0[12]|
7536              [128]|
7537              35?
7538            )|
7539            808|
7540            9[0135]
7541          )|
7542          23[2-4]|
7543          999
7544        </nationalNumberPattern>
7545      </shortCode>
7546      <tollFree>
7547        <possibleLengths national="3"/>
7548        <exampleNumber>112</exampleNumber>
7549        <nationalNumberPattern>
7550          112|
7551          999
7552        </nationalNumberPattern>
7553      </tollFree>
7554      <!-- http://en.wikipedia.org/wiki/Jersey#Emergency_services -->
7555      <emergency>
7556        <possibleLengths national="3"/>
7557        <exampleNumber>112</exampleNumber>
7558        <nationalNumberPattern>
7559          112|
7560          999
7561        </nationalNumberPattern>
7562      </emergency>
7563    </territory>
7564
7565    <!-- Jamaica (JM) -->
7566    <!-- http://www.itu.int/oth/T020200006C/en -->
7567    <territory id="JM">
7568      <generalDesc>
7569        <nationalNumberPattern>[19]\d\d</nationalNumberPattern>
7570      </generalDesc>
7571      <shortCode>
7572        <possibleLengths national="3"/>
7573        <exampleNumber>110</exampleNumber>
7574        <nationalNumberPattern>
7575          1(?:
7576            1[029]|
7577            76
7578          )|
7579          9(?:
7580            11|
7581            88
7582          )
7583        </nationalNumberPattern>
7584      </shortCode>
7585      <tollFree>
7586        <possibleLengths national="3"/>
7587        <exampleNumber>110</exampleNumber>
7588        <nationalNumberPattern>
7589          11[029]|
7590          9(?:
7591            11|
7592            88
7593          )
7594        </nationalNumberPattern>
7595      </tollFree>
7596      <!-- https://support.twitter.com/articles/20170024 -->
7597      <carrierSpecific>
7598        <possibleLengths national="3"/>
7599        <exampleNumber>176</exampleNumber>
7600        <nationalNumberPattern>176</nationalNumberPattern>
7601      </carrierSpecific>
7602      <!-- http://www.itu.int/net/itu-t/inrdb/e129_important_numbers.aspx?country=116 -->
7603      <emergency>
7604        <possibleLengths national="3"/>
7605        <exampleNumber>110</exampleNumber>
7606        <nationalNumberPattern>
7607          11[029]|
7608          911
7609        </nationalNumberPattern>
7610      </emergency>
7611      <expandedEmergency>
7612        <possibleLengths national="3"/>
7613        <exampleNumber>988</exampleNumber>
7614        <nationalNumberPattern>988</nationalNumberPattern>
7615      </expandedEmergency>
7616      <!-- https://support.twitter.com/articles/20170024 -->
7617      <smsServices>
7618        <possibleLengths national="3"/>
7619        <exampleNumber>176</exampleNumber>
7620        <nationalNumberPattern>176</nationalNumberPattern>
7621      </smsServices>
7622    </territory>
7623
7624    <!-- Jordan (JO) -->
7625    <!-- http://www.trc.gov.jo/images/stories/pdf/NNP_ver200[1].pdf?lang=english -->
7626    <!-- http://www.itu.int/oth/T020200006E/en -->
7627    <!-- http://en.wikipedia.org/wiki/%2B962 -->
7628    <territory id="JO">
7629      <generalDesc>
7630        <nationalNumberPattern>
7631          [19]\d\d(?:
7632            \d{2}
7633          )?
7634        </nationalNumberPattern>
7635      </generalDesc>
7636      <shortCode>
7637        <possibleLengths national="3,5"/>
7638        <exampleNumber>102</exampleNumber>
7639        <nationalNumberPattern>
7640          1(?:
7641            0[2359]|
7642            1[0-68]|
7643            9[0-24-79]
7644          )|
7645          9[0-4689]\d{3}|
7646          911
7647        </nationalNumberPattern>
7648      </shortCode>
7649      <tollFree>
7650        <possibleLengths national="3"/>
7651        <exampleNumber>102</exampleNumber>
7652        <nationalNumberPattern>
7653          1(?:
7654            0[235]|
7655            1[2-6]|
7656            9[127]
7657          )|
7658          911
7659        </nationalNumberPattern>
7660      </tollFree>
7661      <premiumRate>
7662        <possibleLengths national="5"/>
7663        <exampleNumber>90000</exampleNumber>
7664        <nationalNumberPattern>9[0-4689]\d{3}</nationalNumberPattern>
7665      </premiumRate>
7666      <!-- https://support.twitter.com/articles/20170024 -->
7667      <carrierSpecific>
7668        <possibleLengths national="5"/>
7669        <exampleNumber>90000</exampleNumber>
7670        <nationalNumberPattern>9[0-4689]\d{3}</nationalNumberPattern>
7671      </carrierSpecific>
7672      <!-- 192 is only available in Amman, 197 in the suburbs. -->
7673      <emergency>
7674        <possibleLengths national="3"/>
7675        <exampleNumber>112</exampleNumber>
7676        <nationalNumberPattern>
7677          1(?:
7678            12|
7679            9[127]
7680          )|
7681          911
7682        </nationalNumberPattern>
7683      </emergency>
7684      <expandedEmergency>
7685        <possibleLengths national="3"/>
7686        <exampleNumber>114</exampleNumber>
7687        <nationalNumberPattern>
7688          1(?:
7689            14|
7690            90
7691          )
7692        </nationalNumberPattern>
7693      </expandedEmergency>
7694      <!-- https://support.twitter.com/articles/20170024 -->
7695      <smsServices>
7696        <possibleLengths national="5"/>
7697        <exampleNumber>90000</exampleNumber>
7698        <nationalNumberPattern>9[0-4689]\d{3}</nationalNumberPattern>
7699      </smsServices>
7700    </territory>
7701
7702    <!-- Japan (JP) -->
7703    <!-- http://www.soumu.go.jp/main_sosiki/joho_tsusin/top/tel_number/number_shitei.html -->
7704    <!-- http://www.numberingplans.com/?page=dialling&sub=areacodes&ac=JP -->
7705    <territory id="JP">
7706      <generalDesc>
7707        <nationalNumberPattern>
7708          [01]\d\d(?:
7709            \d{7}
7710          )?
7711        </nationalNumberPattern>
7712      </generalDesc>
7713      <shortCode>
7714        <possibleLengths national="3,10"/>
7715        <exampleNumber>102</exampleNumber>
7716        <nationalNumberPattern>
7717          000[259]\d{6}|
7718          1(?:
7719            0[24]|
7720            1[089]|
7721            44|
7722            89
7723          )
7724        </nationalNumberPattern>
7725      </shortCode>
7726      <tollFree>
7727        <possibleLengths national="3"/>
7728        <exampleNumber>110</exampleNumber>
7729        <nationalNumberPattern>11[089]</nationalNumberPattern>
7730      </tollFree>
7731      <emergency>
7732        <possibleLengths national="3"/>
7733        <exampleNumber>110</exampleNumber>
7734        <nationalNumberPattern>11[09]</nationalNumberPattern>
7735      </emergency>
7736      <!-- As per confirmations from the carrier (NTTDocomo), these are SMS only short codes,
7737           which are used to interact with respective companies i.e. after scanning the code. -->
7738      <smsServices>
7739        <possibleLengths national="10"/>
7740        <exampleNumber>0002000000</exampleNumber>
7741        <nationalNumberPattern>000[259]\d{6}</nationalNumberPattern>
7742      </smsServices>
7743    </territory>
7744
7745    <!-- Kenya (KE) -->
7746    <!-- http://www.ca.go.ke/images/downloads/NUMBERING/Telecommunication%20Numbering%20Plan%20For%20Kenya%20Feb%202016.Pdf -->
7747    <!-- http://en.wikipedia.org/wiki/+254 -->
7748    <territory id="KE">
7749      <generalDesc>
7750        <nationalNumberPattern>[1-9]\d{2,4}</nationalNumberPattern>
7751      </generalDesc>
7752      <shortCode>
7753        <possibleLengths national="[3-5]"/>
7754        <exampleNumber>100</exampleNumber>
7755        <nationalNumberPattern>
7756          1(?:
7757            0(?:
7758              [07-9]|
7759              1[0-25]|
7760              400
7761            )|
7762            1(?:
7763              [024-6]|
7764              9[0-579]
7765            )|
7766            2[1-3]|
7767            3[01]|
7768            4[14]|
7769            5(?:
7770              [01][01]|
7771              2[0-24-79]|
7772              33|
7773              4[05]|
7774              5[59]|
7775              6(?:
7776                00|
7777                29|
7778                6[67]
7779              )
7780            )|
7781            (?:
7782              6[035]\d|
7783              [78]
7784            )\d|
7785            9(?:
7786              [02-9]\d\d|
7787              19
7788            )
7789          )|
7790          (?:
7791            (?:
7792              2[0-79]|
7793              [37][0-29]|
7794              4[0-4]|
7795              6[2357]|
7796              8\d
7797            )\d|
7798            5(?:
7799              [0-7]\d|
7800              99
7801            )
7802          )\d\d|
7803          9(?:
7804            09\d\d|
7805            99
7806          )|
7807          8988
7808        </nationalNumberPattern>
7809      </shortCode>
7810      <tollFree>
7811        <possibleLengths national="[3-5]"/>
7812        <exampleNumber>112</exampleNumber>
7813        <nationalNumberPattern>
7814          1(?:
7815            1(?:
7816              [246]|
7817              9\d
7818            )|
7819            5(?:
7820              01|
7821              2[127]|
7822              6[26]\d
7823            )
7824          )|
7825          999
7826        </nationalNumberPattern>
7827      </tollFree>
7828      <premiumRate>
7829        <possibleLengths national="5"/>
7830        <exampleNumber>90900</exampleNumber>
7831        <nationalNumberPattern>909\d\d</nationalNumberPattern>
7832      </premiumRate>
7833      <!-- https://support.google.com/plus/answer/1304917 -->
7834      <!-- https://support.twitter.com/articles/20170024 -->
7835      <carrierSpecific>
7836        <possibleLengths national="[3-5]"/>
7837        <exampleNumber>130</exampleNumber>
7838        <nationalNumberPattern>
7839          1(?:
7840            (?:
7841              04|
7842              6[35]
7843            )\d\d|
7844            3[01]|
7845            4[14]|
7846            5(?:
7847              1\d|
7848              2[25]
7849            )
7850          )|
7851          (?:
7852            (?:
7853              2[0-79]|
7854              [37][0-29]|
7855              4[0-4]|
7856              6[2357]|
7857              8\d
7858            )\d|
7859            5(?:
7860              [0-7]\d|
7861              99
7862            )|
7863            909
7864          )\d\d|
7865          898\d
7866        </nationalNumberPattern>
7867      </carrierSpecific>
7868      <!-- http://www.kenyapolice.go.ke/report_a_crime.asp -->
7869      <emergency>
7870        <possibleLengths national="3"/>
7871        <exampleNumber>112</exampleNumber>
7872        <nationalNumberPattern>
7873          11[24]|
7874          999
7875        </nationalNumberPattern>
7876      </emergency>
7877      <expandedEmergency>
7878        <possibleLengths national="3,4"/>
7879        <exampleNumber>110</exampleNumber>
7880        <nationalNumberPattern>
7881          11(?:
7882            [06]|
7883            9\d
7884          )
7885        </nationalNumberPattern>
7886      </expandedEmergency>
7887      <!-- https://support.twitter.com/articles/20170024 -->
7888      <smsServices>
7889        <possibleLengths national="[3-5]"/>
7890        <exampleNumber>141</exampleNumber>
7891        <nationalNumberPattern>
7892          1(?:
7893            (?:
7894              04|
7895              6[035]
7896            )\d\d|
7897            4[14]|
7898            5(?:
7899              01|
7900              55|
7901              6[26]\d
7902            )
7903          )|
7904          40404|
7905          8988|
7906          909\d\d
7907        </nationalNumberPattern>
7908      </smsServices>
7909    </territory>
7910
7911    <!-- Kyrgyzstan (KG) -->
7912    <!-- http://www.itu.int/oth/T0202000074/en -->
7913    <!-- http://www.iru-nelti.org/index/info-app/id.216 -->
7914    <territory id="KG">
7915      <generalDesc>
7916        <nationalNumberPattern>[14]\d{2,3}</nationalNumberPattern>
7917      </generalDesc>
7918      <shortCode>
7919        <possibleLengths national="3,4"/>
7920        <exampleNumber>101</exampleNumber>
7921        <nationalNumberPattern>
7922          10[1-3]|
7923          4040
7924        </nationalNumberPattern>
7925      </shortCode>
7926      <tollFree>
7927        <possibleLengths national="3"/>
7928        <exampleNumber>101</exampleNumber>
7929        <nationalNumberPattern>10[1-3]</nationalNumberPattern>
7930      </tollFree>
7931      <!-- https://support.twitter.com/articles/20170024 -->
7932      <carrierSpecific>
7933        <possibleLengths national="4"/>
7934        <exampleNumber>4040</exampleNumber>
7935        <nationalNumberPattern>404\d</nationalNumberPattern>
7936      </carrierSpecific>
7937      <emergency>
7938        <possibleLengths national="3"/>
7939        <exampleNumber>101</exampleNumber>
7940        <nationalNumberPattern>10[1-3]</nationalNumberPattern>
7941      </emergency>
7942      <!-- https://support.twitter.com/articles/20170024 -->
7943      <smsServices>
7944        <possibleLengths national="4"/>
7945        <exampleNumber>4040</exampleNumber>
7946        <nationalNumberPattern>404\d</nationalNumberPattern>
7947      </smsServices>
7948    </territory>
7949
7950    <!-- Cambodia (KH) -->
7951    <!-- http://www.itu.int/oth/T0202000023/en -->
7952    <!-- http://en.wikipedia.org/wiki/+855 -->
7953    <territory id="KH">
7954      <generalDesc>
7955        <nationalNumberPattern>
7956          [146]\d\d(?:
7957            \d{2}
7958          )?
7959        </nationalNumberPattern>
7960      </generalDesc>
7961      <shortCode>
7962        <possibleLengths national="3,5"/>
7963        <exampleNumber>117</exampleNumber>
7964        <nationalNumberPattern>
7965          11[7-9]|
7966          40404|
7967          666
7968        </nationalNumberPattern>
7969      </shortCode>
7970      <tollFree>
7971        <possibleLengths national="3"/>
7972        <exampleNumber>117</exampleNumber>
7973        <nationalNumberPattern>
7974          11[7-9]|
7975          666
7976        </nationalNumberPattern>
7977      </tollFree>
7978      <!-- https://support.twitter.com/articles/20170024 -->
7979      <carrierSpecific>
7980        <possibleLengths national="5"/>
7981        <exampleNumber>40400</exampleNumber>
7982        <nationalNumberPattern>404\d\d</nationalNumberPattern>
7983      </carrierSpecific>
7984      <!-- http://www.phnompenh.gov.kh/phnom-penh-city-emergency-numbers-24-hrs-169.html -->
7985      <emergency>
7986        <possibleLengths national="3"/>
7987        <exampleNumber>117</exampleNumber>
7988        <nationalNumberPattern>
7989          11[7-9]|
7990          666
7991        </nationalNumberPattern>
7992      </emergency>
7993      <!-- https://support.twitter.com/articles/20170024 -->
7994      <smsServices>
7995        <possibleLengths national="5"/>
7996        <exampleNumber>40400</exampleNumber>
7997        <nationalNumberPattern>404\d\d</nationalNumberPattern>
7998      </smsServices>
7999    </territory>
8000
8001    <!-- Kiribati (KI) -->
8002    <!-- http://www.itu.int/oth/T0202000071/en -->
8003    <!-- http://tskl.net.ki/services has others. -->
8004    <territory id="KI">
8005      <generalDesc>
8006        <nationalNumberPattern>[179]\d{2,3}</nationalNumberPattern>
8007      </generalDesc>
8008      <!-- http://tskl.net.ki/services/3g-4g-rates-offpeaks/quick-dial-credit-checking-codes/
8009           lists 777 as voicemail access. -->
8010      <shortCode>
8011        <possibleLengths national="3,4"/>
8012        <exampleNumber>100</exampleNumber>
8013        <nationalNumberPattern>
8014          1(?:
8015            05[0-259]|
8016            88|
8017            9[2-5]
8018          )|
8019          777|
8020          99[2-4]|
8021          10[0-8]
8022        </nationalNumberPattern>
8023      </shortCode>
8024      <tollFree>
8025        <possibleLengths national="3"/>
8026        <exampleNumber>192</exampleNumber>
8027        <nationalNumberPattern>
8028          19[2-5]|
8029          99[2-4]
8030        </nationalNumberPattern>
8031      </tollFree>
8032      <!-- http://www.tskl.net.ki/910_operator.php - charged at $0.20 per call. -->
8033      <standardRate>
8034        <possibleLengths national="3"/>
8035        <exampleNumber>103</exampleNumber>
8036        <nationalNumberPattern>103</nationalNumberPattern>
8037      </standardRate>
8038      <emergency>
8039        <possibleLengths national="3"/>
8040        <exampleNumber>192</exampleNumber>
8041        <nationalNumberPattern>
8042          19[2-5]|
8043          99[2-4]
8044        </nationalNumberPattern>
8045      </emergency>
8046      <!-- See comment for emergency section. -->
8047      <expandedEmergency>
8048        <possibleLengths national="3"/>
8049        <exampleNumber>188</exampleNumber>
8050        <nationalNumberPattern>188</nationalNumberPattern>
8051      </expandedEmergency>
8052    </territory>
8053
8054    <!-- Comoros (KM) -->
8055    <!-- http://www.itu.int/oth/T020200002D/en -->
8056    <territory id="KM">
8057      <generalDesc>
8058        <nationalNumberPattern>1\d</nationalNumberPattern>
8059      </generalDesc>
8060      <shortCode>
8061        <possibleLengths national="2"/>
8062        <exampleNumber>17</exampleNumber>
8063        <nationalNumberPattern>1[78]</nationalNumberPattern>
8064      </shortCode>
8065      <tollFree>
8066        <possibleLengths national="2"/>
8067        <exampleNumber>17</exampleNumber>
8068        <nationalNumberPattern>1[78]</nationalNumberPattern>
8069      </tollFree>
8070      <!-- http://www.comstbarth.fr/urgences.asp -->
8071      <emergency>
8072        <possibleLengths national="2"/>
8073        <exampleNumber>17</exampleNumber>
8074        <nationalNumberPattern>1[78]</nationalNumberPattern>
8075      </emergency>
8076    </territory>
8077
8078    <!-- St. Kitts & Nevis (KN) -->
8079    <!-- http://www.itu.int/oth/T02020000B0/en -->
8080    <territory id="KN">
8081      <generalDesc>
8082        <nationalNumberPattern>[39]\d\d</nationalNumberPattern>
8083      </generalDesc>
8084      <shortCode>
8085        <possibleLengths national="3"/>
8086        <exampleNumber>333</exampleNumber>
8087        <nationalNumberPattern>
8088          333|
8089          9(?:
8090            11|
8091            88|
8092            99
8093          )
8094        </nationalNumberPattern>
8095      </shortCode>
8096      <tollFree>
8097        <possibleLengths national="3"/>
8098        <exampleNumber>333</exampleNumber>
8099        <nationalNumberPattern>
8100          333|
8101          9(?:
8102            11|
8103            88|
8104            99
8105          )
8106        </nationalNumberPattern>
8107      </tollFree>
8108      <!-- http://www.stkittstourism.kn/explore-st-kitts-facts.php
8109           http://barbados.usembassy.gov/emergency-st_kitts_nevis.html -->
8110      <emergency>
8111        <possibleLengths national="3"/>
8112        <exampleNumber>333</exampleNumber>
8113        <nationalNumberPattern>
8114          333|
8115          9(?:
8116            11|
8117            99
8118          )
8119        </nationalNumberPattern>
8120      </emergency>
8121      <expandedEmergency>
8122        <possibleLengths national="3"/>
8123        <exampleNumber>988</exampleNumber>
8124        <nationalNumberPattern>988</nationalNumberPattern>
8125      </expandedEmergency>
8126    </territory>
8127
8128    <!-- North Korea (KP) -->
8129    <!-- http://north-korea.emergencynumbers.org/ -->
8130    <territory id="KP">
8131      <generalDesc>
8132        <nationalNumberPattern>[18]\d\d</nationalNumberPattern>
8133      </generalDesc>
8134      <shortCode>
8135        <possibleLengths national="3"/>
8136        <exampleNumber>112</exampleNumber>
8137        <nationalNumberPattern>
8138          11[29]|
8139          819
8140        </nationalNumberPattern>
8141      </shortCode>
8142      <tollFree>
8143        <possibleLengths national="3"/>
8144        <exampleNumber>112</exampleNumber>
8145        <nationalNumberPattern>
8146          11[29]|
8147          819
8148        </nationalNumberPattern>
8149      </tollFree>
8150      <emergency>
8151        <possibleLengths national="3"/>
8152        <exampleNumber>112</exampleNumber>
8153        <nationalNumberPattern>
8154          11[29]|
8155          819
8156        </nationalNumberPattern>
8157      </emergency>
8158    </territory>
8159
8160    <!-- South Korea (KR) -->
8161    <!-- http://www.itu.int/oth/T0202000072/en -->
8162    <!-- http://en.wikipedia.org/wiki/%2B82 -->
8163    <territory id="KR">
8164      <generalDesc>
8165        <nationalNumberPattern>1\d{2,4}</nationalNumberPattern>
8166      </generalDesc>
8167      <shortCode>
8168        <possibleLengths national="[3-5]"/>
8169        <exampleNumber>100</exampleNumber>
8170        <nationalNumberPattern>
8171          1(?:
8172            [016-9]114|
8173            3(?:
8174              0[01]|
8175              2|
8176              3[0-35-9]|
8177              45?|
8178              5[057]|
8179              6[569]|
8180              7[79]|
8181              8[2589]|
8182              9[0189]
8183            )
8184          )|
8185          1(?:
8186            0[015]|
8187            1\d|
8188            2[01357-9]|
8189            41|
8190            8[28]
8191          )
8192        </nationalNumberPattern>
8193      </shortCode>
8194      <tollFree>
8195        <possibleLengths national="3,4"/>
8196        <exampleNumber>112</exampleNumber>
8197        <nationalNumberPattern>
8198          1(?:
8199            1[27-9]|
8200            28|
8201            330|
8202            82
8203          )
8204        </nationalNumberPattern>
8205      </tollFree>
8206      <!-- As per https://www.uplus.co.kr/com/main/pemain/PeMain.hpi, <Mobile carrier prefix> +
8207           114 connects to respective carrier customer care. Ex: 19114 for LGU+. Mobile carrier
8208           prefixes are taken from Wikipedia. -->
8209      <carrierSpecific>
8210        <possibleLengths national="3,5"/>
8211        <exampleNumber>100</exampleNumber>
8212        <nationalNumberPattern>
8213          1(?:
8214            0[01]|
8215            1[4-6]|
8216            41
8217          )|
8218          1(?:
8219            [06-9]1\d|
8220            111
8221          )\d
8222        </nationalNumberPattern>
8223      </carrierSpecific>
8224      <emergency>
8225        <possibleLengths national="3"/>
8226        <exampleNumber>112</exampleNumber>
8227        <nationalNumberPattern>11[29]</nationalNumberPattern>
8228      </emergency>
8229      <!-- Added expandedEmergency shortcodes according to non-itu update and wiki page.
8230           https://en.wikipedia.org/wiki/Telephone_numbers_in_South_Korea -->
8231      <expandedEmergency>
8232        <possibleLengths national="3,4"/>
8233        <exampleNumber>111</exampleNumber>
8234        <nationalNumberPattern>
8235          1(?:
8236            1[137]|
8237            2[139]|
8238            3(?:
8239              3[019]|
8240              66|
8241              8[89]|
8242              9[018]
8243            )|
8244            82
8245          )
8246        </nationalNumberPattern>
8247      </expandedEmergency>
8248    </territory>
8249
8250    <!-- Kuwait (KW) -->
8251    <!-- http://www.itu.int/oth/T0202000073/en -->
8252    <territory id="KW">
8253      <generalDesc>
8254        <nationalNumberPattern>
8255          [18]\d\d(?:
8256            \d{2}
8257          )?
8258        </nationalNumberPattern>
8259      </generalDesc>
8260      <shortCode>
8261        <possibleLengths national="3,5"/>
8262        <exampleNumber>100</exampleNumber>
8263        <nationalNumberPattern>
8264          1[0-7]\d|
8265          89887
8266        </nationalNumberPattern>
8267      </shortCode>
8268      <tollFree>
8269        <possibleLengths national="3"/>
8270        <exampleNumber>112</exampleNumber>
8271        <nationalNumberPattern>112</nationalNumberPattern>
8272      </tollFree>
8273      <!-- https://support.twitter.com/articles/20170024 -->
8274      <carrierSpecific>
8275        <possibleLengths national="5"/>
8276        <exampleNumber>89800</exampleNumber>
8277        <nationalNumberPattern>898\d\d</nationalNumberPattern>
8278      </carrierSpecific>
8279      <emergency>
8280        <possibleLengths national="3"/>
8281        <exampleNumber>112</exampleNumber>
8282        <nationalNumberPattern>112</nationalNumberPattern>
8283      </emergency>
8284    </territory>
8285
8286    <!-- Cayman Islands (KY) -->
8287    <!-- http://www.itu.int/oth/T0202000027/en -->
8288    <territory id="KY">
8289      <generalDesc>
8290        <nationalNumberPattern>9\d\d</nationalNumberPattern>
8291      </generalDesc>
8292      <shortCode>
8293        <possibleLengths national="3"/>
8294        <exampleNumber>911</exampleNumber>
8295        <nationalNumberPattern>
8296          9(?:
8297            11|
8298            88
8299          )
8300        </nationalNumberPattern>
8301      </shortCode>
8302      <tollFree>
8303        <possibleLengths national="3"/>
8304        <exampleNumber>911</exampleNumber>
8305        <nationalNumberPattern>
8306          9(?:
8307            11|
8308            88
8309          )
8310        </nationalNumberPattern>
8311      </tollFree>
8312      <emergency>
8313        <possibleLengths national="3"/>
8314        <exampleNumber>911</exampleNumber>
8315        <nationalNumberPattern>911</nationalNumberPattern>
8316      </emergency>
8317      <expandedEmergency>
8318        <possibleLengths national="3"/>
8319        <exampleNumber>988</exampleNumber>
8320        <nationalNumberPattern>988</nationalNumberPattern>
8321      </expandedEmergency>
8322    </territory>
8323
8324    <!-- Kazakhstan (KZ) -->
8325    <!-- http://www.itu.int/oth/T020200006F/en -->
8326    <territory id="KZ">
8327      <generalDesc>
8328        <nationalNumberPattern>[134]\d{2,4}</nationalNumberPattern>
8329      </generalDesc>
8330      <shortCode>
8331        <possibleLengths national="[3-5]"/>
8332        <exampleNumber>101</exampleNumber>
8333        <nationalNumberPattern>
8334          1(?:
8335            0[1-4]|
8336            12
8337          )|
8338          (?:
8339            3040|
8340            404
8341          )0
8342        </nationalNumberPattern>
8343      </shortCode>
8344      <tollFree>
8345        <possibleLengths national="3"/>
8346        <exampleNumber>101</exampleNumber>
8347        <nationalNumberPattern>
8348          1(?:
8349            0[1-3]|
8350            12
8351          )
8352        </nationalNumberPattern>
8353      </tollFree>
8354      <!-- https://support.google.com/plus/answer/1304917 -->
8355      <!-- https://support.twitter.com/articles/20170024 -->
8356      <carrierSpecific>
8357        <possibleLengths national="4,5"/>
8358        <exampleNumber>4040</exampleNumber>
8359        <nationalNumberPattern>
8360          (?:
8361            304\d|
8362            404
8363          )\d
8364        </nationalNumberPattern>
8365      </carrierSpecific>
8366      <emergency>
8367        <possibleLengths national="3"/>
8368        <exampleNumber>101</exampleNumber>
8369        <nationalNumberPattern>
8370          1(?:
8371            0[1-3]|
8372            12
8373          )
8374        </nationalNumberPattern>
8375      </emergency>
8376      <!-- https://support.google.com/plus/answer/1304917 -->
8377      <!-- https://support.twitter.com/articles/20170024 -->
8378      <smsServices>
8379        <possibleLengths national="4,5"/>
8380        <exampleNumber>4040</exampleNumber>
8381        <nationalNumberPattern>
8382          (?:
8383            304\d|
8384            404
8385          )\d
8386        </nationalNumberPattern>
8387      </smsServices>
8388    </territory>
8389
8390    <!-- Laos (LA) -->
8391    <!-- http://www.itu.int/oth/T0202000075/en (Seems incomplete) -->
8392    <!-- http://en.wikipedia.org/wiki/+856 -->
8393    <territory id="LA">
8394      <generalDesc>
8395        <nationalNumberPattern>1\d\d</nationalNumberPattern>
8396      </generalDesc>
8397      <shortCode>
8398        <possibleLengths national="3"/>
8399        <exampleNumber>190</exampleNumber>
8400        <nationalNumberPattern>19[015]</nationalNumberPattern>
8401      </shortCode>
8402      <tollFree>
8403        <possibleLengths national="3"/>
8404        <exampleNumber>190</exampleNumber>
8405        <nationalNumberPattern>19[015]</nationalNumberPattern>
8406      </tollFree>
8407      <!-- http://travel.state.gov/travel/cis_pa_tw/cis/cis_946.html -->
8408      <emergency>
8409        <possibleLengths national="3"/>
8410        <exampleNumber>190</exampleNumber>
8411        <nationalNumberPattern>19[015]</nationalNumberPattern>
8412      </emergency>
8413    </territory>
8414
8415    <!-- Lebanon (LB) -->
8416    <!-- http://www.itu.int/oth/T0202000077/en -->
8417    <!-- http://en.wikipedia.org/wiki/%2B961 -->
8418    <territory id="LB">
8419      <generalDesc>
8420        <nationalNumberPattern>[19]\d\d</nationalNumberPattern>
8421      </generalDesc>
8422      <shortCode>
8423        <possibleLengths national="3"/>
8424        <exampleNumber>112</exampleNumber>
8425        <nationalNumberPattern>
8426          1(?:
8427            12|
8428            40|
8429            75
8430          )|
8431          999
8432        </nationalNumberPattern>
8433      </shortCode>
8434      <tollFree>
8435        <possibleLengths national="3"/>
8436        <exampleNumber>112</exampleNumber>
8437        <nationalNumberPattern>
8438          1(?:
8439            12|
8440            40|
8441            75
8442          )|
8443          999
8444        </nationalNumberPattern>
8445      </tollFree>
8446      <emergency>
8447        <possibleLengths national="3"/>
8448        <exampleNumber>112</exampleNumber>
8449        <nationalNumberPattern>
8450          1(?:
8451            12|
8452            40|
8453            75
8454          )|
8455          999
8456        </nationalNumberPattern>
8457      </emergency>
8458    </territory>
8459
8460    <!-- St. Lucia (LC) -->
8461    <!-- http://www.itu.int/oth/T02020000B1/en -->
8462    <territory id="LC">
8463      <generalDesc>
8464        <nationalNumberPattern>9\d\d</nationalNumberPattern>
8465      </generalDesc>
8466      <shortCode>
8467        <possibleLengths national="3"/>
8468        <exampleNumber>911</exampleNumber>
8469        <nationalNumberPattern>
8470          9(?:
8471            11|
8472            88|
8473            99
8474          )
8475        </nationalNumberPattern>
8476      </shortCode>
8477      <tollFree>
8478        <possibleLengths national="3"/>
8479        <exampleNumber>911</exampleNumber>
8480        <nationalNumberPattern>
8481          9(?:
8482            11|
8483            88|
8484            99
8485          )
8486        </nationalNumberPattern>
8487      </tollFree>
8488      <!-- http://barbados.usembassy.gov/emergency-st_lucia.html
8489           http://www.stlucia.org/planner/travel.asp
8490           Note the second source only mentions 911, so we are not sure if 999 is indeed an
8491           emergency number here. -->
8492      <emergency>
8493        <possibleLengths national="3"/>
8494        <exampleNumber>911</exampleNumber>
8495        <nationalNumberPattern>
8496          9(?:
8497            11|
8498            99
8499          )
8500        </nationalNumberPattern>
8501      </emergency>
8502      <expandedEmergency>
8503        <possibleLengths national="3"/>
8504        <exampleNumber>988</exampleNumber>
8505        <nationalNumberPattern>988</nationalNumberPattern>
8506      </expandedEmergency>
8507    </territory>
8508
8509    <!-- Liechtenstein (LI) -->
8510    <!-- http://www.llv.li/amtsstellen/llv-ak-nummerierung.htm -->
8511    <!-- http://www.llv.li/pdf-llv-ak-shortnumbers_20110331.pdf -->
8512    <territory id="LI">
8513      <generalDesc>
8514        <nationalNumberPattern>1\d{2,3}</nationalNumberPattern>
8515      </generalDesc>
8516      <shortCode>
8517        <possibleLengths national="3,4"/>
8518        <exampleNumber>112</exampleNumber>
8519        <nationalNumberPattern>
8520          1(?:
8521            1(?:
8522              [278]|
8523              45
8524            )|
8525            4[3-57]|
8526            50|
8527            75|
8528            81[18]
8529          )
8530        </nationalNumberPattern>
8531      </shortCode>
8532      <tollFree>
8533        <possibleLengths national="3"/>
8534        <exampleNumber>112</exampleNumber>
8535        <nationalNumberPattern>
8536          1(?:
8537            1[278]|
8538            44
8539          )
8540        </nationalNumberPattern>
8541      </tollFree>
8542      <emergency>
8543        <possibleLengths national="3"/>
8544        <exampleNumber>112</exampleNumber>
8545        <nationalNumberPattern>
8546          1(?:
8547            1[278]|
8548            44
8549          )
8550        </nationalNumberPattern>
8551      </emergency>
8552    </territory>
8553
8554    <!-- Sri Lanka (LK) -->
8555    <!-- http://en.wikipedia.org/wiki/%2B94 -->
8556    <!-- http://www.itu.int/oth/T02020000C3/en -->
8557    <territory id="LK">
8558      <generalDesc>
8559        <nationalNumberPattern>1\d{2,3}</nationalNumberPattern>
8560      </generalDesc>
8561      <shortCode>
8562        <possibleLengths national="3,4"/>
8563        <exampleNumber>110</exampleNumber>
8564        <nationalNumberPattern>
8565          1(?:
8566            1[024-9]|
8567            3(?:
8568              00|
8569              1[2-49]|
8570              2[23]|
8571              3[1-3]|
8572              44|
8573              5[07]|
8574              [67]9|
8575              88|
8576              9[039]
8577            )|
8578            9(?:
8579              0[0-2589]|
8580              1[0-357-9]|
8581              2[0-25689]|
8582              3[0389]|
8583              4[0489]|
8584              5[014-69]|
8585              6[0-2689]|
8586              7[03579]|
8587              8[02457-9]|
8588              9[0-2569]
8589            )
8590          )
8591        </nationalNumberPattern>
8592      </shortCode>
8593      <tollFree>
8594        <possibleLengths national="3"/>
8595        <exampleNumber>110</exampleNumber>
8596        <nationalNumberPattern>11[02689]</nationalNumberPattern>
8597      </tollFree>
8598      <emergency>
8599        <possibleLengths national="3"/>
8600        <exampleNumber>110</exampleNumber>
8601        <nationalNumberPattern>11[02689]</nationalNumberPattern>
8602      </emergency>
8603    </territory>
8604
8605    <!-- Liberia (LR) -->
8606    <!-- http://www.itu.int/oth/T0202000079/en -->
8607    <territory id="LR">
8608      <generalDesc>
8609        <nationalNumberPattern>[3489]\d{2,3}</nationalNumberPattern>
8610      </generalDesc>
8611      <shortCode>
8612        <possibleLengths national="3,4"/>
8613        <exampleNumber>355</exampleNumber>
8614        <nationalNumberPattern>
8615          355|
8616          4040|
8617          8(?:
8618            400|
8619            933
8620          )|
8621          911
8622        </nationalNumberPattern>
8623      </shortCode>
8624      <tollFree>
8625        <possibleLengths national="3"/>
8626        <exampleNumber>355</exampleNumber>
8627        <nationalNumberPattern>
8628          355|
8629          911
8630        </nationalNumberPattern>
8631      </tollFree>
8632      <!-- https://support.google.com/plus/answer/1304917 -->
8633      <!-- https://support.twitter.com/articles/20170024 -->
8634      <carrierSpecific>
8635        <possibleLengths national="4"/>
8636        <exampleNumber>4040</exampleNumber>
8637        <nationalNumberPattern>
8638          (?:
8639            404|
8640            8(?:
8641              40|
8642              93
8643            )
8644          )\d
8645        </nationalNumberPattern>
8646      </carrierSpecific>
8647      <!-- http://travel.state.gov/travel/cis_pa_tw/cis/cis_950.html -->
8648      <emergency>
8649        <possibleLengths national="3"/>
8650        <exampleNumber>355</exampleNumber>
8651        <nationalNumberPattern>
8652          355|
8653          911
8654        </nationalNumberPattern>
8655      </emergency>
8656      <!-- https://support.twitter.com/articles/20170024 -->
8657      <smsServices>
8658        <possibleLengths national="4"/>
8659        <exampleNumber>4040</exampleNumber>
8660        <nationalNumberPattern>
8661          (?:
8662            404|
8663            8(?:
8664              40|
8665              93
8666            )
8667          )\d
8668        </nationalNumberPattern>
8669      </smsServices>
8670    </territory>
8671
8672    <!-- Lesotho (LS) -->
8673    <!-- http://www.itu.int/oth/T0202000078/en -->
8674    <territory id="LS">
8675      <generalDesc>
8676        <nationalNumberPattern>1\d\d</nationalNumberPattern>
8677      </generalDesc>
8678      <shortCode>
8679        <possibleLengths national="3"/>
8680        <exampleNumber>112</exampleNumber>
8681        <nationalNumberPattern>11[257]</nationalNumberPattern>
8682      </shortCode>
8683      <tollFree>
8684        <possibleLengths national="3"/>
8685        <exampleNumber>112</exampleNumber>
8686        <nationalNumberPattern>11[257]</nationalNumberPattern>
8687      </tollFree>
8688      <!-- http://www.nul.ls/students/students_Home/emergency_Nos/
8689           http://www.voyage.gc.ca/countries_pays/report_rapport-eng.asp?id=160000 -->
8690      <emergency>
8691        <possibleLengths national="3"/>
8692        <exampleNumber>112</exampleNumber>
8693        <nationalNumberPattern>11[257]</nationalNumberPattern>
8694      </emergency>
8695    </territory>
8696
8697    <!-- Lithuania (LT) -->
8698    <!-- http://www.itu.int/oth/T020200007C/en -->
8699    <territory id="LT">
8700      <generalDesc>
8701        <nationalNumberPattern>
8702          [01]\d(?:
8703            \d(?:
8704              \d{3}
8705            )?
8706          )?
8707        </nationalNumberPattern>
8708      </generalDesc>
8709      <shortCode>
8710        <possibleLengths national="2,3,6"/>
8711        <exampleNumber>01</exampleNumber>
8712        <nationalNumberPattern>
8713          0(?:
8714            11?|
8715            22?|
8716            33?
8717          )|
8718          1(?:
8719            0[1-3]|
8720            1(?:
8721              [27-9]|
8722              6(?:
8723                000|
8724                1(?:
8725                  1[17]|
8726                  23
8727                )
8728              )
8729            )
8730          )
8731        </nationalNumberPattern>
8732      </shortCode>
8733      <tollFree>
8734        <possibleLengths national="2,3,6"/>
8735        <exampleNumber>01</exampleNumber>
8736        <nationalNumberPattern>
8737          0(?:
8738            11?|
8739            22?|
8740            33?
8741          )|
8742          1(?:
8743            0[1-3]|
8744            1(?:
8745              2|
8746              6111
8747            )
8748          )|
8749          116(?:
8750            0\d|
8751            12
8752          )\d
8753        </nationalNumberPattern>
8754      </tollFree>
8755      <emergency>
8756        <possibleLengths national="2,3"/>
8757        <exampleNumber>01</exampleNumber>
8758        <nationalNumberPattern>
8759          0(?:
8760            11?|
8761            22?|
8762            33?
8763          )|
8764          1(?:
8765            0[1-3]|
8766            12
8767          )
8768        </nationalNumberPattern>
8769      </emergency>
8770      <expandedEmergency>
8771        <possibleLengths national="6"/>
8772        <exampleNumber>116000</exampleNumber>
8773        <nationalNumberPattern>116\d{3}</nationalNumberPattern>
8774      </expandedEmergency>
8775    </territory>
8776
8777    <!-- Luxembourg (LU) -->
8778    <!-- http://www.ilr.public.lu/communications_electroniques/numerotation/index.html -->
8779    <territory id="LU">
8780      <generalDesc>
8781        <nationalNumberPattern>1\d{2,5}</nationalNumberPattern>
8782      </generalDesc>
8783      <shortCode>
8784        <possibleLengths national="[3-6]"/>
8785        <exampleNumber>112</exampleNumber>
8786        <nationalNumberPattern>
8787          11(?:
8788            [23]|
8789            6(?:
8790              000|
8791              111
8792            )
8793          )|
8794          1(?:
8795            18|
8796            [25]\d|
8797            3
8798          )\d\d
8799        </nationalNumberPattern>
8800      </shortCode>
8801      <tollFree>
8802        <possibleLengths national="3,6"/>
8803        <exampleNumber>112</exampleNumber>
8804        <nationalNumberPattern>
8805          11(?:
8806            [23]|
8807            6\d{3}
8808          )
8809        </nationalNumberPattern>
8810      </tollFree>
8811      <emergency>
8812        <possibleLengths national="3"/>
8813        <exampleNumber>112</exampleNumber>
8814        <nationalNumberPattern>11[23]</nationalNumberPattern>
8815      </emergency>
8816      <expandedEmergency>
8817        <possibleLengths national="6"/>
8818        <exampleNumber>116000</exampleNumber>
8819        <nationalNumberPattern>116\d{3}</nationalNumberPattern>
8820      </expandedEmergency>
8821    </territory>
8822
8823    <!-- Latvia (LV) -->
8824    <!-- http://en.wikipedia.org/wiki/+371 -->
8825    <territory id="LV">
8826      <generalDesc>
8827        <nationalNumberPattern>[018]\d{1,5}</nationalNumberPattern>
8828      </generalDesc>
8829      <shortCode>
8830        <possibleLengths national="[2-6]"/>
8831        <exampleNumber>01</exampleNumber>
8832        <nationalNumberPattern>
8833          0[1-4]|
8834          1(?:
8835            1(?:
8836              [02-4]|
8837              6(?:
8838                000|
8839                111
8840              )|
8841              8[0189]
8842            )|
8843            (?:
8844              5|
8845              65
8846            )5|
8847            77
8848          )|
8849          821[57]4
8850        </nationalNumberPattern>
8851      </shortCode>
8852      <!-- http://116000.lv/en/about -->
8853      <tollFree>
8854        <possibleLengths national="2,3,6"/>
8855        <exampleNumber>01</exampleNumber>
8856        <nationalNumberPattern>
8857          0[1-3]|
8858          11(?:
8859            [023]|
8860            6\d{3}
8861          )
8862        </nationalNumberPattern>
8863      </tollFree>
8864      <!-- http://www.ldz.lv/?object_id=2568 - 0.177 LVL per minute. -->
8865      <standardRate>
8866        <possibleLengths national="4"/>
8867        <exampleNumber>1181</exampleNumber>
8868        <nationalNumberPattern>1181</nationalNumberPattern>
8869      </standardRate>
8870      <premiumRate>
8871        <possibleLengths national="4,5"/>
8872        <exampleNumber>1180</exampleNumber>
8873        <nationalNumberPattern>
8874          1180|
8875          821\d\d
8876        </nationalNumberPattern>
8877      </premiumRate>
8878      <carrierSpecific>
8879        <possibleLengths national="4"/>
8880        <exampleNumber>1650</exampleNumber>
8881        <nationalNumberPattern>165\d</nationalNumberPattern>
8882      </carrierSpecific>
8883      <emergency>
8884        <possibleLengths national="2,3"/>
8885        <exampleNumber>01</exampleNumber>
8886        <nationalNumberPattern>
8887          0[1-3]|
8888          11[023]
8889        </nationalNumberPattern>
8890      </emergency>
8891      <expandedEmergency>
8892        <possibleLengths national="3,6"/>
8893        <exampleNumber>155</exampleNumber>
8894        <nationalNumberPattern>
8895          1(?:
8896            16\d{3}|
8897            55
8898          )
8899        </nationalNumberPattern>
8900      </expandedEmergency>
8901    </territory>
8902
8903    <!-- Libya (LY) -->
8904    <territory id="LY">
8905      <generalDesc>
8906        <nationalNumberPattern>1\d\d</nationalNumberPattern>
8907      </generalDesc>
8908      <shortCode>
8909        <possibleLengths national="3"/>
8910        <exampleNumber>190</exampleNumber>
8911        <nationalNumberPattern>19[013]</nationalNumberPattern>
8912      </shortCode>
8913      <tollFree>
8914        <possibleLengths national="3"/>
8915        <exampleNumber>190</exampleNumber>
8916        <nationalNumberPattern>19[013]</nationalNumberPattern>
8917      </tollFree>
8918      <!-- This information may or may not apply to the new government. -->
8919      <!-- Most of the gov.ly domain is down (checked on 2011-11-07). -->
8920      <!-- http://travel.state.gov/travel/cis_pa_tw/cis/cis_951.html -->
8921      <!-- http://www.lookoutlibya.com/Look_Out_Libya_%7C_Health_and_Safety_03.html -->
8922      <emergency>
8923        <possibleLengths national="3"/>
8924        <exampleNumber>190</exampleNumber>
8925        <nationalNumberPattern>19[013]</nationalNumberPattern>
8926      </emergency>
8927    </territory>
8928
8929    <!-- Morocco (MA) -->
8930    <!-- Shares formatting and some metadata with Western Sahara. -->
8931    <!-- http://www.itu.int/oth/T0202000090/en -->
8932    <!-- http://en.wikipedia.org/wiki/+212 -->
8933    <territory id="MA">
8934      <generalDesc>
8935        <nationalNumberPattern>1\d\d?</nationalNumberPattern>
8936      </generalDesc>
8937      <shortCode>
8938        <possibleLengths national="2,3"/>
8939        <exampleNumber>15</exampleNumber>
8940        <nationalNumberPattern>
8941          1(?:
8942            [59]|
8943            77
8944          )
8945        </nationalNumberPattern>
8946      </shortCode>
8947      <tollFree>
8948        <possibleLengths national="2,3"/>
8949        <exampleNumber>15</exampleNumber>
8950        <nationalNumberPattern>
8951          1(?:
8952            [59]|
8953            77
8954          )
8955        </nationalNumberPattern>
8956      </tollFree>
8957      <emergency>
8958        <possibleLengths national="2,3"/>
8959        <exampleNumber>15</exampleNumber>
8960        <nationalNumberPattern>
8961          1(?:
8962            [59]|
8963            77
8964          )
8965        </nationalNumberPattern>
8966      </emergency>
8967    </territory>
8968
8969    <!-- Monaco (MC) -->
8970    <!-- http://www.itu.int/oth/T020200008D/en -->
8971    <territory id="MC">
8972      <generalDesc>
8973        <nationalNumberPattern>1\d\d?</nationalNumberPattern>
8974      </generalDesc>
8975      <shortCode>
8976        <possibleLengths national="2,3"/>
8977        <exampleNumber>15</exampleNumber>
8978        <nationalNumberPattern>
8979          1(?:
8980            12|
8981            41|
8982            [578]
8983          )
8984        </nationalNumberPattern>
8985      </shortCode>
8986      <tollFree>
8987        <possibleLengths national="2,3"/>
8988        <exampleNumber>15</exampleNumber>
8989        <nationalNumberPattern>
8990          1(?:
8991            12|
8992            [578]
8993          )
8994        </nationalNumberPattern>
8995      </tollFree>
8996      <emergency>
8997        <possibleLengths national="2,3"/>
8998        <exampleNumber>15</exampleNumber>
8999        <nationalNumberPattern>
9000          1(?:
9001            12|
9002            [578]
9003          )
9004        </nationalNumberPattern>
9005      </emergency>
9006    </territory>
9007
9008    <!-- Moldova (MD) -->
9009    <!-- http://www.itu.int/oth/T020200008C/en -->
9010    <!-- http://en.anrceti.md -->
9011    <territory id="MD">
9012      <generalDesc>
9013        <nationalNumberPattern>[19]\d{2,5}</nationalNumberPattern>
9014      </generalDesc>
9015      <!-- According to ITU, all of 19xx may be assigned for access to data transport services,
9016           but usage is not clear so we do not include the whole range at this time. 17xx which
9017           is assigned to routing numbers is also not included. -->
9018      <!-- http://www.idknet.com/mobile/sms/ -->
9019      <shortCode>
9020        <possibleLengths national="[3-6]"/>
9021        <exampleNumber>112</exampleNumber>
9022        <nationalNumberPattern>
9023          1(?:
9024            1(?:
9025              2|
9026              6(?:
9027                00[06]|
9028                1(?:
9029                  1[17]|
9030                  23
9031                )
9032              )|
9033              8\d\d?|
9034              99
9035            )|
9036            90[04-9]
9037          )|
9038          90[1-3]|
9039          1(?:
9040            4\d\d|
9041            6[0-389]|
9042            9[1-4]
9043          )\d
9044        </nationalNumberPattern>
9045      </shortCode>
9046      <tollFree>
9047        <possibleLengths national="3,6"/>
9048        <exampleNumber>112</exampleNumber>
9049        <nationalNumberPattern>
9050          11(?:
9051            2|
9052            6(?:
9053              000|
9054              1(?:
9055                11|
9056                2\d
9057              )
9058            )
9059          )|
9060          90[1-3]
9061        </nationalNumberPattern>
9062      </tollFree>
9063      <emergency>
9064        <possibleLengths national="3"/>
9065        <exampleNumber>112</exampleNumber>
9066        <nationalNumberPattern>
9067          112|
9068          90[1-3]
9069        </nationalNumberPattern>
9070      </emergency>
9071      <expandedEmergency>
9072        <possibleLengths national="6"/>
9073        <exampleNumber>116006</exampleNumber>
9074        <nationalNumberPattern>
9075          116(?:
9076            006|
9077            117
9078          )
9079        </nationalNumberPattern>
9080      </expandedEmergency>
9081    </territory>
9082
9083    <!-- Montenegro (ME) -->
9084    <!-- http://www.itu.int/oth/T02020000DA/en -->
9085    <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Montenegro -->
9086    <!-- http://www.ekip.me/numeracija/dodijeljena.php -->
9087    <territory id="ME">
9088      <generalDesc>
9089        <nationalNumberPattern>1\d{2,5}</nationalNumberPattern>
9090      </generalDesc>
9091      <shortCode>
9092        <possibleLengths national="[3-6]"/>
9093        <exampleNumber>112</exampleNumber>
9094        <nationalNumberPattern>
9095          1(?:
9096            1(?:
9097              (?:
9098                [013-57-9]|
9099                6\d\d
9100              )\d|
9101              2
9102            )|
9103            [249]\d{3}|
9104            5999|
9105            8(?:
9106              0[089]|
9107              1[0-8]|
9108              888
9109            )
9110          )|
9111          1(?:
9112            [02-5]\d\d|
9113            60[06]|
9114            700
9115          )|
9116          12\d
9117        </nationalNumberPattern>
9118      </shortCode>
9119      <tollFree>
9120        <possibleLengths national="3"/>
9121        <exampleNumber>112</exampleNumber>
9122        <nationalNumberPattern>
9123          1(?:
9124            12|
9125            2[2-4]
9126          )
9127        </nationalNumberPattern>
9128      </tollFree>
9129      <emergency>
9130        <possibleLengths national="3"/>
9131        <exampleNumber>112</exampleNumber>
9132        <nationalNumberPattern>
9133          1(?:
9134            12|
9135            2[2-4]
9136          )
9137        </nationalNumberPattern>
9138      </emergency>
9139    </territory>
9140
9141    <!-- St. Martin (MF) -->
9142    <!-- http://www.itu.int/oth/T0202000058/en -->
9143    <!-- http://www.arcep.fr/index.php?id=interactivenumeros - ZABPQ-ZNE.xls -->
9144    <territory id="MF">
9145      <generalDesc>
9146        <nationalNumberPattern>1\d</nationalNumberPattern>
9147      </generalDesc>
9148      <shortCode>
9149        <possibleLengths national="2"/>
9150        <exampleNumber>15</exampleNumber>
9151        <nationalNumberPattern>1[578]</nationalNumberPattern>
9152      </shortCode>
9153      <tollFree>
9154        <possibleLengths national="2"/>
9155        <exampleNumber>15</exampleNumber>
9156        <nationalNumberPattern>1[578]</nationalNumberPattern>
9157      </tollFree>
9158      <!-- http://www.leshotelsdesaintmartin.com/fr/saint-martin-antilles/informations-saint-martin/infos-pratiques-sxm.html -->
9159      <emergency>
9160        <possibleLengths national="2"/>
9161        <exampleNumber>15</exampleNumber>
9162        <nationalNumberPattern>1[578]</nationalNumberPattern>
9163      </emergency>
9164    </territory>
9165
9166    <!-- Madagascar (MG) -->
9167    <!-- http://www.itu.int/oth/T020200007F/en -->
9168    <territory id="MG">
9169      <generalDesc>
9170        <nationalNumberPattern>1\d\d?</nationalNumberPattern>
9171      </generalDesc>
9172      <shortCode>
9173        <possibleLengths national="2,3"/>
9174        <exampleNumber>17</exampleNumber>
9175        <nationalNumberPattern>
9176          1(?:
9177            1[78]|
9178            [78]
9179          )
9180        </nationalNumberPattern>
9181      </shortCode>
9182      <tollFree>
9183        <possibleLengths national="2,3"/>
9184        <exampleNumber>17</exampleNumber>
9185        <nationalNumberPattern>
9186          1(?:
9187            1[78]|
9188            [78]
9189          )
9190        </nationalNumberPattern>
9191      </tollFree>
9192      <!-- http://www.commerce.gov.mg/index.php/infos-services -->
9193      <emergency>
9194        <possibleLengths national="2,3"/>
9195        <exampleNumber>17</exampleNumber>
9196        <nationalNumberPattern>
9197          1(?:
9198            1[78]|
9199            [78]
9200          )
9201        </nationalNumberPattern>
9202      </emergency>
9203    </territory>
9204
9205    <!-- Marshall Islands (MH) -->
9206    <!-- http://travel.state.gov/travel/cis_pa_tw/cis/cis_964.html -->
9207    <territory id="MH">
9208      <generalDesc>
9209        <nationalNumberPattern>9\d\d</nationalNumberPattern>
9210      </generalDesc>
9211      <shortCode>
9212        <possibleLengths national="3"/>
9213        <exampleNumber>911</exampleNumber>
9214        <nationalNumberPattern>911</nationalNumberPattern>
9215      </shortCode>
9216      <tollFree>
9217        <possibleLengths national="3"/>
9218        <exampleNumber>911</exampleNumber>
9219        <nationalNumberPattern>911</nationalNumberPattern>
9220      </tollFree>
9221      <!-- http://travel.state.gov/travel/cis_pa_tw/cis/cis_964.html -->
9222      <!-- Two fixed-line numbers (625 4111 and 625 8666) serve as emergency numbers in addition
9223           to the following short number. -->
9224      <emergency>
9225        <possibleLengths national="3"/>
9226        <exampleNumber>911</exampleNumber>
9227        <nationalNumberPattern>911</nationalNumberPattern>
9228      </emergency>
9229    </territory>
9230
9231    <!-- North Macedonia (MK) -->
9232    <!-- http://www.itu.int/oth/T02020000CE/en -->
9233    <territory id="MK">
9234      <generalDesc>
9235        <nationalNumberPattern>
9236          1\d\d(?:
9237            \d(?:
9238              \d{2}
9239            )?
9240          )?
9241        </nationalNumberPattern>
9242      </generalDesc>
9243      <shortCode>
9244        <possibleLengths national="3,4,6"/>
9245        <exampleNumber>112</exampleNumber>
9246        <nationalNumberPattern>
9247          1(?:
9248            1(?:
9249              2|
9250              8\d
9251            )|
9252            3\d|
9253            9[2-4]
9254          )|
9255          1(?:
9256            16|
9257            2\d
9258          )\d{3}
9259        </nationalNumberPattern>
9260      </shortCode>
9261      <tollFree>
9262        <possibleLengths national="3,6"/>
9263        <exampleNumber>112</exampleNumber>
9264        <nationalNumberPattern>
9265          1(?:
9266            1(?:
9267              2|
9268              6\d{3}
9269            )|
9270            9[2-4]
9271          )
9272        </nationalNumberPattern>
9273      </tollFree>
9274      <emergency>
9275        <possibleLengths national="3"/>
9276        <exampleNumber>112</exampleNumber>
9277        <nationalNumberPattern>
9278          1(?:
9279            12|
9280            9[2-4]
9281          )
9282        </nationalNumberPattern>
9283      </emergency>
9284      <expandedEmergency>
9285        <possibleLengths national="6"/>
9286        <exampleNumber>116000</exampleNumber>
9287        <nationalNumberPattern>116\d{3}</nationalNumberPattern>
9288      </expandedEmergency>
9289    </territory>
9290
9291    <!-- Mali (ML) -->
9292    <!-- http://crt-mali.org/pdf/plan_num -->
9293    <!-- http://www.orangemali.com/mobile/offrespostpayees.php -->
9294    <!-- http://www.orangemali.com/service-clients/service-clients-orange.php -->
9295    <territory id="ML">
9296      <generalDesc>
9297        <nationalNumberPattern>[136-8]\d{1,4}</nationalNumberPattern>
9298      </generalDesc>
9299      <!-- Numbers have come from the pages listed above, along with the short-codes to find your
9300           voting location published in Mali newspapers such as www.malijet.com. These begin with
9301           36. -->
9302      <shortCode>
9303        <possibleLengths national="[2-5]"/>
9304        <exampleNumber>15</exampleNumber>
9305        <nationalNumberPattern>
9306          1(?:
9307            1(?:
9308              [013-9]\d|
9309              2
9310            )|
9311            2(?:
9312              1[02-469]|
9313              2[13]
9314            )|
9315            [578]
9316          )|
9317          350(?:
9318            35|
9319            57
9320          )|
9321          67(?:
9322            0[09]|
9323            [59]9|
9324            77|
9325            8[89]
9326          )|
9327          74(?:
9328            0[02]|
9329            44|
9330            55
9331          )|
9332          800[0-2][12]|
9333          3(?:
9334            52|
9335            [67]\d
9336          )\d\d
9337        </nationalNumberPattern>
9338      </shortCode>
9339      <!-- http://www.malitel.ml/Particuliers/Mobile/Pages/Waatibe.aspx says 6700 is free,
9340           http://www.malitel.ml/Particuliers/Mobile/Pages/MessagerieVocale.aspx says 6777 is
9341           free. -->
9342      <tollFree>
9343        <possibleLengths national="2,4,5"/>
9344        <exampleNumber>15</exampleNumber>
9345        <nationalNumberPattern>
9346          1[578]|
9347          (?:
9348            352|
9349            67
9350          )00|
9351          7402|
9352          (?:
9353            677|
9354            744|
9355            8000
9356          )\d
9357        </nationalNumberPattern>
9358      </tollFree>
9359      <!-- 7400 is listed by Orange as costing half the price of a normal SMS. 37433 is cheaper
9360           than other voice calls, with the exception of Orange network off-peak calls; it is
9361           roughly the same price as that. 37575 is similar to normal SMSs. -->
9362      <standardRate>
9363        <possibleLengths national="4,5"/>
9364        <exampleNumber>7400</exampleNumber>
9365        <nationalNumberPattern>
9366          37(?:
9367            433|
9368            575
9369          )|
9370          7400|
9371          8001\d
9372        </nationalNumberPattern>
9373      </standardRate>
9374      <!-- Adding the codes to "services à valeur ajoutée" from http://crt-mali.org/pdf/plan_num,
9375           plus any other numbers found online where the prices are really high. -->
9376      <premiumRate>
9377        <possibleLengths national="4,5"/>
9378        <exampleNumber>1220</exampleNumber>
9379        <nationalNumberPattern>
9380          (?:
9381            12|
9382            800
9383          )2\d|
9384          3(?:
9385            52(?:
9386              11|
9387              2[02]|
9388              3[04-6]|
9389              99
9390            )|
9391            7574
9392          )
9393        </nationalNumberPattern>
9394      </premiumRate>
9395      <!-- 35035 found on http://www.malitel.ml/Pages/News.aspx?IdNews=4 -->
9396      <carrierSpecific>
9397        <possibleLengths national="5"/>
9398        <exampleNumber>35030</exampleNumber>
9399        <nationalNumberPattern>
9400          3503\d|
9401          (?:
9402            3[67]\d|
9403            800
9404          )\d\d
9405        </nationalNumberPattern>
9406      </carrierSpecific>
9407      <emergency>
9408        <possibleLengths national="2"/>
9409        <exampleNumber>15</exampleNumber>
9410        <nationalNumberPattern>1[578]</nationalNumberPattern>
9411      </emergency>
9412      <smsServices>
9413        <possibleLengths national="4,5"/>
9414        <exampleNumber>7400</exampleNumber>
9415        <nationalNumberPattern>
9416          374(?:
9417            0[24-9]|
9418            [1-9]\d
9419          )|
9420          7400|
9421          3(?:
9422            6\d|
9423            75
9424          )\d\d
9425        </nationalNumberPattern>
9426      </smsServices>
9427    </territory>
9428
9429    <!-- Myanmar (Burma) (MM) -->
9430    <!-- http://www.itu.int/oth/T0202000092/en -->
9431    <territory id="MM">
9432      <generalDesc>
9433        <nationalNumberPattern>1\d\d</nationalNumberPattern>
9434      </generalDesc>
9435      <shortCode>
9436        <possibleLengths national="3"/>
9437        <exampleNumber>199</exampleNumber>
9438        <nationalNumberPattern>199</nationalNumberPattern>
9439      </shortCode>
9440      <tollFree>
9441        <possibleLengths national="3"/>
9442        <exampleNumber>199</exampleNumber>
9443        <nationalNumberPattern>199</nationalNumberPattern>
9444      </tollFree>
9445      <emergency>
9446        <possibleLengths national="3"/>
9447        <exampleNumber>199</exampleNumber>
9448        <nationalNumberPattern>199</nationalNumberPattern>
9449      </emergency>
9450    </territory>
9451
9452    <!-- Mongolia (MN) -->
9453    <!-- http://www.itu.int/oth/T020200008E/en -->
9454    <territory id="MN">
9455      <generalDesc>
9456        <nationalNumberPattern>1\d\d</nationalNumberPattern>
9457      </generalDesc>
9458      <shortCode>
9459        <possibleLengths national="3"/>
9460        <exampleNumber>100</exampleNumber>
9461        <nationalNumberPattern>10[0-35]</nationalNumberPattern>
9462      </shortCode>
9463      <tollFree>
9464        <possibleLengths national="3"/>
9465        <exampleNumber>100</exampleNumber>
9466        <nationalNumberPattern>10[0-35]</nationalNumberPattern>
9467      </tollFree>
9468      <emergency>
9469        <possibleLengths national="3"/>
9470        <exampleNumber>100</exampleNumber>
9471        <nationalNumberPattern>10[0-35]</nationalNumberPattern>
9472      </emergency>
9473    </territory>
9474
9475    <!-- Macao (MO) -->
9476    <!-- http://www.itu.int/oth/T020200007E/en -->
9477    <territory id="MO">
9478      <generalDesc>
9479        <nationalNumberPattern>9\d\d</nationalNumberPattern>
9480      </generalDesc>
9481      <shortCode>
9482        <possibleLengths national="3"/>
9483        <exampleNumber>999</exampleNumber>
9484        <nationalNumberPattern>999</nationalNumberPattern>
9485      </shortCode>
9486      <tollFree>
9487        <possibleLengths national="3"/>
9488        <exampleNumber>999</exampleNumber>
9489        <nationalNumberPattern>999</nationalNumberPattern>
9490      </tollFree>
9491      <emergency>
9492        <possibleLengths national="3"/>
9493        <exampleNumber>999</exampleNumber>
9494        <nationalNumberPattern>999</nationalNumberPattern>
9495      </emergency>
9496    </territory>
9497
9498    <!-- Northern Mariana Islands (MP) -->
9499    <!-- http://www.itu.int/oth/T02020000EE/en -->
9500    <!-- www.cnmiphonebook.com/ -->
9501    <territory id="MP">
9502      <generalDesc>
9503        <nationalNumberPattern>9\d\d</nationalNumberPattern>
9504      </generalDesc>
9505      <shortCode>
9506        <possibleLengths national="3"/>
9507        <exampleNumber>911</exampleNumber>
9508        <nationalNumberPattern>
9509          9(?:
9510            11|
9511            88
9512          )
9513        </nationalNumberPattern>
9514      </shortCode>
9515      <tollFree>
9516        <possibleLengths national="3"/>
9517        <exampleNumber>911</exampleNumber>
9518        <nationalNumberPattern>
9519          9(?:
9520            11|
9521            88
9522          )
9523        </nationalNumberPattern>
9524      </tollFree>
9525      <!-- http://www.dps.gov.mp/ -->
9526      <emergency>
9527        <possibleLengths national="3"/>
9528        <exampleNumber>911</exampleNumber>
9529        <nationalNumberPattern>911</nationalNumberPattern>
9530      </emergency>
9531      <expandedEmergency>
9532        <possibleLengths national="3"/>
9533        <exampleNumber>988</exampleNumber>
9534        <nationalNumberPattern>988</nationalNumberPattern>
9535      </expandedEmergency>
9536    </territory>
9537
9538    <!-- Martinique (MQ) -->
9539    <!-- http://www.itu.int/oth/T0202000086/en -->
9540    <!-- http://www.arcep.fr/index.php?id=2137&bloc=0596&CMD=RESULTS_NUMEROTATION -->
9541    <territory id="MQ">
9542      <generalDesc>
9543        <nationalNumberPattern>1\d\d?</nationalNumberPattern>
9544      </generalDesc>
9545      <shortCode>
9546        <possibleLengths national="2,3"/>
9547        <exampleNumber>15</exampleNumber>
9548        <nationalNumberPattern>
9549          1(?:
9550            12|
9551            [578]
9552          )
9553        </nationalNumberPattern>
9554      </shortCode>
9555      <tollFree>
9556        <possibleLengths national="2,3"/>
9557        <exampleNumber>15</exampleNumber>
9558        <nationalNumberPattern>
9559          1(?:
9560            12|
9561            [578]
9562          )
9563        </nationalNumberPattern>
9564      </tollFree>
9565      <!-- http://www.martinique.franceantilles.fr/pratique/urgences/ -->
9566      <emergency>
9567        <possibleLengths national="2,3"/>
9568        <exampleNumber>15</exampleNumber>
9569        <nationalNumberPattern>
9570          1(?:
9571            12|
9572            [578]
9573          )
9574        </nationalNumberPattern>
9575      </emergency>
9576    </territory>
9577
9578    <!-- Mauritania (MR) -->
9579    <!-- http://www.itu.int/oth/T0202000087/en -->
9580    <!-- http://www.are.mr/com-1-4-1.html -->
9581    <territory id="MR">
9582      <generalDesc>
9583        <nationalNumberPattern>1\d</nationalNumberPattern>
9584      </generalDesc>
9585      <shortCode>
9586        <possibleLengths national="2"/>
9587        <exampleNumber>17</exampleNumber>
9588        <nationalNumberPattern>1[78]</nationalNumberPattern>
9589      </shortCode>
9590      <tollFree>
9591        <possibleLengths national="2"/>
9592        <exampleNumber>17</exampleNumber>
9593        <nationalNumberPattern>1[78]</nationalNumberPattern>
9594      </tollFree>
9595      <!-- http://www.lemoci.com/Mauritanie/14-Donnees-generales.htm -->
9596      <emergency>
9597        <possibleLengths national="2"/>
9598        <exampleNumber>17</exampleNumber>
9599        <nationalNumberPattern>1[78]</nationalNumberPattern>
9600      </emergency>
9601    </territory>
9602
9603    <!-- Montserrat (MS) -->
9604    <!-- http://www.itu.int/oth/T020200008F/en -->
9605    <territory id="MS">
9606      <generalDesc>
9607        <nationalNumberPattern>[29]\d\d</nationalNumberPattern>
9608      </generalDesc>
9609      <shortCode>
9610        <possibleLengths national="3"/>
9611        <exampleNumber>211</exampleNumber>
9612        <nationalNumberPattern>
9613          211|
9614          9(?:
9615            11|
9616            88|
9617            99
9618          )
9619        </nationalNumberPattern>
9620      </shortCode>
9621      <tollFree>
9622        <possibleLengths national="3"/>
9623        <exampleNumber>911</exampleNumber>
9624        <nationalNumberPattern>
9625          9(?:
9626            11|
9627            88|
9628            99
9629          )
9630        </nationalNumberPattern>
9631      </tollFree>
9632      <!-- http://studentsabroad.state.gov/content/pdfs/911_ABROAD.pdf -->
9633      <emergency>
9634        <possibleLengths national="3"/>
9635        <exampleNumber>911</exampleNumber>
9636        <nationalNumberPattern>
9637          9(?:
9638            11|
9639            99
9640          )
9641        </nationalNumberPattern>
9642      </emergency>
9643      <expandedEmergency>
9644        <possibleLengths national="3"/>
9645        <exampleNumber>988</exampleNumber>
9646        <nationalNumberPattern>988</nationalNumberPattern>
9647      </expandedEmergency>
9648    </territory>
9649
9650    <!-- Malta (MT) -->
9651    <!-- www.itu.int/oth/T0202000084/en -->
9652    <territory id="MT">
9653      <generalDesc>
9654        <nationalNumberPattern>
9655          1\d\d(?:
9656            \d{3}
9657          )?
9658        </nationalNumberPattern>
9659      </generalDesc>
9660      <shortCode>
9661        <possibleLengths national="3,6"/>
9662        <exampleNumber>112</exampleNumber>
9663        <nationalNumberPattern>
9664          11(?:
9665            2|
9666            6(?:
9667              000|
9668              1(?:
9669                11|
9670                23
9671              )
9672            )
9673          )
9674        </nationalNumberPattern>
9675      </shortCode>
9676      <tollFree>
9677        <possibleLengths national="3,6"/>
9678        <exampleNumber>112</exampleNumber>
9679        <nationalNumberPattern>
9680          11(?:
9681            2|
9682            6\d{3}
9683          )
9684        </nationalNumberPattern>
9685      </tollFree>
9686      <emergency>
9687        <possibleLengths national="3"/>
9688        <exampleNumber>112</exampleNumber>
9689        <nationalNumberPattern>112</nationalNumberPattern>
9690      </emergency>
9691      <expandedEmergency>
9692        <possibleLengths national="6"/>
9693        <exampleNumber>116000</exampleNumber>
9694        <nationalNumberPattern>116\d{3}</nationalNumberPattern>
9695      </expandedEmergency>
9696    </territory>
9697
9698    <!-- Mauritius (MU) -->
9699    <!-- http://www.icta.mu/telecommunications/numbering.htm -->
9700    <territory id="MU">
9701      <generalDesc>
9702        <nationalNumberPattern>[189]\d{2,4}</nationalNumberPattern>
9703      </generalDesc>
9704      <shortCode>
9705        <possibleLengths national="[3-5]"/>
9706        <exampleNumber>100</exampleNumber>
9707        <nationalNumberPattern>
9708          1\d{2,4}|
9709          (?:
9710            8\d\d|
9711            99
9712          )\d
9713        </nationalNumberPattern>
9714      </shortCode>
9715      <tollFree>
9716        <possibleLengths national="3"/>
9717        <exampleNumber>114</exampleNumber>
9718        <nationalNumberPattern>
9719          11[45]|
9720          99[59]
9721        </nationalNumberPattern>
9722      </tollFree>
9723      <emergency>
9724        <possibleLengths national="3"/>
9725        <exampleNumber>114</exampleNumber>
9726        <nationalNumberPattern>
9727          11[45]|
9728          99[59]
9729        </nationalNumberPattern>
9730      </emergency>
9731    </territory>
9732
9733    <!-- Maldives (MV) -->
9734    <territory id="MV">
9735      <generalDesc>
9736        <nationalNumberPattern>[14]\d{2,3}</nationalNumberPattern>
9737      </generalDesc>
9738      <shortCode>
9739        <possibleLengths national="3,4"/>
9740        <exampleNumber>100</exampleNumber>
9741        <nationalNumberPattern>
9742          1(?:
9743            [0-37-9]|
9744            [4-6]\d
9745          )\d|
9746          4040|
9747          1[45]1
9748        </nationalNumberPattern>
9749      </shortCode>
9750      <tollFree>
9751        <possibleLengths national="3"/>
9752        <exampleNumber>102</exampleNumber>
9753        <nationalNumberPattern>
9754          1(?:
9755            02|
9756            1[89]
9757          )
9758        </nationalNumberPattern>
9759      </tollFree>
9760      <!-- Dhiraagu carrier uses 141 and 151 short codes.
9761           https://www.dhiraagu.com.mv/Personal_Mobile_Prepaid_Recharge.aspx -->
9762      <carrierSpecific>
9763        <possibleLengths national="3"/>
9764        <exampleNumber>141</exampleNumber>
9765        <nationalNumberPattern>1[45]1</nationalNumberPattern>
9766      </carrierSpecific>
9767      <emergency>
9768        <possibleLengths national="3"/>
9769        <exampleNumber>102</exampleNumber>
9770        <nationalNumberPattern>
9771          1(?:
9772            02|
9773            1[89]
9774          )
9775        </nationalNumberPattern>
9776      </emergency>
9777      <expandedEmergency>
9778        <possibleLengths national="3,4"/>
9779        <exampleNumber>104</exampleNumber>
9780        <nationalNumberPattern>
9781          1(?:
9782            04|
9783            412|
9784            91
9785          )
9786        </nationalNumberPattern>
9787      </expandedEmergency>
9788    </territory>
9789
9790    <!-- Malawi (MW) -->
9791    <!-- http://www.itu.int/oth/T0202000080/en -->
9792    <territory id="MW">
9793      <generalDesc>
9794        <nationalNumberPattern>
9795          [189]\d\d(?:
9796            \d{2}
9797          )?
9798        </nationalNumberPattern>
9799      </generalDesc>
9800      <shortCode>
9801        <possibleLengths national="3,5"/>
9802        <exampleNumber>199</exampleNumber>
9803        <nationalNumberPattern>
9804          199|
9805          80400|
9806          99[7-9]
9807        </nationalNumberPattern>
9808      </shortCode>
9809      <tollFree>
9810        <possibleLengths national="3"/>
9811        <exampleNumber>199</exampleNumber>
9812        <nationalNumberPattern>
9813          199|
9814          99[7-9]
9815        </nationalNumberPattern>
9816      </tollFree>
9817      <!-- https://support.google.com/plus/answer/1304917 -->
9818      <carrierSpecific>
9819        <possibleLengths national="5"/>
9820        <exampleNumber>80400</exampleNumber>
9821        <nationalNumberPattern>804\d\d</nationalNumberPattern>
9822      </carrierSpecific>
9823      <!-- http://www.malawiembassy.org/visit/contact.html -->
9824      <!-- http://travel.state.gov/travel/cis_pa_tw/cis/cis_959.html -->
9825      <emergency>
9826        <possibleLengths national="3"/>
9827        <exampleNumber>199</exampleNumber>
9828        <nationalNumberPattern>
9829          199|
9830          99[7-9]
9831        </nationalNumberPattern>
9832      </emergency>
9833      <!-- https://support.google.com/plus/answer/1304917 -->
9834      <smsServices>
9835        <possibleLengths national="5"/>
9836        <exampleNumber>80400</exampleNumber>
9837        <nationalNumberPattern>804\d\d</nationalNumberPattern>
9838      </smsServices>
9839    </territory>
9840
9841    <!-- Mexico (MX) -->
9842    <!-- http://en.wikipedia.org/wiki/%2B52 -->
9843    <territory id="MX">
9844      <generalDesc>
9845        <nationalNumberPattern>[0579]\d{2,4}</nationalNumberPattern>
9846      </generalDesc>
9847      <shortCode>
9848        <possibleLengths national="[3-5]"/>
9849        <exampleNumber>010</exampleNumber>
9850        <nationalNumberPattern>
9851          0[1-9]\d|
9852          53053|
9853          7766|
9854          911
9855        </nationalNumberPattern>
9856      </shortCode>
9857      <tollFree>
9858        <possibleLengths national="3"/>
9859        <exampleNumber>060</exampleNumber>
9860        <nationalNumberPattern>
9861          0(?:
9862            6[0568]|
9863            80
9864          )|
9865          911
9866        </nationalNumberPattern>
9867      </tollFree>
9868      <!-- We have received information that 7766 is a premium rate number used to buy various
9869           types of services or media. -->
9870      <premiumRate>
9871        <possibleLengths national="4,5"/>
9872        <exampleNumber>7760</exampleNumber>
9873        <nationalNumberPattern>
9874          (?:
9875            530\d|
9876            776
9877          )\d
9878        </nationalNumberPattern>
9879      </premiumRate>
9880      <carrierSpecific>
9881        <possibleLengths national="3"/>
9882        <exampleNumber>020</exampleNumber>
9883        <nationalNumberPattern>
9884          0(?:
9885            [249]0|
9886            [35][01]
9887          )
9888        </nationalNumberPattern>
9889      </carrierSpecific>
9890      <!-- http://en.wikipedia.org/wiki/%2B52#Other_service_numbers -->
9891      <!-- http://en.wikipedia.org/wiki/Emergency_telephone_number -->
9892      <emergency>
9893        <possibleLengths national="3"/>
9894        <exampleNumber>060</exampleNumber>
9895        <nationalNumberPattern>
9896          0(?:
9897            6[0568]|
9898            80
9899          )|
9900          911
9901        </nationalNumberPattern>
9902      </emergency>
9903      <expandedEmergency>
9904        <possibleLengths national="3"/>
9905        <exampleNumber>061</exampleNumber>
9906        <nationalNumberPattern>
9907          0(?:
9908            61|
9909            8[89]
9910          )
9911        </nationalNumberPattern>
9912      </expandedEmergency>
9913    </territory>
9914
9915    <!-- Malaysia (MY) -->
9916    <!-- http://en.wikipedia.org/wiki/%2B60 -->
9917    <!-- http://www.skmm.gov.my -->
9918    <territory id="MY">
9919      <generalDesc>
9920        <nationalNumberPattern>[1369]\d{2,4}</nationalNumberPattern>
9921      </generalDesc>
9922      <shortCode>
9923        <possibleLengths national="[3-5]"/>
9924        <exampleNumber>100</exampleNumber>
9925        <nationalNumberPattern>
9926          1(?:
9927            0[01348]|
9928            1(?:
9929              [02]|
9930              1[128]|
9931              311
9932            )|
9933            2(?:
9934              0[125]|
9935              [13-6]|
9936              2\d{0,2}
9937            )|
9938            (?:
9939              3[1-35-79]|
9940              7[45]
9941            )\d\d?|
9942            5(?:
9943              454|
9944              5\d\d?|
9945              77|
9946              888|
9947              999?
9948            )|
9949            8(?:
9950              18?|
9951              2|
9952              8[18]
9953            )|
9954            9(?:
9955              [124]\d?|
9956              68|
9957              71|
9958              9[0679]
9959            )
9960          )|
9961          66628|
9962          99[1-469]|
9963          13[5-7]|
9964          (?:
9965            1(?:
9966              0[569]|
9967              309|
9968              5[12]|
9969              7[136-9]|
9970              9[03]
9971            )|
9972            3[23679]\d\d
9973          )\d
9974        </nationalNumberPattern>
9975      </shortCode>
9976      <tollFree>
9977        <possibleLengths national="3"/>
9978        <exampleNumber>112</exampleNumber>
9979        <nationalNumberPattern>
9980          112|
9981          999
9982        </nationalNumberPattern>
9983      </tollFree>
9984      <!-- Maybank mentions end user pays standard SMS charges for messaging 66628:
9985           https://www.maybank2u.com.my/iwov-resources/pdf/personal/promotions/MUCards_TnC.pdf -->
9986      <standardRate>
9987        <possibleLengths national="5"/>
9988        <exampleNumber>66600</exampleNumber>
9989        <nationalNumberPattern>666\d\d</nationalNumberPattern>
9990      </standardRate>
9991      <emergency>
9992        <possibleLengths national="3"/>
9993        <exampleNumber>112</exampleNumber>
9994        <nationalNumberPattern>
9995          112|
9996          999
9997        </nationalNumberPattern>
9998      </emergency>
9999      <expandedEmergency>
10000        <possibleLengths national="3"/>
10001        <exampleNumber>991</exampleNumber>
10002        <nationalNumberPattern>99[1-46]</nationalNumberPattern>
10003      </expandedEmergency>
10004      <!-- http://www.skmm.gov.my/FAQs/Mobile-Content-Services/What-is-a-common-short-code.aspx
10005           66628: https://www.maybank2u.com.my/iwov-resources/pdf/personal/promotions/MUCards_TnC.pdf -->
10006      <smsServices>
10007        <possibleLengths national="5"/>
10008        <exampleNumber>32000</exampleNumber>
10009        <nationalNumberPattern>
10010          (?:
10011            3[23679]\d|
10012            666
10013          )\d\d
10014        </nationalNumberPattern>
10015      </smsServices>
10016    </territory>
10017
10018    <!-- Mozambique (MZ) -->
10019    <!-- http://www.itu.int/oth/T0202000091/en -->
10020    <territory id="MZ">
10021      <generalDesc>
10022        <nationalNumberPattern>1\d{2,3}</nationalNumberPattern>
10023      </generalDesc>
10024      <shortCode>
10025        <possibleLengths national="3,4"/>
10026        <exampleNumber>117</exampleNumber>
10027        <nationalNumberPattern>
10028          1(?:
10029            [02-5]\d\d|
10030            1[79]|
10031            9[78]
10032          )
10033        </nationalNumberPattern>
10034      </shortCode>
10035      <tollFree>
10036        <possibleLengths national="3"/>
10037        <exampleNumber>117</exampleNumber>
10038        <nationalNumberPattern>
10039          1(?:
10040            1[79]|
10041            9[78]
10042          )
10043        </nationalNumberPattern>
10044      </tollFree>
10045      <!-- 11X is national, 19X is for Maputo. -->
10046      <!-- http://www.lonelyplanet.com/shop_pickandmix/previews/mozambique-maputo-preview.pdf -->
10047      <!-- http://ccmusa.online.co.mz/index.php?option=com_content&task=view&id=20&Itemid=30 -->
10048      <emergency>
10049        <possibleLengths national="3"/>
10050        <exampleNumber>117</exampleNumber>
10051        <nationalNumberPattern>
10052          1(?:
10053            1[79]|
10054            9[78]
10055          )
10056        </nationalNumberPattern>
10057      </emergency>
10058    </territory>
10059
10060    <!-- Namibia (NA) -->
10061    <!-- http://www.itu.int/oth/T0202000093/en -->
10062    <territory id="NA">
10063      <generalDesc>
10064        <nationalNumberPattern>[19]\d{2,4}</nationalNumberPattern>
10065      </generalDesc>
10066      <shortCode>
10067        <possibleLengths national="[3-5]"/>
10068        <exampleNumber>900</exampleNumber>
10069        <nationalNumberPattern>
10070          (?:
10071            10|
10072            93
10073          )111|
10074          (?:
10075            1\d|
10076            9
10077          )\d\d
10078        </nationalNumberPattern>
10079      </shortCode>
10080      <tollFree>
10081        <possibleLengths national="5"/>
10082        <exampleNumber>10111</exampleNumber>
10083        <nationalNumberPattern>10111</nationalNumberPattern>
10084      </tollFree>
10085      <!-- ITU doc reserves 9XX for emergency numbers. No examples found. -->
10086      <!-- http://www.namibia-1on1.com/information/a-emergencynos.html -->
10087      <emergency>
10088        <possibleLengths national="5"/>
10089        <exampleNumber>10111</exampleNumber>
10090        <nationalNumberPattern>10111</nationalNumberPattern>
10091      </emergency>
10092    </territory>
10093
10094    <!-- New Caledonia (NC) -->
10095    <!-- As there seems to be only one carrier (OPT) in New Caledonia so for now we are not
10096         distinguishing carrier specific numbers. -->
10097    <!-- http://www.itu.int/oth/T0202000098/en -->
10098    <!-- http://www.opt.nc -->
10099    <territory id="NC">
10100      <generalDesc>
10101        <nationalNumberPattern>[135]\d{1,3}</nationalNumberPattern>
10102      </generalDesc>
10103      <!-- OPT: Office des Postes et Télécommunications de Nouvelle Calédonie -->
10104      <!-- 3631 is listed as a short number for caller ID services by OPT and explicitly mentioned
10105           as toll free (despite not matching the ITU document specification for 36). Note also
10106           that we don't list 3651 as a short number because it's a prefix for hiding caller ID
10107           and is only ever dialed before another normal number.
10108           See: http://www.opt.nc/index.php?option=com_content&view=article&id=17&Itemid=66 -->
10109      <!-- 1088 is listed as a toll-free credit balance service for prepay mobiles (not in ITU).
10110           See: http://www.opt.nc/index.php?option=com_content&view=article&id=121&Itemid=36 -->
10111      <shortCode>
10112        <possibleLengths national="[2-4]"/>
10113        <exampleNumber>15</exampleNumber>
10114        <nationalNumberPattern>
10115          1(?:
10116            0(?:
10117              0[06]|
10118              1[02-46]|
10119              20|
10120              3[0-25]|
10121              42|
10122              5[058]|
10123              77|
10124              88
10125            )|
10126            [5-8]
10127          )|
10128          3631|
10129          5[6-8]\d
10130        </nationalNumberPattern>
10131      </shortCode>
10132      <!-- It is entirely possible that all 1xxx short numbers are toll free but we're not found
10133           good evidence for this anywhere. So far there are no counter examples. -->
10134      <!-- 1000 is the operator, 1012 is directory enquiries and 1013 is fixed-line faults.
10135           1000 and 1013 are listed as free on http://1000.nc & http://1013.nc and 1012 is
10136           mentioned at: http://www.routard.com/guide/nouvelle_caledonie/2343/vie_pratique.htm -->
10137      <!-- Note that 103[0-2] are assumed to be toll free as they are listed in regard to an "iZi"
10138           service that is dialable from a highly restrictive phone mode:
10139           http://www.opt.nc/index.php?option=com_content&view=article&id=16&Itemid=65 -->
10140      <tollFree>
10141        <possibleLengths national="[2-4]"/>
10142        <exampleNumber>15</exampleNumber>
10143        <nationalNumberPattern>
10144          1(?:
10145            0(?:
10146              00|
10147              1[23]|
10148              3[0-2]|
10149              8\d
10150            )|
10151            [5-8]
10152          )|
10153          363\d|
10154          577
10155        </nationalNumberPattern>
10156      </tollFree>
10157      <!-- 567: http://www.opt.nc/index.php?option=com_content&view=article&id=14&Itemid=63 -->
10158      <!-- 588: http://www.opt.nc/index.php?option=com_content&view=article&id=15&Itemid=64 -->
10159      <standardRate>
10160        <possibleLengths national="3"/>
10161        <exampleNumber>567</exampleNumber>
10162        <nationalNumberPattern>
10163          5(?:
10164            67|
10165            88
10166          )
10167        </nationalNumberPattern>
10168      </standardRate>
10169      <!-- http://www.routard.com/guide/nouvelle_caledonie/2343/vie_pratique.htm -->
10170      <emergency>
10171        <possibleLengths national="2"/>
10172        <exampleNumber>15</exampleNumber>
10173        <nationalNumberPattern>1[5-8]</nationalNumberPattern>
10174      </emergency>
10175    </territory>
10176
10177    <!-- Niger (NE) -->
10178    <territory id="NE">
10179      <generalDesc>
10180        <nationalNumberPattern>
10181          [1-3578]\d(?:
10182            \d(?:
10183              \d{3}
10184            )?
10185          )?
10186        </nationalNumberPattern>
10187      </generalDesc>
10188      <shortCode>
10189        <possibleLengths national="2,3,6"/>
10190        <exampleNumber>15</exampleNumber>
10191        <nationalNumberPattern>
10192          1(?:
10193            0[01]|
10194            1[128]|
10195            2[034]|
10196            3[013]|
10197            [46]0|
10198            55?|
10199            [78]
10200          )|
10201          222|
10202          333|
10203          555|
10204          723141|
10205          888
10206        </nationalNumberPattern>
10207      </shortCode>
10208      <tollFree>
10209        <possibleLengths national="2,3,6"/>
10210        <exampleNumber>15</exampleNumber>
10211        <nationalNumberPattern>
10212          1(?:
10213            18|
10214            [578]
10215          )|
10216          723\d{3}
10217        </nationalNumberPattern>
10218      </tollFree>
10219      <carrierSpecific>
10220        <possibleLengths national="3"/>
10221        <exampleNumber>100</exampleNumber>
10222        <nationalNumberPattern>
10223          1(?:
10224            0[01]|
10225            1[12]|
10226            2[034]|
10227            3[013]|
10228            [46]0|
10229            55
10230          )|
10231          222|
10232          333|
10233          555|
10234          888
10235        </nationalNumberPattern>
10236      </carrierSpecific>
10237      <emergency>
10238        <possibleLengths national="2,3,6"/>
10239        <exampleNumber>15</exampleNumber>
10240        <nationalNumberPattern>
10241          1(?:
10242            18|
10243            [578]
10244          )|
10245          723141
10246        </nationalNumberPattern>
10247      </emergency>
10248    </territory>
10249
10250    <!-- Norfolk Island (NF) -->
10251    <!-- http://www.itu.int/oth/T020200009D/en -->
10252    <territory id="NF">
10253      <generalDesc>
10254        <nationalNumberPattern>9\d\d</nationalNumberPattern>
10255      </generalDesc>
10256      <shortCode>
10257        <possibleLengths national="3"/>
10258        <exampleNumber>911</exampleNumber>
10259        <nationalNumberPattern>
10260          9(?:
10261            11|
10262            55|
10263            77
10264          )
10265        </nationalNumberPattern>
10266      </shortCode>
10267      <tollFree>
10268        <possibleLengths national="3"/>
10269        <exampleNumber>911</exampleNumber>
10270        <nationalNumberPattern>
10271          9(?:
10272            11|
10273            55|
10274            77
10275          )
10276        </nationalNumberPattern>
10277      </tollFree>
10278      <!-- http://www.discovernorfolkisland.com/norfolk/ -->
10279      <emergency>
10280        <possibleLengths national="3"/>
10281        <exampleNumber>911</exampleNumber>
10282        <nationalNumberPattern>
10283          9(?:
10284            11|
10285            55|
10286            77
10287          )
10288        </nationalNumberPattern>
10289      </emergency>
10290    </territory>
10291
10292    <!-- Nigeria (NG) -->
10293    <!-- http://www.itu.int/oth/T020200009C/en -->
10294    <territory id="NG">
10295      <generalDesc>
10296        <nationalNumberPattern>
10297          [14]\d\d(?:
10298            \d{2}
10299          )?
10300        </nationalNumberPattern>
10301      </generalDesc>
10302      <shortCode>
10303        <possibleLengths national="3,5"/>
10304        <exampleNumber>199</exampleNumber>
10305        <nationalNumberPattern>
10306          199|
10307          40700
10308        </nationalNumberPattern>
10309      </shortCode>
10310      <tollFree>
10311        <possibleLengths national="3"/>
10312        <exampleNumber>199</exampleNumber>
10313        <nationalNumberPattern>199</nationalNumberPattern>
10314      </tollFree>
10315      <!-- https://support.google.com/plus/answer/1304917 -->
10316      <carrierSpecific>
10317        <possibleLengths national="5"/>
10318        <exampleNumber>40700</exampleNumber>
10319        <nationalNumberPattern>407\d\d</nationalNumberPattern>
10320      </carrierSpecific>
10321      <emergency>
10322        <possibleLengths national="3"/>
10323        <exampleNumber>199</exampleNumber>
10324        <nationalNumberPattern>199</nationalNumberPattern>
10325      </emergency>
10326      <!-- https://support.google.com/plus/answer/1304917 -->
10327      <smsServices>
10328        <possibleLengths national="5"/>
10329        <exampleNumber>40700</exampleNumber>
10330        <nationalNumberPattern>407\d\d</nationalNumberPattern>
10331      </smsServices>
10332    </territory>
10333
10334    <!-- Nicaragua (NI) -->
10335    <!-- http://www.itu.int/oth/T020200009A/en -->
10336    <territory id="NI">
10337      <generalDesc>
10338        <nationalNumberPattern>[12467]\d{2,3}</nationalNumberPattern>
10339      </generalDesc>
10340      <shortCode>
10341        <possibleLengths national="3,4"/>
10342        <exampleNumber>115</exampleNumber>
10343        <nationalNumberPattern>
10344          1(?:
10345            1[58]|
10346            200
10347          )|
10348          4878|
10349          7(?:
10350            010|
10351            373
10352          )|
10353          12[0158]|
10354          (?:
10355            19|
10356            [267]1
10357          )00
10358        </nationalNumberPattern>
10359      </shortCode>
10360      <tollFree>
10361        <possibleLengths national="3,4"/>
10362        <exampleNumber>115</exampleNumber>
10363        <nationalNumberPattern>
10364          1(?:
10365            1[58]|
10366            2[08]
10367          )|
10368          737\d
10369        </nationalNumberPattern>
10370      </tollFree>
10371      <emergency>
10372        <possibleLengths national="3"/>
10373        <exampleNumber>115</exampleNumber>
10374        <nationalNumberPattern>
10375          1(?:
10376            1[58]|
10377            2[08]
10378          )
10379        </nationalNumberPattern>
10380      </emergency>
10381    </territory>
10382
10383    <!-- Netherlands (NL) -->
10384    <!-- http://en.wikipedia.org/wiki/%2B31 -->
10385    <!-- http://wetten.overheid.nl/BWBR0010198 -->
10386    <territory id="NL">
10387      <generalDesc>
10388        <nationalNumberPattern>
10389          [1349]\d\d(?:
10390            \d(?:
10391              \d{2}
10392            )?
10393          )?
10394        </nationalNumberPattern>
10395      </generalDesc>
10396      <shortCode>
10397        <possibleLengths national="3,4,6"/>
10398        <exampleNumber>112</exampleNumber>
10399        <nationalNumberPattern>
10400          1(?:
10401            1(?:
10402              2|
10403              6(?:
10404                00[06]|
10405                1(?:
10406                  11|
10407                  23
10408                )
10409              )
10410            )|
10411            2(?:
10412              0[0-4]|
10413              3[34]|
10414              44
10415            )|
10416            3[03-9]\d|
10417            400|
10418            8(?:
10419              [02-9]\d|
10420              1[0-79]
10421            )
10422          )|
10423          [34]000|
10424          911
10425        </nationalNumberPattern>
10426      </shortCode>
10427      <tollFree>
10428        <possibleLengths national="3,6"/>
10429        <exampleNumber>112</exampleNumber>
10430        <nationalNumberPattern>
10431          11(?:
10432            2|
10433            6\d{3}
10434          )|
10435          911
10436        </nationalNumberPattern>
10437      </tollFree>
10438      <carrierSpecific>
10439        <possibleLengths national="4"/>
10440        <exampleNumber>1200</exampleNumber>
10441        <nationalNumberPattern>120\d</nationalNumberPattern>
10442      </carrierSpecific>
10443      <emergency>
10444        <possibleLengths national="3"/>
10445        <exampleNumber>112</exampleNumber>
10446        <nationalNumberPattern>
10447          112|
10448          911
10449        </nationalNumberPattern>
10450      </emergency>
10451      <expandedEmergency>
10452        <possibleLengths national="6"/>
10453        <exampleNumber>116000</exampleNumber>
10454        <nationalNumberPattern>116\d{3}</nationalNumberPattern>
10455      </expandedEmergency>
10456      <!-- 3000 and 4000 are SMS only shortcodes as per online evidence. -->
10457      <smsServices>
10458        <possibleLengths national="4"/>
10459        <exampleNumber>3000</exampleNumber>
10460        <nationalNumberPattern>[34]00\d</nationalNumberPattern>
10461      </smsServices>
10462    </territory>
10463
10464    <!-- Norway (NO) -->
10465    <!-- http://www.npt.no/npt/numsys/E.164.pdf -->
10466    <!-- http://www.nkom.no/npt/numsys/E.1643sifret_en.pdf -->
10467    <territory id="NO">
10468      <generalDesc>
10469        <nationalNumberPattern>
10470          1\d\d(?:
10471            \d(?:
10472              \d{2}
10473            )?
10474          )?
10475        </nationalNumberPattern>
10476      </generalDesc>
10477      <!-- 143 is assigned but not visible to end users, no other online evidence
10478           found, hence not included -->
10479      <shortCode>
10480        <possibleLengths national="3,4,6"/>
10481        <exampleNumber>110</exampleNumber>
10482        <nationalNumberPattern>
10483          1(?:
10484            1(?:
10485              [0239]|
10486              61(?:
10487                1[17]|
10488                23
10489              )
10490            )|
10491            2[048]|
10492            4(?:
10493              12|
10494              [59]
10495            )|
10496            7[57]|
10497            8[5-9]\d|
10498            90
10499          )
10500        </nationalNumberPattern>
10501      </shortCode>
10502      <tollFree>
10503        <possibleLengths national="3,6"/>
10504        <exampleNumber>110</exampleNumber>
10505        <nationalNumberPattern>
10506          11(?:
10507            [023]|
10508            6\d{3}
10509          )
10510        </nationalNumberPattern>
10511      </tollFree>
10512      <emergency>
10513        <possibleLengths national="3"/>
10514        <exampleNumber>110</exampleNumber>
10515        <nationalNumberPattern>11[023]</nationalNumberPattern>
10516      </emergency>
10517      <expandedEmergency>
10518        <possibleLengths national="4,6"/>
10519        <exampleNumber>1410</exampleNumber>
10520        <nationalNumberPattern>
10521          1(?:
10522            16\d\d|
10523            41
10524          )\d
10525        </nationalNumberPattern>
10526      </expandedEmergency>
10527    </territory>
10528
10529    <!-- Nepal (NP) -->
10530    <!-- http://www.itu.int/oth/T0202000095/en -->
10531    <!-- http://www.ntc.net.np/mobile/mob_postpaid_number_scheme.php -->
10532    <territory id="NP">
10533      <generalDesc>
10534        <nationalNumberPattern>1\d{2,3}</nationalNumberPattern>
10535      </generalDesc>
10536      <shortCode>
10537        <possibleLengths national="3,4"/>
10538        <exampleNumber>100</exampleNumber>
10539        <nationalNumberPattern>
10540          1(?:
10541            0(?:
10542              [0-36]|
10543              98
10544            )|
10545            1(?:
10546              1[1-4]|
10547              2
10548            )
10549          )
10550        </nationalNumberPattern>
10551      </shortCode>
10552      <tollFree>
10553        <possibleLengths national="3,4"/>
10554        <exampleNumber>100</exampleNumber>
10555        <nationalNumberPattern>
10556          1(?:
10557            0[0-36]|
10558            12
10559          )|
10560          1(?:
10561            09|
10562            11
10563          )\d
10564        </nationalNumberPattern>
10565      </tollFree>
10566      <emergency>
10567        <possibleLengths national="3"/>
10568        <exampleNumber>100</exampleNumber>
10569        <nationalNumberPattern>
10570          1(?:
10571            0[0-3]|
10572            12
10573          )
10574        </nationalNumberPattern>
10575      </emergency>
10576      <expandedEmergency>
10577        <possibleLengths national="3,4"/>
10578        <exampleNumber>106</exampleNumber>
10579        <nationalNumberPattern>
10580          106|
10581          1(?:
10582            09|
10583            11
10584          )\d
10585        </nationalNumberPattern>
10586      </expandedEmergency>
10587    </territory>
10588
10589    <!-- Nauru (NR) -->
10590    <!-- http://www.itu.int/oth/T0202000094/en -->
10591    <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Nauru -->
10592    <territory id="NR">
10593      <generalDesc>
10594        <nationalNumberPattern>1\d\d</nationalNumberPattern>
10595      </generalDesc>
10596      <shortCode>
10597        <possibleLengths national="3"/>
10598        <exampleNumber>110</exampleNumber>
10599        <nationalNumberPattern>
10600          1(?:
10601            1[0-2]|
10602            23|
10603            92
10604          )
10605        </nationalNumberPattern>
10606      </shortCode>
10607      <tollFree>
10608        <possibleLengths national="3"/>
10609        <exampleNumber>110</exampleNumber>
10610        <nationalNumberPattern>11[0-2]</nationalNumberPattern>
10611      </tollFree>
10612      <emergency>
10613        <possibleLengths national="3"/>
10614        <exampleNumber>110</exampleNumber>
10615        <nationalNumberPattern>11[0-2]</nationalNumberPattern>
10616      </emergency>
10617    </territory>
10618
10619    <!-- Niue (NU) -->
10620    <!-- http://www.itu.int/oth/T02020000EC/en -->
10621    <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Niue -->
10622    <territory id="NU">
10623      <generalDesc>
10624        <nationalNumberPattern>[019]\d\d</nationalNumberPattern>
10625      </generalDesc>
10626      <shortCode>
10627        <possibleLengths national="3"/>
10628        <exampleNumber>010</exampleNumber>
10629        <nationalNumberPattern>
10630          01[05]|
10631          101|
10632          999
10633        </nationalNumberPattern>
10634      </shortCode>
10635      <tollFree>
10636        <possibleLengths national="3"/>
10637        <exampleNumber>999</exampleNumber>
10638        <nationalNumberPattern>999</nationalNumberPattern>
10639      </tollFree>
10640      <carrierSpecific>
10641        <possibleLengths national="3"/>
10642        <exampleNumber>010</exampleNumber>
10643        <nationalNumberPattern>010</nationalNumberPattern>
10644      </carrierSpecific>
10645      <emergency>
10646        <possibleLengths national="3"/>
10647        <exampleNumber>999</exampleNumber>
10648        <nationalNumberPattern>999</nationalNumberPattern>
10649      </emergency>
10650    </territory>
10651
10652    <!-- New Zealand (NZ) -->
10653    <!-- http://www.itu.int/oth/T0202000099/en -->
10654    <!-- Includes Ross Dependency, Antarctica -->
10655    <!-- https://www.skinny.co.nz/assets/pdf/skinny-premium-SMS-prices-Sheet14.pdf -->
10656    <!-- https://www.vodafone.co.nz/cms/documents/premium-txt-codes.pdf -->
10657    <territory id="NZ">
10658      <generalDesc>
10659        <nationalNumberPattern>\d{3,4}</nationalNumberPattern>
10660      </generalDesc>
10661      <shortCode>
10662        <possibleLengths national="3,4"/>
10663        <exampleNumber>018</exampleNumber>
10664        <nationalNumberPattern>
10665          018|
10666          1(?:
10667            (?:
10668              1|
10669              37
10670            )1|
10671            (?:
10672              23|
10673              94
10674            )4|
10675            7[03]7
10676          )|
10677          [2-57-9]\d{2,3}|
10678          6(?:
10679            161|
10680            26[0-3]|
10681            742
10682          )
10683        </nationalNumberPattern>
10684      </shortCode>
10685      <tollFree>
10686        <possibleLengths national="3"/>
10687        <exampleNumber>111</exampleNumber>
10688        <nationalNumberPattern>111</nationalNumberPattern>
10689      </tollFree>
10690      <premiumRate>
10691        <possibleLengths national="3"/>
10692        <exampleNumber>018</exampleNumber>
10693        <nationalNumberPattern>018</nationalNumberPattern>
10694      </premiumRate>
10695      <emergency>
10696        <possibleLengths national="3"/>
10697        <exampleNumber>111</exampleNumber>
10698        <nationalNumberPattern>111</nationalNumberPattern>
10699      </emergency>
10700      <smsServices>
10701        <possibleLengths national="3,4"/>
10702        <exampleNumber>018</exampleNumber>
10703        <nationalNumberPattern>
10704          018|
10705          (?:
10706            1(?:
10707              23|
10708              37|
10709              7[03]|
10710              94
10711            )|
10712            6(?:
10713              [12]6|
10714              74
10715            )
10716          )\d|
10717          [2-57-9]\d{2,3}
10718        </nationalNumberPattern>
10719      </smsServices>
10720    </territory>
10721
10722    <!-- Oman (OM) -->
10723    <!-- http://www.itu.int/oth/T020200009F/en -->
10724    <territory id="OM">
10725      <generalDesc>
10726        <nationalNumberPattern>[19]\d{3}</nationalNumberPattern>
10727      </generalDesc>
10728      <shortCode>
10729        <possibleLengths national="4"/>
10730        <exampleNumber>1111</exampleNumber>
10731        <nationalNumberPattern>
10732          1(?:
10733            111|
10734            222|
10735            4(?:
10736              4[0-5]|
10737              50|
10738              66|
10739              7[7-9]
10740            )|
10741            51[0-8]
10742          )|
10743          9999|
10744          1(?:
10745            2[3-5]|
10746            3[0-2]|
10747            50
10748          )\d
10749        </nationalNumberPattern>
10750      </shortCode>
10751      <tollFree>
10752        <possibleLengths national="4"/>
10753        <exampleNumber>1444</exampleNumber>
10754        <nationalNumberPattern>
10755          1444|
10756          999\d
10757        </nationalNumberPattern>
10758      </tollFree>
10759      <emergency>
10760        <possibleLengths national="4"/>
10761        <exampleNumber>1444</exampleNumber>
10762        <nationalNumberPattern>
10763          1444|
10764          9999
10765        </nationalNumberPattern>
10766      </emergency>
10767    </territory>
10768
10769    <!-- Panama (PA) -->
10770    <!-- http://en.wikipedia.org/wiki/%2B507 -->
10771    <territory id="PA">
10772      <generalDesc>
10773        <nationalNumberPattern>[19]\d\d</nationalNumberPattern>
10774      </generalDesc>
10775      <shortCode>
10776        <possibleLengths national="3"/>
10777        <exampleNumber>102</exampleNumber>
10778        <nationalNumberPattern>
10779          10[2-4]|
10780          911
10781        </nationalNumberPattern>
10782      </shortCode>
10783      <tollFree>
10784        <possibleLengths national="3"/>
10785        <exampleNumber>911</exampleNumber>
10786        <nationalNumberPattern>911</nationalNumberPattern>
10787      </tollFree>
10788      <emergency>
10789        <possibleLengths national="3"/>
10790        <exampleNumber>911</exampleNumber>
10791        <nationalNumberPattern>911</nationalNumberPattern>
10792      </emergency>
10793    </territory>
10794
10795    <!-- Peru (PE) -->
10796    <!-- http://www.itu.int/oth/T02020000A6/en -->
10797    <!-- http://en.wikipedia.org/wiki/+51 -->
10798    <territory id="PE">
10799      <generalDesc>
10800        <nationalNumberPattern>1\d\d</nationalNumberPattern>
10801      </generalDesc>
10802      <shortCode>
10803        <possibleLengths national="3"/>
10804        <exampleNumber>105</exampleNumber>
10805        <nationalNumberPattern>
10806          1(?:
10807            05|
10808            1[67]
10809          )
10810        </nationalNumberPattern>
10811      </shortCode>
10812      <tollFree>
10813        <possibleLengths national="3"/>
10814        <exampleNumber>105</exampleNumber>
10815        <nationalNumberPattern>
10816          1(?:
10817            05|
10818            1[67]
10819          )
10820        </nationalNumberPattern>
10821      </tollFree>
10822      <emergency>
10823        <possibleLengths national="3"/>
10824        <exampleNumber>105</exampleNumber>
10825        <nationalNumberPattern>
10826          1(?:
10827            05|
10828            1[67]
10829          )
10830        </nationalNumberPattern>
10831      </emergency>
10832    </territory>
10833
10834    <!-- French Polynesia (PF) -->
10835    <!-- http://www.itu.int/oth/T020200004D/en -->
10836    <territory id="PF">
10837      <generalDesc>
10838        <nationalNumberPattern>1\d</nationalNumberPattern>
10839      </generalDesc>
10840      <shortCode>
10841        <possibleLengths national="2"/>
10842        <exampleNumber>15</exampleNumber>
10843        <nationalNumberPattern>1[578]</nationalNumberPattern>
10844      </shortCode>
10845      <tollFree>
10846        <possibleLengths national="2"/>
10847        <exampleNumber>15</exampleNumber>
10848        <nationalNumberPattern>1[578]</nationalNumberPattern>
10849      </tollFree>
10850      <!-- http://studentsabroad.state.gov/content/pdfs/911_ABROAD.pdf -->
10851      <emergency>
10852        <possibleLengths national="2"/>
10853        <exampleNumber>15</exampleNumber>
10854        <nationalNumberPattern>1[578]</nationalNumberPattern>
10855      </emergency>
10856    </territory>
10857
10858    <!-- Papua New Guinea (PG) -->
10859    <!-- http://www.itu.int/oth/T02020000A4/en -->
10860    <!-- http://en.wikipedia.org/wiki/%2B675 -->
10861    <territory id="PG">
10862      <generalDesc>
10863        <nationalNumberPattern>[01]\d{2,6}</nationalNumberPattern>
10864      </generalDesc>
10865      <shortCode>
10866        <possibleLengths national="[3-7]"/>
10867        <exampleNumber>000</exampleNumber>
10868        <nationalNumberPattern>
10869          000|
10870          1(?:
10871            1[01]|
10872            5\d\d|
10873            6\d{2,5}
10874          )
10875        </nationalNumberPattern>
10876      </shortCode>
10877      <tollFree>
10878        <possibleLengths national="3"/>
10879        <exampleNumber>000</exampleNumber>
10880        <nationalNumberPattern>
10881          000|
10882          11[01]
10883        </nationalNumberPattern>
10884      </tollFree>
10885      <!-- http://www.pngbd.com/emergency.php has been used, excluding fixed-line phone-numbers. -->
10886      <emergency>
10887        <possibleLengths national="3"/>
10888        <exampleNumber>000</exampleNumber>
10889        <nationalNumberPattern>
10890          000|
10891          11[01]
10892        </nationalNumberPattern>
10893      </emergency>
10894      <smsServices>
10895        <possibleLengths national="[4-7]"/>
10896        <exampleNumber>1600</exampleNumber>
10897        <nationalNumberPattern>16\d{2,5}</nationalNumberPattern>
10898      </smsServices>
10899    </territory>
10900
10901    <!-- Philippines (PH) -->
10902    <!-- http://en.wikipedia.org/wiki/%2B63 -->
10903    <territory id="PH">
10904      <generalDesc>
10905        <nationalNumberPattern>[19]\d\d</nationalNumberPattern>
10906      </generalDesc>
10907      <shortCode>
10908        <possibleLengths national="3"/>
10909        <exampleNumber>112</exampleNumber>
10910        <nationalNumberPattern>
10911          11[27]|
10912          911
10913        </nationalNumberPattern>
10914      </shortCode>
10915      <tollFree>
10916        <possibleLengths national="3"/>
10917        <exampleNumber>112</exampleNumber>
10918        <nationalNumberPattern>
10919          11[27]|
10920          911
10921        </nationalNumberPattern>
10922      </tollFree>
10923      <emergency>
10924        <possibleLengths national="3"/>
10925        <exampleNumber>112</exampleNumber>
10926        <nationalNumberPattern>
10927          11[27]|
10928          911
10929        </nationalNumberPattern>
10930      </emergency>
10931    </territory>
10932
10933    <!-- Pakistan (PK) -->
10934    <!-- http://www.itu.int/oth/T02020000A1/en -->
10935    <!-- http://en.wikipedia.org/wiki/%2B92 -->
10936    <territory id="PK">
10937      <generalDesc>
10938        <nationalNumberPattern>1\d{1,3}</nationalNumberPattern>
10939      </generalDesc>
10940      <shortCode>
10941        <possibleLengths national="[2-4]"/>
10942        <exampleNumber>15</exampleNumber>
10943        <nationalNumberPattern>
10944          1(?:
10945            122|
10946            3[014]|
10947            [56]
10948          )|
10949          11[2457-9]
10950        </nationalNumberPattern>
10951      </shortCode>
10952      <tollFree>
10953        <possibleLengths national="[2-4]"/>
10954        <exampleNumber>15</exampleNumber>
10955        <nationalNumberPattern>
10956          1(?:
10957            1(?:
10958              2\d?|
10959              5
10960            )|
10961            [56]
10962          )
10963        </nationalNumberPattern>
10964      </tollFree>
10965      <emergency>
10966        <possibleLengths national="[2-4]"/>
10967        <exampleNumber>15</exampleNumber>
10968        <nationalNumberPattern>
10969          1(?:
10970            1(?:
10971              22?|
10972              5
10973            )|
10974            [56]
10975          )
10976        </nationalNumberPattern>
10977      </emergency>
10978    </territory>
10979
10980    <!-- Poland (PL) -->
10981    <!-- http://en.wikipedia.org/wiki/%2B48 -->
10982    <!-- http://www.itu.int/oth/T02020000A8/en -->
10983    <!-- http://www.uke.gov.pl/tablice/home.do?execution=e1s1 -->
10984    <territory id="PL">
10985      <generalDesc>
10986        <nationalNumberPattern>
10987          [19]\d\d(?:
10988            \d{2,3}
10989          )?
10990        </nationalNumberPattern>
10991      </generalDesc>
10992      <!-- 19XXX short codes are mentioned as customer service numbers in the ITU doc. These are
10993           probably the same numbers as the verified "+48 <area-code> 19XXX" numbers. We follow
10994           the ITU doc here, but it could be wrong (we may need to remove 19XXX here or we may
10995           need to move it to PhoneNumberMetadata.xml (e.g. with possibleLengths localOnly=5). -->
10996      <shortCode>
10997        <possibleLengths national="3,5,6"/>
10998        <exampleNumber>112</exampleNumber>
10999        <nationalNumberPattern>
11000          1(?:
11001            1(?:
11002              2|
11003              61(?:
11004                11|
11005                23
11006              )|
11007              891[23]
11008            )|
11009            9\d{3}
11010          )|
11011          9(?:
11012            8[4-7]|
11013            9[1-9]
11014          )|
11015          11[68]000
11016        </nationalNumberPattern>
11017      </shortCode>
11018      <!-- All 116XXX, "European harmonized services of social" value are toll-free.
11019           See: https://ec.europa.eu/digital-single-market/116-helplines. -->
11020      <tollFree>
11021        <possibleLengths national="3,6"/>
11022        <exampleNumber>112</exampleNumber>
11023        <nationalNumberPattern>
11024          11(?:
11025            2|
11026            6\d{3}
11027          )|
11028          99[7-9]
11029        </nationalNumberPattern>
11030      </tollFree>
11031      <emergency>
11032        <possibleLengths national="3"/>
11033        <exampleNumber>112</exampleNumber>
11034        <nationalNumberPattern>
11035          112|
11036          99[7-9]
11037        </nationalNumberPattern>
11038      </emergency>
11039      <expandedEmergency>
11040        <possibleLengths national="3,6"/>
11041        <exampleNumber>984</exampleNumber>
11042        <nationalNumberPattern>
11043          116\d{3}|
11044          9(?:
11045            8[4-6]|
11046            9[56]
11047          )
11048        </nationalNumberPattern>
11049      </expandedEmergency>
11050    </territory>
11051
11052    <!-- St. Pierre & Miquelon (PM) -->
11053    <!-- http://www.itu.int/oth/T02020000B2/en -->
11054    <territory id="PM">
11055      <generalDesc>
11056        <nationalNumberPattern>
11057          [13]\d(?:
11058            \d{2}
11059          )?
11060        </nationalNumberPattern>
11061      </generalDesc>
11062      <shortCode>
11063        <possibleLengths national="2,4"/>
11064        <exampleNumber>15</exampleNumber>
11065        <nationalNumberPattern>
11066          1[578]|
11067          3103
11068        </nationalNumberPattern>
11069      </shortCode>
11070      <tollFree>
11071        <possibleLengths national="2"/>
11072        <exampleNumber>15</exampleNumber>
11073        <nationalNumberPattern>1[578]</nationalNumberPattern>
11074      </tollFree>
11075      <carrierSpecific>
11076        <possibleLengths national="4"/>
11077        <exampleNumber>3100</exampleNumber>
11078        <nationalNumberPattern>310\d</nationalNumberPattern>
11079      </carrierSpecific>
11080      <emergency>
11081        <possibleLengths national="2"/>
11082        <exampleNumber>15</exampleNumber>
11083        <nationalNumberPattern>1[578]</nationalNumberPattern>
11084      </emergency>
11085    </territory>
11086
11087    <!-- Puerto Rico (PR) -->
11088    <!-- http://www.itu.int/oth/T02020000AA/en -->
11089    <territory id="PR">
11090      <generalDesc>
11091        <nationalNumberPattern>9\d\d</nationalNumberPattern>
11092      </generalDesc>
11093      <shortCode>
11094        <possibleLengths national="3"/>
11095        <exampleNumber>911</exampleNumber>
11096        <nationalNumberPattern>
11097          9(?:
11098            11|
11099            88
11100          )
11101        </nationalNumberPattern>
11102      </shortCode>
11103      <tollFree>
11104        <possibleLengths national="3"/>
11105        <exampleNumber>911</exampleNumber>
11106        <nationalNumberPattern>
11107          9(?:
11108            11|
11109            88
11110          )
11111        </nationalNumberPattern>
11112      </tollFree>
11113      <!-- http://www.frommers.com/destinations/puertorico/0094020157.html
11114           http://studentsabroad.state.gov/content/pdfs/911_ABROAD.pdf -->
11115      <emergency>
11116        <possibleLengths national="3"/>
11117        <exampleNumber>911</exampleNumber>
11118        <nationalNumberPattern>911</nationalNumberPattern>
11119      </emergency>
11120      <expandedEmergency>
11121        <possibleLengths national="3"/>
11122        <exampleNumber>988</exampleNumber>
11123        <nationalNumberPattern>988</nationalNumberPattern>
11124      </expandedEmergency>
11125    </territory>
11126
11127    <!-- Palestine (PS) -->
11128    <!-- http://en.wikipedia.org/wiki/%2B970 -->
11129    <!-- http://www.paltel.ps/ -->
11130    <territory id="PS">
11131      <generalDesc>
11132        <nationalNumberPattern>1\d{2,3}</nationalNumberPattern>
11133      </generalDesc>
11134      <shortCode>
11135        <possibleLengths national="3,4"/>
11136        <exampleNumber>100</exampleNumber>
11137        <nationalNumberPattern>
11138          1(?:
11139            0[0-2]|
11140            122|
11141            44|
11142            66|
11143            99
11144          )
11145        </nationalNumberPattern>
11146      </shortCode>
11147      <tollFree>
11148        <possibleLengths national="3"/>
11149        <exampleNumber>100</exampleNumber>
11150        <nationalNumberPattern>
11151          1(?:
11152            0[0-2]|
11153            66
11154          )
11155        </nationalNumberPattern>
11156      </tollFree>
11157      <!-- 1122 is Jawwal's customer service number -->
11158      <carrierSpecific>
11159        <possibleLengths national="4"/>
11160        <exampleNumber>1120</exampleNumber>
11161        <nationalNumberPattern>112\d</nationalNumberPattern>
11162      </carrierSpecific>
11163      <emergency>
11164        <possibleLengths national="3"/>
11165        <exampleNumber>100</exampleNumber>
11166        <nationalNumberPattern>10[0-2]</nationalNumberPattern>
11167      </emergency>
11168    </territory>
11169
11170    <!-- Portugal (PT) -->
11171    <!-- http://www.anacom.pt/render.jsp?categoryId=279098 -->
11172    <territory id="PT">
11173      <generalDesc>
11174        <nationalNumberPattern>
11175          1\d\d(?:
11176            \d(?:
11177              \d{2}
11178            )?
11179          )?
11180        </nationalNumberPattern>
11181      </generalDesc>
11182      <shortCode>
11183        <possibleLengths national="3,4,6"/>
11184        <exampleNumber>112</exampleNumber>
11185        <nationalNumberPattern>
11186          1(?:
11187            0(?:
11188              45|
11189              5[01]
11190            )|
11191            1(?:
11192              [2578]|
11193              600[06]
11194            )|
11195            4(?:
11196              1[45]|
11197              4
11198            )|
11199            583|
11200            6(?:
11201              1[0236]|
11202              3[02]|
11203              9[169]
11204            )
11205          )|
11206          1(?:
11207            1611|
11208            59
11209          )1|
11210          1[068]78|
11211          1[08]9[16]|
11212          1(?:
11213            0[1-38]|
11214            40|
11215            5[15]|
11216            6[258]|
11217            82
11218          )0
11219        </nationalNumberPattern>
11220      </shortCode>
11221      <tollFree>
11222        <possibleLengths national="3,4,6"/>
11223        <exampleNumber>112</exampleNumber>
11224        <nationalNumberPattern>
11225          11[257]|
11226          1(?:
11227            16\d\d|
11228            5[1589]|
11229            8[279]
11230          )\d
11231        </nationalNumberPattern>
11232      </tollFree>
11233      <emergency>
11234        <possibleLengths national="3"/>
11235        <exampleNumber>112</exampleNumber>
11236        <nationalNumberPattern>11[25]</nationalNumberPattern>
11237      </emergency>
11238      <expandedEmergency>
11239        <possibleLengths national="3,6"/>
11240        <exampleNumber>117</exampleNumber>
11241        <nationalNumberPattern>
11242          11(?:
11243            6\d{3}|
11244            7
11245          )
11246        </nationalNumberPattern>
11247      </expandedEmergency>
11248    </territory>
11249
11250    <!-- Palau (PW) -->
11251    <!-- http://www.itu.int/oth/T02020000A2/en -->
11252    <territory id="PW">
11253      <generalDesc>
11254        <nationalNumberPattern>9\d\d</nationalNumberPattern>
11255      </generalDesc>
11256      <shortCode>
11257        <possibleLengths national="3"/>
11258        <exampleNumber>911</exampleNumber>
11259        <nationalNumberPattern>911</nationalNumberPattern>
11260      </shortCode>
11261      <tollFree>
11262        <possibleLengths national="3"/>
11263        <exampleNumber>911</exampleNumber>
11264        <nationalNumberPattern>911</nationalNumberPattern>
11265      </tollFree>
11266      <emergency>
11267        <possibleLengths national="3"/>
11268        <exampleNumber>911</exampleNumber>
11269        <nationalNumberPattern>911</nationalNumberPattern>
11270      </emergency>
11271    </territory>
11272
11273    <!-- Paraguay (PY) -->
11274    <territory id="PY">
11275      <generalDesc>
11276        <nationalNumberPattern>[19]\d\d</nationalNumberPattern>
11277      </generalDesc>
11278      <shortCode>
11279        <possibleLengths national="3"/>
11280        <exampleNumber>110</exampleNumber>
11281        <nationalNumberPattern>
11282          1[1-9]\d|
11283          911
11284        </nationalNumberPattern>
11285      </shortCode>
11286      <tollFree>
11287        <possibleLengths national="3"/>
11288        <exampleNumber>128</exampleNumber>
11289        <nationalNumberPattern>
11290          128|
11291          911
11292        </nationalNumberPattern>
11293      </tollFree>
11294      <emergency>
11295        <possibleLengths national="3"/>
11296        <exampleNumber>128</exampleNumber>
11297        <nationalNumberPattern>
11298          128|
11299          911
11300        </nationalNumberPattern>
11301      </emergency>
11302    </territory>
11303
11304    <!-- Qatar (QA) -->
11305    <territory id="QA">
11306      <generalDesc>
11307        <nationalNumberPattern>[129]\d{2,4}</nationalNumberPattern>
11308      </generalDesc>
11309      <shortCode>
11310        <possibleLengths national="[3-5]"/>
11311        <exampleNumber>100</exampleNumber>
11312        <nationalNumberPattern>
11313          9(?:
11314            00|
11315            [19]\d
11316          )|
11317          (?:
11318            1|
11319            20|
11320            9[27]\d
11321          )\d\d
11322        </nationalNumberPattern>
11323      </shortCode>
11324      <tollFree>
11325        <possibleLengths national="3"/>
11326        <exampleNumber>990</exampleNumber>
11327        <nationalNumberPattern>99\d</nationalNumberPattern>
11328      </tollFree>
11329      <premiumRate>
11330        <possibleLengths national="3"/>
11331        <exampleNumber>900</exampleNumber>
11332        <nationalNumberPattern>900</nationalNumberPattern>
11333      </premiumRate>
11334      <emergency>
11335        <possibleLengths national="3"/>
11336        <exampleNumber>999</exampleNumber>
11337        <nationalNumberPattern>999</nationalNumberPattern>
11338      </emergency>
11339      <expandedEmergency>
11340        <possibleLengths national="3"/>
11341        <exampleNumber>990</exampleNumber>
11342        <nationalNumberPattern>99[0-8]</nationalNumberPattern>
11343      </expandedEmergency>
11344    </territory>
11345
11346    <!-- Réunion (RE) -->
11347    <!-- http://www.itu.int/oth/T020200004B/en -->
11348    <territory id="RE">
11349      <generalDesc>
11350        <nationalNumberPattern>1\d\d?</nationalNumberPattern>
11351      </generalDesc>
11352      <shortCode>
11353        <possibleLengths national="2,3"/>
11354        <exampleNumber>15</exampleNumber>
11355        <nationalNumberPattern>
11356          1(?:
11357            12|
11358            [578]
11359          )
11360        </nationalNumberPattern>
11361      </shortCode>
11362      <tollFree>
11363        <possibleLengths national="2,3"/>
11364        <exampleNumber>15</exampleNumber>
11365        <nationalNumberPattern>
11366          1(?:
11367            12|
11368            [578]
11369          )
11370        </nationalNumberPattern>
11371      </tollFree>
11372      <!-- http://www.reunion.fr/en/navigation-principale/getting-there/practical-information.html -->
11373      <emergency>
11374        <possibleLengths national="2,3"/>
11375        <exampleNumber>15</exampleNumber>
11376        <nationalNumberPattern>
11377          1(?:
11378            12|
11379            [578]
11380          )
11381        </nationalNumberPattern>
11382      </emergency>
11383    </territory>
11384
11385    <!-- Romania (RO) -->
11386    <!-- http://www.itu.int/oth/T02020000AC/en -->
11387    <!-- https://en.wikipedia.org/wiki/Telephone_numbers_in_Romania -->
11388    <territory id="RO">
11389      <generalDesc>
11390        <nationalNumberPattern>[18]\d{2,5}</nationalNumberPattern>
11391      </generalDesc>
11392      <shortCode>
11393        <possibleLengths national="[3-6]"/>
11394        <exampleNumber>112</exampleNumber>
11395        <nationalNumberPattern>
11396          1(?:
11397            1(?:
11398              2|
11399              6(?:
11400                000|
11401                1(?:
11402                  11|
11403                  23
11404                )
11405              )|
11406              8(?:
11407                (?:
11408                  01|
11409                  8[18]
11410                )1|
11411                119|
11412                [23]00|
11413                932
11414              )
11415            )|
11416            [24]\d\d|
11417            9(?:
11418              0(?:
11419                00|
11420                19
11421              )|
11422              1[19]|
11423              21|
11424              3[02]|
11425              5[178]
11426            )
11427          )|
11428          8[48]\d\d
11429        </nationalNumberPattern>
11430      </shortCode>
11431      <tollFree>
11432        <possibleLengths national="3,6"/>
11433        <exampleNumber>112</exampleNumber>
11434        <nationalNumberPattern>
11435          11(?:
11436            2|
11437            6\d{3}
11438          )
11439        </nationalNumberPattern>
11440      </tollFree>
11441      <premiumRate>
11442        <possibleLengths national="4,6"/>
11443        <exampleNumber>1200</exampleNumber>
11444        <nationalNumberPattern>
11445          (?:
11446            1(?:
11447              18[39]|
11448              [24]
11449            )|
11450            8[48]
11451          )\d\d
11452        </nationalNumberPattern>
11453      </premiumRate>
11454      <emergency>
11455        <possibleLengths national="3"/>
11456        <exampleNumber>112</exampleNumber>
11457        <nationalNumberPattern>112</nationalNumberPattern>
11458      </emergency>
11459      <expandedEmergency>
11460        <possibleLengths national="6"/>
11461        <exampleNumber>116000</exampleNumber>
11462        <nationalNumberPattern>116\d{3}</nationalNumberPattern>
11463      </expandedEmergency>
11464      <smsServices>
11465        <possibleLengths national="4"/>
11466        <exampleNumber>1200</exampleNumber>
11467        <nationalNumberPattern>
11468          (?:
11469            1[24]|
11470            8[48]
11471          )\d\d
11472        </nationalNumberPattern>
11473      </smsServices>
11474    </territory>
11475
11476    <!-- Serbia (RS) -->
11477    <territory id="RS">
11478      <generalDesc>
11479        <nationalNumberPattern>[19]\d{1,5}</nationalNumberPattern>
11480      </generalDesc>
11481      <shortCode>
11482        <possibleLengths national="[2-6]"/>
11483        <exampleNumber>92</exampleNumber>
11484        <nationalNumberPattern>
11485          1[189]\d{1,4}|
11486          9[2-4]
11487        </nationalNumberPattern>
11488      </shortCode>
11489      <tollFree>
11490        <possibleLengths national="2,3"/>
11491        <exampleNumber>92</exampleNumber>
11492        <nationalNumberPattern>
11493          112|
11494          9[2-4]
11495        </nationalNumberPattern>
11496      </tollFree>
11497      <emergency>
11498        <possibleLengths national="2,3"/>
11499        <exampleNumber>92</exampleNumber>
11500        <nationalNumberPattern>
11501          112|
11502          9[2-4]
11503        </nationalNumberPattern>
11504      </emergency>
11505    </territory>
11506
11507    <!-- Russia (RU) -->
11508    <!-- http://www.itu.int/oth/T02020000AD/en -->
11509    <!-- http://en.wikipedia.org/wiki/%2B7 -->
11510    <territory id="RU">
11511      <generalDesc>
11512        <nationalNumberPattern>[01]\d\d?</nationalNumberPattern>
11513      </generalDesc>
11514      <shortCode>
11515        <possibleLengths national="2,3"/>
11516        <exampleNumber>01</exampleNumber>
11517        <nationalNumberPattern>
11518          112|
11519          (?:
11520            0|
11521            10
11522          )[1-4]
11523        </nationalNumberPattern>
11524      </shortCode>
11525      <tollFree>
11526        <possibleLengths national="2,3"/>
11527        <exampleNumber>01</exampleNumber>
11528        <nationalNumberPattern>
11529          112|
11530          (?:
11531            0|
11532            10
11533          )[1-3]
11534        </nationalNumberPattern>
11535      </tollFree>
11536      <emergency>
11537        <possibleLengths national="2,3"/>
11538        <exampleNumber>01</exampleNumber>
11539        <nationalNumberPattern>
11540          112|
11541          (?:
11542            0|
11543            10
11544          )[1-3]
11545        </nationalNumberPattern>
11546      </emergency>
11547    </territory>
11548
11549    <!-- Rwanda (RW) -->
11550    <!-- http://en.wikipedia.org/wiki/+250 -->
11551    <territory id="RW">
11552      <generalDesc>
11553        <nationalNumberPattern>[14]\d\d</nationalNumberPattern>
11554      </generalDesc>
11555      <shortCode>
11556        <possibleLengths national="3"/>
11557        <exampleNumber>100</exampleNumber>
11558        <nationalNumberPattern>
11559          1(?:
11560            0[0-2]|
11561            1[0-24-6]|
11562            2[13]|
11563            70|
11564            99
11565          )|
11566          456
11567        </nationalNumberPattern>
11568      </shortCode>
11569      <tollFree>
11570        <possibleLengths national="3"/>
11571        <exampleNumber>111</exampleNumber>
11572        <nationalNumberPattern>11[1245]</nationalNumberPattern>
11573      </tollFree>
11574      <emergency>
11575        <possibleLengths national="3"/>
11576        <exampleNumber>111</exampleNumber>
11577        <nationalNumberPattern>11[12]</nationalNumberPattern>
11578      </emergency>
11579      <expandedEmergency>
11580        <possibleLengths national="3"/>
11581        <exampleNumber>114</exampleNumber>
11582        <nationalNumberPattern>11[45]</nationalNumberPattern>
11583      </expandedEmergency>
11584    </territory>
11585
11586    <!-- Saudi Arabia (SA) -->
11587    <!-- http://www.itu.int/oth/T02020000B7/en -->
11588    <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Saudi_Arabia -->
11589    <territory id="SA">
11590      <generalDesc>
11591        <nationalNumberPattern>[19]\d{2,5}</nationalNumberPattern>
11592      </generalDesc>
11593      <shortCode>
11594        <possibleLengths national="[3-6]"/>
11595        <exampleNumber>112</exampleNumber>
11596        <nationalNumberPattern>
11597          1(?:
11598            1(?:
11599              00|
11600              2|
11601              6111
11602            )|
11603            410|
11604            9(?:
11605              00|
11606              1[89]|
11607              9(?:
11608                099|
11609                22|
11610                9[0-3]
11611              )
11612            )
11613          )|
11614          9(?:
11615            0[24-79]|
11616            11|
11617            3[379]|
11618            40|
11619            66|
11620            8[5-9]|
11621            9[02-9]
11622          )
11623        </nationalNumberPattern>
11624      </shortCode>
11625      <!-- http://www.childhelplineinternational.org/media/40652/speaker_3_-_saudi_arabia__2_.pdf
11626           says that 116111 is free. http://www.arabnews.com/news/451698 talks about 937 being
11627           toll free. -->
11628      <tollFree>
11629        <possibleLengths national="3,6"/>
11630        <exampleNumber>112</exampleNumber>
11631        <nationalNumberPattern>
11632          11(?:
11633            2|
11634            6\d{3}
11635          )|
11636          9(?:
11637            11|
11638            37|
11639            9[7-9]
11640          )
11641        </nationalNumberPattern>
11642      </tollFree>
11643      <!-- This is listed on
11644           http://www.mobily.com.sa/portalu/wps/portal/personal/services/video-and-voice-calls/voice-mail/?lang=en
11645           as costing 25 per minute. The normal mobile rate for calls is 10-30. -->
11646      <standardRate>
11647        <possibleLengths national="4"/>
11648        <exampleNumber>1410</exampleNumber>
11649        <nationalNumberPattern>141\d</nationalNumberPattern>
11650      </standardRate>
11651      <!-- 1410 is the Mobily voicemail number. -->
11652      <carrierSpecific>
11653        <possibleLengths national="3,4"/>
11654        <exampleNumber>902</exampleNumber>
11655        <nationalNumberPattern>
11656          1(?:
11657            10|
11658            41
11659          )\d|
11660          90[24679]
11661        </nationalNumberPattern>
11662      </carrierSpecific>
11663      <emergency>
11664        <possibleLengths national="3"/>
11665        <exampleNumber>112</exampleNumber>
11666        <nationalNumberPattern>
11667          112|
11668          9(?:
11669            11|
11670            9[79]
11671          )
11672        </nationalNumberPattern>
11673      </emergency>
11674      <!-- 116 111 is set up for counselling and referral services in Saudi Arabia, not emergency
11675           cases. -->
11676      <expandedEmergency>
11677        <possibleLengths national="3"/>
11678        <exampleNumber>937</exampleNumber>
11679        <nationalNumberPattern>
11680          9(?:
11681            [38]7|
11682            66|
11683            9[68]
11684          )
11685        </nationalNumberPattern>
11686      </expandedEmergency>
11687    </territory>
11688
11689    <!-- Solomon Islands (SB) -->
11690    <territory id="SB">
11691      <generalDesc>
11692        <nationalNumberPattern>[127-9]\d\d</nationalNumberPattern>
11693      </generalDesc>
11694      <shortCode>
11695        <possibleLengths national="3"/>
11696        <exampleNumber>100</exampleNumber>
11697        <nationalNumberPattern>
11698          1(?:
11699            [02]\d|
11700            1[12]|
11701            [35][01]|
11702            [49][1-9]|
11703            6[2-9]|
11704            7[7-9]|
11705            8[0-8]
11706          )|
11707          269|
11708          777|
11709          835|
11710          9(?:
11711            [01]1|
11712            22|
11713            33|
11714            55|
11715            77|
11716            88|
11717            99
11718          )
11719        </nationalNumberPattern>
11720      </shortCode>
11721      <tollFree>
11722        <possibleLengths national="3"/>
11723        <exampleNumber>999</exampleNumber>
11724        <nationalNumberPattern>999</nationalNumberPattern>
11725      </tollFree>
11726      <emergency>
11727        <possibleLengths national="3"/>
11728        <exampleNumber>999</exampleNumber>
11729        <nationalNumberPattern>999</nationalNumberPattern>
11730      </emergency>
11731    </territory>
11732
11733    <!-- Seychelles (SC) -->
11734    <territory id="SC">
11735      <generalDesc>
11736        <nationalNumberPattern>[19]\d{2,3}</nationalNumberPattern>
11737      </generalDesc>
11738      <shortCode>
11739        <possibleLengths national="3,4"/>
11740        <exampleNumber>100</exampleNumber>
11741        <nationalNumberPattern>
11742          1(?:
11743            [06]\d|
11744            1[0-246-8]|
11745            2[0-8]|
11746            3[13]|
11747            4[0-2]|
11748            5[15]|
11749            7[124-6]|
11750            8[158]|
11751            9[015]
11752          )|
11753          9(?:
11754            6\d\d|
11755            99
11756          )
11757        </nationalNumberPattern>
11758      </shortCode>
11759      <tollFree>
11760        <possibleLengths national="3"/>
11761        <exampleNumber>111</exampleNumber>
11762        <nationalNumberPattern>
11763          1(?:
11764            1[1468]|
11765            60
11766          )|
11767          999
11768        </nationalNumberPattern>
11769      </tollFree>
11770      <emergency>
11771        <possibleLengths national="3"/>
11772        <exampleNumber>999</exampleNumber>
11773        <nationalNumberPattern>999</nationalNumberPattern>
11774      </emergency>
11775      <expandedEmergency>
11776        <possibleLengths national="3"/>
11777        <exampleNumber>111</exampleNumber>
11778        <nationalNumberPattern>
11779          1(?:
11780            1[1468]|
11781            60
11782          )
11783        </nationalNumberPattern>
11784      </expandedEmergency>
11785    </territory>
11786
11787    <!-- Sudan (SD) -->
11788    <!-- http://www.itu.int/oth/T02020000C4/en -->
11789    <territory id="SD">
11790      <generalDesc>
11791        <nationalNumberPattern>9\d\d</nationalNumberPattern>
11792      </generalDesc>
11793      <shortCode>
11794        <possibleLengths national="3"/>
11795        <exampleNumber>999</exampleNumber>
11796        <nationalNumberPattern>999</nationalNumberPattern>
11797      </shortCode>
11798      <tollFree>
11799        <possibleLengths national="3"/>
11800        <exampleNumber>999</exampleNumber>
11801        <nationalNumberPattern>999</nationalNumberPattern>
11802      </tollFree>
11803      <emergency>
11804        <possibleLengths national="3"/>
11805        <exampleNumber>999</exampleNumber>
11806        <nationalNumberPattern>999</nationalNumberPattern>
11807      </emergency>
11808    </territory>
11809
11810    <!-- Sweden (SE) -->
11811    <!-- http://www.pts.se/upload/Ovrigt/Tele/Nummerfragor/Nrplansammanst%C3%A4llning-2013-07-05.pdf -->
11812    <!-- http://www.etiskaradet.se/sidor/om-sms-tjanster.aspx -->
11813    <territory id="SE">
11814      <generalDesc>
11815        <nationalNumberPattern>[1-37-9]\d{2,5}</nationalNumberPattern>
11816      </generalDesc>
11817      <shortCode>
11818        <possibleLengths national="[3-6]"/>
11819        <exampleNumber>112</exampleNumber>
11820        <nationalNumberPattern>
11821          11(?:
11822            [25]|
11823            313|
11824            6(?:
11825              00[06]|
11826              1(?:
11827                1[17]|
11828                23
11829              )
11830            )|
11831            7[0-8]
11832          )|
11833          2(?:
11834            2[02358]|
11835            33|
11836            4[01]|
11837            50|
11838            6[1-4]
11839          )|
11840          32[13]|
11841          8(?:
11842            22|
11843            88
11844          )|
11845          9(?:
11846            0(?:
11847              00|
11848              51
11849            )0|
11850            12
11851          )|
11852          (?:
11853            11(?:
11854              4|
11855              8[02-46-9]
11856            )|
11857            7\d\d|
11858            90[2-4]
11859          )\d\d|
11860          (?:
11861            118|
11862            90
11863          )1(?:
11864            [02-9]\d|
11865            1[013-9]
11866          )
11867        </nationalNumberPattern>
11868      </shortCode>
11869      <tollFree>
11870        <possibleLengths national="[3-6]"/>
11871        <exampleNumber>112</exampleNumber>
11872        <nationalNumberPattern>
11873          11(?:
11874            2|
11875            (?:
11876              3|
11877              6\d
11878            )\d\d|
11879            414|
11880            77
11881          )|
11882          900\d\d
11883        </nationalNumberPattern>
11884      </tollFree>
11885      <premiumRate>
11886        <possibleLengths national="5,6"/>
11887        <exampleNumber>72000</exampleNumber>
11888        <nationalNumberPattern>
11889          11811[89]|
11890          72\d{3}
11891        </nationalNumberPattern>
11892      </premiumRate>
11893      <!-- None of the numbers are specified in the numbering plan, they
11894           have been found on operator homepages. -->
11895      <!-- http://www.bth.se/for/telefoni.nsf/bilagor/Lathund_Telenor_One_2_0_pdf/$file/Lathund_Telenor_One_2.0.pdf -->
11896      <!-- http://www.tele2.se/foretag/files/manual_tele2mobil_mini.pdf -->
11897      <carrierSpecific>
11898        <possibleLengths national="3"/>
11899        <exampleNumber>220</exampleNumber>
11900        <nationalNumberPattern>
11901          2(?:
11902            2[02358]|
11903            33|
11904            4[01]|
11905            50|
11906            6[1-4]
11907          )|
11908          32[13]|
11909          8(?:
11910            22|
11911            88
11912          )|
11913          912
11914        </nationalNumberPattern>
11915      </carrierSpecific>
11916      <emergency>
11917        <possibleLengths national="3,5"/>
11918        <exampleNumber>112</exampleNumber>
11919        <nationalNumberPattern>
11920          112|
11921          90000
11922        </nationalNumberPattern>
11923      </emergency>
11924      <expandedEmergency>
11925        <possibleLengths national="[4-6]"/>
11926        <exampleNumber>1177</exampleNumber>
11927        <nationalNumberPattern>
11928          11(?:
11929            3\d\d|
11930            414|
11931            6(?:
11932              000|
11933              1(?:
11934                11|
11935                2\d
11936              )
11937            )|
11938            77
11939          )
11940        </nationalNumberPattern>
11941      </expandedEmergency>
11942      <!-- http://www.etiskaradet.se/sidor/om-sms-tjanster.aspx -->
11943      <smsServices>
11944        <possibleLengths national="5"/>
11945        <exampleNumber>70000</exampleNumber>
11946        <nationalNumberPattern>7\d{4}</nationalNumberPattern>
11947      </smsServices>
11948    </territory>
11949
11950    <!-- Singapore (SG) -->
11951    <territory id="SG">
11952      <generalDesc>
11953        <nationalNumberPattern>[179]\d{2,4}</nationalNumberPattern>
11954      </generalDesc>
11955      <shortCode>
11956        <possibleLengths national="[3-5]"/>
11957        <exampleNumber>100</exampleNumber>
11958        <nationalNumberPattern>
11959          1(?:
11960            (?:
11961              [01368]\d|
11962              44
11963            )\d|
11964            [57]\d{2,3}|
11965            9(?:
11966              0[1-9]|
11967              [1-9]\d
11968            )
11969          )|
11970          77222|
11971          99[02-9]|
11972          100
11973        </nationalNumberPattern>
11974      </shortCode>
11975      <tollFree>
11976        <possibleLengths national="3"/>
11977        <exampleNumber>993</exampleNumber>
11978        <nationalNumberPattern>99[359]</nationalNumberPattern>
11979      </tollFree>
11980      <emergency>
11981        <possibleLengths national="3"/>
11982        <exampleNumber>993</exampleNumber>
11983        <nationalNumberPattern>99[359]</nationalNumberPattern>
11984      </emergency>
11985      <!-- 77222 is an SMS shortcode based on a user report and online results. -->
11986      <smsServices>
11987        <possibleLengths national="5"/>
11988        <exampleNumber>77200</exampleNumber>
11989        <nationalNumberPattern>772\d\d</nationalNumberPattern>
11990      </smsServices>
11991    </territory>
11992
11993    <!-- St. Helena (SH) -->
11994    <territory id="SH">
11995      <generalDesc>
11996        <nationalNumberPattern>[129]\d{2,4}</nationalNumberPattern>
11997      </generalDesc>
11998      <shortCode>
11999        <possibleLengths national="[3-5]"/>
12000        <exampleNumber>100</exampleNumber>
12001        <nationalNumberPattern>
12002          1\d{2,3}|
12003          26[01]\d\d|
12004          9(?:
12005            11|
12006            99
12007          )
12008        </nationalNumberPattern>
12009      </shortCode>
12010      <tollFree>
12011        <possibleLengths national="3"/>
12012        <exampleNumber>911</exampleNumber>
12013        <nationalNumberPattern>
12014          9(?:
12015            11|
12016            99
12017          )
12018        </nationalNumberPattern>
12019      </tollFree>
12020      <!-- http://www.sthelenatourism.com/pages/fast_facts.html#Emergencies -->
12021      <emergency>
12022        <possibleLengths national="3"/>
12023        <exampleNumber>911</exampleNumber>
12024        <nationalNumberPattern>
12025          9(?:
12026            11|
12027            99
12028          )
12029        </nationalNumberPattern>
12030      </emergency>
12031    </territory>
12032
12033    <!-- Slovenia (SI) -->
12034    <!-- http://www.itu.int/oth/T02020000BE/en -->
12035    <territory id="SI">
12036      <generalDesc>
12037        <nationalNumberPattern>1\d{2,5}</nationalNumberPattern>
12038      </generalDesc>
12039      <shortCode>
12040        <possibleLengths national="[3-6]"/>
12041        <exampleNumber>112</exampleNumber>
12042        <nationalNumberPattern>
12043          1(?:
12044            1(?:
12045              00[146]|
12046              [23]|
12047              6(?:
12048                000|
12049                1(?:
12050                  11|
12051                  23
12052                )
12053              )|
12054              8(?:
12055                [08]|
12056                99
12057              )
12058            )|
12059            9(?:
12060              059|
12061              1(?:
12062                0[12]|
12063                16
12064              )|
12065              5|
12066              70|
12067              87|
12068              9(?:
12069                00|
12070                [149]
12071              )
12072            )
12073          )|
12074          19(?:
12075            08|
12076            81
12077          )[09]
12078        </nationalNumberPattern>
12079      </shortCode>
12080      <tollFree>
12081        <possibleLengths national="[3-6]"/>
12082        <exampleNumber>112</exampleNumber>
12083        <nationalNumberPattern>
12084          11(?:
12085            (?:
12086              0|
12087              6\d
12088            )\d\d|
12089            [23]|
12090            8\d\d?
12091          )
12092        </nationalNumberPattern>
12093      </tollFree>
12094      <emergency>
12095        <possibleLengths national="3"/>
12096        <exampleNumber>112</exampleNumber>
12097        <nationalNumberPattern>11[23]</nationalNumberPattern>
12098      </emergency>
12099      <expandedEmergency>
12100        <possibleLengths national="[4-6]"/>
12101        <exampleNumber>1180</exampleNumber>
12102        <nationalNumberPattern>
12103          11(?:
12104            [08]|
12105            6\d
12106          )\d\d|
12107          118\d
12108        </nationalNumberPattern>
12109      </expandedEmergency>
12110    </territory>
12111
12112    <!-- Svalbard & Jan Mayen (SJ) -->
12113    <!-- http://www.npt.no/pt_internet/numsys/E.164.pdf -->
12114    <territory id="SJ">
12115      <generalDesc>
12116        <nationalNumberPattern>1\d\d</nationalNumberPattern>
12117      </generalDesc>
12118      <shortCode>
12119        <possibleLengths national="3"/>
12120        <exampleNumber>110</exampleNumber>
12121        <nationalNumberPattern>11[023]</nationalNumberPattern>
12122      </shortCode>
12123      <tollFree>
12124        <possibleLengths national="3"/>
12125        <exampleNumber>110</exampleNumber>
12126        <nationalNumberPattern>11[023]</nationalNumberPattern>
12127      </tollFree>
12128      <!-- Same as Norway, according to http://kho.unis.no/nordlysstasjon_useful.htm -->
12129      <emergency>
12130        <possibleLengths national="3"/>
12131        <exampleNumber>110</exampleNumber>
12132        <nationalNumberPattern>11[023]</nationalNumberPattern>
12133      </emergency>
12134    </territory>
12135
12136    <!-- Slovakia (SK) -->
12137    <!-- http://www.itu.int/oth/T02020000BD/en -->
12138    <!-- http://www.teleoff.gov.sk/data/files/25211.pdf -->
12139    <territory id="SK">
12140      <generalDesc>
12141        <nationalNumberPattern>1\d{2,5}</nationalNumberPattern>
12142      </generalDesc>
12143      <!-- As per online evidence 16xxx and 17xxx short codes cannot be dailled without area code,
12144           so it is not included here. -->
12145      <shortCode>
12146        <possibleLengths national="[3-6]"/>
12147        <exampleNumber>112</exampleNumber>
12148        <nationalNumberPattern>
12149          1(?:
12150            1(?:
12151              2|
12152              6(?:
12153                000|
12154                111
12155              )|
12156              8[0-8]
12157            )|
12158            [248]\d{3}|
12159            5[0589]
12160          )
12161        </nationalNumberPattern>
12162      </shortCode>
12163      <tollFree>
12164        <possibleLengths national="3,6"/>
12165        <exampleNumber>112</exampleNumber>
12166        <nationalNumberPattern>
12167          1(?:
12168            1(?:
12169              2|
12170              6\d{3}
12171            )|
12172            5[058]
12173          )
12174        </nationalNumberPattern>
12175      </tollFree>
12176      <emergency>
12177        <possibleLengths national="3"/>
12178        <exampleNumber>112</exampleNumber>
12179        <nationalNumberPattern>
12180          1(?:
12181            12|
12182            5[058]
12183          )
12184        </nationalNumberPattern>
12185      </emergency>
12186      <expandedEmergency>
12187        <possibleLengths national="3,6"/>
12188        <exampleNumber>159</exampleNumber>
12189        <nationalNumberPattern>
12190          1(?:
12191            16\d{3}|
12192            59
12193          )
12194        </nationalNumberPattern>
12195      </expandedEmergency>
12196    </territory>
12197
12198    <!-- Sierra Leone (SL) -->
12199    <!-- http://www.itu.int/oth/T02020000BB/en -->
12200    <territory id="SL">
12201      <generalDesc>
12202        <nationalNumberPattern>
12203          [069]\d\d(?:
12204            \d{2}
12205          )?
12206        </nationalNumberPattern>
12207      </generalDesc>
12208      <shortCode>
12209        <possibleLengths national="3,5"/>
12210        <exampleNumber>019</exampleNumber>
12211        <nationalNumberPattern>
12212          (?:
12213            01|
12214            99
12215          )9|
12216          60400
12217        </nationalNumberPattern>
12218      </shortCode>
12219      <tollFree>
12220        <possibleLengths national="3"/>
12221        <exampleNumber>019</exampleNumber>
12222        <nationalNumberPattern>
12223          (?:
12224            01|
12225            99
12226          )9
12227        </nationalNumberPattern>
12228      </tollFree>
12229      <!-- https://support.google.com/plus/answer/1304917 -->
12230      <carrierSpecific>
12231        <possibleLengths national="5"/>
12232        <exampleNumber>60400</exampleNumber>
12233        <nationalNumberPattern>604\d\d</nationalNumberPattern>
12234      </carrierSpecific>
12235      <emergency>
12236        <possibleLengths national="3"/>
12237        <exampleNumber>019</exampleNumber>
12238        <nationalNumberPattern>
12239          (?:
12240            01|
12241            99
12242          )9
12243        </nationalNumberPattern>
12244      </emergency>
12245      <!-- https://support.google.com/plus/answer/1304917 -->
12246      <smsServices>
12247        <possibleLengths national="5"/>
12248        <exampleNumber>60400</exampleNumber>
12249        <nationalNumberPattern>604\d\d</nationalNumberPattern>
12250      </smsServices>
12251    </territory>
12252
12253    <!-- San Marino (SM) -->
12254    <!-- http://www.itu.int/oth/T02020000B5/en -->
12255    <territory id="SM">
12256      <generalDesc>
12257        <nationalNumberPattern>1\d\d</nationalNumberPattern>
12258      </generalDesc>
12259      <shortCode>
12260        <possibleLengths national="3"/>
12261        <exampleNumber>113</exampleNumber>
12262        <nationalNumberPattern>11[358]</nationalNumberPattern>
12263      </shortCode>
12264      <tollFree>
12265        <possibleLengths national="3"/>
12266        <exampleNumber>113</exampleNumber>
12267        <nationalNumberPattern>11[358]</nationalNumberPattern>
12268      </tollFree>
12269      <emergency>
12270        <possibleLengths national="3"/>
12271        <exampleNumber>113</exampleNumber>
12272        <nationalNumberPattern>11[358]</nationalNumberPattern>
12273      </emergency>
12274    </territory>
12275
12276    <!-- Senegal (SN) -->
12277    <!-- http://www.itu.int/dms_pub/itu-t/oth/02/02/T02020000B80001PDFE.pdf -->
12278    <!-- http://www.artpsenegal.net/images/documents/document_Structure_plan_national_de_numerotation_PNN_2012_231.pdf -->
12279    <territory id="SN">
12280      <generalDesc>
12281        <nationalNumberPattern>[12]\d{1,5}</nationalNumberPattern>
12282      </generalDesc>
12283      <shortCode>
12284        <possibleLengths national="[2-6]"/>
12285        <exampleNumber>12</exampleNumber>
12286        <nationalNumberPattern>
12287          1(?:
12288            1[69]|
12289            (?:
12290              [246]\d|
12291              51
12292            )\d
12293          )|
12294          2(?:
12295            0[0-246]|
12296            [12468]
12297          )\d{3}|
12298          1[278]
12299        </nationalNumberPattern>
12300      </shortCode>
12301      <tollFree>
12302        <possibleLengths national="2,[4-6]"/>
12303        <exampleNumber>17</exampleNumber>
12304        <nationalNumberPattern>
12305          1(?:
12306            515|
12307            [78]
12308          )|
12309          2(?:
12310            00|
12311            1
12312          )\d{3}
12313        </nationalNumberPattern>
12314      </tollFree>
12315      <standardRate>
12316        <possibleLengths national="5,6"/>
12317        <exampleNumber>22000</exampleNumber>
12318        <nationalNumberPattern>
12319          2(?:
12320            01|
12321            2
12322          )\d{3}
12323        </nationalNumberPattern>
12324      </standardRate>
12325      <premiumRate>
12326        <possibleLengths national="5,6"/>
12327        <exampleNumber>24000</exampleNumber>
12328        <nationalNumberPattern>
12329          2(?:
12330            0[246]|
12331            [468]
12332          )\d{3}
12333        </nationalNumberPattern>
12334      </premiumRate>
12335      <carrierSpecific>
12336        <possibleLengths national="4"/>
12337        <exampleNumber>1400</exampleNumber>
12338        <nationalNumberPattern>1[46]\d\d</nationalNumberPattern>
12339      </carrierSpecific>
12340      <emergency>
12341        <possibleLengths national="2"/>
12342        <exampleNumber>17</exampleNumber>
12343        <nationalNumberPattern>1[78]</nationalNumberPattern>
12344      </emergency>
12345      <!-- 1515 is added as expanded emergency according to official documentation at
12346           www.artpsenegal.net, and www.samu.sn suggesting that it's for disaster management. -->
12347      <expandedEmergency>
12348        <possibleLengths national="3,4"/>
12349        <exampleNumber>116</exampleNumber>
12350        <nationalNumberPattern>
12351          1(?:
12352            1[69]|
12353            221|
12354            515
12355          )
12356        </nationalNumberPattern>
12357      </expandedEmergency>
12358      <smsServices>
12359        <possibleLengths national="5"/>
12360        <exampleNumber>24000</exampleNumber>
12361        <nationalNumberPattern>2[468]\d{3}</nationalNumberPattern>
12362      </smsServices>
12363    </territory>
12364
12365    <!-- Somalia (SO) -->
12366    <territory id="SO">
12367      <generalDesc>
12368        <nationalNumberPattern>[57-9]\d\d</nationalNumberPattern>
12369      </generalDesc>
12370      <shortCode>
12371        <possibleLengths national="3"/>
12372        <exampleNumber>555</exampleNumber>
12373        <nationalNumberPattern>
12374          555|
12375          777|
12376          888|
12377          999
12378        </nationalNumberPattern>
12379      </shortCode>
12380      <tollFree>
12381        <possibleLengths national="3"/>
12382        <exampleNumber>555</exampleNumber>
12383        <nationalNumberPattern>
12384          555|
12385          888|
12386          999
12387        </nationalNumberPattern>
12388      </tollFree>
12389      <emergency>
12390        <possibleLengths national="3"/>
12391        <exampleNumber>555</exampleNumber>
12392        <nationalNumberPattern>
12393          555|
12394          888|
12395          999
12396        </nationalNumberPattern>
12397      </emergency>
12398      <expandedEmergency>
12399        <possibleLengths national="3"/>
12400        <exampleNumber>777</exampleNumber>
12401        <nationalNumberPattern>777</nationalNumberPattern>
12402      </expandedEmergency>
12403    </territory>
12404
12405    <!-- Suriname (SR) -->
12406    <territory id="SR">
12407      <generalDesc>
12408        <nationalNumberPattern>1\d{2,3}</nationalNumberPattern>
12409      </generalDesc>
12410      <shortCode>
12411        <possibleLengths national="3,4"/>
12412        <exampleNumber>100</exampleNumber>
12413        <nationalNumberPattern>1\d{2,3}</nationalNumberPattern>
12414      </shortCode>
12415      <tollFree>
12416        <possibleLengths national="3"/>
12417        <exampleNumber>115</exampleNumber>
12418        <nationalNumberPattern>115</nationalNumberPattern>
12419      </tollFree>
12420      <emergency>
12421        <possibleLengths national="3"/>
12422        <exampleNumber>115</exampleNumber>
12423        <nationalNumberPattern>115</nationalNumberPattern>
12424      </emergency>
12425    </territory>
12426
12427    <!-- South Sudan (SS) -->
12428    <territory id="SS">
12429      <generalDesc>
12430        <nationalNumberPattern>9\d\d</nationalNumberPattern>
12431      </generalDesc>
12432      <shortCode>
12433        <possibleLengths national="3"/>
12434        <exampleNumber>999</exampleNumber>
12435        <nationalNumberPattern>999</nationalNumberPattern>
12436      </shortCode>
12437      <tollFree>
12438        <possibleLengths national="3"/>
12439        <exampleNumber>999</exampleNumber>
12440        <nationalNumberPattern>999</nationalNumberPattern>
12441      </tollFree>
12442      <emergency>
12443        <possibleLengths national="3"/>
12444        <exampleNumber>999</exampleNumber>
12445        <nationalNumberPattern>999</nationalNumberPattern>
12446      </emergency>
12447    </territory>
12448
12449    <!-- São Tomé & Príncipe (ST) -->
12450    <!-- http://www.itu.int/oth/T02020000B6/en -->
12451    <territory id="ST">
12452      <generalDesc>
12453        <nationalNumberPattern>1\d\d</nationalNumberPattern>
12454      </generalDesc>
12455      <shortCode>
12456        <possibleLengths national="3"/>
12457        <exampleNumber>112</exampleNumber>
12458        <nationalNumberPattern>112</nationalNumberPattern>
12459      </shortCode>
12460      <tollFree>
12461        <possibleLengths national="3"/>
12462        <exampleNumber>112</exampleNumber>
12463        <nationalNumberPattern>112</nationalNumberPattern>
12464      </tollFree>
12465      <!-- http://www.netglobers.com/africa/s%C3%A3o-tome-and-principe-emergency-numbers-in-s%C3%A3o-tome-and-principe.html -->
12466      <!-- http://travel.state.gov/travel/cis_pa_tw/cis/cis_1010.html -->
12467      <!-- http://www.tipredaktion.net/consumer/lufthansa_en/tip-ST-1.html -->
12468      <!-- Emergency numbers longer than 3 digits covered by fixed-line. -->
12469      <emergency>
12470        <possibleLengths national="3"/>
12471        <exampleNumber>112</exampleNumber>
12472        <nationalNumberPattern>112</nationalNumberPattern>
12473      </emergency>
12474    </territory>
12475
12476    <!-- El Salvador (SV) -->
12477    <!-- http://www.itu.int/oth/T020200003F/en -->
12478    <territory id="SV">
12479      <generalDesc>
12480        <nationalNumberPattern>
12481          [149]\d\d(?:
12482            \d{2,3}
12483          )?
12484        </nationalNumberPattern>
12485      </generalDesc>
12486      <shortCode>
12487        <possibleLengths national="3,5,6"/>
12488        <exampleNumber>112</exampleNumber>
12489        <nationalNumberPattern>
12490          1(?:
12491            1(?:
12492              2|
12493              6111
12494            )|
12495            2[136-8]|
12496            3[0-6]|
12497            9[05]
12498          )|
12499          40404|
12500          9(?:
12501            1\d|
12502            29
12503          )
12504        </nationalNumberPattern>
12505      </shortCode>
12506      <tollFree>
12507        <possibleLengths national="3,6"/>
12508        <exampleNumber>911</exampleNumber>
12509        <nationalNumberPattern>
12510          116\d{3}|
12511          911
12512        </nationalNumberPattern>
12513      </tollFree>
12514      <!-- https://support.twitter.com/articles/20170024 -->
12515      <carrierSpecific>
12516        <possibleLengths national="5"/>
12517        <exampleNumber>40400</exampleNumber>
12518        <nationalNumberPattern>404\d\d</nationalNumberPattern>
12519      </carrierSpecific>
12520      <emergency>
12521        <possibleLengths national="3"/>
12522        <exampleNumber>911</exampleNumber>
12523        <nationalNumberPattern>91[13]</nationalNumberPattern>
12524      </emergency>
12525      <expandedEmergency>
12526        <possibleLengths national="6"/>
12527        <exampleNumber>116000</exampleNumber>
12528        <nationalNumberPattern>116\d{3}</nationalNumberPattern>
12529      </expandedEmergency>
12530      <!-- https://support.twitter.com/articles/20170024 -->
12531      <smsServices>
12532        <possibleLengths national="5"/>
12533        <exampleNumber>40400</exampleNumber>
12534        <nationalNumberPattern>404\d\d</nationalNumberPattern>
12535      </smsServices>
12536    </territory>
12537
12538    <!-- Sint Maarten (SX) -->
12539    <!-- http://www.nanpa.com/pdf/PL_429.pdf -->
12540    <!-- http://www.itu.int/oth/T02020000F7/en -->
12541    <territory id="SX">
12542      <generalDesc>
12543        <nationalNumberPattern>9\d\d</nationalNumberPattern>
12544      </generalDesc>
12545      <shortCode>
12546        <possibleLengths national="3"/>
12547        <exampleNumber>919</exampleNumber>
12548        <nationalNumberPattern>
12549          9(?:
12550            19|
12551            88
12552          )
12553        </nationalNumberPattern>
12554      </shortCode>
12555      <tollFree>
12556        <possibleLengths national="3"/>
12557        <exampleNumber>919</exampleNumber>
12558        <nationalNumberPattern>
12559          9(?:
12560            19|
12561            88
12562          )
12563        </nationalNumberPattern>
12564      </tollFree>
12565      <!-- http://experiencestmartin.com/islandfacts/telephones.html -->
12566      <emergency>
12567        <possibleLengths national="3"/>
12568        <exampleNumber>919</exampleNumber>
12569        <nationalNumberPattern>919</nationalNumberPattern>
12570      </emergency>
12571      <expandedEmergency>
12572        <possibleLengths national="3"/>
12573        <exampleNumber>988</exampleNumber>
12574        <nationalNumberPattern>988</nationalNumberPattern>
12575      </expandedEmergency>
12576    </territory>
12577
12578    <!-- Syria (SY) -->
12579    <!-- http://www.itu.int/oth/T02020000C9/en -->
12580    <!-- http://en.wikipedia.org/wiki/%2B963 -->
12581    <territory id="SY">
12582      <generalDesc>
12583        <nationalNumberPattern>1\d\d</nationalNumberPattern>
12584      </generalDesc>
12585      <shortCode>
12586        <possibleLengths national="3"/>
12587        <exampleNumber>110</exampleNumber>
12588        <nationalNumberPattern>11[023]</nationalNumberPattern>
12589      </shortCode>
12590      <tollFree>
12591        <possibleLengths national="3"/>
12592        <exampleNumber>110</exampleNumber>
12593        <nationalNumberPattern>11[023]</nationalNumberPattern>
12594      </tollFree>
12595      <emergency>
12596        <possibleLengths national="3"/>
12597        <exampleNumber>110</exampleNumber>
12598        <nationalNumberPattern>11[023]</nationalNumberPattern>
12599      </emergency>
12600    </territory>
12601
12602    <!-- Eswatini (SZ) -->
12603    <!-- http://www.itu.int/oth/T02020000C6/en -->
12604    <territory id="SZ">
12605      <generalDesc>
12606        <nationalNumberPattern>9\d\d</nationalNumberPattern>
12607      </generalDesc>
12608      <shortCode>
12609        <possibleLengths national="3"/>
12610        <exampleNumber>999</exampleNumber>
12611        <nationalNumberPattern>999</nationalNumberPattern>
12612      </shortCode>
12613      <tollFree>
12614        <possibleLengths national="3"/>
12615        <exampleNumber>999</exampleNumber>
12616        <nationalNumberPattern>999</nationalNumberPattern>
12617      </tollFree>
12618      <!-- http://travel.state.gov/travel/cis_pa_tw/cis/cis_1031.html -->
12619      <!-- http://swaziland.usembassy.gov/information_for_travelers.html -->
12620      <emergency>
12621        <possibleLengths national="3"/>
12622        <exampleNumber>999</exampleNumber>
12623        <nationalNumberPattern>999</nationalNumberPattern>
12624      </emergency>
12625    </territory>
12626
12627    <!-- Turks & Caicos Islands (TC) -->
12628    <!-- http://www.itu.int/oth/T02020000D8/en -->
12629    <territory id="TC">
12630      <generalDesc>
12631        <nationalNumberPattern>9\d\d</nationalNumberPattern>
12632      </generalDesc>
12633      <shortCode>
12634        <possibleLengths national="3"/>
12635        <exampleNumber>911</exampleNumber>
12636        <nationalNumberPattern>
12637          9(?:
12638            11|
12639            88|
12640            99
12641          )
12642        </nationalNumberPattern>
12643      </shortCode>
12644      <tollFree>
12645        <possibleLengths national="3"/>
12646        <exampleNumber>911</exampleNumber>
12647        <nationalNumberPattern>
12648          9(?:
12649            11|
12650            88|
12651            99
12652          )
12653        </nationalNumberPattern>
12654      </tollFree>
12655      <!-- http://studentsabroad.state.gov/content/pdfs/911_ABROAD.pdf -->
12656      <!-- http://s2.turksandcaicosyp.com/Turks-Caicos/Government/2/book -->
12657      <emergency>
12658        <possibleLengths national="3"/>
12659        <exampleNumber>911</exampleNumber>
12660        <nationalNumberPattern>
12661          9(?:
12662            11|
12663            99
12664          )
12665        </nationalNumberPattern>
12666      </emergency>
12667      <expandedEmergency>
12668        <possibleLengths national="3"/>
12669        <exampleNumber>988</exampleNumber>
12670        <nationalNumberPattern>988</nationalNumberPattern>
12671      </expandedEmergency>
12672    </territory>
12673
12674    <!-- Chad (TD) -->
12675    <!-- http://www.itu.int/oth/T0202000029/en -->
12676    <territory id="TD">
12677      <generalDesc>
12678        <nationalNumberPattern>1\d</nationalNumberPattern>
12679      </generalDesc>
12680      <shortCode>
12681        <possibleLengths national="2"/>
12682        <exampleNumber>17</exampleNumber>
12683        <nationalNumberPattern>1[78]</nationalNumberPattern>
12684      </shortCode>
12685      <tollFree>
12686        <possibleLengths national="2"/>
12687        <exampleNumber>17</exampleNumber>
12688        <nationalNumberPattern>1[78]</nationalNumberPattern>
12689      </tollFree>
12690      <emergency>
12691        <possibleLengths national="2"/>
12692        <exampleNumber>17</exampleNumber>
12693        <nationalNumberPattern>1[78]</nationalNumberPattern>
12694      </emergency>
12695    </territory>
12696
12697    <!-- Togo (TG) -->
12698    <!-- http://www.itu.int/oth/T02020000D1/en -->
12699    <!-- https://www.itu.int/net/itu-t/inrdb/e129_important_numbers.aspx?country=212 -->
12700    <territory id="TG">
12701      <generalDesc>
12702        <nationalNumberPattern>1\d{2,3}</nationalNumberPattern>
12703      </generalDesc>
12704      <shortCode>
12705        <possibleLengths national="3,4"/>
12706        <exampleNumber>110</exampleNumber>
12707        <nationalNumberPattern>
12708          1(?:
12709            011|
12710            1[078]|
12711            7[127]
12712          )
12713        </nationalNumberPattern>
12714      </shortCode>
12715      <tollFree>
12716        <possibleLengths national="3"/>
12717        <exampleNumber>117</exampleNumber>
12718        <nationalNumberPattern>
12719          1(?:
12720            1[78]|
12721            7[127]
12722          )
12723        </nationalNumberPattern>
12724      </tollFree>
12725      <emergency>
12726        <possibleLengths national="3"/>
12727        <exampleNumber>117</exampleNumber>
12728        <nationalNumberPattern>
12729          1(?:
12730            1[78]|
12731            7[127]
12732          )
12733        </nationalNumberPattern>
12734      </emergency>
12735      <expandedEmergency>
12736        <possibleLengths national="3,4"/>
12737        <exampleNumber>110</exampleNumber>
12738        <nationalNumberPattern>
12739          1(?:
12740            01\d|
12741            10
12742          )
12743        </nationalNumberPattern>
12744      </expandedEmergency>
12745    </territory>
12746
12747    <!-- Thailand (TH) -->
12748    <!-- http://www.itu.int/oth/T02020000CD/en -->
12749    <!-- http://www.barascientific.com/bscnews/variety/emergency/Tel-4Digi.pdf -->
12750    <!-- http://en.wikipedia.org/wiki/+66 -->
12751    <!-- Other numbers found in online searches. -->
12752    <territory id="TH">
12753      <generalDesc>
12754        <nationalNumberPattern>1\d{2,3}</nationalNumberPattern>
12755      </generalDesc>
12756      <shortCode>
12757        <possibleLengths national="3,4"/>
12758        <exampleNumber>100</exampleNumber>
12759        <nationalNumberPattern>
12760          1(?:
12761            0[0-2]|
12762            1(?:
12763              0[03]|
12764              1[1-35]|
12765              2[0358]|
12766              3[03-79]|
12767              4[02-489]|
12768              5[04-9]|
12769              6[04-79]|
12770              7[03-9]|
12771              8[027-9]|
12772              9[02-9]
12773            )|
12774            2(?:
12775              22|
12776              3[89]|
12777              66
12778            )|
12779            3(?:
12780              18|
12781              2[23]|
12782              3[013]|
12783              5[56]|
12784              6[45]|
12785              73
12786            )|
12787            477|
12788            5(?:
12789              0\d|
12790              4[0-37-9]|
12791              5[1-8]|
12792              6[01679]|
12793              7[12568]|
12794              8[0-24589]|
12795              9[013589]
12796            )|
12797            6(?:
12798              0[0-29]|
12799              2[03]|
12800              4[3-6]|
12801              6[1-9]|
12802              7[0257-9]|
12803              8[0158]|
12804              9[014-9]
12805            )|
12806            7(?:
12807              [14]9|
12808              7[27]|
12809              90
12810            )|
12811            888|
12812            9[19]
12813          )
12814        </nationalNumberPattern>
12815      </shortCode>
12816      <tollFree>
12817        <possibleLengths national="3,4"/>
12818        <exampleNumber>191</exampleNumber>
12819        <nationalNumberPattern>
12820          1(?:
12821            1(?:
12822              00|
12823              2[03]|
12824              3[3479]|
12825              7[67]|
12826              9[0246]
12827            )|
12828            578|
12829            6(?:
12830              44|
12831              6[79]|
12832              88|
12833              9[16]
12834            )|
12835            88\d|
12836            9[19]
12837          )|
12838          1[15]55
12839        </nationalNumberPattern>
12840      </tollFree>
12841      <standardRate>
12842        <possibleLengths national="4"/>
12843        <exampleNumber>1103</exampleNumber>
12844        <nationalNumberPattern>
12845          1(?:
12846            1(?:
12847              03|
12848              1[15]|
12849              2[58]|
12850              3[056]|
12851              4[02-49]|
12852              5[046-9]|
12853              7[03-589]|
12854              9[57-9]
12855            )|
12856            5(?:
12857              0[0-8]|
12858              4[0-378]|
12859              5[1-478]|
12860              7[156]
12861            )|
12862            6(?:
12863              20|
12864              4[356]|
12865              6[1-68]|
12866              7[057-9]|
12867              8[015]|
12868              9[0457-9]
12869            )
12870          )|
12871          1(?:
12872            1[68]|
12873            26|
12874            3[1-35]|
12875            5[689]|
12876            60|
12877            7[17]
12878          )\d
12879        </nationalNumberPattern>
12880      </standardRate>
12881      <premiumRate>
12882        <possibleLengths national="4"/>
12883        <exampleNumber>1113</exampleNumber>
12884        <nationalNumberPattern>
12885          1(?:
12886            113|
12887            2[23]\d|
12888            5(?:
12889              09|
12890              56
12891            )
12892          )
12893        </nationalNumberPattern>
12894      </premiumRate>
12895      <carrierSpecific>
12896        <possibleLengths national="4"/>
12897        <exampleNumber>1148</exampleNumber>
12898        <nationalNumberPattern>114[89]</nationalNumberPattern>
12899      </carrierSpecific>
12900      <emergency>
12901        <possibleLengths national="3,4"/>
12902        <exampleNumber>191</exampleNumber>
12903        <nationalNumberPattern>
12904          1(?:
12905            669|
12906            9[19]
12907          )
12908        </nationalNumberPattern>
12909      </emergency>
12910      <expandedEmergency>
12911        <possibleLengths national="4"/>
12912        <exampleNumber>1193</exampleNumber>
12913        <nationalNumberPattern>
12914          1(?:
12915            193|
12916            691
12917          )
12918        </nationalNumberPattern>
12919      </expandedEmergency>
12920    </territory>
12921
12922    <!-- Tajikistan (TJ) -->
12923    <!-- http://www.itu.int/oth/T02020000CA/en -->
12924    <territory id="TJ">
12925      <generalDesc>
12926        <nationalNumberPattern>1\d\d</nationalNumberPattern>
12927      </generalDesc>
12928      <shortCode>
12929        <possibleLengths national="3"/>
12930        <exampleNumber>101</exampleNumber>
12931        <nationalNumberPattern>
12932          1(?:
12933            0[1-3]|
12934            12
12935          )
12936        </nationalNumberPattern>
12937      </shortCode>
12938      <tollFree>
12939        <possibleLengths national="3"/>
12940        <exampleNumber>101</exampleNumber>
12941        <nationalNumberPattern>
12942          1(?:
12943            0[1-3]|
12944            12
12945          )
12946        </nationalNumberPattern>
12947      </tollFree>
12948      <emergency>
12949        <possibleLengths national="3"/>
12950        <exampleNumber>101</exampleNumber>
12951        <nationalNumberPattern>
12952          1(?:
12953            0[1-3]|
12954            12
12955          )
12956        </nationalNumberPattern>
12957      </emergency>
12958    </territory>
12959
12960    <!-- Timor-Leste (TL) -->
12961    <territory id="TL">
12962      <generalDesc>
12963        <nationalNumberPattern>1\d\d</nationalNumberPattern>
12964      </generalDesc>
12965      <shortCode>
12966        <possibleLengths national="3"/>
12967        <exampleNumber>100</exampleNumber>
12968        <nationalNumberPattern>
12969          1(?:
12970            0[02]|
12971            1[25]|
12972            2[0138]|
12973            72|
12974            9[07]
12975          )
12976        </nationalNumberPattern>
12977      </shortCode>
12978      <tollFree>
12979        <possibleLengths national="3"/>
12980        <exampleNumber>112</exampleNumber>
12981        <nationalNumberPattern>11[25]</nationalNumberPattern>
12982      </tollFree>
12983      <emergency>
12984        <possibleLengths national="3"/>
12985        <exampleNumber>112</exampleNumber>
12986        <nationalNumberPattern>11[25]</nationalNumberPattern>
12987      </emergency>
12988    </territory>
12989
12990    <!-- Turkmenistan (TM) -->
12991    <!-- http://www.itu.int/oth/T02020000D7/en -->
12992    <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Turkmenistan -->
12993    <territory id="TM">
12994      <generalDesc>
12995        <nationalNumberPattern>0\d</nationalNumberPattern>
12996      </generalDesc>
12997      <shortCode>
12998        <possibleLengths national="2"/>
12999        <exampleNumber>01</exampleNumber>
13000        <nationalNumberPattern>0[1-49]</nationalNumberPattern>
13001      </shortCode>
13002      <tollFree>
13003        <possibleLengths national="2"/>
13004        <exampleNumber>01</exampleNumber>
13005        <nationalNumberPattern>0[1-49]</nationalNumberPattern>
13006      </tollFree>
13007      <!-- http://www.netglobers.com/asia/turkmenistan-emergency-numbers-in-turkmenistan.html
13008           http://www.voyage.gc.ca/countries_pays/report_rapport-eng.asp?id=301000 -->
13009      <emergency>
13010        <possibleLengths national="2"/>
13011        <exampleNumber>01</exampleNumber>
13012        <nationalNumberPattern>0[1-3]</nationalNumberPattern>
13013      </emergency>
13014    </territory>
13015
13016    <!-- Tunisia (TN) -->
13017    <!-- http://www.itu.int/oth/T02020000D5/en -->
13018    <!-- http://www.tunisietelecom.tn/tt/wcm/connect/?MOD=PDMProxy&TYPE=personalization&ID=NONE&KEY=NONE&LIBRARY=%2FcontentRoot%2Ficm%3Alibraries%5B16%5D&FOLDER=%2F&DOC_NAME=%2FcontentRoot%2Ficm%3Alibraries%5B16%5D%2FOTTI+2011.pdf -->
13019    <territory id="TN">
13020      <generalDesc>
13021        <nationalNumberPattern>1\d\d</nationalNumberPattern>
13022      </generalDesc>
13023      <shortCode>
13024        <possibleLengths national="3"/>
13025        <exampleNumber>190</exampleNumber>
13026        <nationalNumberPattern>19[078]</nationalNumberPattern>
13027      </shortCode>
13028      <tollFree>
13029        <possibleLengths national="3"/>
13030        <exampleNumber>190</exampleNumber>
13031        <nationalNumberPattern>19[078]</nationalNumberPattern>
13032      </tollFree>
13033      <emergency>
13034        <possibleLengths national="3"/>
13035        <exampleNumber>190</exampleNumber>
13036        <nationalNumberPattern>19[078]</nationalNumberPattern>
13037      </emergency>
13038    </territory>
13039
13040    <!-- Tonga (TO) -->
13041    <!-- http://www.itu.int/oth/T02020000D3/en -->
13042    <!-- http://www.wtng.info/wtng-676-to.html -->
13043    <territory id="TO">
13044      <generalDesc>
13045        <nationalNumberPattern>9\d\d</nationalNumberPattern>
13046      </generalDesc>
13047      <shortCode>
13048        <possibleLengths national="3"/>
13049        <exampleNumber>911</exampleNumber>
13050        <nationalNumberPattern>
13051          9(?:
13052            11|
13053            22|
13054            33|
13055            99
13056          )
13057        </nationalNumberPattern>
13058      </shortCode>
13059      <tollFree>
13060        <possibleLengths national="3"/>
13061        <exampleNumber>911</exampleNumber>
13062        <nationalNumberPattern>
13063          9(?:
13064            11|
13065            22|
13066            33|
13067            99
13068          )
13069        </nationalNumberPattern>
13070      </tollFree>
13071      <!-- http://www.tongaholiday.com/?page_id=2034 -->
13072      <emergency>
13073        <possibleLengths national="3"/>
13074        <exampleNumber>911</exampleNumber>
13075        <nationalNumberPattern>
13076          9(?:
13077            11|
13078            22|
13079            33|
13080            99
13081          )
13082        </nationalNumberPattern>
13083      </emergency>
13084    </territory>
13085
13086    <!-- Türkiye (TR) -->
13087    <territory id="TR">
13088      <generalDesc>
13089        <nationalNumberPattern>[1-9]\d{2,4}</nationalNumberPattern>
13090      </generalDesc>
13091      <!-- We use a granularity of 2 digits for 28XX and 5[4-6]XX short codes based on those we
13092           have found online. Added support to individual short codes based on these docs:
13093           http://www.avea.com.tr/web/media/Files/Bagisservisleri/bagisservisleri.pdf?noredir=1
13094           and http://www.ttrehber.turktelekom.com.tr/trk-web/ozelservisnumaralari.html.
13095           No official short code numbering plan found for Turkey to support complete ranges. -->
13096      <shortCode>
13097        <possibleLengths national="[3-5]"/>
13098        <exampleNumber>110</exampleNumber>
13099        <nationalNumberPattern>
13100          1(?:
13101            1(?:
13102              [02-79]|
13103              8(?:
13104                1[018]|
13105                2[0245]|
13106                3[2-4]|
13107                42|
13108                5[058]|
13109                6[06]|
13110                7[07]|
13111                8[01389]|
13112                9[089]
13113              )
13114            )|
13115            3(?:
13116              37|
13117              [58]6|
13118              65
13119            )|
13120            471|
13121            5(?:
13122              07|
13123              78
13124            )|
13125            6(?:
13126              [02]6|
13127              99
13128            )|
13129            8(?:
13130              63|
13131              95
13132            )
13133          )|
13134          2(?:
13135            077|
13136            268|
13137            4(?:
13138              17|
13139              23
13140            )|
13141            5(?:
13142              7[26]|
13143              82
13144            )|
13145            6[14]4|
13146            8\d\d|
13147            9(?:
13148              30|
13149              89
13150            )
13151          )|
13152          3(?:
13153            0(?:
13154              05|
13155              72
13156            )|
13157            353|
13158            4(?:
13159              06|
13160              30|
13161              64
13162            )|
13163            502|
13164            674|
13165            747|
13166            851|
13167            9(?:
13168              1[29]|
13169              60
13170            )
13171          )|
13172          4(?:
13173            0(?:
13174              25|
13175              3[12]|
13176              [47]2
13177            )|
13178            3(?:
13179              3[13]|
13180              [89]1
13181            )|
13182            439|
13183            5(?:
13184              43|
13185              55
13186            )|
13187            717|
13188            832
13189          )|
13190          5(?:
13191            145|
13192            290|
13193            [4-6]\d\d|
13194            772|
13195            833|
13196            9(?:
13197              [06]1|
13198              92
13199            )
13200          )|
13201          6(?:
13202            236|
13203            6(?:
13204              12|
13205              39|
13206              8[59]
13207            )|
13208            769
13209          )|
13210          7890|
13211          8(?:
13212            688|
13213            7(?:
13214              28|
13215              65
13216            )|
13217            85[06]
13218          )|
13219          9(?:
13220            159|
13221            290
13222          )|
13223          1[2-9]\d
13224        </nationalNumberPattern>
13225      </shortCode>
13226      <tollFree>
13227        <possibleLengths national="3"/>
13228        <exampleNumber>110</exampleNumber>
13229        <nationalNumberPattern>
13230          1(?:
13231            1[02]|
13232            22|
13233            3[126]|
13234            4[04]|
13235            5[15-9]|
13236            6[18]|
13237            77|
13238            83
13239          )
13240        </nationalNumberPattern>
13241      </tollFree>
13242      <!-- As per Vodafone's article http://www.vodafone.com.tr/Net/vodafonenet-basvuru.php#sms,
13243           5420 is an SMS only service and its cost is based on the end user's carrier. However it
13244           is charged at standard rate as per above article. -->
13245      <standardRate>
13246        <possibleLengths national="4"/>
13247        <exampleNumber>2850</exampleNumber>
13248        <nationalNumberPattern>
13249          (?:
13250            285|
13251            542
13252          )0
13253        </nationalNumberPattern>
13254      </standardRate>
13255      <emergency>
13256        <possibleLengths national="3"/>
13257        <exampleNumber>110</exampleNumber>
13258        <nationalNumberPattern>
13259          1(?:
13260            1[02]|
13261            55
13262          )
13263        </nationalNumberPattern>
13264      </emergency>
13265      <expandedEmergency>
13266        <possibleLengths national="3"/>
13267        <exampleNumber>122</exampleNumber>
13268        <nationalNumberPattern>
13269          1(?:
13270            22|
13271            3[12]|
13272            5[137]|
13273            61|
13274            [78]7
13275          )
13276        </nationalNumberPattern>
13277      </expandedEmergency>
13278      <!-- All 28XX and 5XXX numbers found online are used for sms services. Ex: 2850, 2868, 5420,
13279           5560, 5664. -->
13280      <smsServices>
13281        <possibleLengths national="3,4"/>
13282        <exampleNumber>144</exampleNumber>
13283        <nationalNumberPattern>
13284          1(?:
13285            3(?:
13286              37|
13287              [58]6|
13288              65
13289            )|
13290            4(?:
13291              4|
13292              71
13293            )|
13294            5(?:
13295              07|
13296              78
13297            )|
13298            6(?:
13299              [02]6|
13300              99
13301            )|
13302            8(?:
13303              3|
13304              63|
13305              95
13306            )
13307          )|
13308          (?:
13309            2(?:
13310              07|
13311              26|
13312              4[12]|
13313              5[78]|
13314              6[14]|
13315              8\d|
13316              9[38]
13317            )|
13318            3(?:
13319              0[07]|
13320              [38]5|
13321              4[036]|
13322              50|
13323              67|
13324              74|
13325              9[16]
13326            )|
13327            4(?:
13328              0[2-47]|
13329              3[389]|
13330              [48]3|
13331              5[45]|
13332              71
13333            )|
13334            5(?:
13335              14|
13336              29|
13337              [4-6]\d|
13338              77|
13339              83|
13340              9[069]
13341            )|
13342            6(?:
13343              23|
13344              6[138]|
13345              76
13346            )|
13347            789|
13348            8(?:
13349              68|
13350              7[26]|
13351              85
13352            )|
13353            9(?:
13354              15|
13355              29
13356            )
13357          )\d
13358        </nationalNumberPattern>
13359      </smsServices>
13360    </territory>
13361
13362    <!-- Trinidad & Tobago (TT) -->
13363    <!-- http://www.itu.int/oth/T02020000D4/en -->
13364    <territory id="TT">
13365      <generalDesc>
13366        <nationalNumberPattern>9\d\d</nationalNumberPattern>
13367      </generalDesc>
13368      <shortCode>
13369        <possibleLengths national="3"/>
13370        <exampleNumber>988</exampleNumber>
13371        <nationalNumberPattern>
13372          9(?:
13373            88|
13374            9[09]
13375          )
13376        </nationalNumberPattern>
13377      </shortCode>
13378      <tollFree>
13379        <possibleLengths national="3"/>
13380        <exampleNumber>988</exampleNumber>
13381        <nationalNumberPattern>
13382          9(?:
13383            88|
13384            9[09]
13385          )
13386        </nationalNumberPattern>
13387      </tollFree>
13388      <emergency>
13389        <possibleLengths national="3"/>
13390        <exampleNumber>990</exampleNumber>
13391        <nationalNumberPattern>99[09]</nationalNumberPattern>
13392      </emergency>
13393      <expandedEmergency>
13394        <possibleLengths national="3"/>
13395        <exampleNumber>988</exampleNumber>
13396        <nationalNumberPattern>988</nationalNumberPattern>
13397      </expandedEmergency>
13398    </territory>
13399
13400    <!-- Tuvalu (TV) -->
13401    <!-- http://www.itu.int/oth/T02020000D9/en -->
13402    <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Tuvalu -->
13403    <territory id="TV">
13404      <generalDesc>
13405        <nationalNumberPattern>[19]\d\d</nationalNumberPattern>
13406      </generalDesc>
13407      <shortCode>
13408        <possibleLengths national="3"/>
13409        <exampleNumber>100</exampleNumber>
13410        <nationalNumberPattern>
13411          1\d\d|
13412          911
13413        </nationalNumberPattern>
13414      </shortCode>
13415      <tollFree>
13416        <possibleLengths national="3"/>
13417        <exampleNumber>911</exampleNumber>
13418        <nationalNumberPattern>911</nationalNumberPattern>
13419      </tollFree>
13420      <emergency>
13421        <possibleLengths national="3"/>
13422        <exampleNumber>911</exampleNumber>
13423        <nationalNumberPattern>911</nationalNumberPattern>
13424      </emergency>
13425    </territory>
13426
13427    <!-- Taiwan (TW) -->
13428    <!-- http://www.itu.int/oth/T02020000EB/en -->
13429    <!-- Extension symbols found on the internet so far have been #, X and Ext - so # has been
13430         chosen as the preferred extension prefix. -->
13431    <territory id="TW">
13432      <generalDesc>
13433        <nationalNumberPattern>1\d{2,3}</nationalNumberPattern>
13434      </generalDesc>
13435      <shortCode>
13436        <possibleLengths national="3,4"/>
13437        <exampleNumber>100</exampleNumber>
13438        <nationalNumberPattern>
13439          1(?:
13440            0[04-6]|
13441            1[0237-9]|
13442            3[389]|
13443            6[05-8]|
13444            7[07]|
13445            8(?:
13446              0|
13447              11
13448            )|
13449            9(?:
13450              19|
13451              22|
13452              5[057]|
13453              68|
13454              8[05]|
13455              9[15689]
13456            )
13457          )
13458        </nationalNumberPattern>
13459      </shortCode>
13460      <tollFree>
13461        <possibleLengths national="3,4"/>
13462        <exampleNumber>110</exampleNumber>
13463        <nationalNumberPattern>
13464          11[0289]|
13465          1(?:
13466            81|
13467            92
13468          )\d
13469        </nationalNumberPattern>
13470      </tollFree>
13471      <standardRate>
13472        <possibleLengths national="3,4"/>
13473        <exampleNumber>165</exampleNumber>
13474        <nationalNumberPattern>
13475          1(?:
13476            65|
13477            9(?:
13478              1\d|
13479              50|
13480              85|
13481              98
13482            )
13483          )
13484        </nationalNumberPattern>
13485      </standardRate>
13486      <premiumRate>
13487        <possibleLengths national="3"/>
13488        <exampleNumber>105</exampleNumber>
13489        <nationalNumberPattern>10[56]</nationalNumberPattern>
13490      </premiumRate>
13491      <emergency>
13492        <possibleLengths national="3"/>
13493        <exampleNumber>110</exampleNumber>
13494        <nationalNumberPattern>11[029]</nationalNumberPattern>
13495      </emergency>
13496    </territory>
13497
13498    <!-- Tanzania (TZ) -->
13499    <!-- http://www.itu.int/oth/T02020000CB/en -->
13500    <territory id="TZ">
13501      <generalDesc>
13502        <nationalNumberPattern>
13503          [149]\d\d(?:
13504            \d{2}
13505          )?
13506        </nationalNumberPattern>
13507      </generalDesc>
13508      <shortCode>
13509        <possibleLengths national="3,5"/>
13510        <exampleNumber>110</exampleNumber>
13511        <nationalNumberPattern>
13512          1(?:
13513            1\d|
13514            9[09]
13515          )|
13516          46400|
13517          999
13518        </nationalNumberPattern>
13519      </shortCode>
13520      <tollFree>
13521        <possibleLengths national="3"/>
13522        <exampleNumber>110</exampleNumber>
13523        <nationalNumberPattern>
13524          1(?:
13525            1[0-79]|
13526            9[09]
13527          )|
13528          999
13529        </nationalNumberPattern>
13530      </tollFree>
13531      <carrierSpecific>
13532        <possibleLengths national="5"/>
13533        <exampleNumber>46400</exampleNumber>
13534        <nationalNumberPattern>464\d\d</nationalNumberPattern>
13535      </carrierSpecific>
13536      <!-- http://travel.state.gov/travel/cis_pa_tw/cis/cis_1038.html
13537           http://in2eastafrica.net/emergency-numbers-in-tanzania -->
13538      <emergency>
13539        <possibleLengths national="3"/>
13540        <exampleNumber>110</exampleNumber>
13541        <nationalNumberPattern>
13542          11[0-245]|
13543          999
13544        </nationalNumberPattern>
13545      </emergency>
13546      <expandedEmergency>
13547        <possibleLengths national="3"/>
13548        <exampleNumber>116</exampleNumber>
13549        <nationalNumberPattern>
13550          1(?:
13551            1[67]|
13552            99
13553          )
13554        </nationalNumberPattern>
13555      </expandedEmergency>
13556      <smsServices>
13557        <possibleLengths national="5"/>
13558        <exampleNumber>46400</exampleNumber>
13559        <nationalNumberPattern>464\d\d</nationalNumberPattern>
13560      </smsServices>
13561    </territory>
13562
13563    <!-- Ukraine (UA) -->
13564    <!-- http://www.itu.int/oth/T02020000DB/en -->
13565    <!-- http://en.wikipedia.org/wiki/%2B380 -->
13566    <territory id="UA">
13567      <generalDesc>
13568        <nationalNumberPattern>[189]\d{2,5}</nationalNumberPattern>
13569      </generalDesc>
13570      <shortCode>
13571        <possibleLengths national="[3-6]"/>
13572        <exampleNumber>101</exampleNumber>
13573        <nationalNumberPattern>
13574          1(?:
13575            0[1-49]|
13576            1(?:
13577              2|
13578              6(?:
13579                000|
13580                1(?:
13581                  11|
13582                  23
13583                )
13584              )|
13585              8\d\d?
13586            )|
13587            (?:
13588              [278]|
13589              5\d
13590            )\d
13591          )|
13592          [89]00\d\d?|
13593          151|
13594          1(?:
13595            06|
13596            4\d|
13597            6
13598          )\d\d
13599        </nationalNumberPattern>
13600      </shortCode>
13601      <tollFree>
13602        <possibleLengths national="3,6"/>
13603        <exampleNumber>101</exampleNumber>
13604        <nationalNumberPattern>
13605          1(?:
13606            0[1-3]|
13607            1(?:
13608              2|
13609              6\d{3}
13610            )
13611          )
13612        </nationalNumberPattern>
13613      </tollFree>
13614      <carrierSpecific>
13615        <possibleLengths national="4,5"/>
13616        <exampleNumber>1180</exampleNumber>
13617        <nationalNumberPattern>
13618          (?:
13619            118|
13620            [89]00
13621          )\d\d?
13622        </nationalNumberPattern>
13623      </carrierSpecific>
13624      <emergency>
13625        <possibleLengths national="3"/>
13626        <exampleNumber>101</exampleNumber>
13627        <nationalNumberPattern>
13628          1(?:
13629            0[1-3]|
13630            12
13631          )
13632        </nationalNumberPattern>
13633      </emergency>
13634    </territory>
13635
13636    <!-- Uganda (UG) -->
13637    <!-- http://www.itu.int/oth/T02020000F1/en -->
13638    <territory id="UG">
13639      <generalDesc>
13640        <nationalNumberPattern>9\d\d</nationalNumberPattern>
13641      </generalDesc>
13642      <shortCode>
13643        <possibleLengths national="3"/>
13644        <exampleNumber>999</exampleNumber>
13645        <nationalNumberPattern>999</nationalNumberPattern>
13646      </shortCode>
13647      <tollFree>
13648        <possibleLengths national="3"/>
13649        <exampleNumber>999</exampleNumber>
13650        <nationalNumberPattern>999</nationalNumberPattern>
13651      </tollFree>
13652      <emergency>
13653        <possibleLengths national="3"/>
13654        <exampleNumber>999</exampleNumber>
13655        <nationalNumberPattern>999</nationalNumberPattern>
13656      </emergency>
13657    </territory>
13658
13659    <!-- United States (US) -->
13660    <!-- http://en.wikipedia.org/wiki/North_American_Numbering_Plan#Special_numbers_and_codes -->
13661    <!-- http://en.wikipedia.org/wiki/Vertical_service_code -->
13662    <!-- http://www.call811.com/how-811-works/default.aspx -->
13663    <territory id="US">
13664      <generalDesc>
13665        <nationalNumberPattern>[1-9]\d{2,5}</nationalNumberPattern>
13666      </generalDesc>
13667      <shortCode>
13668        <possibleLengths national="[3-6]"/>
13669        <exampleNumber>112</exampleNumber>
13670        <nationalNumberPattern>
13671          11(?:
13672            2|
13673            5[1-47]|
13674            [68]\d|
13675            7[0-57]|
13676            98
13677          )|
13678          [2-9]\d{3,5}|
13679          [2-8]11|
13680          9(?:
13681            11|
13682            33|
13683            88
13684          )
13685        </nationalNumberPattern>
13686      </shortCode>
13687      <tollFree>
13688        <possibleLengths national="3"/>
13689        <exampleNumber>112</exampleNumber>
13690        <nationalNumberPattern>
13691          112|
13692          611|
13693          9(?:
13694            11|
13695            33|
13696            88
13697          )
13698        </nationalNumberPattern>
13699      </tollFree>
13700      <!-- 29002 is standard rate as per test results. -->
13701      <standardRate>
13702        <possibleLengths national="5,6"/>
13703        <exampleNumber>23333</exampleNumber>
13704        <nationalNumberPattern>
13705          2(?:
13706            3333|
13707            (?:
13708              4224|
13709              7562|
13710              900
13711            )2|
13712            56447|
13713            6688
13714          )|
13715          3(?:
13716            1010|
13717            2665|
13718            7404
13719          )|
13720          40404|
13721          560560|
13722          6(?:
13723            0060|
13724            22639|
13725            5246|
13726            7622
13727          )|
13728          7(?:
13729            0701|
13730            3822|
13731            4666
13732          )|
13733          8(?:
13734            (?:
13735              3825|
13736              7226
13737            )5|
13738            4816
13739          )|
13740          99099
13741        </nationalNumberPattern>
13742      </standardRate>
13743      <premiumRate>
13744        <possibleLengths national="5"/>
13745        <exampleNumber>24280</exampleNumber>
13746        <nationalNumberPattern>
13747          24280|
13748          (?:
13749            381|
13750            968
13751          )35|
13752          4(?:
13753            3355|
13754            7553|
13755            8221
13756          )|
13757          5(?:
13758            (?:
13759              489|
13760              934
13761            )2|
13762            5928
13763          )|
13764          72078|
13765          (?:
13766            323|
13767            960
13768          )40|
13769          (?:
13770            276|
13771            414
13772          )63|
13773          (?:
13774            2(?:
13775              520|
13776              744
13777            )|
13778            7390|
13779            9968
13780          )9|
13781          (?:
13782            693|
13783            732|
13784            976
13785          )88|
13786          (?:
13787            3(?:
13788              556|
13789              825
13790            )|
13791            5294|
13792            8623|
13793            9729
13794          )4|
13795          (?:
13796            3378|
13797            4136|
13798            7642|
13799            8961|
13800            9979
13801          )6|
13802          (?:
13803            4(?:
13804              6(?:
13805                15|
13806                32
13807              )|
13808              827
13809            )|
13810            (?:
13811              591|
13812              720
13813            )8|
13814            9529
13815          )7
13816        </nationalNumberPattern>
13817      </premiumRate>
13818      <!-- https://support.google.com/plus/answer/1304917
13819           611 is listed as working from "most" wireless carriers. 211 has complete coverage
13820           only in 38 states. -->
13821      <carrierSpecific>
13822        <possibleLengths national="[3-5]"/>
13823        <exampleNumber>211</exampleNumber>
13824        <nationalNumberPattern>
13825          336\d\d|
13826          [2-9]\d{3}|
13827          [2356]11
13828        </nationalNumberPattern>
13829      </carrierSpecific>
13830      <emergency>
13831        <possibleLengths national="3"/>
13832        <exampleNumber>112</exampleNumber>
13833        <nationalNumberPattern>
13834          112|
13835          911
13836        </nationalNumberPattern>
13837      </emergency>
13838      <expandedEmergency>
13839        <possibleLengths national="3"/>
13840        <exampleNumber>933</exampleNumber>
13841        <nationalNumberPattern>
13842          9(?:
13843            33|
13844            88
13845          )
13846        </nationalNumberPattern>
13847      </expandedEmergency>
13848      <smsServices>
13849        <possibleLengths national="5,6"/>
13850        <exampleNumber>20000</exampleNumber>
13851        <nationalNumberPattern>[2-9]\d{4,5}</nationalNumberPattern>
13852      </smsServices>
13853    </territory>
13854
13855    <!-- Uruguay (UY) -->
13856    <!-- http://www.itu.int/oth/T02020000E0/en -->
13857    <!-- http://www.ursec.gub.uy -->
13858    <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Uruguay -->
13859    <territory id="UY">
13860      <generalDesc>
13861        <nationalNumberPattern>[19]\d{2,3}</nationalNumberPattern>
13862      </generalDesc>
13863      <shortCode>
13864        <possibleLengths national="3,4"/>
13865        <exampleNumber>104</exampleNumber>
13866        <nationalNumberPattern>
13867          1(?:
13868            0[4-9]|
13869            1[2368]|
13870            2[0-3568]|
13871            787
13872          )|
13873          911
13874        </nationalNumberPattern>
13875      </shortCode>
13876      <tollFree>
13877        <possibleLengths national="3"/>
13878        <exampleNumber>128</exampleNumber>
13879        <nationalNumberPattern>
13880          128|
13881          911
13882        </nationalNumberPattern>
13883      </tollFree>
13884      <standardRate>
13885        <possibleLengths national="4"/>
13886        <exampleNumber>1780</exampleNumber>
13887        <nationalNumberPattern>178\d</nationalNumberPattern>
13888      </standardRate>
13889      <emergency>
13890        <possibleLengths national="3"/>
13891        <exampleNumber>128</exampleNumber>
13892        <nationalNumberPattern>
13893          128|
13894          911
13895        </nationalNumberPattern>
13896      </emergency>
13897    </territory>
13898
13899    <!-- Uzbekistan (UZ) -->
13900    <!-- http://www.ttts.uz/eng/telephone_codes/codes_uzb_eng -->
13901    <!-- http://www.itu.int/oth/T02020000E1/en -->
13902    <territory id="UZ">
13903      <generalDesc>
13904        <nationalNumberPattern>
13905          [04]\d(?:
13906            \d(?:
13907              \d{2}
13908            )?
13909          )?
13910        </nationalNumberPattern>
13911      </generalDesc>
13912      <shortCode>
13913        <possibleLengths national="2,3,5"/>
13914        <exampleNumber>01</exampleNumber>
13915        <nationalNumberPattern>
13916          0(?:
13917            0[1-3]|
13918            [1-3]|
13919            50
13920          )|
13921          45400
13922        </nationalNumberPattern>
13923      </shortCode>
13924      <tollFree>
13925        <possibleLengths national="2,3"/>
13926        <exampleNumber>01</exampleNumber>
13927        <nationalNumberPattern>
13928          0(?:
13929            0[1-3]|
13930            [1-3]|
13931            50
13932          )
13933        </nationalNumberPattern>
13934      </tollFree>
13935      <!-- https://support.google.com/plus/answer/1304917 -->
13936      <carrierSpecific>
13937        <possibleLengths national="5"/>
13938        <exampleNumber>45400</exampleNumber>
13939        <nationalNumberPattern>454\d\d</nationalNumberPattern>
13940      </carrierSpecific>
13941      <!-- http://travel.state.gov/travel/cis_pa_tw/cis/cis_1057.html
13942           http://www.expat.uz/index.php?/Emergency-Numbers.html
13943           http://www.mts.uz/en/citycodes/how_to_call_sos
13944           Note that the third source, for a local mobile company, comments that a '*' needs to
13945           be dialled before the 2-digit emergency numbers on their cell-phone. This is not
13946           explicitly handled here, but instead is handled by normalising input in the code. -->
13947      <emergency>
13948        <possibleLengths national="2,3"/>
13949        <exampleNumber>01</exampleNumber>
13950        <nationalNumberPattern>
13951          0(?:
13952            0[1-3]|
13953            [1-3]|
13954            50
13955          )
13956        </nationalNumberPattern>
13957      </emergency>
13958      <!-- https://support.google.com/plus/answer/1304917 -->
13959      <smsServices>
13960        <possibleLengths national="5"/>
13961        <exampleNumber>45400</exampleNumber>
13962        <nationalNumberPattern>454\d\d</nationalNumberPattern>
13963      </smsServices>
13964    </territory>
13965
13966    <!-- Vatican City (VA) -->
13967    <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Vatican_City -->
13968    <territory id="VA">
13969      <generalDesc>
13970        <nationalNumberPattern>1\d\d</nationalNumberPattern>
13971      </generalDesc>
13972      <shortCode>
13973        <possibleLengths national="3"/>
13974        <exampleNumber>112</exampleNumber>
13975        <nationalNumberPattern>11[2358]</nationalNumberPattern>
13976      </shortCode>
13977      <tollFree>
13978        <possibleLengths national="3"/>
13979        <exampleNumber>112</exampleNumber>
13980        <nationalNumberPattern>11[2358]</nationalNumberPattern>
13981      </tollFree>
13982      <emergency>
13983        <possibleLengths national="3"/>
13984        <exampleNumber>112</exampleNumber>
13985        <nationalNumberPattern>11[2358]</nationalNumberPattern>
13986      </emergency>
13987    </territory>
13988
13989    <!-- St. Vincent & Grenadines (VC) -->
13990    <!-- http://www.itu.int/oth/T02020000B3/en -->
13991    <territory id="VC">
13992      <generalDesc>
13993        <nationalNumberPattern>9\d\d</nationalNumberPattern>
13994      </generalDesc>
13995      <shortCode>
13996        <possibleLengths national="3"/>
13997        <exampleNumber>911</exampleNumber>
13998        <nationalNumberPattern>
13999          9(?:
14000            11|
14001            88|
14002            99
14003          )
14004        </nationalNumberPattern>
14005      </shortCode>
14006      <tollFree>
14007        <possibleLengths national="3"/>
14008        <exampleNumber>911</exampleNumber>
14009        <nationalNumberPattern>
14010          9(?:
14011            11|
14012            88|
14013            99
14014          )
14015        </nationalNumberPattern>
14016      </tollFree>
14017      <!-- http://barbados.usembassy.gov/emergency-svg.html
14018           http://travel.state.gov/travel/cis_pa_tw/cis/cis_1028.html?action=/travel/cis_pa_tw/cis/cis_1100.html -->
14019      <emergency>
14020        <possibleLengths national="3"/>
14021        <exampleNumber>911</exampleNumber>
14022        <nationalNumberPattern>
14023          9(?:
14024            11|
14025            99
14026          )
14027        </nationalNumberPattern>
14028      </emergency>
14029      <expandedEmergency>
14030        <possibleLengths national="3"/>
14031        <exampleNumber>988</exampleNumber>
14032        <nationalNumberPattern>988</nationalNumberPattern>
14033      </expandedEmergency>
14034    </territory>
14035
14036    <!-- Venezuela (VE) -->
14037    <!-- http://www.itu.int/oth/T02020000E3/en -->
14038    <!-- http://en.wikipedia.org/wiki/+58 -->
14039    <!-- http://wikitravel.org/en/Venezuela -->
14040    <territory id="VE">
14041      <generalDesc>
14042        <nationalNumberPattern>[19]\d\d</nationalNumberPattern>
14043      </generalDesc>
14044      <shortCode>
14045        <possibleLengths national="3"/>
14046        <exampleNumber>112</exampleNumber>
14047        <nationalNumberPattern>
14048          1(?:
14049            12|
14050            71
14051          )|
14052          911
14053        </nationalNumberPattern>
14054      </shortCode>
14055      <tollFree>
14056        <possibleLengths national="3"/>
14057        <exampleNumber>112</exampleNumber>
14058        <nationalNumberPattern>
14059          1(?:
14060            12|
14061            71
14062          )|
14063          911
14064        </nationalNumberPattern>
14065      </tollFree>
14066      <emergency>
14067        <possibleLengths national="3"/>
14068        <exampleNumber>112</exampleNumber>
14069        <nationalNumberPattern>
14070          1(?:
14071            12|
14072            71
14073          )|
14074          911
14075        </nationalNumberPattern>
14076      </emergency>
14077    </territory>
14078
14079    <!-- British Virgin Islands (VG) -->
14080    <!-- http://www.itu.int/oth/T020200001E/en -->
14081    <territory id="VG">
14082      <generalDesc>
14083        <nationalNumberPattern>9\d\d</nationalNumberPattern>
14084      </generalDesc>
14085      <shortCode>
14086        <possibleLengths national="3"/>
14087        <exampleNumber>911</exampleNumber>
14088        <nationalNumberPattern>
14089          9(?:
14090            11|
14091            88|
14092            99
14093          )
14094        </nationalNumberPattern>
14095      </shortCode>
14096      <tollFree>
14097        <possibleLengths national="3"/>
14098        <exampleNumber>911</exampleNumber>
14099        <nationalNumberPattern>
14100          9(?:
14101            11|
14102            88|
14103            99
14104          )
14105        </nationalNumberPattern>
14106      </tollFree>
14107      <!-- http://barbados.usembassy.gov/emergency-bvi.html
14108           http://www.britishvirginislands.com/ntk_emergency.htm -->
14109      <emergency>
14110        <possibleLengths national="3"/>
14111        <exampleNumber>911</exampleNumber>
14112        <nationalNumberPattern>
14113          9(?:
14114            11|
14115            99
14116          )
14117        </nationalNumberPattern>
14118      </emergency>
14119      <expandedEmergency>
14120        <possibleLengths national="3"/>
14121        <exampleNumber>988</exampleNumber>
14122        <nationalNumberPattern>988</nationalNumberPattern>
14123      </expandedEmergency>
14124    </territory>
14125
14126    <!-- U.S. Virgin Islands (VI) -->
14127    <!-- http://www.itu.int/oth/T02020000DF/en -->
14128    <territory id="VI">
14129      <generalDesc>
14130        <nationalNumberPattern>9\d\d</nationalNumberPattern>
14131      </generalDesc>
14132      <shortCode>
14133        <possibleLengths national="3"/>
14134        <exampleNumber>911</exampleNumber>
14135        <nationalNumberPattern>
14136          9(?:
14137            11|
14138            88
14139          )
14140        </nationalNumberPattern>
14141      </shortCode>
14142      <tollFree>
14143        <possibleLengths national="3"/>
14144        <exampleNumber>911</exampleNumber>
14145        <nationalNumberPattern>
14146          9(?:
14147            11|
14148            88
14149          )
14150        </nationalNumberPattern>
14151      </tollFree>
14152      <!-- http://studentsabroad.state.gov/content/pdfs/911_ABROAD.pdf -->
14153      <emergency>
14154        <possibleLengths national="3"/>
14155        <exampleNumber>911</exampleNumber>
14156        <nationalNumberPattern>911</nationalNumberPattern>
14157      </emergency>
14158      <expandedEmergency>
14159        <possibleLengths national="3"/>
14160        <exampleNumber>988</exampleNumber>
14161        <nationalNumberPattern>988</nationalNumberPattern>
14162      </expandedEmergency>
14163    </territory>
14164
14165    <!-- Vietnam (VN) -->
14166    <!-- http://www.itu.int/oth/T02020000E4/en -->
14167    <!-- http://en.wikipedia.org/wiki/%2B84 -->
14168    <territory id="VN">
14169      <generalDesc>
14170        <nationalNumberPattern>1\d\d</nationalNumberPattern>
14171      </generalDesc>
14172      <shortCode>
14173        <possibleLengths national="3"/>
14174        <exampleNumber>113</exampleNumber>
14175        <nationalNumberPattern>11[3-5]</nationalNumberPattern>
14176      </shortCode>
14177      <tollFree>
14178        <possibleLengths national="3"/>
14179        <exampleNumber>113</exampleNumber>
14180        <nationalNumberPattern>11[3-5]</nationalNumberPattern>
14181      </tollFree>
14182      <emergency>
14183        <possibleLengths national="3"/>
14184        <exampleNumber>113</exampleNumber>
14185        <nationalNumberPattern>11[3-5]</nationalNumberPattern>
14186      </emergency>
14187    </territory>
14188
14189    <!-- Vanuatu (VU) -->
14190    <!-- http://www.itu.int/oth/T02020000E2/en -->
14191    <territory id="VU">
14192      <generalDesc>
14193        <nationalNumberPattern>1\d\d</nationalNumberPattern>
14194      </generalDesc>
14195      <shortCode>
14196        <possibleLengths national="3"/>
14197        <exampleNumber>112</exampleNumber>
14198        <nationalNumberPattern>112</nationalNumberPattern>
14199      </shortCode>
14200      <tollFree>
14201        <possibleLengths national="3"/>
14202        <exampleNumber>112</exampleNumber>
14203        <nationalNumberPattern>112</nationalNumberPattern>
14204      </tollFree>
14205      <emergency>
14206        <possibleLengths national="3"/>
14207        <exampleNumber>112</exampleNumber>
14208        <nationalNumberPattern>112</nationalNumberPattern>
14209      </emergency>
14210    </territory>
14211
14212    <!-- Wallis & Futuna (WF) -->
14213    <!-- http://www.itu.int/oth/T02020000E6/en -->
14214    <territory id="WF">
14215      <generalDesc>
14216        <nationalNumberPattern>1\d</nationalNumberPattern>
14217      </generalDesc>
14218      <shortCode>
14219        <possibleLengths national="2"/>
14220        <exampleNumber>15</exampleNumber>
14221        <nationalNumberPattern>1[578]</nationalNumberPattern>
14222      </shortCode>
14223      <tollFree>
14224        <possibleLengths national="2"/>
14225        <exampleNumber>15</exampleNumber>
14226        <nationalNumberPattern>1[578]</nationalNumberPattern>
14227      </tollFree>
14228      <!-- http://lannuaire.service-public.fr/navigation/wallis-et-futuna-wallis-futuna-alofi.html -->
14229      <emergency>
14230        <possibleLengths national="2"/>
14231        <exampleNumber>15</exampleNumber>
14232        <nationalNumberPattern>1[578]</nationalNumberPattern>
14233      </emergency>
14234    </territory>
14235
14236    <!-- Samoa (WS) -->
14237    <!-- http://www.itu.int/oth/T02020000B4/en -->
14238    <territory id="WS">
14239      <generalDesc>
14240        <nationalNumberPattern>[19]\d\d</nationalNumberPattern>
14241      </generalDesc>
14242      <!-- 608 is assigned to Adaway Publication centre, but it seems to be expired
14243           http://www.adaway.ws/ -->
14244      <shortCode>
14245        <possibleLengths national="3"/>
14246        <exampleNumber>111</exampleNumber>
14247        <nationalNumberPattern>
14248          1(?:
14249            1[12]|
14250            2[0-6]|
14251            [39]0
14252          )|
14253          9(?:
14254            11|
14255            9[4-79]
14256          )
14257        </nationalNumberPattern>
14258      </shortCode>
14259      <tollFree>
14260        <possibleLengths national="3"/>
14261        <exampleNumber>911</exampleNumber>
14262        <nationalNumberPattern>
14263          9(?:
14264            11|
14265            9[4-69]
14266          )
14267        </nationalNumberPattern>
14268      </tollFree>
14269      <carrierSpecific>
14270        <possibleLengths national="3"/>
14271        <exampleNumber>120</exampleNumber>
14272        <nationalNumberPattern>12[0-6]</nationalNumberPattern>
14273      </carrierSpecific>
14274      <!-- 911 and 99[4-6] numbers re-route to 999. Also 999 will be the only emergency numbers
14275           after 2 years. -->
14276      <emergency>
14277        <possibleLengths national="3"/>
14278        <exampleNumber>911</exampleNumber>
14279        <nationalNumberPattern>
14280          9(?:
14281            11|
14282            9[4-69]
14283          )
14284        </nationalNumberPattern>
14285      </emergency>
14286    </territory>
14287
14288    <!-- Kosovo (XK) -->
14289    <!-- https://www.itu.int/oth/T02020000FD/en -->
14290    <territory id="XK">
14291      <generalDesc>
14292        <nationalNumberPattern>1\d\d</nationalNumberPattern>
14293      </generalDesc>
14294      <shortCode>
14295        <possibleLengths national="3"/>
14296        <exampleNumber>112</exampleNumber>
14297        <nationalNumberPattern>
14298          1(?:
14299            12|
14300            9[2-4]
14301          )
14302        </nationalNumberPattern>
14303      </shortCode>
14304      <tollFree>
14305        <possibleLengths national="3"/>
14306        <exampleNumber>112</exampleNumber>
14307        <nationalNumberPattern>
14308          1(?:
14309            12|
14310            9[2-4]
14311          )
14312        </nationalNumberPattern>
14313      </tollFree>
14314      <emergency>
14315        <possibleLengths national="3"/>
14316        <exampleNumber>112</exampleNumber>
14317        <nationalNumberPattern>
14318          1(?:
14319            12|
14320            9[2-4]
14321          )
14322        </nationalNumberPattern>
14323      </emergency>
14324    </territory>
14325
14326    <!-- Yemen (YE) -->
14327    <!-- http://www.itu.int/oth/T02020000E7/en -->
14328    <territory id="YE">
14329      <generalDesc>
14330        <nationalNumberPattern>1\d\d</nationalNumberPattern>
14331      </generalDesc>
14332      <shortCode>
14333        <possibleLengths national="3"/>
14334        <exampleNumber>191</exampleNumber>
14335        <nationalNumberPattern>19[1459]</nationalNumberPattern>
14336      </shortCode>
14337      <tollFree>
14338        <possibleLengths national="3"/>
14339        <exampleNumber>191</exampleNumber>
14340        <nationalNumberPattern>19[1459]</nationalNumberPattern>
14341      </tollFree>
14342      <!-- http://www.yemenypages.com/en/emergency_numbers.aspx -->
14343      <!-- http://studentsabroad.state.gov/content/pdfs/911_ABROAD.pdf -->
14344      <!-- http://www.netglobers.com/asia/yemen-emergency-numbers-in-yemen.html -->
14345      <emergency>
14346        <possibleLengths national="3"/>
14347        <exampleNumber>191</exampleNumber>
14348        <nationalNumberPattern>19[1459]</nationalNumberPattern>
14349      </emergency>
14350    </territory>
14351
14352    <!-- Mayotte (YT) -->
14353    <territory id="YT">
14354      <generalDesc>
14355        <nationalNumberPattern>1\d\d?</nationalNumberPattern>
14356      </generalDesc>
14357      <shortCode>
14358        <possibleLengths national="2,3"/>
14359        <exampleNumber>15</exampleNumber>
14360        <nationalNumberPattern>
14361          1(?:
14362            12|
14363            5
14364          )
14365        </nationalNumberPattern>
14366      </shortCode>
14367      <tollFree>
14368        <possibleLengths national="2,3"/>
14369        <exampleNumber>15</exampleNumber>
14370        <nationalNumberPattern>
14371          1(?:
14372            12|
14373            5
14374          )
14375        </nationalNumberPattern>
14376      </tollFree>
14377      <!-- http://www.sfr-mayotte.com/la-carte/les-services-@/article.jspz?oid=679&categ=345 -->
14378      <!-- http://www.sccfd.org/travel.html -->
14379      <emergency>
14380        <possibleLengths national="2,3"/>
14381        <exampleNumber>15</exampleNumber>
14382        <nationalNumberPattern>
14383          1(?:
14384            12|
14385            5
14386          )
14387        </nationalNumberPattern>
14388      </emergency>
14389    </territory>
14390
14391    <!-- South Africa (ZA) -->
14392    <!-- http://www.itu.int/dms_pub/itu-t/oth/02/02/T02020000C10001PDFE.pdf -->
14393    <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_South_Africa -->
14394    <!-- https://www.icasa.org.za/Portals/0/Regulations/Regulations/NumberingPlanReg.pdf -->
14395    <!-- Check http://smscode.co.za/index.asp for verification of short codes and cost
14396         information. -->
14397    <territory id="ZA">
14398      <generalDesc>
14399        <nationalNumberPattern>[134]\d{2,4}</nationalNumberPattern>
14400      </generalDesc>
14401      <!-- As per ITU doc, short codes only start with 1[0124], 17[37], 3 and 4. -->
14402      <shortCode>
14403        <possibleLengths national="[3-5]"/>
14404        <exampleNumber>107</exampleNumber>
14405        <nationalNumberPattern>
14406          1(?:
14407            0(?:
14408              1(?:
14409                11|
14410                77
14411              )|
14412              20|
14413              7
14414            )|
14415            1[12]|
14416            77(?:
14417              3[237]|
14418              [45]7|
14419              6[279]|
14420              9[26]
14421            )
14422          )|
14423          [34]\d{4}
14424        </nationalNumberPattern>
14425      </shortCode>
14426      <tollFree>
14427        <possibleLengths national="3,5"/>
14428        <exampleNumber>112</exampleNumber>
14429        <nationalNumberPattern>
14430          1(?:
14431            01\d\d|
14432            12
14433          )
14434        </nationalNumberPattern>
14435      </tollFree>
14436      <!-- 37064, 42699, 43699, 43941, 43946 and 48837 are charged at standard rate w.r.t carrier
14437           as per confirmation from smsportal.co.za. 3078[23] are standard rate as per test
14438           results. -->
14439      <standardRate>
14440        <possibleLengths national="5"/>
14441        <exampleNumber>30782</exampleNumber>
14442        <nationalNumberPattern>
14443          3(?:
14444            078[23]|
14445            7(?:
14446              064|
14447              567
14448            )|
14449            8126
14450          )|
14451          4(?:
14452            394[16]|
14453            7751|
14454            8837
14455          )|
14456          4[23]699
14457        </nationalNumberPattern>
14458      </standardRate>
14459      <premiumRate>
14460        <possibleLengths national="5"/>
14461        <exampleNumber>41348</exampleNumber>
14462        <nationalNumberPattern>
14463          41(?:
14464            348|
14465            851
14466          )
14467        </nationalNumberPattern>
14468      </premiumRate>
14469      <!-- 111 is a vodafone customer service number. -->
14470      <carrierSpecific>
14471        <possibleLengths national="3"/>
14472        <exampleNumber>111</exampleNumber>
14473        <nationalNumberPattern>111</nationalNumberPattern>
14474      </carrierSpecific>
14475      <!-- 107 is a harmonized number for emergency call services. Online articles say that it
14476           cannot be dialled from mobile and is available only in Cape Town, such as
14477           https://www.westerncape.gov.za/service/calling-help-emergency and
14478           https://en.wikipedia.org/wiki/List_of_emergency_telephone_numbers so we omit it here. -->
14479      <emergency>
14480        <possibleLengths national="3,5"/>
14481        <exampleNumber>112</exampleNumber>
14482        <nationalNumberPattern>
14483          1(?:
14484            01(?:
14485              11|
14486              77
14487            )|
14488            12
14489          )
14490        </nationalNumberPattern>
14491      </emergency>
14492      <!-- All [34]XXXX numbers found online are used for sms services. Ex: 37567, 47751, 37064
14493           and 43699. -->
14494      <smsServices>
14495        <possibleLengths national="5"/>
14496        <exampleNumber>30000</exampleNumber>
14497        <nationalNumberPattern>[34]\d{4}</nationalNumberPattern>
14498      </smsServices>
14499    </territory>
14500
14501    <!-- Zambia (ZM) -->
14502    <!-- http://www.itu.int/oth/T02020000E8/en -->
14503    <territory id="ZM">
14504      <generalDesc>
14505        <nationalNumberPattern>[19]\d\d</nationalNumberPattern>
14506      </generalDesc>
14507      <shortCode>
14508        <possibleLengths national="3"/>
14509        <exampleNumber>112</exampleNumber>
14510        <nationalNumberPattern>
14511          112|
14512          99[139]
14513        </nationalNumberPattern>
14514      </shortCode>
14515      <tollFree>
14516        <possibleLengths national="3"/>
14517        <exampleNumber>112</exampleNumber>
14518        <nationalNumberPattern>
14519          112|
14520          99[139]
14521        </nationalNumberPattern>
14522      </tollFree>
14523      <emergency>
14524        <possibleLengths national="3"/>
14525        <exampleNumber>112</exampleNumber>
14526        <nationalNumberPattern>
14527          112|
14528          99[139]
14529        </nationalNumberPattern>
14530      </emergency>
14531    </territory>
14532
14533    <!-- Zimbabwe (ZW) -->
14534    <!-- http://www.itu.int/oth/T02020000E9/en -->
14535    <territory id="ZW">
14536      <generalDesc>
14537        <nationalNumberPattern>
14538          [139]\d\d(?:
14539            \d{2}
14540          )?
14541        </nationalNumberPattern>
14542      </generalDesc>
14543      <shortCode>
14544        <possibleLengths national="3,5"/>
14545        <exampleNumber>112</exampleNumber>
14546        <nationalNumberPattern>
14547          11[2469]|
14548          3[013-57-9]\d{3}|
14549          9(?:
14550            5[023]|
14551            6[0-25]|
14552            9[3-59]
14553          )
14554        </nationalNumberPattern>
14555      </shortCode>
14556      <!-- 95[023] and 961 are toll-free as per official articles. -->
14557      <tollFree>
14558        <possibleLengths national="3"/>
14559        <exampleNumber>112</exampleNumber>
14560        <nationalNumberPattern>
14561          112|
14562          9(?:
14563            5[023]|
14564            61|
14565            9[3-59]
14566          )
14567        </nationalNumberPattern>
14568      </tollFree>
14569      <premiumRate>
14570        <possibleLengths national="5"/>
14571        <exampleNumber>30000</exampleNumber>
14572        <nationalNumberPattern>3[013-57-9]\d{3}</nationalNumberPattern>
14573      </premiumRate>
14574      <!-- 114 emergency short code works only for NetOne subscribers. 95[023] and 96[0-25] short
14575           codes can be dialled only from fixed-line. So adding here to alarm that they do not
14576           work for all. -->
14577      <carrierSpecific>
14578        <possibleLengths national="3"/>
14579        <exampleNumber>114</exampleNumber>
14580        <nationalNumberPattern>
14581          114|
14582          9(?:
14583            5[023]|
14584            6[0-25]
14585          )
14586        </nationalNumberPattern>
14587      </carrierSpecific>
14588      <emergency>
14589        <possibleLengths national="3"/>
14590        <exampleNumber>112</exampleNumber>
14591        <nationalNumberPattern>
14592          112|
14593          99[3-59]
14594        </nationalNumberPattern>
14595      </emergency>
14596      <expandedEmergency>
14597        <possibleLengths national="3"/>
14598        <exampleNumber>114</exampleNumber>
14599        <nationalNumberPattern>114</nationalNumberPattern>
14600      </expandedEmergency>
14601    </territory>
14602
14603  </territories>
14604</phoneNumberMetadata>
14605