Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(782)

Side by Side Diff: third_party/libphonenumber/resources/PhoneNumberMetaData.xml

Issue 6920006: Revert 84000 - Autofill phone number enhancements and integration of Phone Number Util Library: p... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!-- Copyright (C) 2009 Google Inc.
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: Shaopeng Jia
16 @author: Lara Rennie
17
18 MetaData on Phone Number Plan and formatting rules
19 Note: Territories are in alphabetical order by their IDs, which are based o n ISO 3166-1
20 two-letter country codes. The country names in the comments are the o fficial short names
21 in English according to ISO 3166-1.
22
23 For more information on what each element represents, see
24 java/com/google/i18n/phonenumbers/phonemetadata.proto
25
26 Note that if you want to add validation metadata, the generalDesc nationalN umberPattern and
27 possibleNumberPattern must be provided. If this is missing, then the countr y will be
28 considered to have no more specific phone-number type metadata (fixedLine, mobile etc) and
29 hence only basic validation rules (numbers should be between 3 and 15 digit s long) will be
30 applied.
31
32 Country code, international and national prefix information main source:
33 http://www.itu.int/publ/T-SP-E.164C-2010/en
34 -->
35
36 <!DOCTYPE phoneNumberMetadata [
37 <!ELEMENT phoneNumberMetadata (territories)>
38 <!ELEMENT territories (territory+)>
39 <!ELEMENT territory (availableFormats?, generalDesc?, noInternationalDiallin g?,
40 areaCodeOptional?, fixedLine?, mobile?, pager?, tollFree?, premiumRate?,
41 sharedCost?, personalNumber?, voip?, uan?, shortCode?)>
42 <!ELEMENT generalDesc (nationalNumberPattern, possibleNumberPattern)>
43 <!ELEMENT noInternationalDialling (nationalNumberPattern, possibleNumberPatt ern,
44 exampleNumber?)>
45 <!ELEMENT areaCodeOptional (nationalNumberPattern, possibleNumberPattern, ex ampleNumber?)>
46 <!ELEMENT fixedLine (nationalNumberPattern?, possibleNumberPattern?, example Number?)>
47 <!ELEMENT mobile (nationalNumberPattern?, possibleNumberPattern?, exampleNum ber?)>
48 <!ELEMENT pager (nationalNumberPattern?, possibleNumberPattern?, exampleNumb er?)>
49 <!ELEMENT tollFree (nationalNumberPattern?, possibleNumberPattern?, exampleN umber?)>
50 <!ELEMENT premiumRate (nationalNumberPattern?, possibleNumberPattern?, examp leNumber?)>
51 <!ELEMENT sharedCost (nationalNumberPattern?, possibleNumberPattern?, exampl eNumber?)>
52 <!ELEMENT personalNumber (nationalNumberPattern?, possibleNumberPattern?, ex ampleNumber?)>
53 <!ELEMENT voip (nationalNumberPattern?, possibleNumberPattern?, exampleNumbe r?)>
54 <!ELEMENT uan (nationalNumberPattern?, possibleNumberPattern?, exampleNumber ?)>
55 <!ELEMENT shortCode (nationalNumberPattern?, possibleNumberPattern?, example Number?)>
56 <!ELEMENT availableFormats (numberFormat+, intlNumberFormat*)>
57 <!ELEMENT nationalNumberPattern (#PCDATA)>
58 <!ELEMENT possibleNumberPattern (#PCDATA)>
59 <!ELEMENT exampleNumber (#PCDATA)>
60 <!ELEMENT numberFormat (leadingDigits*, format)>
61 <!ELEMENT intlNumberFormat (leadingDigits*, format)>
62 <!ELEMENT format (#PCDATA)>
63 <!ELEMENT leadingDigits (#PCDATA)>
64
65 <!ATTLIST territory id CDATA #REQUIRED>
66 <!ATTLIST territory countryCode CDATA #REQUIRED>
67 <!ATTLIST territory leadingDigits CDATA #IMPLIED>
68 <!ATTLIST territory preferredInternationalPrefix CDATA #IMPLIED>
69 <!ATTLIST territory internationalPrefix CDATA #REQUIRED>
70 <!ATTLIST territory nationalPrefix CDATA #IMPLIED>
71 <!ATTLIST territory nationalPrefixForParsing CDATA #IMPLIED>
72 <!ATTLIST territory nationalPrefixTransformRule CDATA #IMPLIED>
73 <!ATTLIST territory preferredExtnPrefix CDATA #IMPLIED>
74 <!ATTLIST territory nationalPrefixFormattingRule CDATA #IMPLIED>
75 <!ATTLIST territory mainCountryForCode (true) #IMPLIED>
76 <!ATTLIST territory leadingZeroPossible (true) #IMPLIED>
77 <!ATTLIST territory carrierCodeFormattingRule CDATA #IMPLIED>
78 <!ATTLIST numberFormat nationalPrefixFormattingRule CDATA #IMPLIED>
79 <!ATTLIST numberFormat carrierCodeFormattingRule CDATA #IMPLIED>
80 <!ATTLIST numberFormat pattern CDATA #REQUIRED>
81 <!ATTLIST intlNumberFormat pattern CDATA #REQUIRED>
82 <!ATTLIST intlNumberFormat carrierCodeFormattingRule CDATA #IMPLIED>
83 ]>
84
85 <phoneNumberMetadata>
86 <territories>
87 <!-- Ascension Island -->
88 <!-- www.itu.int/oth/T02020000AF -->
89 <territory id="AC" countryCode="247" internationalPrefix="00">
90 <!-- Formatted as a block. -->
91 <generalDesc>
92 <nationalNumberPattern>[2-46]\d{3}</nationalNumberPattern>
93 <possibleNumberPattern>\d{4}</possibleNumberPattern>
94 </generalDesc>
95 <fixedLine>
96 <nationalNumberPattern>
97 (?:
98 3[0-5]|
99 4[4-6]|
100 [26]\d
101 )\d{2}
102 </nationalNumberPattern>
103 <possibleNumberPattern>\d{4}</possibleNumberPattern>
104 <exampleNumber>6889</exampleNumber>
105 </fixedLine>
106 <mobile>
107 <nationalNumberPattern>NA</nationalNumberPattern>
108 <possibleNumberPattern>NA</possibleNumberPattern>
109 </mobile>
110 </territory>
111
112 <!-- Andorra -->
113 <!-- http://www.itu.int/oth/T0202000005/en -->
114 <territory id="AD" countryCode="376" internationalPrefix="00">
115 <availableFormats>
116 <numberFormat pattern="(\d{3})(\d{3})">
117 <leadingDigits>[346-9]</leadingDigits>
118 <format>$1 $2</format>
119 </numberFormat>
120 <numberFormat pattern="(180[02])(\d{4})">
121 <leadingDigits>1</leadingDigits>
122 <format>$1 $2</format>
123 </numberFormat>
124 </availableFormats>
125 <generalDesc>
126 <nationalNumberPattern>
127 (?:
128 [346-9]|
129 180
130 )\d{5}
131 </nationalNumberPattern>
132 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
133 </generalDesc>
134 <fixedLine>
135 <nationalNumberPattern>[78]\d{5}</nationalNumberPattern>
136 <possibleNumberPattern>\d{6}</possibleNumberPattern>
137 <exampleNumber>712345</exampleNumber>
138 </fixedLine>
139 <mobile>
140 <nationalNumberPattern>[346]\d{5}</nationalNumberPattern>
141 <possibleNumberPattern>\d{6}</possibleNumberPattern>
142 <exampleNumber>312345</exampleNumber>
143 </mobile>
144 <tollFree>
145 <!-- Note that the definitions of 1800 and 1802 numbers differ in the pl an and on the
146 Andorran www.sta.ad website, but we consider both to be freephone h ere. -->
147 <nationalNumberPattern>180[02]\d{4}</nationalNumberPattern>
148 <possibleNumberPattern>\d{8}</possibleNumberPattern>
149 <exampleNumber>18001234</exampleNumber>
150 </tollFree>
151 <!-- The national numbering plan says that numbers beginning with 9 are re served for special
152 services, so we assume they are premium rate here, although we cannot find examples
153 online. -->
154 <premiumRate>
155 <nationalNumberPattern>9\d{5}</nationalNumberPattern>
156 <possibleNumberPattern>\d{6}</possibleNumberPattern>
157 <exampleNumber>912345</exampleNumber>
158 </premiumRate>
159 </territory>
160
161 <!-- United Arab Emirates -->
162 <!-- http://www.itu.int/oth/T02020000DC/en -->
163 <territory id="AE" countryCode="971" internationalPrefix="00"
164 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
165 <availableFormats>
166 <numberFormat pattern="([2-4679])(\d{3})(\d{4})">
167 <leadingDigits>[2-4679][2-8]</leadingDigits>
168 <format>$1 $2 $3</format>
169 </numberFormat>
170 <numberFormat pattern="(5[056])(\d{3})(\d{4})">
171 <leadingDigits>5</leadingDigits>
172 <format>$1 $2 $3</format>
173 </numberFormat>
174 <numberFormat pattern="([4679]00)(\d)(\d{5})" nationalPrefixFormattingRu le="$FG">
175 <leadingDigits>[4679]0</leadingDigits>
176 <format>$1 $2 $3</format>
177 </numberFormat>
178 <numberFormat pattern="(800)(\d{2,9})" nationalPrefixFormattingRule="$FG ">
179 <leadingDigits>8</leadingDigits>
180 <format>$1 $2</format>
181 </numberFormat>
182 </availableFormats>
183 <generalDesc>
184 <nationalNumberPattern>
185 [2-79]\d{7,8}|
186 800\d{2,9}
187 </nationalNumberPattern>
188 <possibleNumberPattern>\d{5,12}</possibleNumberPattern>
189 </generalDesc>
190 <fixedLine>
191 <nationalNumberPattern>
192 (?:
193 [2-4679][2-8]\d|
194 600[25]
195 )\d{5}
196 </nationalNumberPattern>
197 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
198 <exampleNumber>22345678</exampleNumber>
199 </fixedLine>
200 <mobile>
201 <nationalNumberPattern>5[056]\d{7}</nationalNumberPattern>
202 <possibleNumberPattern>\d{9}</possibleNumberPattern>
203 <exampleNumber>501234567</exampleNumber>
204 </mobile>
205 <tollFree>
206 <nationalNumberPattern>
207 400\d{6}|
208 800\d{2,9}
209 </nationalNumberPattern>
210 <possibleNumberPattern>\d{5,12}</possibleNumberPattern>
211 <exampleNumber>800123456</exampleNumber>
212 </tollFree>
213 <premiumRate>
214 <nationalNumberPattern>900[02]\d{5}</nationalNumberPattern>
215 <possibleNumberPattern>\d{9}</possibleNumberPattern>
216 <exampleNumber>900234567</exampleNumber>
217 </premiumRate>
218 <sharedCost>
219 <nationalNumberPattern>700[05]\d{5}</nationalNumberPattern>
220 <possibleNumberPattern>\d{9}</possibleNumberPattern>
221 <exampleNumber>700012345</exampleNumber>
222 </sharedCost>
223 </territory>
224
225 <!-- Afghanistan -->
226 <!-- http://www.itu.int/oth/T0202000001/en -->
227 <territory id="AF" countryCode="93" internationalPrefix="00"
228 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
229 <availableFormats>
230 <numberFormat pattern="([2-7]\d)(\d{3})(\d{4})">
231 <format>$1 $2 $3</format>
232 </numberFormat>
233 </availableFormats>
234 <generalDesc>
235 <nationalNumberPattern>[2-7]\d{8}</nationalNumberPattern>
236 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
237 </generalDesc>
238 <fixedLine>
239 <nationalNumberPattern>
240 (?:
241 [25][0-8]|
242 [34][0-4]|
243 6[0-5]
244 )[2-9]\d{6}
245 </nationalNumberPattern>
246 <exampleNumber>234567890</exampleNumber>
247 </fixedLine>
248 <mobile>
249 <nationalNumberPattern>7[057-9]\d{7}</nationalNumberPattern>
250 <possibleNumberPattern>\d{9}</possibleNumberPattern>
251 <exampleNumber>701234567</exampleNumber>
252 </mobile>
253 </territory>
254
255 <!-- Antigua and Barbuda -->
256 <!-- http://www.itu.int/oth/T0202000008/en -->
257 <territory id="AG" countryCode="1" leadingDigits="268"
258 nationalPrefix="1" internationalPrefix="011">
259 <generalDesc>
260 <!-- NANPA country - uses US formatting rules -->
261 <nationalNumberPattern>[2589]\d{9}</nationalNumberPattern>
262 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
263 </generalDesc>
264 <fixedLine>
265 <!-- 268 468 is not in the plan, but has been added after numbers with t his prefix have been
266 found in online searches. -->
267 <nationalNumberPattern>
268 268(?:
269 4(?:
270 6[0-38]|
271 84
272 )|
273 56[0-2]
274 )\d{4}
275 </nationalNumberPattern>
276 <exampleNumber>2684601234</exampleNumber>
277 </fixedLine>
278 <mobile>
279 <!-- 268 776/778/779 are not in the plan, but have been added after numb ers with these
280 prefixes have been found in online searches. Same for 268 780/782/7 84/786. -->
281 <nationalNumberPattern>
282 268(?:
283 464|
284 7(?:
285 2[0-9]|
286 64|
287 7[0-689]|
288 8[02-68]
289 )
290 )\d{4}
291 </nationalNumberPattern>
292 <possibleNumberPattern>\d{10}</possibleNumberPattern>
293 <exampleNumber>2684641234</exampleNumber>
294 </mobile>
295 <pager>
296 <nationalNumberPattern>26840[69]\d{4}</nationalNumberPattern>
297 <possibleNumberPattern>\d{10}</possibleNumberPattern>
298 <exampleNumber>2684061234</exampleNumber>
299 </pager>
300 <tollFree>
301 <nationalNumberPattern>
302 8(?:
303 00|
304 55|
305 66|
306 77|
307 88
308 )[2-9]\d{6}
309 </nationalNumberPattern>
310 <possibleNumberPattern>\d{10}</possibleNumberPattern>
311 <exampleNumber>8002123456</exampleNumber>
312 </tollFree>
313 <premiumRate>
314 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
315 <possibleNumberPattern>\d{10}</possibleNumberPattern>
316 <exampleNumber>9002123456</exampleNumber>
317 </premiumRate>
318 <personalNumber>
319 <!-- http://www.nanpa.com/pdf/PL_416.pdf -->
320 <nationalNumberPattern>
321 5(?:
322 00|
323 33|
324 44
325 )[2-9]\d{6}
326 </nationalNumberPattern>
327 <possibleNumberPattern>\d{10}</possibleNumberPattern>
328 <exampleNumber>5002345678</exampleNumber>
329 </personalNumber>
330 <voip>
331 <!-- This is included as Centrex in the plan. -->
332 <nationalNumberPattern>26848[01]\d{4}</nationalNumberPattern>
333 <possibleNumberPattern>\d{10}</possibleNumberPattern>
334 <exampleNumber>2684801234</exampleNumber>
335 </voip>
336 </territory>
337
338 <!-- Anguilla -->
339 <!-- http://www.itu.int/oth/T0202000007/en -->
340 <territory id="AI" countryCode="1" leadingDigits="264"
341 nationalPrefix="1" internationalPrefix="011">
342 <generalDesc>
343 <!-- NANPA country - uses US formatting rules -->
344 <nationalNumberPattern>[2589]\d{9}</nationalNumberPattern>
345 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
346 </generalDesc>
347 <fixedLine>
348 <nationalNumberPattern>
349 2644(?:
350 6[12]|
351 9[78]
352 )\d{4}
353 </nationalNumberPattern>
354 <exampleNumber>2644612345</exampleNumber>
355 </fixedLine>
356 <mobile>
357 <nationalNumberPattern>
358 264(?:
359 235|
360 476|
361 5(?:
362 3[6-9]|
363 8[1-4]
364 )|
365 7(?:
366 29|
367 72
368 )
369 )\d{4}
370 </nationalNumberPattern>
371 <possibleNumberPattern>\d{10}</possibleNumberPattern>
372 <exampleNumber>2642351234</exampleNumber>
373 </mobile>
374 <tollFree>
375 <nationalNumberPattern>
376 8(?:
377 00|
378 55|
379 66|
380 77|
381 88
382 )[2-9]\d{6}
383 </nationalNumberPattern>
384 <possibleNumberPattern>\d{10}</possibleNumberPattern>
385 <exampleNumber>8002123456</exampleNumber>
386 </tollFree>
387 <premiumRate>
388 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
389 <possibleNumberPattern>\d{10}</possibleNumberPattern>
390 <exampleNumber>9002123456</exampleNumber>
391 </premiumRate>
392 <personalNumber>
393 <!-- http://www.nanpa.com/pdf/PL_416.pdf -->
394 <nationalNumberPattern>
395 5(?:
396 00|
397 33|
398 44
399 )[2-9]\d{6}
400 </nationalNumberPattern>
401 <possibleNumberPattern>\d{10}</possibleNumberPattern>
402 <exampleNumber>5002345678</exampleNumber>
403 </personalNumber>
404 </territory>
405
406 <!-- Albania -->
407 <!-- http://www.itu.int/oth/T0202000002/en -->
408 <territory id="AL" countryCode="355" internationalPrefix="00"
409 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
410 <availableFormats>
411 <!-- Formats mostly follow http://tirana.usembassy.gov/list_of_doctors.h tml -->
412 <numberFormat pattern="(4)(\d{3})(\d{4})">
413 <leadingDigits>4[0-6]</leadingDigits>
414 <format>$1 $2 $3</format>
415 </numberFormat>
416 <numberFormat pattern="(6[6-9])(\d{3})(\d{4})">
417 <leadingDigits>6</leadingDigits>
418 <format>$1 $2 $3</format>
419 </numberFormat>
420 <numberFormat pattern="(\d{2})(\d{3})(\d{3})">
421 <leadingDigits>
422 [2358][2-5]|
423 4[7-9]
424 </leadingDigits>
425 <format>$1 $2 $3</format>
426 </numberFormat>
427 <numberFormat pattern="(\d{3})(\d{3,5})">
428 <leadingDigits>
429 [235][16-9]|
430 8[016-9]|
431 [79]
432 </leadingDigits>
433 <format>$1 $2</format>
434 </numberFormat>
435 </availableFormats>
436 <generalDesc>
437 <nationalNumberPattern>
438 [2-57]\d{7}|
439 6\d{8}|
440 8\d{5,7}|
441 9\d{5}
442 </nationalNumberPattern>
443 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
444 </generalDesc>
445 <fixedLine>
446 <nationalNumberPattern>
447 (?:
448 2(?:
449 [168][1-9]|
450 [247]\d|
451 9[1-7]
452 )|
453 3(?:
454 1[1-3]|
455 [2-6]\d|
456 [79][1-8]|
457 8[1-9]
458 )|
459 4\d{2}|
460 5(?:
461 1[1-4]|
462 [2-578]\d|
463 6[1-5]|
464 9[1-7]
465 )|
466 8(?:
467 [19][1-5]|
468 [2-6]\d|
469 [78][1-7]
470 )
471 )\d{5}
472 </nationalNumberPattern>
473 <possibleNumberPattern>\d{5,8}</possibleNumberPattern>
474 <exampleNumber>22345678</exampleNumber>
475 </fixedLine>
476 <mobile>
477 <nationalNumberPattern>6[6-9]\d{7}</nationalNumberPattern>
478 <possibleNumberPattern>\d{9}</possibleNumberPattern>
479 <exampleNumber>661234567</exampleNumber>
480 </mobile>
481 <tollFree>
482 <nationalNumberPattern>800\d{4}</nationalNumberPattern>
483 <possibleNumberPattern>\d{7}</possibleNumberPattern>
484 <exampleNumber>8001234</exampleNumber>
485 </tollFree>
486 <premiumRate>
487 <!-- It is named "Shared Revenue Services" in the plan, but as there is a separate "Shared
488 Cost Services", it is highly likely these numbers are premium rate numbers. No
489 information/example is found in the Internet. -->
490 <nationalNumberPattern>900\d{3}</nationalNumberPattern>
491 <possibleNumberPattern>\d{6}</possibleNumberPattern>
492 <exampleNumber>900123</exampleNumber>
493 </premiumRate>
494 <sharedCost>
495 <nationalNumberPattern>808\d{3}</nationalNumberPattern>
496 <possibleNumberPattern>\d{6}</possibleNumberPattern>
497 <exampleNumber>808123</exampleNumber>
498 </sharedCost>
499 <personalNumber>
500 <nationalNumberPattern>700\d{5}</nationalNumberPattern>
501 <possibleNumberPattern>\d{8}</possibleNumberPattern>
502 <exampleNumber>70012345</exampleNumber>
503 </personalNumber>
504 </territory>
505
506 <!-- Armenia -->
507 <!-- http://www.itu.int/oth/T020200000A/en -->
508 <!-- We think the national dialling prefix is 0 - it seems this was a change in 2005 (or 2008)
509 along with the new city codes. However, their official document makes n o mention of it,
510 websites disagree, and we are not sure if the change has actually been made. -->
511 <territory id="AM" countryCode="374" internationalPrefix="00"
512 nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)">
513 <availableFormats>
514 <numberFormat pattern="(\d{2})(\d{6})">
515 <leadingDigits>
516 [17]|
517 9[1-9]
518 </leadingDigits>
519 <format>$1 $2</format>
520 </numberFormat>
521 <numberFormat pattern="(\d{2})(\d{6})"
522 nationalPrefixFormattingRule="$NP$FG">
523 <leadingDigits>6</leadingDigits>
524 <format>$1 $2</format>
525 </numberFormat>
526 <numberFormat pattern="(\d{3})(\d{5})">
527 <leadingDigits>[23]</leadingDigits>
528 <format>$1 $2</format>
529 </numberFormat>
530 <numberFormat pattern="(\d{3})(\d{2})(\d{3})"
531 nationalPrefixFormattingRule="$NP $FG">
532 <leadingDigits>
533 8|
534 90
535 </leadingDigits>
536 <format>$1 $2 $3</format>
537 </numberFormat>
538 </availableFormats>
539 <generalDesc>
540 <nationalNumberPattern>[1-36-9]\d{7}</nationalNumberPattern>
541 <possibleNumberPattern>\d{5,8}</possibleNumberPattern>
542 </generalDesc>
543 <fixedLine>
544 <nationalNumberPattern>
545 (?:
546 10\d|
547 2(?:
548 2[2-46]|
549 3[1-8]|
550 4[2-69]|
551 5[2-7]|
552 6[1-9]|
553 8[1-7]
554 )|
555 3[12]2
556 )\d{5}
557 </nationalNumberPattern>
558 <exampleNumber>10123456</exampleNumber>
559 </fixedLine>
560 <mobile>
561 <nationalNumberPattern>
562 (?:
563 77|
564 9[1-46-9]
565 )\d{6}
566 </nationalNumberPattern>
567 <possibleNumberPattern>\d{8}</possibleNumberPattern>
568 <exampleNumber>77123456</exampleNumber>
569 </mobile>
570 <tollFree>
571 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
572 <possibleNumberPattern>\d{8}</possibleNumberPattern>
573 <exampleNumber>80012345</exampleNumber>
574 </tollFree>
575 <premiumRate>
576 <nationalNumberPattern>90[016]\d{5}</nationalNumberPattern>
577 <possibleNumberPattern>\d{8}</possibleNumberPattern>
578 <exampleNumber>90012345</exampleNumber>
579 </premiumRate>
580 <sharedCost>
581 <nationalNumberPattern>80[1-4]\d{5}</nationalNumberPattern>
582 <possibleNumberPattern>\d{8}</possibleNumberPattern>
583 <exampleNumber>80112345</exampleNumber>
584 </sharedCost>
585 <voip>
586 <!-- More info on this found at www.arminco.com/en/voip -->
587 <nationalNumberPattern>6027\d{4}</nationalNumberPattern>
588 <possibleNumberPattern>\d{8}</possibleNumberPattern>
589 <exampleNumber>60271234</exampleNumber>
590 </voip>
591 <shortCode>
592 <nationalNumberPattern>
593 8[1-7]\d{2}|
594 1\d{2}
595 </nationalNumberPattern>
596 <possibleNumberPattern>\d{3,4}</possibleNumberPattern>
597 <exampleNumber>8711</exampleNumber>
598 </shortCode>
599 </territory>
600
601 <!-- Netherlands Antilles -->
602 <!-- http://www.itu.int/oth/T0202000097/en -->
603 <territory id="AN" countryCode="599" internationalPrefix="00">
604 <availableFormats>
605 <numberFormat pattern="(\d{3})(\d{4})">
606 <leadingDigits>[13-7]</leadingDigits>
607 <format>$1 $2</format>
608 </numberFormat>
609 <numberFormat pattern="(9)(\d{3})(\d{4})">
610 <leadingDigits>9</leadingDigits>
611 <format>$1 $2 $3</format>
612 </numberFormat>
613 </availableFormats>
614 <generalDesc>
615 <nationalNumberPattern>[13-79]\d{6,7}</nationalNumberPattern>
616 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
617 </generalDesc>
618 <fixedLine>
619 <nationalNumberPattern>
620 (?:
621 318|
622 5(?:
623 25|
624 4\d|
625 8[239]
626 )|
627 7(?:
628 1[578]|
629 50
630 )|
631 9(?:
632 [48]\d{2}|
633 50\d|
634 7(?:
635 2[0-2]|
636 [34]\d|
637 6[35-7]|
638 77
639 )
640 )
641 )\d{4}|
642 416[0239]\d{3}
643 </nationalNumberPattern>
644 <exampleNumber>7151234</exampleNumber>
645 </fixedLine>
646 <mobile>
647 <nationalNumberPattern>
648 (?:
649 318|
650 5(?:
651 1[01]|
652 2[0-7]|
653 5\d|
654 8[016-8]
655 )|
656 7(?:
657 0[01]|
658 [89]\d
659 )|
660 9(?:
661 5(?:
662 [1246]\d|
663 3[01]
664 )|
665 6(?:
666 [1679]\d|
667 3[01]
668 )
669 )
670 )\d{4}|
671 416[15-8]\d{3}
672 </nationalNumberPattern>
673 <exampleNumber>3181234</exampleNumber>
674 </mobile>
675 <!-- Value-added services are lumped together under shared cost, since we are not sure exactly
676 what they are. -->
677 <sharedCost>
678 <nationalNumberPattern>
679 (?:
680 10|
681 69
682 )\d{5}
683 </nationalNumberPattern>
684 <exampleNumber>1011234</exampleNumber>
685 </sharedCost>
686 </territory>
687
688 <!-- Angola -->
689 <!-- http://www.itu.int/oth/T0202000006/en -->
690 <territory id="AO" countryCode="244" internationalPrefix="00">
691 <availableFormats>
692 <numberFormat pattern="(\d{3})(\d{3})(\d{3})">
693 <format>$1 $2 $3</format>
694 </numberFormat>
695 </availableFormats>
696 <generalDesc>
697 <nationalNumberPattern>[29]\d{8}</nationalNumberPattern>
698 <possibleNumberPattern>\d{9}</possibleNumberPattern>
699 </generalDesc>
700 <fixedLine>
701 <nationalNumberPattern>
702 2\d(?:
703 [26-9]\d|
704 \d[26-9]
705 )\d{5}
706 </nationalNumberPattern>
707 <exampleNumber>222123456</exampleNumber>
708 </fixedLine>
709 <mobile>
710 <!-- Expanded the 92 prefix possibilities to match numbers found online. -->
711 <nationalNumberPattern>9[1-3]\d{7}</nationalNumberPattern>
712 <exampleNumber>923123456</exampleNumber>
713 </mobile>
714 </territory>
715
716 <!-- Argentina -->
717 <!-- http://www.itu.int/oth/T0202000009/en -->
718 <!-- http://www.cnc.gov.ar/numeracion/IndicativosInterurbanos.asp -->
719 <territory id="AR" countryCode="54" internationalPrefix="00"
720 nationalPrefix="0" nationalPrefixForParsing="0(?:(11|2(?:2(?:02? |[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1-367])|3(?:[06]2|1[467] |2[02-6]|3[13-8]|[49][2-6]|5[2-8]|7)|47[3-578]|6(?:1|2[2-7]|4[6-8]?|5[125-8])|9( ?:0[1-3]|[19]|2\d|3[1-6]|4[0-24-68]|5[2-4]|6[2-6]|72?|8[23]?))|3(?:3(?:2[79]|8[2 578])|4(?:0[124-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6\d|7[126]|8[237-9]|9[1-36-8])| 5(?:1|2[1245]|3[2-4]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|7(?:1[15-8]|2[125]|3[1245 ]|4[13]|5[124-8]|7[2-57]|8[1-36])|8(?:1|2[125-7]|3[23578]|4[13-6]|5[4-8]?|6[1-35 7-9]|7[5-8]?|8[4-7]?|9[124])))15)?"
721 nationalPrefixTransformRule="9$1" nationalPrefixFormattingRule="$ NP$FG">
722 <availableFormats>
723 <numberFormat pattern="([68]\d{2})(\d{3})(\d{4})">
724 <leadingDigits>[68]</leadingDigits>
725 <format>$1-$2-$3</format>
726 </numberFormat>
727 <intlNumberFormat pattern="([68]\d{2})(\d{3})(\d{4})">
728 <leadingDigits>[68]</leadingDigits>
729 <format>$1-$2-$3</format>
730 </intlNumberFormat>
731 <numberFormat pattern="9(11)(\d{4})(\d{4})">
732 <leadingDigits>91</leadingDigits>
733 <format>$1 15-$2-$3</format>
734 </numberFormat>
735 <intlNumberFormat pattern="9(11)(\d{4})(\d{4})">
736 <leadingDigits>91</leadingDigits>
737 <format>9 $1 $2-$3</format>
738 </intlNumberFormat>
739 <numberFormat pattern="9(\d{3})(\d{3})(\d{4})">
740 <leadingDigits>
741 9(?:
742 2[2369]|
743 3[458]
744 )
745 </leadingDigits>
746 <leadingDigits>
747 9(?:
748 2(?:
749 2[013]|
750 37|
751 6[14]|
752 9[179]
753 )|
754 3(?:
755 4[1235]|
756 5[138]|
757 8[1578]
758 )
759 )
760 </leadingDigits>
761 <format>$1 15-$2-$3</format>
762 </numberFormat>
763 <intlNumberFormat pattern="9(\d{3})(\d{3})(\d{4})">
764 <leadingDigits>
765 9(?:
766 2[2369]|
767 3[458]
768 )
769 </leadingDigits>
770 <leadingDigits>
771 9(?:
772 2(?:
773 2[013]|
774 37|
775 6[14]|
776 9[179]
777 )|
778 3(?:
779 4[1235]|
780 5[138]|
781 8[1578]
782 )
783 )
784 </leadingDigits>
785 <format>9 $1 $2-$3</format>
786 </intlNumberFormat>
787 <numberFormat pattern="9(\d{4})(\d{2})(\d{4})">
788 <leadingDigits>
789 9(?:
790 2[2-469]|
791 3[3-578]
792 )
793 </leadingDigits>
794 <leadingDigits>
795 9(?:
796 2(?:
797 2[24-9]|
798 3[0-69]|
799 47|
800 6[25]|
801 9[02-68]
802 )|
803 3(?:
804 3[28]|
805 4[046-9]|
806 5[2467]|
807 7[1-578]|
808 8[23469]
809 )
810 )
811 </leadingDigits>
812 <format>$1 15-$2-$3</format>
813 </numberFormat>
814 <intlNumberFormat pattern="9(\d{4})(\d{2})(\d{4})">
815 <leadingDigits>
816 9(?:
817 2[2-469]|
818 3[3-578]
819 )
820 </leadingDigits>
821 <leadingDigits>
822 9(?:
823 2(?:
824 2[24-9]|
825 3[0-69]|
826 47|
827 6[25]|
828 9[02-68]
829 )|
830 3(?:
831 3[28]|
832 4[046-9]|
833 5[2467]|
834 7[1-578]|
835 8[23469]
836 )
837 )
838 </leadingDigits>
839 <format>9 $1 $2-$3</format>
840 </intlNumberFormat>
841 <numberFormat pattern="(11)(\d{4})(\d{4})">
842 <leadingDigits>1</leadingDigits>
843 <format>$1 $2-$3</format>
844 </numberFormat>
845 <intlNumberFormat pattern="(11)(\d{4})(\d{4})">
846 <leadingDigits>1</leadingDigits>
847 <format>$1 $2-$3</format>
848 </intlNumberFormat>
849 <!-- Some 4-digit area codes actually are caught by this rule. I'm givin g however preference
850 to the 3-digit area codes, since they are considerably larger commu nities. -->
851 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
852 <leadingDigits>
853 2(?:
854 2[013]|
855 37|
856 6[14]|
857 9[179]
858 )|
859 3(?:
860 4[1235]|
861 5[138]|
862 8[1578]
863 )
864 </leadingDigits>
865 <format>$1 $2-$3</format>
866 </numberFormat>
867 <intlNumberFormat pattern="(\d{3})(\d{3})(\d{4})">
868 <leadingDigits>
869 2(?:
870 2[013]|
871 37|
872 6[14]|
873 9[179]
874 )|
875 3(?:
876 4[1235]|
877 5[138]|
878 8[1578]
879 )
880 </leadingDigits>
881 <format>$1 $2-$3</format>
882 </intlNumberFormat>
883 <numberFormat pattern="(\d{4})(\d{2})(\d{4})">
884 <leadingDigits>[23]</leadingDigits>
885 <format>$1 $2-$3</format>
886 </numberFormat>
887 <intlNumberFormat pattern="(\d{4})(\d{2})(\d{4})">
888 <leadingDigits>[23]</leadingDigits>
889 <format>$1 $2-$3</format>
890 </intlNumberFormat>
891 </availableFormats>
892 <generalDesc>
893 <nationalNumberPattern>[1-9]\d{9,11}</nationalNumberPattern>
894 <possibleNumberPattern>\d{6,12}</possibleNumberPattern>
895 </generalDesc>
896 <fixedLine>
897 <nationalNumberPattern>[1-9]\d{9}</nationalNumberPattern>
898 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
899 <exampleNumber>1123456789</exampleNumber>
900 </fixedLine>
901 <mobile>
902 <nationalNumberPattern>
903 9(?:
904 11[2-9]\d{7}|
905 (?:
906 2(?:
907 2[013]|
908 37|
909 6[14]|
910 9[179]
911 )|
912 3(?:
913 4[1235]|
914 5[138]|
915 8[1578]
916 )
917 )[2-9]\d{6}|
918 \d{4}[2-9]\d{5}
919 )
920 </nationalNumberPattern>
921 <possibleNumberPattern>\d{6,12}</possibleNumberPattern>
922 <exampleNumber>91123456789</exampleNumber>
923 </mobile>
924 <tollFree>
925 <nationalNumberPattern>80\d{8}</nationalNumberPattern>
926 <possibleNumberPattern>\d{10}</possibleNumberPattern>
927 <exampleNumber>8012345678</exampleNumber>
928 </tollFree>
929 <premiumRate>
930 <nationalNumberPattern>
931 6(?:
932 0\d|
933 10
934 )\d{7}
935 </nationalNumberPattern>
936 <possibleNumberPattern>\d{10}</possibleNumberPattern>
937 <exampleNumber>6001234567</exampleNumber>
938 </premiumRate>
939 </territory>
940
941 <!-- American Samoa -->
942 <!-- http://www.itu.int/oth/T0202000004/en -->
943 <territory id="AS" countryCode="1" leadingDigits="684"
944 nationalPrefix="1" internationalPrefix="011">
945 <generalDesc>
946 <!-- NANPA country - uses US formatting rules -->
947 <nationalNumberPattern>[5689]\d{9}</nationalNumberPattern>
948 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
949 </generalDesc>
950 <fixedLine>
951 <nationalNumberPattern>
952 6846(?:
953 22|
954 33|
955 44|
956 55|
957 77|
958 88|
959 9[19]
960 )\d{4}
961 </nationalNumberPattern>
962 <exampleNumber>6846221234</exampleNumber>
963 </fixedLine>
964 <mobile>
965 <nationalNumberPattern>
966 684(?:
967 733|
968 258
969 )\d{4}
970 </nationalNumberPattern>
971 <possibleNumberPattern>\d{10}</possibleNumberPattern>
972 <exampleNumber>6847331234</exampleNumber>
973 </mobile>
974 <tollFree>
975 <nationalNumberPattern>
976 8(?:
977 00|
978 55|
979 66|
980 77|
981 88
982 )[2-9]\d{6}
983 </nationalNumberPattern>
984 <possibleNumberPattern>\d{10}</possibleNumberPattern>
985 <exampleNumber>8002123456</exampleNumber>
986 </tollFree>
987 <premiumRate>
988 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
989 <possibleNumberPattern>\d{10}</possibleNumberPattern>
990 <exampleNumber>9002123456</exampleNumber>
991 </premiumRate>
992 <personalNumber>
993 <!-- http://www.nanpa.com/pdf/PL_416.pdf -->
994 <nationalNumberPattern>
995 5(?:
996 00|
997 33|
998 44
999 )[2-9]\d{6}
1000 </nationalNumberPattern>
1001 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1002 <exampleNumber>5002345678</exampleNumber>
1003 </personalNumber>
1004 </territory>
1005
1006 <!-- Austria -->
1007 <!-- http://www.rtr.at/en/tk/E129 -->
1008 <territory id="AT" countryCode="43" internationalPrefix="00"
1009 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
1010 <availableFormats>
1011 <numberFormat pattern="([15])(\d{3,12})">
1012 <leadingDigits>
1013 1|
1014 5[079]
1015 </leadingDigits>
1016 <format>$1 $2</format>
1017 </numberFormat>
1018 <numberFormat pattern="(\d{3})(\d{3,10})">
1019 <leadingDigits>
1020 316|
1021 46|
1022 51|
1023 732|
1024 6(?:
1025 44|
1026 5[0-3579]|
1027 [6-9]
1028 )|
1029 7(?:
1030 1|
1031 [28]0
1032 )|
1033 [89]
1034 </leadingDigits>
1035 <format>$1 $2</format>
1036 </numberFormat>
1037 <numberFormat pattern="(\d{4})(\d{3,9})">
1038 <leadingDigits>
1039 2|
1040 3(?:
1041 1[1-578]|
1042 [3-8]
1043 )|
1044 4[2378]|
1045 5[2-6]|
1046 6(?:
1047 [12]|
1048 4[1-35-9]|
1049 5[468]
1050 )|
1051 7(?:
1052 2[1-8]|
1053 35|
1054 4[1-8]|
1055 [57-9]
1056 )
1057 </leadingDigits>
1058 <format>$1 $2</format>
1059 </numberFormat>
1060 </availableFormats>
1061 <generalDesc>
1062 <nationalNumberPattern>\d{4,13}</nationalNumberPattern>
1063 <possibleNumberPattern>\d{3,13}</possibleNumberPattern>
1064 </generalDesc>
1065 <fixedLine>
1066 <!-- Note the 050, 057 and 059 prefixes are defined as "private network" in the Austrian
1067 plan. This just means they are registered to companies who are dist ributed over
1068 different geographical areas and maintain their own network. Exampl es here:
1069 http://www.rtr.at/?id=4506&S=05&art=d Also note that the full area code is not
1070 validated - just the first 3 digits. This also means that even thou gh for most
1071 Austrian numbers the minimum length is 7, we allow 6 since we don't differentiate below
1072 between 3 and 4 digit area codes for reasons of efficiency. -->
1073 <nationalNumberPattern>
1074 1\d{3,12}|
1075 (?:
1076 2(?:
1077 1[467]|
1078 2[134-8]|
1079 5[2357]|
1080 6[1-46-8]|
1081 7[1-8]|
1082 8[124-7]|
1083 8[1458]
1084 )|
1085 3(?:
1086 1[1-8]|
1087 3[23568]|
1088 4[5-7]|
1089 5[1378]|
1090 6[1-38]|
1091 8[3-68]
1092 )|
1093 4(?:
1094 2[1-8]|
1095 35|
1096 63|
1097 7[1368]|
1098 8[2457]
1099 )|
1100 5(?:
1101 1[27]|
1102 2[1-8]|
1103 3[357]|
1104 4[147]|
1105 5[12578]|
1106 6[37]
1107 )|
1108 6(?:
1109 13|
1110 2[1-47]|
1111 4[1-35-8]|
1112 5[468]|
1113 62
1114 )|
1115 7(?:
1116 2[1-8]|
1117 3[25]|
1118 4[13478]|
1119 5[68]|
1120 6[16-8]|
1121 7[1-6]|
1122 9[45]
1123 )
1124 )\d{3,10}|
1125 5(?:
1126 0[1-9]|
1127 [79]\d
1128 )\d{2,10}|
1129 720\d{6,10}
1130 </nationalNumberPattern>
1131 <exampleNumber>1234567890</exampleNumber>
1132 </fixedLine>
1133 <mobile>
1134 <nationalNumberPattern>
1135 6(?:
1136 44|
1137 5[0-3579]|
1138 6[013-9]|
1139 [7-9]\d
1140 )\d{4,10}
1141 </nationalNumberPattern>
1142 <possibleNumberPattern>\d{7,13}</possibleNumberPattern>
1143 <exampleNumber>644123456</exampleNumber>
1144 </mobile>
1145 <tollFree>
1146 <nationalNumberPattern>80[02]\d{6,10}</nationalNumberPattern>
1147 <possibleNumberPattern>\d{9,13}</possibleNumberPattern>
1148 <exampleNumber>800123456</exampleNumber>
1149 </tollFree>
1150 <premiumRate>
1151 <nationalNumberPattern>
1152 (?:
1153 711|
1154 9(?:
1155 0[01]|
1156 3[019]
1157 )
1158 )\d{6,10}
1159 </nationalNumberPattern>
1160 <possibleNumberPattern>\d{9,13}</possibleNumberPattern>
1161 <exampleNumber>900123456</exampleNumber>
1162 </premiumRate>
1163 <sharedCost>
1164 <nationalNumberPattern>
1165 8(?:
1166 10|
1167 2[018]
1168 )\d{6,10}
1169 </nationalNumberPattern>
1170 <possibleNumberPattern>\d{9,13}</possibleNumberPattern>
1171 <exampleNumber>810123456</exampleNumber>
1172 </sharedCost>
1173 <voip>
1174 <nationalNumberPattern>780\d{6,10}</nationalNumberPattern>
1175 <possibleNumberPattern>\d{9,13}</possibleNumberPattern>
1176 <exampleNumber>780123456</exampleNumber>
1177 </voip>
1178 </territory>
1179
1180 <!-- Australia -->
1181 <!-- http://www.itu.int/dms_pub/itu-t/oth/02/02/T020200000D0001MSWE.doc -->
1182 <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Australia -->
1183 <territory id="AU" countryCode="61" preferredInternationalPrefix="0011"
1184 internationalPrefix="(?:14(?:1[14]|34|4[17]|[56]6|7[47]|88))?001[ 14-689]"
1185 nationalPrefix="0">
1186 <availableFormats>
1187 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
1188 pattern="([2378])(\d{4})(\d{4})">
1189 <leadingDigits>[2378]</leadingDigits>
1190 <format>$1 $2 $3</format>
1191 </numberFormat>
1192 <numberFormat nationalPrefixFormattingRule="$NP$FG"
1193 pattern="(4\d{2})(\d{3})(\d{3})">
1194 <leadingDigits>4</leadingDigits>
1195 <format>$1 $2 $3</format>
1196 </numberFormat>
1197 <numberFormat nationalPrefixFormattingRule="$NP$FG"
1198 pattern="(5[05]0)(\d{3})(\d{3})">
1199 <leadingDigits>5</leadingDigits>
1200 <format>$1 $2 $3</format>
1201 </numberFormat>
1202 <numberFormat nationalPrefixFormattingRule="$FG"
1203 pattern="(1[389]\d{2})(\d{3})(\d{3})">
1204 <leadingDigits>
1205 1(?:
1206 [38]0|
1207 9
1208 )
1209 </leadingDigits>
1210 <leadingDigits>
1211 1(?:
1212 [38]00|
1213 9
1214 )
1215 </leadingDigits>
1216 <format>$1 $2 $3</format>
1217 </numberFormat>
1218 <!-- Although the national plan doesn't explicitly say so, there is no e vidence that a 180
1219 xxxx number could be 180 0xxx. -->
1220 <numberFormat nationalPrefixFormattingRule="$FG"
1221 pattern="(180)(\d{4})">
1222 <leadingDigits>180</leadingDigits>
1223 <leadingDigits>180[1-9]</leadingDigits>
1224 <format>$1 $2</format>
1225 </numberFormat>
1226 <numberFormat nationalPrefixFormattingRule="$FG"
1227 pattern="(13)(\d{2})(\d{2})">
1228 <leadingDigits>13[1-9]</leadingDigits>
1229 <format>$1 $2 $3</format>
1230 </numberFormat>
1231 </availableFormats>
1232 <generalDesc>
1233 <nationalNumberPattern>[1-578]\d{5,9}</nationalNumberPattern>
1234 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
1235 </generalDesc>
1236 <fixedLine>
1237 <nationalNumberPattern>[2378]\d{8}</nationalNumberPattern>
1238 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
1239 <exampleNumber>212345678</exampleNumber>
1240 </fixedLine>
1241 <mobile>
1242 <nationalNumberPattern>
1243 4(?:
1244 [0-2]\d|
1245 3[0-57-9]|
1246 4[47-9]|
1247 5[0-37-9]|
1248 6[6-9]|
1249 7[07-9]|
1250 8[7-9]
1251 )\d{6}
1252 </nationalNumberPattern>
1253 <possibleNumberPattern>\d{9}</possibleNumberPattern>
1254 <exampleNumber>412345678</exampleNumber>
1255 </mobile>
1256 <tollFree>
1257 <!-- Local-rate (SmartNumbers) are put here for now because they are als o a reverse-charge
1258 network, although they charge a small local call connect fee (aroun d 25c). These start
1259 with 13 or 1300. -->
1260 <nationalNumberPattern>
1261 1(?:
1262 80(?:
1263 0\d{2}
1264 )? |
1265 3(?:
1266 00\d{2}
1267 )?
1268 )\d{4}
1269 </nationalNumberPattern>
1270 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
1271 <exampleNumber>1800123456</exampleNumber>
1272 </tollFree>
1273 <premiumRate>
1274 <nationalNumberPattern>190[0126]\d{6}</nationalNumberPattern>
1275 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1276 <exampleNumber>1900123456</exampleNumber>
1277 </premiumRate>
1278 <!-- Wikipedia was the source for these types of numbers, and number alloc ation search here
1279 http://web.acma.gov.au/numb/openAccess/inquiry/allocationSearch.do co nfirms this. (Search
1280 from 0500000000 to 0590000000) -->
1281 <personalNumber>
1282 <nationalNumberPattern>500\d{6}</nationalNumberPattern>
1283 <possibleNumberPattern>\d{9}</possibleNumberPattern>
1284 <exampleNumber>500123456</exampleNumber>
1285 </personalNumber>
1286 <voip>
1287 <nationalNumberPattern>550\d{6}</nationalNumberPattern>
1288 <possibleNumberPattern>\d{9}</possibleNumberPattern>
1289 <exampleNumber>550123456</exampleNumber>
1290 </voip>
1291 </territory>
1292
1293 <!-- Aruba -->
1294 <!-- http://www.itu.int/oth/T020200000B/en -->
1295 <territory id="AW" countryCode="297" internationalPrefix="00">
1296 <availableFormats>
1297 <numberFormat pattern="([5-9]\d{2})(\d{4})">
1298 <format>$1 $2</format>
1299 </numberFormat>
1300 </availableFormats>
1301 <generalDesc>
1302 <nationalNumberPattern>[5-9]\d{6}</nationalNumberPattern>
1303 <possibleNumberPattern>\d{7}</possibleNumberPattern>
1304 </generalDesc>
1305 <fixedLine>
1306 <nationalNumberPattern>
1307 5(?:
1308 2\d{2}|
1309 8(?:
1310 [2-7]\d|
1311 8[0-79]|
1312 9[48]
1313 )
1314 )\d{3}
1315 </nationalNumberPattern>
1316 <exampleNumber>5212345</exampleNumber>
1317 </fixedLine>
1318 <mobile>
1319 <!-- Adding 660 since SMS messages have been successfully delivered to n umbers with this
1320 prefix, and numbers can be found in the yellow pages. -->
1321 <nationalNumberPattern>
1322 (?:
1323 5[69]\d|
1324 660|
1325 9(?:
1326 6\d|
1327 9[02-9]
1328 )|
1329 7[34]\d
1330 )\d{4}
1331 </nationalNumberPattern>
1332 <exampleNumber>5601234</exampleNumber>
1333 </mobile>
1334 <tollFree>
1335 <nationalNumberPattern>800\d{4}</nationalNumberPattern>
1336 <exampleNumber>8001234</exampleNumber>
1337 </tollFree>
1338 <premiumRate>
1339 <nationalNumberPattern>900\d{4}</nationalNumberPattern>
1340 <exampleNumber>9001234</exampleNumber>
1341 </premiumRate>
1342 </territory>
1343
1344 <!-- Azerbaijan -->
1345 <!-- http://www.itu.int/oth/T020200000F/en -->
1346 <territory id="AZ" countryCode="994" internationalPrefix="00"
1347 nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)">
1348 <availableFormats>
1349 <numberFormat pattern="(\d{2})(\d{3})(\d{2})(\d{2})">
1350 <leadingDigits>1[28]</leadingDigits>
1351 <format>$1 $2 $3 $4</format>
1352 </numberFormat>
1353 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
1354 <leadingDigits>22</leadingDigits>
1355 <format>$1 $2 $3 $4</format>
1356 </numberFormat>
1357 <numberFormat pattern="(\d{2})(\d{2,3})(\d{2})(\d{2})">
1358 <leadingDigits>3</leadingDigits>
1359 <format>$1 $2 $3 $4</format>
1360 </numberFormat>
1361 <numberFormat pattern="(\d{3})(\d)(\d{2})(\d{2})">
1362 <leadingDigits>
1363 1[013-79]|
1364 2[013-9]
1365 </leadingDigits>
1366 <format>$1 $2 $3 $4</format>
1367 </numberFormat>
1368 <numberFormat pattern="(\d{2})(\d{3})(\d{2})(\d{2})"
1369 nationalPrefixFormattingRule="$NP$FG">
1370 <leadingDigits>[4-8]</leadingDigits>
1371 <format>$1 $2 $3 $4</format>
1372 </numberFormat>
1373 <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})"
1374 nationalPrefixFormattingRule="$NP$FG">
1375 <leadingDigits>9</leadingDigits>
1376 <format>$1 $2 $3 $4</format>
1377 </numberFormat>
1378 </availableFormats>
1379 <generalDesc>
1380 <nationalNumberPattern>[1-9]\d{7,8}</nationalNumberPattern>
1381 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
1382 </generalDesc>
1383 <fixedLine>
1384 <!-- Added the 164 area code after it was found in other online lists an d in many online
1385 numbers. Also includes the area code 44 for CDMA regions, which are classified under
1386 "Fixed Network" by the national plan. -->
1387 <nationalNumberPattern>
1388 (?:
1389 1(?:
1390 (?:
1391 [28]\d|
1392 9
1393 )\d|
1394 02|
1395 1[0-589]|
1396 3[358]|
1397 4[013-79]|
1398 5[0-479]|
1399 6[02346-9]|
1400 7[0-24-8]
1401 )|
1402 2(?:
1403 16|
1404 2\d|
1405 3[0-24]|
1406 4[1468]|
1407 55|
1408 6[56]|
1409 79
1410 )|
1411 365?\d|
1412 44\d{2}
1413 )\d{5}
1414 </nationalNumberPattern>
1415 <exampleNumber>123123456</exampleNumber>
1416 </fixedLine>
1417 <mobile>
1418 <nationalNumberPattern>
1419 (?:
1420 [46]0|
1421 5[015]|
1422 7[07]
1423 )\d{7}
1424 </nationalNumberPattern>
1425 <possibleNumberPattern>\d{9}</possibleNumberPattern>
1426 <exampleNumber>401234567</exampleNumber>
1427 </mobile>
1428 <tollFree>
1429 <!-- 88 is listed as fixed-line for Baku in the ITU document, but online numbers seem to
1430 suggest they are in fact national toll-free numbers. -->
1431 <nationalNumberPattern>88\d{7}</nationalNumberPattern>
1432 <possibleNumberPattern>\d{9}</possibleNumberPattern>
1433 <exampleNumber>881234567</exampleNumber>
1434 </tollFree>
1435 <premiumRate>
1436 <!-- These are marked as Interactive Calls in the ITU document. -->
1437 <nationalNumberPattern>900200\d{3}</nationalNumberPattern>
1438 <possibleNumberPattern>\d{9}</possibleNumberPattern>
1439 <exampleNumber>900200123</exampleNumber>
1440 </premiumRate>
1441 </territory>
1442
1443 <!-- Bosnia and Herzegovina -->
1444 <!-- http://www.cra.ba/en/telecom/numbering/ -->
1445 <!-- http://en.wikipedia.org/wiki/+387 -->
1446 <territory id="BA" countryCode="387" internationalPrefix="00"
1447 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
1448 <availableFormats>
1449 <numberFormat pattern="([3-689]\d)(\d{3})(\d{3})">
1450 <format>$1 $2-$3</format>
1451 </numberFormat>
1452 </availableFormats>
1453 <generalDesc>
1454 <nationalNumberPattern>[3-689]\d{7}</nationalNumberPattern>
1455 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
1456 </generalDesc>
1457 <fixedLine>
1458 <nationalNumberPattern>
1459 (?:
1460 [35]\d|
1461 49
1462 )\d{6}
1463 </nationalNumberPattern>
1464 <exampleNumber>30123456</exampleNumber>
1465 </fixedLine>
1466 <mobile>
1467 <nationalNumberPattern>6[1-356]\d{6}</nationalNumberPattern>
1468 <possibleNumberPattern>\d{8}</possibleNumberPattern>
1469 <exampleNumber>61123456</exampleNumber>
1470 </mobile>
1471 <tollFree>
1472 <nationalNumberPattern>8[08]\d{6}</nationalNumberPattern>
1473 <possibleNumberPattern>\d{8}</possibleNumberPattern>
1474 <exampleNumber>80123456</exampleNumber>
1475 </tollFree>
1476 <premiumRate>
1477 <nationalNumberPattern>9[0246]\d{6}</nationalNumberPattern>
1478 <possibleNumberPattern>\d{8}</possibleNumberPattern>
1479 <exampleNumber>90123456</exampleNumber>
1480 </premiumRate>
1481 <sharedCost>
1482 <!-- Using this category to model national tariff numbers - these are un der Shared Cost in
1483 the plan. -->
1484 <nationalNumberPattern>82\d{6}</nationalNumberPattern>
1485 <possibleNumberPattern>\d{8}</possibleNumberPattern>
1486 <exampleNumber>82123456</exampleNumber>
1487 </sharedCost>
1488 <uan>
1489 <nationalNumberPattern>81\d{6}</nationalNumberPattern>
1490 <possibleNumberPattern>\d{8}</possibleNumberPattern>
1491 <exampleNumber>81123456</exampleNumber>
1492 </uan>
1493 </territory>
1494
1495 <!-- Barbados -->
1496 <!-- http://www.itu.int/oth/T0202000013/en -->
1497 <territory id="BB" countryCode="1" leadingDigits="246"
1498 nationalPrefix="1" internationalPrefix="011">
1499 <generalDesc>
1500 <!-- NANPA country - uses US formatting rules -->
1501 <nationalNumberPattern>[2589]\d{9}</nationalNumberPattern>
1502 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
1503 </generalDesc>
1504 <fixedLine>
1505 <nationalNumberPattern>246[2-9]\d{6}</nationalNumberPattern>
1506 <exampleNumber>2462345678</exampleNumber>
1507 </fixedLine>
1508 <mobile>
1509 <nationalNumberPattern>
1510 246(?:
1511 (?:
1512 2[346]|
1513 45|
1514 82
1515 )\d|
1516 25[0-4]
1517 )\d{4}
1518 </nationalNumberPattern>
1519 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1520 <exampleNumber>2462501234</exampleNumber>
1521 </mobile>
1522 <tollFree>
1523 <nationalNumberPattern>
1524 8(?:
1525 00|
1526 55|
1527 66|
1528 77|
1529 88
1530 )[2-9]\d{6}
1531 </nationalNumberPattern>
1532 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1533 <exampleNumber>8002123456</exampleNumber>
1534 </tollFree>
1535 <premiumRate>
1536 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
1537 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1538 <exampleNumber>9002123456</exampleNumber>
1539 </premiumRate>
1540 <personalNumber>
1541 <!-- http://www.nanpa.com/pdf/PL_416.pdf -->
1542 <nationalNumberPattern>
1543 5(?:
1544 00|
1545 33|
1546 44
1547 )[2-9]\d{6}
1548 </nationalNumberPattern>
1549 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1550 <exampleNumber>5002345678</exampleNumber>
1551 </personalNumber>
1552 </territory>
1553
1554 <!-- Bangladesh -->
1555 <!-- http://www.itu.int/oth/T0202000012/en -->
1556 <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Bangladesh -->
1557 <!-- http://www.btrc.gov.bd/engineering/national_numbering_plan_2005.pdf -->
1558 <territory id="BD" countryCode="880" internationalPrefix="00[12]?"
1559 preferredInternationalPrefix="00"
1560 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
1561 <availableFormats>
1562 <numberFormat pattern="(2)(\d{7})">
1563 <leadingDigits>2</leadingDigits>
1564 <format>$1 $2</format>
1565 </numberFormat>
1566 <numberFormat pattern="(\d{2})(\d{4,6})">
1567 <leadingDigits>[3-79]1</leadingDigits>
1568 <format>$1 $2</format>
1569 </numberFormat>
1570 <numberFormat pattern="(\d{3})(\d{3,7})">
1571 <leadingDigits>
1572 [3-79][2-9]|
1573 8
1574 </leadingDigits>
1575 <format>$1 $2</format>
1576 </numberFormat>
1577 <numberFormat pattern="(\d{4})(\d{6})">
1578 <leadingDigits>1</leadingDigits>
1579 <format>$1 $2</format>
1580 </numberFormat>
1581 </availableFormats>
1582 <generalDesc>
1583 <!-- This is quite complex so we can define that numbers beginning with 88 are not part of the
1584 plan, so the country code can be accurately stripped off. -->
1585 <nationalNumberPattern>
1586 [2-79]\d{5,9}|
1587 1\d{9}|
1588 8[0-7]\d{4,8}
1589 </nationalNumberPattern>
1590 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
1591 </generalDesc>
1592 <fixedLine>
1593 <!-- There was a plan to move to 10 digit fixed-line numbers, but this d oes not seem to have
1594 been realised, judging by online numbers and wikipedia. These patte rns are grouped
1595 first by leading digit, then within by number of digits. Several Dh aka prefixes (02
1596 731, 751 etc) are included despite not being mentioned on the wikip edia page due to
1597 online evidence. Another oddity is Chittagong - some numbers have a leading 2, others
1598 do not - both are allowed for now. -->
1599 <nationalNumberPattern>
1600 2(?:
1601 7\d1|
1602 8(?:
1603 [026]1|
1604 [1379][1-5]|
1605 8[1-8]
1606 )|
1607 9(?:
1608 0[0-2]|
1609 1[1-4]|
1610 3[3-5]|
1611 5[56]|
1612 6[67]|
1613 71|
1614 8[078]
1615 )
1616 )\d{4}|
1617 3(?:
1618 [6-8]1|
1619 (?:
1620 0[23]|
1621 [25][12]|
1622 82|
1623 416
1624 )\d|
1625 (?:
1626 31|
1627 12?[5-7]
1628 )\d{2}
1629 )\d{3}|
1630 4(?:
1631 (?:
1632 02|
1633 [49]6|
1634 [68]1
1635 )|
1636 (?:
1637 0[13]|
1638 21\d? |
1639 [23]2|
1640 [457][12]|
1641 6[28]
1642 )\d|
1643 (?:
1644 23|
1645 [39]1
1646 )\d{2}|
1647 1\d{3}
1648 )\d{3}|
1649 5(?:
1650 (?:
1651 [457-9]1|
1652 62
1653 )|
1654 (?:
1655 1\d? |
1656 2[12]|
1657 3[1-3]|
1658 52
1659 )\d|
1660 61{2}
1661 )|
1662 6(?:
1663 [45]1|
1664 (?:
1665 11|
1666 2[15]|
1667 [39]1
1668 )\d|
1669 (?:
1670 [06-8]1|
1671 62
1672 )\d{2}
1673 )|
1674 7(?:
1675 (?:
1676 32|
1677 91
1678 )|
1679 (?:
1680 02|
1681 31|
1682 [67][12]
1683 )\d|
1684 [458]1\d{2}|
1685 21\d{3}
1686 )\d{3}|
1687 8(?:
1688 (?:
1689 4[12]|
1690 [5-7]2|
1691 1\d?
1692 )|
1693 (?:
1694 0|
1695 3[12]|
1696 [5-7]1|
1697 217
1698 )\d
1699 )\d{4}|
1700 9(?:
1701 [35]1|
1702 (?:
1703 [024]2|
1704 81
1705 )\d|
1706 (?:
1707 1|
1708 [24]1
1709 )\d{2}
1710 )\d{3}
1711 </nationalNumberPattern>
1712 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
1713 <exampleNumber>27111234</exampleNumber>
1714 </fixedLine>
1715 <mobile>
1716 <!-- Presuming that mobile numbers with the prefixes 66, 37, 44 and 38 m ust be followed by
1717 numbers [02-9] or they would clash with fixed-line codes. According to the plan, mobile
1718 numbers should be moving to 1[13-9] anyway. -->
1719 <nationalNumberPattern>
1720 (?:
1721 1[13-9]\d|
1722 (?:
1723 3[78]|
1724 44
1725 )[02-9]|
1726 6(?:
1727 44|
1728 6[02-9]
1729 )
1730 )\d{7}
1731 </nationalNumberPattern>
1732 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1733 <exampleNumber>1812345678</exampleNumber>
1734 </mobile>
1735 <tollFree>
1736 <!-- Note: Including Tele-voting numbers here as they are free of charge . -->
1737 <nationalNumberPattern>80[03]\d{7}</nationalNumberPattern>
1738 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1739 <exampleNumber>8001234567</exampleNumber>
1740 </tollFree>
1741 </territory>
1742
1743 <!-- Belgium -->
1744 <!-- http://www.bipt.be/en/161/ShowContent/502/Database/Databases.aspx -->
1745 <!-- http://www.telefoonzones.be/ -->
1746 <!-- Information on non-geographic numbers here: (Dutch)
1747 http://www.scarletbusiness.be/business/largeenterprise/nl/products/voic eservices/servicenumbers.jsp
1748 -->
1749 <territory id="BE" countryCode="32" internationalPrefix="00"
1750 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
1751 <availableFormats>
1752 <numberFormat pattern="(4[7-9]\d)(\d{2})(\d{2})(\d{2})">
1753 <leadingDigits>4[7-9]</leadingDigits>
1754 <format>$1 $2 $3 $4</format>
1755 </numberFormat>
1756 <numberFormat pattern="([2-49])(\d{3})(\d{2})(\d{2})">
1757 <leadingDigits>
1758 [23]|
1759 [49][23]
1760 </leadingDigits>
1761 <format>$1 $2 $3 $4</format>
1762 </numberFormat>
1763 <numberFormat pattern="([15-8]\d)(\d{2})(\d{2})(\d{2})">
1764 <leadingDigits>
1765 [156]|
1766 7[0178]|
1767 8(?:
1768 0[1-9]|
1769 [1-79]
1770 )
1771 </leadingDigits>
1772 <format>$1 $2 $3 $4</format>
1773 </numberFormat>
1774 <numberFormat pattern="([89]\d{2})(\d{2})(\d{3})">
1775 <leadingDigits>
1776 (?:
1777 80|
1778 9
1779 )0
1780 </leadingDigits>
1781 <format>$1 $2 $3</format>
1782 </numberFormat>
1783 </availableFormats>
1784 <generalDesc>
1785 <nationalNumberPattern>[1-9]\d{7,8}</nationalNumberPattern>
1786 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
1787 </generalDesc>
1788 <fixedLine>
1789 <!-- Note that 80 is a valid area code, so we explicitly check for this case that the third
1790 digit begins with 1-9 -->
1791 <nationalNumberPattern>
1792 (?:
1793 1[0-69]|
1794 [23][2-8]|
1795 [49][23]|
1796 5\d|
1797 6[013-57-9]|
1798 7[18]
1799 )\d{6}|
1800 8(?:
1801 0[1-9]|
1802 [1-69]\d
1803 )\d{5}
1804 </nationalNumberPattern>
1805 <possibleNumberPattern>\d{8}</possibleNumberPattern>
1806 <exampleNumber>12345678</exampleNumber>
1807 </fixedLine>
1808 <mobile>
1809 <nationalNumberPattern>
1810 4(?:
1811 7\d|
1812 8[4-9]|
1813 9[1-9]
1814 )\d{6}
1815 </nationalNumberPattern>
1816 <possibleNumberPattern>\d{9}</possibleNumberPattern>
1817 <exampleNumber>470123456</exampleNumber>
1818 </mobile>
1819 <tollFree>
1820 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
1821 <possibleNumberPattern>\d{8}</possibleNumberPattern>
1822 <exampleNumber>80012345</exampleNumber>
1823 </tollFree>
1824 <premiumRate>
1825 <nationalNumberPattern>
1826 (?:
1827 90|
1828 7[07]
1829 )\d{6}
1830 </nationalNumberPattern>
1831 <possibleNumberPattern>\d{8}</possibleNumberPattern>
1832 <exampleNumber>90123456</exampleNumber>
1833 </premiumRate>
1834 <sharedCost>
1835 <nationalNumberPattern>87\d{6}</nationalNumberPattern>
1836 <possibleNumberPattern>\d{8}</possibleNumberPattern>
1837 <exampleNumber>87123456</exampleNumber>
1838 </sharedCost>
1839 </territory>
1840
1841 <!-- Burkina Faso -->
1842 <!-- http://www.itu.int/oth/T0202000021/en -->
1843 <territory id="BF" countryCode="226" internationalPrefix="00">
1844 <availableFormats>
1845 <!-- The national numbering plan from ITU suggests grouping of 2, 2 and 4, but we have
1846 chosen to use the standard from numbers found on the internet inste ad. -->
1847 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
1848 <format>$1 $2 $3 $4</format>
1849 </numberFormat>
1850 </availableFormats>
1851 <generalDesc>
1852 <nationalNumberPattern>[2457]\d{7}</nationalNumberPattern>
1853 <possibleNumberPattern>\d{8}</possibleNumberPattern>
1854 </generalDesc>
1855 <fixedLine>
1856 <!-- 50 48 and 50 49 exist as well. -->
1857 <nationalNumberPattern>
1858 (?:
1859 20(?:
1860 49|
1861 5[23]|
1862 9[016-9]
1863 )|
1864 40(?:
1865 4[569]|
1866 55|
1867 7[0179]
1868 )|
1869 50[34]\d
1870 )\d{4}
1871 </nationalNumberPattern>
1872 <exampleNumber>20491234</exampleNumber>
1873 </fixedLine>
1874 <mobile>
1875 <!-- Including the whole range of 75 despite the document restricting it to only a few,
1876 since diallable numbers have been found outside the range that the document specifies.
1877 Including 716 as well since many numbers seem to have this prefix. -->
1878 <nationalNumberPattern>
1879 7(?:
1880 [024-6]\d|
1881 1[0-4689]|
1882 3[0-6]|
1883 7[01]|
1884 8[013-9]|
1885 9[0-4]
1886 )\d{5}
1887 </nationalNumberPattern>
1888 <exampleNumber>70123456</exampleNumber>
1889 </mobile>
1890 </territory>
1891
1892 <!-- Bulgaria -->
1893 <!-- http://www.itu.int/oth/T0202000020/en -->
1894 <territory id="BG" countryCode="359" internationalPrefix="00"
1895 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
1896 <availableFormats>
1897 <numberFormat pattern="(2)(\d{3})(\d{3,4})">
1898 <leadingDigits>2</leadingDigits>
1899 <format>$1/$2 $3</format>
1900 </numberFormat>
1901 <numberFormat pattern="(\d{3})(\d{4})">
1902 <leadingDigits>
1903 43[124-7]|
1904 70[1-9]
1905 </leadingDigits>
1906 <format>$1/$2</format>
1907 </numberFormat>
1908 <numberFormat pattern="(\d{3})(\d{3})(\d{2})">
1909 <leadingDigits>
1910 43[124-7]|
1911 70[1-9]
1912 </leadingDigits>
1913 <format>$1/$2 $3</format>
1914 </numberFormat>
1915 <numberFormat pattern="(\d{3})(\d{2})(\d{3})">
1916 <leadingDigits>[78]00</leadingDigits>
1917 <format>$1 $2 $3</format>
1918 </numberFormat>
1919 <numberFormat pattern="(\d{2})(\d{3})(\d{2,3})">
1920 <leadingDigits>
1921 [356]|
1922 7[1-9]|
1923 8[1-6]|
1924 9[1-7]
1925 </leadingDigits>
1926 <format>$1/$2 $3</format>
1927 </numberFormat>
1928 <numberFormat pattern="(\d{2})(\d{3})(\d{3,4})">
1929 <leadingDigits>
1930 48|
1931 8[7-9]|
1932 9[08]
1933 </leadingDigits>
1934 <format>$1 $2 $3</format>
1935 </numberFormat>
1936 </availableFormats>
1937 <generalDesc>
1938 <nationalNumberPattern>[2-9]\d{6,8}</nationalNumberPattern>
1939 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
1940 </generalDesc>
1941 <fixedLine>
1942 <nationalNumberPattern>
1943 (?:
1944 2\d|
1945 [36]\d|
1946 5[1-9]|
1947 8[1-6]|
1948 9[1-7]
1949 )\d{5,6}|
1950 (?:
1951 4(?:
1952 [124-7]\d|
1953 3[1-6]
1954 )|
1955 7(?:
1956 0[1-9]|
1957 [1-9]\d
1958 )
1959 )\d{4,5}
1960 </nationalNumberPattern>
1961 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
1962 <exampleNumber>2123456</exampleNumber>
1963 </fixedLine>
1964 <mobile>
1965 <nationalNumberPattern>
1966 (?:
1967 8[7-9]|
1968 98
1969 )\d{7}|
1970 4(?:
1971 3[0789]|
1972 8\d
1973 )\d{5}
1974 </nationalNumberPattern>
1975 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
1976 <exampleNumber>48123456</exampleNumber>
1977 </mobile>
1978 <tollFree>
1979 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
1980 <possibleNumberPattern>\d{8}</possibleNumberPattern>
1981 <exampleNumber>80012345</exampleNumber>
1982 </tollFree>
1983 <premiumRate>
1984 <nationalNumberPattern>90\d{6}</nationalNumberPattern>
1985 <possibleNumberPattern>\d{8}</possibleNumberPattern>
1986 <exampleNumber>90123456</exampleNumber>
1987 </premiumRate>
1988 <personalNumber>
1989 <nationalNumberPattern>700\d{5}</nationalNumberPattern>
1990 <exampleNumber>70012345</exampleNumber>
1991 </personalNumber>
1992 </territory>
1993
1994 <!-- Bahrain -->
1995 <!-- http://www.itu.int/oth/T0202000011/en -->
1996 <!-- http://www.tra.org.bh/en/pdf/National_Numbering_Plan_2.pdf -->
1997 <territory id="BH" countryCode="973" internationalPrefix="00">
1998 <availableFormats>
1999 <numberFormat pattern="(\d{4})(\d{4})">
2000 <format>$1 $2</format>
2001 </numberFormat>
2002 </availableFormats>
2003 <generalDesc>
2004 <nationalNumberPattern>[136-9]\d{7}</nationalNumberPattern>
2005 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2006 </generalDesc>
2007 <!-- Universal Service numbers are under both Mobile and Fixed-Line, as th ey can be assigned
2008 to either. -->
2009 <fixedLine>
2010 <nationalNumberPattern>
2011 (?:
2012 1(?:
2013 3[3-6]|
2014 6[0156]|
2015 7\d
2016 )|
2017 6(?:
2018 1[16]|
2019 6[03469]|
2020 9[69]
2021 )|
2022 77\d
2023 )\d{5}
2024 </nationalNumberPattern>
2025 <exampleNumber>17001234</exampleNumber>
2026 </fixedLine>
2027 <mobile>
2028 <nationalNumberPattern>
2029 (?:
2030 3(?:
2031 [369]\d|
2032 77|
2033 8[38]
2034 )|
2035 6(?:
2036 1[16]|
2037 6[03469]|
2038 9[69]
2039 )|
2040 77\d
2041 )\d{5}
2042 </nationalNumberPattern>
2043 <exampleNumber>36001234</exampleNumber>
2044 </mobile>
2045 <tollFree>
2046 <nationalNumberPattern>80\d{6}</nationalNumberPattern>
2047 <exampleNumber>80123456</exampleNumber>
2048 </tollFree>
2049 <!-- 87 numbers are "wholly paid by the caller", so they are slotted under premium-rate for
2050 now. -->
2051 <premiumRate>
2052 <nationalNumberPattern>
2053 (?:
2054 87|
2055 9[014578]
2056 )\d{6}
2057 </nationalNumberPattern>
2058 <exampleNumber>90123456</exampleNumber>
2059 </premiumRate>
2060 <sharedCost>
2061 <nationalNumberPattern>84\d{6}</nationalNumberPattern>
2062 <exampleNumber>84123456</exampleNumber>
2063 </sharedCost>
2064 </territory>
2065
2066 <!-- Burundi -->
2067 <!-- http://www.itu.int/oth/T0202000022/en -->
2068 <territory id="BI" countryCode="257" internationalPrefix="00">
2069 <availableFormats>
2070 <numberFormat
2071 pattern="([27]\d)(\d{2})(\d{2})(\d{2})">
2072 <format>$1 $2 $3 $4</format>
2073 </numberFormat>
2074 </availableFormats>
2075 <generalDesc>
2076 <nationalNumberPattern>[27]\d{7}</nationalNumberPattern>
2077 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2078 </generalDesc>
2079 <fixedLine>
2080 <nationalNumberPattern>
2081 22(?:
2082 2[0-7]|
2083 [3-5]0
2084 )\d{4}
2085 </nationalNumberPattern>
2086 <exampleNumber>22201234</exampleNumber>
2087 </fixedLine>
2088 <mobile>
2089 <!-- Extra online mobile number prefixes found: 79 10, 78 \d{2} and 76 [ 29]\d. The 29
2090 prefix is listed as a mobile prefix, but many people list it as the ir fixed home
2091 number. We will keep it as mobile for now, but it may actually be a prefix for fixed
2092 satellite phones. -->
2093 <nationalNumberPattern>
2094 (?:
2095 29\d|
2096 7(?:
2097 1[1-3]|
2098 [4-9]\d
2099 )
2100 )\d{5}
2101 </nationalNumberPattern>
2102 <exampleNumber>79561234</exampleNumber>
2103 </mobile>
2104 </territory>
2105
2106 <!-- Benin -->
2107 <!-- http://www.itu.int/oth/T0202000017/en -->
2108 <territory id="BJ" countryCode="229" internationalPrefix="00">
2109 <availableFormats>
2110 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
2111 <format>$1 $2 $3 $4</format>
2112 </numberFormat>
2113 <!-- Numbers beginning with 7 should be formatted as a block. -->
2114 </availableFormats>
2115 <generalDesc>
2116 <nationalNumberPattern>
2117 [2689]\d{7}|
2118 7\d{3}
2119 </nationalNumberPattern>
2120 <possibleNumberPattern>\d{4,8}</possibleNumberPattern>
2121 </generalDesc>
2122 <fixedLine>
2123 <!-- These come from the national numbering plan, but have been widened to include other
2124 prefixes found in the yellow pages - specifically 21 0. -->
2125 <nationalNumberPattern>
2126 2(?:
2127 02|
2128 1[037]|
2129 2[45]|
2130 3[68]
2131 )\d{5}
2132 </nationalNumberPattern>
2133 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2134 <exampleNumber>20211234</exampleNumber>
2135 </fixedLine>
2136 <mobile>
2137 <!-- 93 0, 93 4, 93 5 and 93 8 have been added as many online examples o f these prefixes can
2138 be found. 9[68] and 97[23] prefixes have also been added because of online numbers
2139 following these patterns and numbers where SMSs were successfully d elivered. 66 has
2140 been also added, as it seems to be a prefix for Mobile MTN. -->
2141 <nationalNumberPattern>
2142 66\d{6}|
2143 9(?:
2144 0[069]|
2145 [35][0-2457-9]|
2146 [6-8]\d
2147 )\d{5}
2148 </nationalNumberPattern>
2149 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2150 <exampleNumber>90011234</exampleNumber>
2151 </mobile>
2152 <tollFree>
2153 <nationalNumberPattern>7[3-5]\d{2}</nationalNumberPattern>
2154 <possibleNumberPattern>\d{4}</possibleNumberPattern>
2155 <exampleNumber>7312</exampleNumber>
2156 </tollFree>
2157 <!-- Other numbers beginning with 81 are reserved for _either_ free phone or shared-cost, but
2158 there is no clear differentiation between these. -->
2159 <voip>
2160 <nationalNumberPattern>857[58]\d{4}</nationalNumberPattern>
2161 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2162 <exampleNumber>85751234</exampleNumber>
2163 </voip>
2164 </territory>
2165
2166 <!-- Saint Barthélemy, French Antilles -->
2167 <!-- There seems to be some overlap with phone numbers from Saint Martin and Guadeloupe. The
2168 national numbering plan does not specify any St Barthélemy-specific num bering prefixes, but
2169 it appears from searches in online white and yellow pages that a subset of the prefixes
2170 available in Guadeloupe are used. In these cases, if getRegionCodeForNu mber is used, one of
2171 these region codes will be returned, although numbers will be valid for both regions. -->
2172 <!-- http://www.itu.int/oth/T0202000058/en -->
2173 <territory id="BL" countryCode="590" internationalPrefix="00"
2174 nationalPrefix="0">
2175 <!-- Formatting rules borrowed from Guadeloupe. -->
2176 <generalDesc>
2177 <nationalNumberPattern>[56]\d{8}</nationalNumberPattern>
2178 <possibleNumberPattern>\d{9}</possibleNumberPattern>
2179 </generalDesc>
2180 <fixedLine>
2181 <nationalNumberPattern>
2182 590(?:
2183 2[7-9]|
2184 5[12]|
2185 87
2186 )\d{4}
2187 </nationalNumberPattern>
2188 <exampleNumber>590271234</exampleNumber>
2189 </fixedLine>
2190 <mobile>
2191 <nationalNumberPattern>
2192 690(?:
2193 10|
2194 2[27]|
2195 66|
2196 77|
2197 8[78]
2198 )\d{4}
2199 </nationalNumberPattern>
2200 <exampleNumber>690221234</exampleNumber>
2201 </mobile>
2202 </territory>
2203
2204 <!-- Bermuda -->
2205 <!-- http://www.itu.int/oth/T0202000018/en -->
2206 <territory id="BM" countryCode="1" leadingDigits="441"
2207 nationalPrefix="1" internationalPrefix="011">
2208 <generalDesc>
2209 <!-- NANPA country - uses US formatting rules -->
2210 <nationalNumberPattern>[4589]\d{9}</nationalNumberPattern>
2211 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
2212 </generalDesc>
2213 <fixedLine>
2214 <nationalNumberPattern>
2215 441(?:
2216 2(?:
2217 02|
2218 23|
2219 61|
2220 [3479]\d
2221 )|
2222 [46]\d{2}|
2223 5(?:
2224 4\d|
2225 60|
2226 89
2227 )|
2228 824
2229 )\d{4}
2230 </nationalNumberPattern>
2231 <exampleNumber>4412345678</exampleNumber>
2232 </fixedLine>
2233 <mobile>
2234 <nationalNumberPattern>
2235 441(?:
2236 [37]\d|
2237 5[0-39]
2238 )\d{5}
2239 </nationalNumberPattern>
2240 <possibleNumberPattern>\d{10}</possibleNumberPattern>
2241 <exampleNumber>4413701234</exampleNumber>
2242 </mobile>
2243 <tollFree>
2244 <nationalNumberPattern>
2245 8(?:
2246 00|
2247 55|
2248 66|
2249 77|
2250 88
2251 )[2-9]\d{6}
2252 </nationalNumberPattern>
2253 <possibleNumberPattern>\d{10}</possibleNumberPattern>
2254 <exampleNumber>8002123456</exampleNumber>
2255 </tollFree>
2256 <premiumRate>
2257 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
2258 <possibleNumberPattern>\d{10}</possibleNumberPattern>
2259 <exampleNumber>9002123456</exampleNumber>
2260 </premiumRate>
2261 <personalNumber>
2262 <!-- http://www.nanpa.com/pdf/PL_416.pdf -->
2263 <nationalNumberPattern>
2264 5(?:
2265 00|
2266 33|
2267 44
2268 )[2-9]\d{6}
2269 </nationalNumberPattern>
2270 <possibleNumberPattern>\d{10}</possibleNumberPattern>
2271 <exampleNumber>5002345678</exampleNumber>
2272 </personalNumber>
2273 </territory>
2274
2275 <!-- Brunei Darussalam -->
2276 <!-- http://www.itu.int/oth/T020200001F/en -->
2277 <territory id="BN" countryCode="673" internationalPrefix="00"
2278 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
2279 <!-- Format is from http://aiti.gov.bn/contact.html -->
2280 <availableFormats>
2281 <numberFormat pattern="([2-578]\d{2})(\d{4})">
2282 <format>$1 $2</format>
2283 </numberFormat>
2284 </availableFormats>
2285 <generalDesc>
2286 <nationalNumberPattern>[2-578]\d{6}</nationalNumberPattern>
2287 <possibleNumberPattern>\d{7}</possibleNumberPattern>
2288 </generalDesc>
2289 <fixedLine>
2290 <nationalNumberPattern>[2-5]\d{6}</nationalNumberPattern>
2291 <exampleNumber>2345678</exampleNumber>
2292 </fixedLine>
2293 <mobile>
2294 <nationalNumberPattern>[78]\d{6}</nationalNumberPattern>
2295 <exampleNumber>7123456</exampleNumber>
2296 </mobile>
2297 </territory>
2298
2299 <!-- Bolivia -->
2300 <!-- http://www.itu.int/oth/T020200001A/en -->
2301 <!-- http://www.bolivia.com/Servicios/Plandenumeracion.pdf -->
2302 <!-- http://www.itu.int/dms_pub/itu-t/oth/02/02/T020200001A0001MSWE.doc -->
2303 <territory id="BO" countryCode="591"
2304 internationalPrefix="00(1\d)?"
2305 nationalPrefix="0"
2306 nationalPrefixForParsing="0(1\d)?"
2307 carrierCodeFormattingRule="$NP$CC $FG">
2308 <availableFormats>
2309 <numberFormat pattern="([234])(\d{7})">
2310 <leadingDigits>[234]</leadingDigits>
2311 <format>$1 $2</format>
2312 </numberFormat>
2313 <numberFormat pattern="([67]\d{7})">
2314 <leadingDigits>[67]</leadingDigits>
2315 <format>$1</format>
2316 </numberFormat>
2317 </availableFormats>
2318 <generalDesc>
2319 <nationalNumberPattern>[23467]\d{7}</nationalNumberPattern>
2320 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
2321 </generalDesc>
2322 <fixedLine>
2323 <nationalNumberPattern>
2324 (?:
2325 2(?:
2326 2\d{2}|
2327 5(?:11|[258]\d|9[67])|
2328 6(?:12|2\d|9[34])|
2329 8(?:2[34]|39|62)
2330 )|
2331 3(?:
2332 3\d{2}|
2333 4(?:6\d|8[24])|
2334 8(?:25|42|5[257]|86|9[25])|
2335 9(?:2\d|3[234]|4[248]|5[24]|6[2-6]|7\d)
2336 )|
2337 4(?:
2338 4\d{2}|
2339 6(?:11|[24689]\d|72)
2340 )
2341 )\d{4}
2342 </nationalNumberPattern>
2343 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
2344 <exampleNumber>22123456</exampleNumber>
2345 </fixedLine>
2346 <mobile>
2347 <nationalNumberPattern>[67]\d{7}</nationalNumberPattern>
2348 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2349 <exampleNumber>71234567</exampleNumber>
2350 </mobile>
2351 </territory>
2352
2353 <!-- Brazil -->
2354 <!-- http://en.wikipedia.org/wiki/%2B55 -->
2355 <territory id="BR" countryCode="55"
2356 internationalPrefix="00(?:1[45]|2[135]|[34]1|43)"
2357 nationalPrefix="0"
2358 nationalPrefixForParsing="0(?:(1[245]|2[135]|[34]1)(\d{10}))?"
2359 nationalPrefixTransformRule="$2">
2360 <!--The national prefix for parsing here also contains a capturing group f or the main number,
2361 since the carrier codes here may also be area codes, so we want to ch eck the length of
2362 the number after capturing. We also need a nationalTransformRule to r epopulate with the
2363 number without the carrier code. -->
2364 <availableFormats>
2365 <numberFormat nationalPrefixFormattingRule="($FG)"
2366 pattern="(\d{2})(\d{4})(\d{4})"
2367 carrierCodeFormattingRule="$NP $CC ($FG)">
2368 <leadingDigits>[1-9][1-9]</leadingDigits>
2369 <format>$1 $2-$3</format>
2370 </numberFormat>
2371 <numberFormat pattern="([34]00\d)(\d{4})">
2372 <leadingDigits>[34]00</leadingDigits>
2373 <leadingDigits>
2374 400|
2375 3003
2376 </leadingDigits>
2377 <format>$1-$2</format>
2378 </numberFormat>
2379 <numberFormat nationalPrefixFormattingRule="$NP$FG"
2380 pattern="([3589]00)(\d{2,3})(\d{4})">
2381 <leadingDigits>[3589]00</leadingDigits>
2382 <format>$1 $2 $3</format>
2383 </numberFormat>
2384 </availableFormats>
2385 <generalDesc>
2386 <nationalNumberPattern>[1-9]\d{7,9}</nationalNumberPattern>
2387 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
2388 </generalDesc>
2389 <fixedLine>
2390 <nationalNumberPattern>
2391 (?:
2392 [14689][1-9]|
2393 2[12478]|
2394 3[1-578]|
2395 5[13-5]|
2396 7[13-579]
2397 )[2-5]\d{7}
2398 </nationalNumberPattern>
2399 <exampleNumber>1123456789</exampleNumber>
2400 </fixedLine>
2401 <mobile>
2402 <nationalNumberPattern>
2403 (?:
2404 [14689][1-9]|
2405 2[12478]|
2406 3[1-578]|
2407 5[13-5]|
2408 7[13-579]
2409 )[6-9]\d{7}
2410 </nationalNumberPattern>
2411 <possibleNumberPattern>\d{10}</possibleNumberPattern>
2412 <exampleNumber>1161234567</exampleNumber>
2413 </mobile>
2414 <tollFree>
2415 <nationalNumberPattern>800\d{6,7}</nationalNumberPattern>
2416 <exampleNumber>800123456</exampleNumber>
2417 </tollFree>
2418 <premiumRate>
2419 <nationalNumberPattern>[359]00\d{6,7}</nationalNumberPattern>
2420 <exampleNumber>300123456</exampleNumber>
2421 </premiumRate>
2422 <sharedCost>
2423 <nationalNumberPattern>
2424 (?:
2425 400\d|
2426 3003
2427 )\d{4}
2428 </nationalNumberPattern>
2429 <exampleNumber>40041234</exampleNumber>
2430 </sharedCost>
2431 </territory>
2432
2433 <!-- Bahamas -->
2434 <!-- http://www.itu.int/dms_pub/itu-t/oth/02/02/T02020000100001MSWE.pdf -->
2435 <territory id="BS" countryCode="1" leadingDigits="242"
2436 nationalPrefix="1" internationalPrefix="011">
2437 <generalDesc>
2438 <!-- NANPA country - uses US formatting rules -->
2439 <nationalNumberPattern>[2589]\d{9}</nationalNumberPattern>
2440 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
2441 </generalDesc>
2442 <fixedLine>
2443 <nationalNumberPattern>
2444 242(?:
2445 3(?:
2446 02|
2447 [236][1-9]|
2448 4[0-24-9]|
2449 5[0-68]|
2450 7[3467]|
2451 8[0-4]|
2452 9[2-467]
2453 )|
2454 461|
2455 502|
2456 6(?:
2457 12|
2458 7[67]|
2459 8[78]|
2460 9[89]
2461 )|
2462 702
2463 )\d{4}
2464 </nationalNumberPattern>
2465 <exampleNumber>2423456789</exampleNumber>
2466 </fixedLine>
2467 <mobile>
2468 <nationalNumberPattern>
2469 242(?:
2470 3(?:
2471 5[79]|
2472 [79]5
2473 )|
2474 4(?:
2475 [2-4][1-9]|
2476 5[1-8]|
2477 6[2-8]|
2478 7\d|
2479 81
2480 )|
2481 5(?:
2482 2[34]|
2483 3[35]|
2484 44|
2485 5[1-9]|
2486 65|
2487 77
2488 )|
2489 6[34]6|
2490 727
2491 )\d{4}
2492 </nationalNumberPattern>
2493 <possibleNumberPattern>\d{10}</possibleNumberPattern>
2494 <exampleNumber>2423591234</exampleNumber>
2495 </mobile>
2496 <tollFree>
2497 <!-- 242 300 is a Domestic Toll Free service. -->
2498 <nationalNumberPattern>
2499 242300\d{4}|
2500 8(?:
2501 00|
2502 55|
2503 66|
2504 77|
2505 88
2506 )[2-9]\d{6}
2507 </nationalNumberPattern>
2508 <possibleNumberPattern>\d{10}</possibleNumberPattern>
2509 <exampleNumber>8002123456</exampleNumber>
2510 </tollFree>
2511 <premiumRate>
2512 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
2513 <possibleNumberPattern>\d{10}</possibleNumberPattern>
2514 <exampleNumber>9002123456</exampleNumber>
2515 </premiumRate>
2516 <personalNumber>
2517 <!-- http://www.nanpa.com/pdf/PL_416.pdf -->
2518 <nationalNumberPattern>
2519 5(?:
2520 00|
2521 33|
2522 44
2523 )[2-9]\d{6}
2524 </nationalNumberPattern>
2525 <possibleNumberPattern>\d{10}</possibleNumberPattern>
2526 <exampleNumber>5002345678</exampleNumber>
2527 </personalNumber>
2528 </territory>
2529
2530 <!-- Bhutan -->
2531 <!-- http://www.itu.int/oth/T0202000019/en -->
2532 <territory id="BT" countryCode="975" internationalPrefix="00">
2533 <availableFormats>
2534 <!-- Format is from
2535 http://www.tourism.gov.bt/tour-operators/bhutan-abbot-tours-and-tra vels.html -->
2536 <numberFormat pattern="(17)(\d{2})(\d{2})(\d{2})">
2537 <leadingDigits>1</leadingDigits>
2538 <format>$1 $2 $3 $4</format>
2539 </numberFormat>
2540 <numberFormat pattern="([2-8])(\d{3})(\d{3})">
2541 <leadingDigits>[2-8]</leadingDigits>
2542 <format>$1 $2 $3</format>
2543 </numberFormat>
2544 </availableFormats>
2545 <generalDesc>
2546 <nationalNumberPattern>
2547 (?:
2548 17|
2549 [2-8]
2550 )\d{6}
2551 </nationalNumberPattern>
2552 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
2553 </generalDesc>
2554 <fixedLine>
2555 <nationalNumberPattern>
2556 (?:
2557 2[3-6]|
2558 [34][5-7]|
2559 5[236]|
2560 6[2-46]|
2561 7[246]|
2562 8[2-4]
2563 )\d{5}
2564 </nationalNumberPattern>
2565 <possibleNumberPattern>\d{6,7}</possibleNumberPattern>
2566 <exampleNumber>2345678</exampleNumber>
2567 </fixedLine>
2568 <mobile>
2569 <nationalNumberPattern>17\d{6}</nationalNumberPattern>
2570 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2571 <exampleNumber>17123456</exampleNumber>
2572 </mobile>
2573 <!-- No information on other types of phone numbers for Bhutan has been fo und. -->
2574 </territory>
2575
2576 <!-- Botswana -->
2577 <!-- http://www.itu.int/oth/T020200001C/en -->
2578 <territory id="BW" countryCode="267" internationalPrefix="00">
2579 <availableFormats>
2580 <numberFormat pattern="(\d{3})(\d{4})">
2581 <leadingDigits>[2-6]</leadingDigits>
2582 <format>$1 $2</format>
2583 </numberFormat>
2584 <numberFormat pattern="(7\d)(\d{3})(\d{3})">
2585 <leadingDigits>7</leadingDigits>
2586 <format>$1 $2 $3</format>
2587 </numberFormat>
2588 <numberFormat pattern="(90)(\d{5})">
2589 <leadingDigits>9</leadingDigits>
2590 <format>$1 $2</format>
2591 </numberFormat>
2592 </availableFormats>
2593 <generalDesc>
2594 <nationalNumberPattern>[2-79]\d{6,7}</nationalNumberPattern>
2595 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
2596 </generalDesc>
2597 <fixedLine>
2598 <nationalNumberPattern>
2599 (?:
2600 2(?:
2601 4[0-48]|
2602 6[0-24]|
2603 9[0578]
2604 )|
2605 3(?:
2606 1[0235-9]|
2607 55|
2608 6\d|
2609 7[01]|
2610 9[0-57]
2611 )|
2612 4(?:
2613 6[03]|
2614 7[1267]|
2615 9[0-5]
2616 )|
2617 5(?:
2618 3[0389]|
2619 4[0489]|
2620 7[1-47]|
2621 88|
2622 9[0-49]
2623 )|
2624 6(?:
2625 2[1-35]|
2626 5[149]|
2627 8[067]
2628 )
2629 )\d{4}
2630 </nationalNumberPattern>
2631 <possibleNumberPattern>\d{7}</possibleNumberPattern>
2632 <exampleNumber>2401234</exampleNumber>
2633 </fixedLine>
2634 <mobile>
2635 <nationalNumberPattern>
2636 7(?:
2637 [1-35]\d{6}|
2638 [46][0-7]\d{5}
2639 )
2640 </nationalNumberPattern>
2641 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2642 <exampleNumber>71123456</exampleNumber>
2643 </mobile>
2644 <!-- No reliable information about toll-free numbers can be found; many ar e written on the
2645 internet like 0800 123 456, but this is not supported by any document ation and no
2646 numbers can be found that actually work. -->
2647 <premiumRate>
2648 <nationalNumberPattern>90\d{5}</nationalNumberPattern>
2649 <possibleNumberPattern>\d{7}</possibleNumberPattern>
2650 <exampleNumber>9012345</exampleNumber>
2651 </premiumRate>
2652 <voip>
2653 <nationalNumberPattern>79[12][01]\d{4}</nationalNumberPattern>
2654 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2655 <exampleNumber>79101234</exampleNumber>
2656 </voip>
2657 </territory>
2658
2659 <!-- Belarus -->
2660 <!-- http://eng.beltelecom.by/info/numbering/ -->
2661 <!-- Information on national prefix provided by a Belarussian person. -->
2662 <territory id="BY" countryCode="375" internationalPrefix="8~10"
2663 nationalPrefixForParsing="80?" nationalPrefix="8">
2664 <availableFormats>
2665 <numberFormat nationalPrefixFormattingRule="$NP 0$FG"
2666 pattern="([1-4]\d)(\d{3})(\d{4})">
2667 <leadingDigits>[1-4]</leadingDigits>
2668 <format>$1 $2 $3</format>
2669 </numberFormat>
2670 <numberFormat nationalPrefixFormattingRule="$NP $FG"
2671 pattern="([89]\d{2})(\d{3})(\d{4})">
2672 <leadingDigits>[89]</leadingDigits>
2673 <format>$1 $2 $3</format>
2674 </numberFormat>
2675 </availableFormats>
2676 <generalDesc>
2677 <nationalNumberPattern>
2678 [12-4]\d{8}|
2679 [89]\d{9}
2680 </nationalNumberPattern>
2681 <!-- Numbers are often written without the city code. -->
2682 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
2683 </generalDesc>
2684 <fixedLine>
2685 <nationalNumberPattern>
2686 (?:
2687 1(?:
2688 5(?:
2689 1[1-5]|
2690 2\d|
2691 6[1-4]|
2692 9[1-7]
2693 )|
2694 6(?:
2695 [235]\d|
2696 4[1-7]
2697 )|
2698 7\d{2}
2699 )|
2700 2(?:
2701 1(?:
2702 [246]\d|
2703 3[0-35-9]|
2704 5[1-9]
2705 )|
2706 2(?:
2707 [235]\d|
2708 4[0-8]
2709 )|
2710 3(?:
2711 2\d|
2712 3[02-79]|
2713 4[024-7]|
2714 5[0-7]
2715 )
2716 )
2717 )\d{5}
2718 </nationalNumberPattern>
2719 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
2720 <!-- Using test number for Grodno from the plan. -->
2721 <exampleNumber>152450911</exampleNumber>
2722 </fixedLine>
2723 <mobile>
2724 <nationalNumberPattern>
2725 (?:
2726 2(?:
2727 5[679]|
2728 9[1-9]
2729 )|
2730 33\d|
2731 44\d
2732 )\d{6}
2733 </nationalNumberPattern>
2734 <possibleNumberPattern>\d{9}</possibleNumberPattern>
2735 <!-- Using test number for BelCel from the plan. -->
2736 <exampleNumber>294911911</exampleNumber>
2737 </mobile>
2738 <tollFree>
2739 <!-- Putting Interactive Polling Service (free) here too. -->
2740 <nationalNumberPattern>80[13]\d{7}</nationalNumberPattern>
2741 <possibleNumberPattern>\d{10}</possibleNumberPattern>
2742 <exampleNumber>8011234567</exampleNumber>
2743 </tollFree>
2744 <premiumRate>
2745 <nationalNumberPattern>902\d{7}</nationalNumberPattern>
2746 <possibleNumberPattern>\d{10}</possibleNumberPattern>
2747 <exampleNumber>9021234567</exampleNumber>
2748 </premiumRate>
2749 </territory>
2750
2751 <!-- Belize -->
2752 <!-- http://www.itu.int/oth/T0202000016/en -->
2753 <!-- The trunk prefix, formally 0, was dropped in the last reorganisation of the numbering plan.
2754 -->
2755 <territory id="BZ" countryCode="501" internationalPrefix="00" leadingZeroPos sible="true">
2756 <availableFormats>
2757 <numberFormat pattern="(\d{3})(\d{4})">
2758 <leadingDigits>[2-8]</leadingDigits>
2759 <!-- Adding hyphen following the Belize Telemedia formatting rules. -- >
2760 <format>$1-$2</format>
2761 </numberFormat>
2762 <numberFormat pattern="(0)(800)(\d{4})(\d{3})">
2763 <leadingDigits>0</leadingDigits>
2764 <format>$1-$2-$3-$4</format>
2765 </numberFormat>
2766 </availableFormats>
2767 <generalDesc>
2768 <nationalNumberPattern>
2769 [2-8]\d{6}|
2770 0\d{10}
2771 </nationalNumberPattern>
2772 <possibleNumberPattern>\d{7}(?:\d{4})?</possibleNumberPattern>
2773 </generalDesc>
2774 <fixedLine>
2775 <nationalNumberPattern>[234578][02]\d{5}</nationalNumberPattern>
2776 <possibleNumberPattern>\d{7}</possibleNumberPattern>
2777 <exampleNumber>2221234</exampleNumber>
2778 </fixedLine>
2779 <mobile>
2780 <!-- 62[6-9] were added as we have been able to successfully send SMSs t o these numbers. -->
2781 <nationalNumberPattern>
2782 6(?:
2783 [0-2]\d|
2784 [67][01]
2785 )\d{4}
2786 </nationalNumberPattern>
2787 <possibleNumberPattern>\d{7}</possibleNumberPattern>
2788 <exampleNumber>6221234</exampleNumber>
2789 </mobile>
2790 <!-- We don't know how these would be dialled internationally - it is poss ible that they can't
2791 be dialled internationally at all - so we represent the leading 0 as part of the number.
2792 Information from www.belizetelemedia.net. -->
2793 <tollFree>
2794 <nationalNumberPattern>0800\d{7}</nationalNumberPattern>
2795 <possibleNumberPattern>\d{11}</possibleNumberPattern>
2796 <exampleNumber>08001234123</exampleNumber>
2797 </tollFree>
2798 </territory>
2799
2800 <!-- Canada -->
2801 <!-- http://www.cnac.ca/canadian_dial_plan/canadian_dial_plan.htm -->
2802 <territory id="CA" countryCode="1" internationalPrefix="011" nationalPrefix= "1">
2803 <generalDesc>
2804 <!-- NANPA country - uses US formatting rules -->
2805 <nationalNumberPattern>
2806 [2-9]\d{9}|
2807 3\d{6}
2808 </nationalNumberPattern>
2809 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
2810 </generalDesc>
2811 <fixedLine>
2812 <nationalNumberPattern>
2813 (?:
2814 2(?:
2815 04|
2816 26|
2817 [48]9|
2818 50
2819 )|
2820 3(?:
2821 06|
2822 43
2823 )|
2824 4(?:
2825 03|
2826 1[68]|
2827 38|
2828 5[06]
2829 )|
2830 5(?:
2831 0[06]|
2832 1[49]|
2833 79|
2834 8[17]
2835 )|
2836 6(?:
2837 0[04]|
2838 13|
2839 47
2840 )|
2841 7(?:
2842 0[059]|
2843 [18]0|
2844 78
2845 )|
2846 8(?:
2847 [06]7|
2848 19|
2849 )|
2850 90[25]
2851 )[2-9]\d{6}|
2852 310\d{4}
2853 </nationalNumberPattern>
2854 <exampleNumber>2042345678</exampleNumber>
2855 </fixedLine>
2856 <mobile>
2857 <nationalNumberPattern>
2858 (?:
2859 2(?:
2860 04|
2861 26|
2862 [48]9|
2863 50
2864 )|
2865 3(?:
2866 06|
2867 43
2868 )|
2869 4(?:
2870 03|
2871 1[68]|
2872 38|
2873 5[06]
2874 )|
2875 5(?:
2876 0[06]|
2877 1[49]|
2878 79|
2879 8[17]
2880 )|
2881 6(?:
2882 0[04]|
2883 13|
2884 47
2885 )|
2886 7(?:
2887 0[059]|
2888 [18]0|
2889 78
2890 )|
2891 8(?:
2892 [06]7|
2893 19|
2894 )|
2895 90[25]
2896 )[2-9]\d{6}
2897 </nationalNumberPattern>
2898 <exampleNumber>2042345678</exampleNumber>
2899 </mobile>
2900 <tollFree>
2901 <nationalNumberPattern>
2902 8(?:
2903 00|
2904 55|
2905 66|
2906 77|
2907 88
2908 )[2-9]\d{6}|
2909 310\d{4}
2910 </nationalNumberPattern>
2911 <exampleNumber>8002123456</exampleNumber>
2912 </tollFree>
2913 <premiumRate>
2914 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
2915 <possibleNumberPattern>\d{10}</possibleNumberPattern>
2916 <exampleNumber>9002123456</exampleNumber>
2917 </premiumRate>
2918 <personalNumber>
2919 <!-- http://www.nanpa.com/pdf/PL_416.pdf -->
2920 <nationalNumberPattern>
2921 5(?:
2922 00|
2923 33|
2924 44
2925 )[2-9]\d{6}
2926 </nationalNumberPattern>
2927 <possibleNumberPattern>\d{10}</possibleNumberPattern>
2928 <exampleNumber>5002345678</exampleNumber>
2929 </personalNumber>
2930 </territory>
2931
2932 <!-- Congo, Dem. Rep. of the (formerly Zaire) -->
2933 <!-- http://www.itu.int/oth/T0202000037/en -->
2934 <territory id="CD" countryCode="243" internationalPrefix="00"
2935 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
2936 <availableFormats>
2937 <numberFormat pattern="([89]\d{2})(\d{3})(\d{3})">
2938 <leadingDigits>[89]</leadingDigits>
2939 <format>$1 $2 $3</format>
2940 </numberFormat>
2941 <numberFormat pattern="([1-6]\d)(\d{5})">
2942 <leadingDigits>[1-6]</leadingDigits>
2943 <format>$1 $2</format>
2944 </numberFormat>
2945 </availableFormats>
2946 <generalDesc>
2947 <nationalNumberPattern>
2948 [89]\d{8}|
2949 [1-6]\d{6}
2950 </nationalNumberPattern>
2951 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
2952 </generalDesc>
2953 <fixedLine>
2954 <nationalNumberPattern>[1-6]\d{6}</nationalNumberPattern>
2955 <possibleNumberPattern>\d{7}</possibleNumberPattern>
2956 <exampleNumber>1234567</exampleNumber>
2957 </fixedLine>
2958 <mobile>
2959 <nationalNumberPattern>
2960 (?:
2961 8[0-2489]|
2962 9[7-9]
2963 )\d{7}
2964 </nationalNumberPattern>
2965 <possibleNumberPattern>\d{9}</possibleNumberPattern>
2966 <exampleNumber>991234567</exampleNumber>
2967 </mobile>
2968 </territory>
2969
2970 <!-- Central African Republic -->
2971 <!-- http://www.itu.int/oth/T0202000028/en -->
2972 <territory id="CF" countryCode="236" internationalPrefix="00">
2973 <availableFormats>
2974 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
2975 <format>$1 $2 $3 $4</format>
2976 </numberFormat>
2977 </availableFormats>
2978 <generalDesc>
2979 <nationalNumberPattern>[278]\d{7}</nationalNumberPattern>
2980 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2981 </generalDesc>
2982 <fixedLine>
2983 <nationalNumberPattern>2[12]\d{6}</nationalNumberPattern>
2984 <exampleNumber>21612345</exampleNumber>
2985 </fixedLine>
2986 <mobile>
2987 <nationalNumberPattern>7[0257]\d{6}</nationalNumberPattern>
2988 <exampleNumber>70012345</exampleNumber>
2989 </mobile>
2990 <premiumRate>
2991 <nationalNumberPattern>8776\d{4}</nationalNumberPattern>
2992 <exampleNumber>87761234</exampleNumber>
2993 </premiumRate>
2994 </territory>
2995
2996 <!-- Congo (Rep. of the) (Brazzaville) -->
2997 <!-- http://www.itu.int/oth/T020200002E/en -->
2998 <territory id="CG" countryCode="242" internationalPrefix="00" leadingZeroPos sible="true">
2999 <availableFormats>
3000 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
3001 <leadingDigits>[02]</leadingDigits>
3002 <format>$1 $2 $3</format>
3003 </numberFormat>
3004 <numberFormat pattern="(\d)(\d{4})(\d{4})">
3005 <leadingDigits>8</leadingDigits>
3006 <format>$1 $2 $3</format>
3007 </numberFormat>
3008 </availableFormats>
3009 <generalDesc>
3010 <nationalNumberPattern>[028]\d{8}</nationalNumberPattern>
3011 <possibleNumberPattern>\d{9}</possibleNumberPattern>
3012 </generalDesc>
3013 <fixedLine>
3014 <nationalNumberPattern>222[1-589]\d{5}</nationalNumberPattern>
3015 <exampleNumber>222123456</exampleNumber>
3016 </fixedLine>
3017 <mobile>
3018 <nationalNumberPattern>0[14-6]\d{7}</nationalNumberPattern>
3019 <exampleNumber>061234567</exampleNumber>
3020 </mobile>
3021 <!-- Referred to as a "Green number" in the telephone plan. -->
3022 <tollFree>
3023 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
3024 <exampleNumber>800123456</exampleNumber>
3025 </tollFree>
3026 </territory>
3027
3028 <!-- Switzerland -->
3029 <!-- http://www.bakom.admin.ch/themen/telekom/00479/00604/index.html?lang=en
3030 under Technical prescriptions: Numbering plan for international carrier s -->
3031 <territory id="CH" countryCode="41" internationalPrefix="00"
3032 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
3033 <availableFormats>
3034 <numberFormat pattern="([2-9]\d)(\d{3})(\d{2})(\d{2})">
3035 <leadingDigits>
3036 [2-7]|
3037 [89]1
3038 </leadingDigits>
3039 <format>$1 $2 $3 $4</format>
3040 </numberFormat>
3041 <numberFormat pattern="([89]\d{2})(\d{3})(\d{3})">
3042 <leadingDigits>
3043 8[047]|
3044 90
3045 </leadingDigits>
3046 <format>$1 $2 $3</format>
3047 </numberFormat>
3048 </availableFormats>
3049 <generalDesc>
3050 <nationalNumberPattern>[2-9]\d{8}</nationalNumberPattern>
3051 <possibleNumberPattern>\d{9}</possibleNumberPattern>
3052 </generalDesc>
3053 <fixedLine>
3054 <nationalNumberPattern>
3055 (?:
3056 2[12467]|
3057 3[1-4]|
3058 4[134]|
3059 5[12568]|
3060 6[12]|
3061 [7-9]1
3062 )\d{7}
3063 </nationalNumberPattern>
3064 <exampleNumber>212345678</exampleNumber>
3065 </fixedLine>
3066 <mobile>
3067 <nationalNumberPattern>7[46-9]\d{7}</nationalNumberPattern>
3068 <exampleNumber>741234567</exampleNumber>
3069 </mobile>
3070 <tollFree>
3071 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
3072 <exampleNumber>800123456</exampleNumber>
3073 </tollFree>
3074 <premiumRate>
3075 <nationalNumberPattern>90[016]\d{6}</nationalNumberPattern>
3076 <exampleNumber>900123456</exampleNumber>
3077 </premiumRate>
3078 <sharedCost>
3079 <nationalNumberPattern>84[0248]\d{6}</nationalNumberPattern>
3080 <exampleNumber>840123456</exampleNumber>
3081 </sharedCost>
3082 <personalNumber>
3083 <nationalNumberPattern>878\d{6}</nationalNumberPattern>
3084 <exampleNumber>878123456</exampleNumber>
3085 </personalNumber>
3086 </territory>
3087
3088 <!-- Côte d'Ivoire -->
3089 <!-- http://www.itu.int/oth/T0202000031/en -->
3090 <territory id="CI" countryCode="225" internationalPrefix="00" leadingZeroPos sible="true">
3091 <availableFormats>
3092 <!-- Using format from online yellow pages over format implied in nation al numbering plan.
3093 -->
3094 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
3095 <format>$1 $2 $3 $4</format>
3096 </numberFormat>
3097 </availableFormats>
3098 <generalDesc>
3099 <nationalNumberPattern>[02-5]\d{7}</nationalNumberPattern>
3100 <possibleNumberPattern>\d{8}</possibleNumberPattern>
3101 </generalDesc>
3102 <fixedLine>
3103 <nationalNumberPattern>
3104 (?:
3105 2(?:
3106 0[023]|
3107 1[02357]|
3108 [23][045]|
3109 4[03-5]
3110 )|
3111 3(?:
3112 0[06]|
3113 1[069]|
3114 [2-4][07]|
3115 5[09]|
3116 6[08]
3117 )
3118 )\d{5}
3119 </nationalNumberPattern>
3120 <exampleNumber>21234567</exampleNumber>
3121 </fixedLine>
3122 <mobile>
3123 <!-- Added the prefixes 40 and 57 because SMS messages have been success fully delivered.
3124 Supported by numbers found on the internet. -->
3125 <nationalNumberPattern>
3126 (?:
3127 0[1-9]|
3128 4[04-9]|
3129 5[07]|
3130 6[067]
3131 )\d{6}
3132 </nationalNumberPattern>
3133 <exampleNumber>01234567</exampleNumber>
3134 </mobile>
3135 </territory>
3136
3137 <!-- Cook Islands -->
3138 <!-- http://www.itu.int/oth/T020200002F/en -->
3139 <territory id="CK" countryCode="682" internationalPrefix="00">
3140 <availableFormats>
3141 <numberFormat pattern="(\d{2})(\d{3})">
3142 <format>$1 $2</format>
3143 </numberFormat>
3144 </availableFormats>
3145 <generalDesc>
3146 <nationalNumberPattern>[2-57]\d{4}</nationalNumberPattern>
3147 <possibleNumberPattern>\d{5}</possibleNumberPattern>
3148 </generalDesc>
3149 <fixedLine>
3150 <nationalNumberPattern>
3151 (?:
3152 2\d|
3153 3[13-7]|
3154 4[1-5]
3155 )\d{3}
3156 </nationalNumberPattern>
3157 <exampleNumber>21234</exampleNumber>
3158 </fixedLine>
3159 <mobile>
3160 <nationalNumberPattern>
3161 (?:
3162 5[0-68]|
3163 7\d
3164 )\d{3}
3165 </nationalNumberPattern>
3166 <exampleNumber>71234</exampleNumber>
3167 </mobile>
3168 </territory>
3169
3170 <!-- Chile -->
3171 <!-- http://www.itu.int/oth/T020200002A/en -->
3172 <!-- http://en.wikipedia.org/wiki/%2B56 -->
3173 <!-- Carriers listed here: http://www.turismochile.com/datos/carrier.php -->
3174 <territory id="CL" countryCode="56"
3175 internationalPrefix="(?:0|1(?:1[0-69]|2[0-57]|5[13-58]|69|7[0167]|8[018])) 0"
3176 nationalPrefix="0"
3177 nationalPrefixForParsing="0|(1(?:1[0-69]|2[0-57]|5[13-58]|69|7[0167]|8[018 ]))"
3178 nationalPrefixFormattingRule="$NP$FG">
3179 <!-- When dialling mobile numbers from landlines, or vice versa, you need a prefix of 0, which
3180 we strip here. National destinations may be dialled with a carrier if they are not local so
3181 we extract these carrier codes as well. -->
3182 <availableFormats>
3183 <numberFormat pattern="(2)(\d{3})(\d{4})"
3184 nationalPrefixFormattingRule="($FG)"
3185 carrierCodeFormattingRule="$CC ($FG)">
3186 <leadingDigits>2</leadingDigits>
3187 <format>$1 $2 $3</format>
3188 </numberFormat>
3189 <numberFormat pattern="(\d{2})(\d{2,3})(\d{4})"
3190 nationalPrefixFormattingRule="($FG)"
3191 carrierCodeFormattingRule="$CC ($FG)">
3192 <leadingDigits>
3193 [357]|
3194 4[1-35]|
3195 6[13-57]
3196 </leadingDigits>
3197 <format>$1 $2 $3</format>
3198 </numberFormat>
3199 <numberFormat pattern="(9)([6-9]\d{3})(\d{4})">
3200 <leadingDigits>9</leadingDigits>
3201 <format>$1 $2 $3</format>
3202 </numberFormat>
3203 <numberFormat pattern="(44)(\d{3})(\d{4})">
3204 <leadingDigits>44</leadingDigits>
3205 <format>$1 $2 $3</format>
3206 </numberFormat>
3207 <numberFormat nationalPrefixFormattingRule="$FG"
3208 pattern="([68]00)(\d{3})(\d{3,4})">
3209 <leadingDigits>
3210 60|
3211 8
3212 </leadingDigits>
3213 <format>$1 $2 $3</format>
3214 </numberFormat>
3215 <numberFormat nationalPrefixFormattingRule="$FG"
3216 pattern="(600)(\d{3})(\d{2})(\d{3})">
3217 <leadingDigits>60</leadingDigits>
3218 <format>$1 $2 $3 $4</format>
3219 </numberFormat>
3220 <numberFormat nationalPrefixFormattingRule="$FG"
3221 pattern="(1230)(\d{3})(\d{4})">
3222 <leadingDigits>1</leadingDigits>
3223 <format>$1 $2 $3</format>
3224 </numberFormat>
3225 </availableFormats>
3226 <generalDesc>
3227 <nationalNumberPattern>
3228 (?:
3229 [2-9]|
3230 600|
3231 123
3232 )\d{7,8}
3233 </nationalNumberPattern>
3234 <possibleNumberPattern>\d{6,11}</possibleNumberPattern>
3235 </generalDesc>
3236 <fixedLine>
3237 <nationalNumberPattern>
3238 (?:
3239 2|
3240 32|
3241 41
3242 )\d{7}|
3243 (?:
3244 3[3-5]|
3245 4[235]|
3246 5[1-3578]|
3247 6[13-57]|
3248 7[1-35]
3249 )\d{6,7}
3250 </nationalNumberPattern>
3251 <!-- Area codes do not need to be dialled when dialling within the same area, so the
3252 smallest possible number is length 6. -->
3253 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
3254 <exampleNumber>21234567</exampleNumber>
3255 </fixedLine>
3256 <mobile>
3257 <nationalNumberPattern>9[6-9]\d{7}</nationalNumberPattern>
3258 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
3259 <exampleNumber>961234567</exampleNumber>
3260 </mobile>
3261 <!-- Toll free and premium rate patterns have been collected by looking at numbers on the
3262 internet, rather than from a definitive source. -->
3263 <tollFree>
3264 <!-- 1230 numbers are used by Visa/Mastercard helplines in Chile -->
3265 <nationalNumberPattern>
3266 800\d{6}|
3267 1230\d{7}
3268 </nationalNumberPattern>
3269 <possibleNumberPattern>\d{9,11}</possibleNumberPattern>
3270 <exampleNumber>800123456</exampleNumber>
3271 </tollFree>
3272 <premiumRate>
3273 <nationalNumberPattern>600\d{7,8}</nationalNumberPattern>
3274 <possibleNumberPattern>\d{10,11}</possibleNumberPattern>
3275 <exampleNumber>6001234567</exampleNumber>
3276 </premiumRate>
3277 <voip>
3278 <nationalNumberPattern>44\d{7}</nationalNumberPattern>
3279 <possibleNumberPattern>\d{9}</possibleNumberPattern>
3280 <exampleNumber>441234567</exampleNumber>
3281 </voip>
3282 </territory>
3283
3284 <!-- Cameroon -->
3285 <!-- http://www.itu.int/oth/T0202000024/en -->
3286 <territory id="CM" countryCode="237" internationalPrefix="00">
3287 <availableFormats>
3288 <!-- Formatting on the internet is consistently with the first 2 extract ed, and usually in
3289 the same format as France (all 2 digit groups) so we use this inste ad of the guidance
3290 of the national numbering plan (which has 1 3 2 2 and 4 4 as its tw o formatting
3291 examples.) -->
3292 <numberFormat pattern="([237-9]\d)(\d{2})(\d{2})(\d{2})">
3293 <leadingDigits>
3294 [2379]|
3295 88
3296 </leadingDigits>
3297 <format>$1 $2 $3 $4</format>
3298 </numberFormat>
3299 <numberFormat pattern="(800)(\d{2})(\d{3})">
3300 <leadingDigits>80</leadingDigits>
3301 <format>$1 $2 $3</format>
3302 </numberFormat>
3303 </availableFormats>
3304 <generalDesc>
3305 <nationalNumberPattern>[237-9]\d{7}</nationalNumberPattern>
3306 <possibleNumberPattern>\d{8}</possibleNumberPattern>
3307 </generalDesc>
3308 <fixedLine>
3309 <!-- Technically, the numbers are required only to start with a 2 or a 3 , but all numbers at
3310 the moment start with 22 or 33 since they have been migrated from s even digit numbers
3311 beginning with these numbers. This rule should be relaxed if/when w e start getting
3312 numbers beginning in other ways. -->
3313 <nationalNumberPattern>
3314 (?:
3315 22|
3316 33
3317 )\d{6}
3318 </nationalNumberPattern>
3319 <exampleNumber>22123456</exampleNumber>
3320 </fixedLine>
3321 <mobile>
3322 <nationalNumberPattern>[79]\d{7}</nationalNumberPattern>
3323 <exampleNumber>71234567</exampleNumber>
3324 </mobile>
3325 <tollFree>
3326 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
3327 <exampleNumber>80012345</exampleNumber>
3328 </tollFree>
3329 <premiumRate>
3330 <!-- These numbers are listed as value-added in the guide, and in practi ce seem to begin
3331 with 88 (usually 880). No information can be found as to whether th ese are premium rate
3332 or shared cost. -->
3333 <nationalNumberPattern>88\d{6}</nationalNumberPattern>
3334 <exampleNumber>88012345</exampleNumber>
3335 </premiumRate>
3336 </territory>
3337
3338 <!-- China -->
3339 <!-- http://www.itu.int/dms_pub/itu-t/oth/02/02/T020200002B0001XLSE.xls -->
3340 <territory id="CN" countryCode="86" internationalPrefix="00"
3341 nationalPrefix="0">
3342 <availableFormats>
3343 <numberFormat nationalPrefixFormattingRule="$NP$FG"
3344 pattern="(80\d{2})(\d{4})">
3345 <leadingDigits>80[2678]</leadingDigits>
3346 <format>$1 $2</format>
3347 </numberFormat>
3348 <numberFormat pattern="([48]00)(\d{3})(\d{4})">
3349 <leadingDigits>[48]00</leadingDigits>
3350 <format>$1 $2 $3</format>
3351 </numberFormat>
3352 <!-- Local numbers -->
3353 <!-- Chinese fixed-line numbers can be dialed from a cell phone without area code and they
3354 can be 7 to 8 digits. This rule is here to make formatting work wit h such numbers, as
3355 people frequently store them in their cellphones. It has to stay be fore formatting
3356 rules for fixed-line numbers to make AsYouTypeFormatter work with t hese numbers. The
3357 leadingDigits prefix makes sure it doesn't clash with mobile number s. -->
3358 <numberFormat pattern="(\d{3,4})(\d{4})">
3359 <leadingDigits>[2-9]</leadingDigits>
3360 <format>$1 $2</format>
3361 </numberFormat>
3362 <numberFormat nationalPrefixFormattingRule="$NP$FG"
3363 pattern="(21)(\d{4})(\d{4,6})">
3364 <leadingDigits>21</leadingDigits>
3365 <format>$1 $2 $3</format>
3366 </numberFormat>
3367 <numberFormat nationalPrefixFormattingRule="$NP$FG"
3368 pattern="([12]\d)(\d{4})(\d{4})">
3369 <leadingDigits>
3370 10[1-9]|
3371 2[02-9]
3372 </leadingDigits>
3373 <!-- Note the leadingDigitsPattern for 4 digits is the same as 3 digit s, -->
3374 <leadingDigits>
3375 10[1-9]|
3376 2[02-9]
3377 </leadingDigits>
3378 <leadingDigits>
3379 10(?:
3380 [1-79]|
3381 8(?:
3382 [1-9]|
3383 0[1-9]
3384 )
3385 )|
3386 2[02-9]
3387 </leadingDigits>
3388 <format>$1 $2 $3</format>
3389 </numberFormat>
3390 <numberFormat nationalPrefixFormattingRule="$NP$FG"
3391 pattern="(\d{3})(\d{4})(\d{4})">
3392 <leadingDigits>
3393 3(?:
3394 11|
3395 7[159]
3396 )|
3397 4[135]1|
3398 5(?:
3399 1|
3400 2[37]|
3401 3[12]|
3402 7[13-79]|
3403 9[15]
3404 )|
3405 7(?:
3406 31|
3407 5[457]|
3408 6[09]
3409 )|
3410 898
3411 </leadingDigits>
3412 <format>$1 $2 $3</format>
3413 </numberFormat>
3414 <numberFormat nationalPrefixFormattingRule="$NP$FG"
3415 pattern="(\d{3})(\d{3})(\d{4})">
3416 <leadingDigits>
3417 3(?:
3418 1[02-9]|
3419 35|
3420 49|
3421 5|
3422 7[02-68]|
3423 9[1-68]
3424 )|
3425 4(?:
3426 1[02-9]|
3427 2[179]|
3428 [35][2-9]|
3429 6[4789]|
3430 7[0-46-9]|
3431 8[23]
3432 )|
3433 5(?:
3434 3[03-9]|
3435 4[36]|
3436 5|
3437 6[1-6]|
3438 7[028]|
3439 80|
3440 9[2-46-9]
3441 )|
3442 6(?:
3443 3[1-5]|
3444 6[0238]|
3445 9[12]
3446 )|
3447 7(?:
3448 01|
3449 [1579]|
3450 2[248]|
3451 3[04-9]|
3452 4[3-6]|
3453 6[2368]
3454 )|
3455 8(?:
3456 1[236-8]|
3457 2[5-7]|
3458 [37]|
3459 5[1-9]|
3460 8[3678]|
3461 9[1-7]
3462 )|
3463 9(?:
3464 0[1-3689]|
3465 1[1-79]|
3466 [379]|
3467 4[13]|
3468 5[1-5]
3469 )
3470 </leadingDigits>
3471 <format>$1 $2 $3</format>
3472 </numberFormat>
3473 <numberFormat pattern="(1[3-58]\d)(\d{4})(\d{4})">
3474 <leadingDigits>1[3-58]</leadingDigits>
3475 <format>$1 $2 $3</format>
3476 </numberFormat>
3477 <numberFormat pattern="(10800)(\d{3})(\d{4})">
3478 <leadingDigits>108</leadingDigits>
3479 <leadingDigits>1080</leadingDigits>
3480 <leadingDigits>10800</leadingDigits>
3481 <format>$1 $2 $3</format>
3482 </numberFormat>
3483 <intlNumberFormat pattern="(21)(\d{4})(\d{4,6})">
3484 <leadingDigits>21</leadingDigits>
3485 <format>$1 $2 $3</format>
3486 </intlNumberFormat>
3487 <intlNumberFormat pattern="([12]\d)(\d{4})(\d{4})">
3488 <leadingDigits>
3489 10[1-9]|
3490 2[02-9]
3491 </leadingDigits>
3492 <!-- Note the leadingDigitsPattern for 4 digits is the same as 3 digit s, -->
3493 <leadingDigits>
3494 10[1-9]|
3495 2[02-9]
3496 </leadingDigits>
3497 <leadingDigits>
3498 10(?:
3499 [1-79]|
3500 8(?:
3501 [1-9]|
3502 0[1-9]
3503 )
3504 )|
3505 2[02-9]
3506 </leadingDigits>
3507 <format>$1 $2 $3</format>
3508 </intlNumberFormat>
3509 <intlNumberFormat pattern="(80\d{2})(\d{4})">
3510 <leadingDigits>80[2678]</leadingDigits>
3511 <format>$1 $2</format>
3512 </intlNumberFormat>
3513 <intlNumberFormat
3514 pattern="(\d{3})(\d{4})(\d{4})">
3515 <leadingDigits>
3516 3(?:
3517 11|
3518 7[159]
3519 )|
3520 4[135]1|
3521 5(?:
3522 1|
3523 2[37]|
3524 3[12]|
3525 7[13-79]|
3526 9[15]
3527 )|
3528 7(?:
3529 31|
3530 5[457]|
3531 6[09]
3532 )|
3533 898
3534 </leadingDigits>
3535 <format>$1 $2 $3</format>
3536 </intlNumberFormat>
3537 <intlNumberFormat
3538 pattern="(\d{3})(\d{3})(\d{4})">
3539 <leadingDigits>
3540 3(?:
3541 1[02-9]|
3542 35|
3543 49|
3544 5|
3545 7[02-68]|
3546 9[1-68]
3547 )|
3548 4(?:
3549 1[02-9]|
3550 2[179]|
3551 [35][2-9]|
3552 6[4789]|
3553 7[0-46-9]|
3554 8[23]
3555 )|
3556 5(?:
3557 3[03-9]|
3558 4[36]|
3559 5|
3560 6[1-6]|
3561 7[028]|
3562 80|
3563 9[2-46-9]
3564 )|
3565 6(?:
3566 3[1-5]|
3567 6[0238]|
3568 9[12]
3569 )|
3570 7(?:
3571 01|
3572 [1579]|
3573 2[248]|
3574 3[04-9]|
3575 4[3-6]|
3576 6[2368]
3577 )|
3578 8(?:
3579 1[236-8]|
3580 2[5-7]|
3581 [37]|
3582 5[1-9]|
3583 8[3678]|
3584 9[1-7]
3585 )|
3586 9(?:
3587 0[1-3689]|
3588 1[1-79]|
3589 [379]|
3590 4[13]|
3591 5[1-5]
3592 )
3593 </leadingDigits>
3594 <format>$1 $2 $3</format>
3595 </intlNumberFormat>
3596 <intlNumberFormat pattern="(1[3-58]\d)(\d{4})(\d{4})">
3597 <leadingDigits>1[3-58]</leadingDigits>
3598 <format>$1 $2 $3</format>
3599 </intlNumberFormat>
3600 <intlNumberFormat pattern="([48]00)(\d{3})(\d{4})">
3601 <leadingDigits>[48]00</leadingDigits>
3602 <format>$1 $2 $3</format>
3603 </intlNumberFormat>
3604 <intlNumberFormat pattern="(10800)(\d{3})(\d{4})">
3605 <leadingDigits>108</leadingDigits>
3606 <leadingDigits>1080</leadingDigits>
3607 <leadingDigits>10800</leadingDigits>
3608 <format>$1 $2 $3</format>
3609 </intlNumberFormat>
3610 </availableFormats>
3611 <generalDesc>
3612 <nationalNumberPattern>
3613 [1-79]\d{7,11}|
3614 8[0-357-9]\d{6,9}
3615 </nationalNumberPattern>
3616 <possibleNumberPattern>\d{4,12}</possibleNumberPattern>
3617 </generalDesc>
3618 <fixedLine>
3619 <nationalNumberPattern>
3620 21\d{8,10}|
3621 (?:
3622 10|
3623 2[02-57-9]|
3624 3(?:
3625 11|
3626 7[159]
3627 )|
3628 4[135]1|
3629 5(?:
3630 1\d|
3631 2[37]|
3632 3[12]|
3633 7[13-79]|
3634 9[15]
3635 )|
3636 7(?:
3637 31|
3638 5[457]|
3639 6[09]
3640 )|
3641 898
3642 )\d{8}|
3643 (?:
3644 3(?:
3645 1[02-9]|
3646 35|
3647 49|
3648 5\d|
3649 7[02-68]|
3650 9[1-68]
3651 )|
3652 4(?:
3653 1[02-9]|
3654 2[179]|
3655 [35][2-9]|
3656 6[4789]|
3657 7[0-46-9]|
3658 8[23]
3659 )|
3660 5(?:
3661 3[03-9]|
3662 4[36]|
3663 5\d|
3664 6[1-6]|
3665 7[028]|
3666 80|
3667 9[2-46-9]
3668 )|
3669 6(?:
3670 3[1-5]|
3671 6[0238]|
3672 9[12]
3673 )|
3674 7(?:
3675 01|
3676 [1579]\d|
3677 2[248]|
3678 3[04-9]|
3679 4[3-6]|
3680 6[2368]
3681 )|
3682 8(?:
3683 1[236-8]|
3684 2[5-7]|
3685 [37]\d|
3686 5[1-9]|
3687 8[3678]|
3688 9[1-7]
3689 )|
3690 9(?:
3691 0[1-3689]|
3692 1[1-79]|
3693 [379]\d|
3694 4[13]|
3695 5[1-5]
3696 )
3697 )\d{7}|
3698 80(?:
3699 29|
3700 6[03578]|
3701 7[018]|
3702 81
3703 )\d{4}
3704 </nationalNumberPattern>
3705 <exampleNumber>1012345678</exampleNumber>
3706 </fixedLine>
3707 <mobile>
3708 <nationalNumberPattern>
3709 1(?:
3710 3[0-9]|
3711 47|
3712 5[0135689]|
3713 8[05-9]
3714 )\d{8}
3715 </nationalNumberPattern>
3716 <possibleNumberPattern>\d{11}</possibleNumberPattern>
3717 <exampleNumber>13123456789</exampleNumber>
3718 </mobile>
3719 <!-- Toll free, premium rate, and VoIP numbers are not clearly defined in the official Chinese
3720 number plan, and do not seem to have been standardized. The informati on below is
3721 collected from searching the web. -->
3722 <!-- http://en.wikipedia.org/wiki/Toll-free_telephone_number -->
3723 <tollFree>
3724 <nationalNumberPattern>
3725 (?:
3726 10
3727 )?800\d{7}
3728 </nationalNumberPattern>
3729 <possibleNumberPattern>\d{10,12}</possibleNumberPattern>
3730 <exampleNumber>8001234567</exampleNumber>
3731 </tollFree>
3732 <premiumRate>
3733 <nationalNumberPattern>16[08]\d{5}</nationalNumberPattern>
3734 <possibleNumberPattern>\d{8}</possibleNumberPattern>
3735 <exampleNumber>16812345</exampleNumber>
3736 </premiumRate>
3737 <voip>
3738 <nationalNumberPattern>400\d{7}</nationalNumberPattern>
3739 <possibleNumberPattern>\d{10}</possibleNumberPattern>
3740 <exampleNumber>4001234567</exampleNumber>
3741 </voip>
3742 </territory>
3743
3744 <!-- Colombia -->
3745 <!-- http://www.itu.int/oth/T020200002C/en
3746 http://en.wikipedia.org/wiki/Telephone_numbers_in_Colombia -->
3747 <territory id="CO" countryCode="57" internationalPrefix="00[579]|#555|#999"
3748 nationalPrefix="0" nationalPrefixForParsing="0([3579]|4(?:44|56)) ">
3749 <availableFormats>
3750 <numberFormat pattern="(\d)(\d{7})" carrierCodeFormattingRule="$NP$CC $F G"
3751 nationalPrefixFormattingRule="($FG)">
3752 <leadingDigits>
3753 1(?:
3754 8[2-9]|
3755 9[0-3]|
3756 [2-7]
3757 )|
3758 [24-8]
3759 </leadingDigits>
3760 <leadingDigits>
3761 1(?:
3762 8[2-9]|
3763 9(?:
3764 09|
3765 [1-3]
3766 )|
3767 [2-7]
3768 )|
3769 [24-8]
3770 </leadingDigits>
3771 <format>$1 $2</format>
3772 </numberFormat>
3773 <intlNumberFormat pattern="(\d)(\d{7})">
3774 <leadingDigits>
3775 1(?:
3776 8[2-9]|
3777 9[0-3]|
3778 [2-7]
3779 )|
3780 [24-8]
3781 </leadingDigits>
3782 <leadingDigits>
3783 1(?:
3784 8[2-9]|
3785 9(?:
3786 09|
3787 [1-3]
3788 )|
3789 [2-7]
3790 )|
3791 [24-8]
3792 </leadingDigits>
3793 <format>$1 $2</format>
3794 </intlNumberFormat>
3795 <numberFormat pattern="(\d{3})(\d{7})" carrierCodeFormattingRule="$NP$CC $FG">
3796 <leadingDigits>3</leadingDigits>
3797 <format>$1 $2</format>
3798 </numberFormat>
3799 <intlNumberFormat pattern="(\d{3})(\d{7})">
3800 <leadingDigits>3</leadingDigits>
3801 <format>$1 $2</format>
3802 </intlNumberFormat>
3803 <numberFormat pattern="(1)(\d{3})(\d{7})" nationalPrefixFormattingRule=" $NP$FG">
3804 <leadingDigits>
3805 1(?:
3806 80|
3807 9[04]
3808 )
3809 </leadingDigits>
3810 <leadingDigits>
3811 1(?:
3812 800|
3813 9(?:
3814 0[01]|
3815 4[78]
3816 )
3817 )
3818 </leadingDigits>
3819 <format>$1-$2-$3</format>
3820 </numberFormat>
3821 <intlNumberFormat pattern="(1)(\d{3})(\d{7})">
3822 <leadingDigits>
3823 1(?:
3824 80|
3825 9[04]
3826 )
3827 </leadingDigits>
3828 <leadingDigits>
3829 1(?:
3830 800|
3831 9(?:
3832 0[01]|
3833 4[78]
3834 )
3835 )
3836 </leadingDigits>
3837 <format>$1 $2 $3</format>
3838 </intlNumberFormat>
3839 </availableFormats>
3840 <generalDesc>
3841 <nationalNumberPattern>
3842 (?:
3843 [13]\d{0,3}|
3844 [24-8]
3845 )\d{7}
3846 </nationalNumberPattern>
3847 <possibleNumberPattern>\d{7,11}</possibleNumberPattern>
3848 </generalDesc>
3849 <fixedLine>
3850 <nationalNumberPattern>[124-8][2-9]\d{6}</nationalNumberPattern>
3851 <possibleNumberPattern>\d{8}</possibleNumberPattern>
3852 <exampleNumber>12345678</exampleNumber>
3853 </fixedLine>
3854 <mobile>
3855 <nationalNumberPattern>
3856 3(?:
3857 0[0-24]|
3858 1[0-8]|
3859 2[01]
3860 )\d{7}
3861 </nationalNumberPattern>
3862 <possibleNumberPattern>\d{10}</possibleNumberPattern>
3863 <exampleNumber>3211234567</exampleNumber>
3864 </mobile>
3865 <tollFree>
3866 <nationalNumberPattern>1800\d{7}</nationalNumberPattern>
3867 <possibleNumberPattern>\d{11}</possibleNumberPattern>
3868 <exampleNumber>18001234567</exampleNumber>
3869 </tollFree>
3870 <premiumRate>
3871 <nationalNumberPattern>
3872 19(?:
3873 0[01]|
3874 4[78]
3875 )\d{7}
3876 </nationalNumberPattern>
3877 <possibleNumberPattern>\d{11}</possibleNumberPattern>
3878 <exampleNumber>19001234567</exampleNumber>
3879 </premiumRate>
3880 </territory>
3881
3882 <!-- Costa Rica -->
3883 <!-- http://www.itu.int/oth/T0202000030/en -->
3884 <territory id="CR" countryCode="506" internationalPrefix="00"
3885 nationalPrefixForParsing="(1900)" carrierCodeFormattingRule="$CC $FG">
3886 <availableFormats>
3887 <numberFormat pattern="(\d{4})(\d{4})">
3888 <leadingDigits>
3889 [24]|
3890 8[3-9]
3891 </leadingDigits>
3892 <format>$1 $2</format>
3893 </numberFormat>
3894 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
3895 <leadingDigits>[89]0</leadingDigits>
3896 <format>$1-$2-$3</format>
3897 </numberFormat>
3898 </availableFormats>
3899 <generalDesc>
3900 <nationalNumberPattern>[2489]\d{7,9}</nationalNumberPattern>
3901 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
3902 </generalDesc>
3903 <fixedLine>
3904 <nationalNumberPattern>2[24-7]\d{6}</nationalNumberPattern>
3905 <possibleNumberPattern>\d{8}</possibleNumberPattern>
3906 <exampleNumber>22123456</exampleNumber>
3907 </fixedLine>
3908 <mobile>
3909 <!-- Adding 87[0-3] prefixes after numbers were found online where these prefixes have been
3910 assigned. -->
3911 <nationalNumberPattern>
3912 8(?:
3913 [389]\d|
3914 7[0-3]
3915 )\d{5}
3916 </nationalNumberPattern>
3917 <possibleNumberPattern>\d{8}</possibleNumberPattern>
3918 <exampleNumber>83123456</exampleNumber>
3919 </mobile>
3920 <tollFree>
3921 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
3922 <possibleNumberPattern>\d{10}</possibleNumberPattern>
3923 <exampleNumber>8001234567</exampleNumber>
3924 </tollFree>
3925 <premiumRate>
3926 <!-- Includes "mass calls" numbers with prefix 905. -->
3927 <nationalNumberPattern>90[059]\d{7}</nationalNumberPattern>
3928 <possibleNumberPattern>\d{10}</possibleNumberPattern>
3929 <exampleNumber>9001234567</exampleNumber>
3930 </premiumRate>
3931 <voip>
3932 <nationalNumberPattern>4000\d{4}</nationalNumberPattern>
3933 <possibleNumberPattern>\d{8}</possibleNumberPattern>
3934 <exampleNumber>40001234</exampleNumber>
3935 </voip>
3936 <shortCode>
3937 <!-- This pattern excludes 4-digit SMS content numbers for now. -->
3938 <nationalNumberPattern>
3939 1(?:
3940 02[2-469]|
3941 1(?:
3942 1[0235-9]|
3943 2|
3944 37|
3945 46|
3946 75|
3947 8[79]|
3948 9[0-379]
3949 )|
3950 212)
3951 </nationalNumberPattern>
3952 <possibleNumberPattern>\d{3,4}</possibleNumberPattern>
3953 <exampleNumber>1022</exampleNumber>
3954 </shortCode>
3955 </territory>
3956
3957 <!-- Cuba -->
3958 <!-- www.itu.int/oth/T0202000033/en -->
3959 <territory id="CU" countryCode="53" internationalPrefix="119"
3960 nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)">
3961 <availableFormats>
3962 <numberFormat pattern="(\d)(\d{6,7})">
3963 <leadingDigits>7</leadingDigits>
3964 <format>$1 $2</format>
3965 </numberFormat>
3966 <numberFormat pattern="(\d{2})(\d{4,6})">
3967 <leadingDigits>[2-4]</leadingDigits>
3968 <format>$1 $2</format>
3969 </numberFormat>
3970 <numberFormat pattern="(\d)(\d{7})" nationalPrefixFormattingRule="$NP$FG ">
3971 <leadingDigits>5</leadingDigits>
3972 <format>$1 $2</format>
3973 </numberFormat>
3974 </availableFormats>
3975 <generalDesc>
3976 <nationalNumberPattern>[2-57]\d{5,7}</nationalNumberPattern>
3977 <possibleNumberPattern>\d{4,8}</possibleNumberPattern>
3978 </generalDesc>
3979 <fixedLine>
3980 <nationalNumberPattern>
3981 2[1-4]\d{5,6}|
3982 3(?:
3983 1\d{6}|
3984 [23]\d{4,6})|
3985 4(?:
3986 [125]\d{5,6}|
3987 [36]\d{6}|
3988 [78]\d{4,6})|
3989 7\d{6,7}
3990 </nationalNumberPattern>
3991 <exampleNumber>71234567</exampleNumber>
3992 </fixedLine>
3993 <mobile>
3994 <nationalNumberPattern>5\d{7}</nationalNumberPattern>
3995 <possibleNumberPattern>\d{8}</possibleNumberPattern>
3996 <exampleNumber>51234567</exampleNumber>
3997 </mobile>
3998 </territory>
3999
4000 <!-- Cape Verde -->
4001 <!-- http://www.itu.int/oth/T0202000026/en -->
4002 <territory id="CV" countryCode="238" internationalPrefix="0">
4003 <availableFormats>
4004 <numberFormat pattern="(\d{3})(\d{2})(\d{2})">
4005 <format>$1 $2 $3</format>
4006 </numberFormat>
4007 </availableFormats>
4008 <generalDesc>
4009 <nationalNumberPattern>[259]\d{6}</nationalNumberPattern>
4010 <possibleNumberPattern>\d{7}</possibleNumberPattern>
4011 </generalDesc>
4012 <fixedLine>
4013 <nationalNumberPattern>
4014 2(?:
4015 2[1-7]|
4016 3[0-8]|
4017 4[12]|
4018 5[1256]|
4019 6\d|
4020 7[1-3]|
4021 8[1-5]
4022 )\d{4}
4023 </nationalNumberPattern>
4024 <exampleNumber>2211234</exampleNumber>
4025 </fixedLine>
4026 <mobile>
4027 <!-- It seems, contrary to their numbering plan, the entire 9X range is used for mobile
4028 phones. SMS messages has been successfully sent to numbers starting with 95 and 97 for
4029 example, and there are plenty of numbers on the internet that start with these
4030 prefixes. -->
4031 <nationalNumberPattern>
4032 (?:
4033 9\d|
4034 59
4035 )\d{5}
4036 </nationalNumberPattern>
4037 <exampleNumber>9911234</exampleNumber>
4038 </mobile>
4039 </territory>
4040
4041 <!-- Cyprus -->
4042 <!-- http://www.itu.int/oth/T0202000034/en -->
4043 <territory id="CY" countryCode="357" internationalPrefix="00">
4044 <availableFormats>
4045 <!-- Format from http://www.cyprusyellowpages.com/-->
4046 <numberFormat pattern="([27-9]\d)(\d{6})">
4047 <format>$1 $2</format>
4048 </numberFormat>
4049 </availableFormats>
4050 <generalDesc>
4051 <nationalNumberPattern>[27-9]\d{7}</nationalNumberPattern>
4052 <possibleNumberPattern>\d{8}</possibleNumberPattern>
4053 </generalDesc>
4054 <fixedLine>
4055 <nationalNumberPattern>2[2-6]\d{6}</nationalNumberPattern>
4056 <exampleNumber>22345678</exampleNumber>
4057 </fixedLine>
4058 <mobile>
4059 <!-- Universal Access Service numbers (7777 xxxx) are included here, as they are classified
4060 as Mobile in the Cyprus national numbering plan. -->
4061 <nationalNumberPattern>
4062 7777\d{4}|
4063 9(?:
4064 [69]\d|
4065 7[67]
4066 )\d{5}
4067 </nationalNumberPattern>
4068 <exampleNumber>96123456</exampleNumber>
4069 </mobile>
4070 <tollFree>
4071 <nationalNumberPattern>8000\d{4}</nationalNumberPattern>
4072 <exampleNumber>80001234</exampleNumber>
4073 </tollFree>
4074 <premiumRate>
4075 <nationalNumberPattern>9009\d{4}</nationalNumberPattern>
4076 <exampleNumber>90091234</exampleNumber>
4077 </premiumRate>
4078 <personalNumber>
4079 <nationalNumberPattern>700\d{5}</nationalNumberPattern>
4080 <exampleNumber>70012345</exampleNumber>
4081 </personalNumber>
4082 </territory>
4083
4084 <!-- Czech Rep. -->
4085 <!-- http://www.itu.int/oth/T0202000035/en -->
4086 <!-- http://en.wikipedia.org/wiki/%2B420 -->
4087 <territory id="CZ" countryCode="420" internationalPrefix="00">
4088 <availableFormats>
4089 <numberFormat pattern="([2-9]\d{2})(\d{3})(\d{3})">
4090 <format>$1 $2 $3</format>
4091 </numberFormat>
4092 </availableFormats>
4093 <generalDesc>
4094 <nationalNumberPattern>[2-9]\d{8}</nationalNumberPattern>
4095 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4096 </generalDesc>
4097 <fixedLine>
4098 <nationalNumberPattern>
4099 2\d{8}|
4100 (?:
4101 3[1257-9]|
4102 4[16-9]|
4103 5[13-9]
4104 )\d{7}
4105 </nationalNumberPattern>
4106 <exampleNumber>212345678</exampleNumber>
4107 </fixedLine>
4108 <mobile>
4109 <nationalNumberPattern>
4110 60[1-8]\d{6}|
4111 7[2379]\d{7}
4112 </nationalNumberPattern>
4113 <exampleNumber>601123456</exampleNumber>
4114 </mobile>
4115 <tollFree>
4116 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
4117 <exampleNumber>800123456</exampleNumber>
4118 </tollFree>
4119 <premiumRate>
4120 <nationalNumberPattern>90[0689]\d{6}</nationalNumberPattern>
4121 <exampleNumber>900123456</exampleNumber>
4122 </premiumRate>
4123 <sharedCost>
4124 <nationalNumberPattern>8[134]\d{7}</nationalNumberPattern>
4125 <exampleNumber>811234567</exampleNumber>
4126 </sharedCost>
4127 <personalNumber>
4128 <nationalNumberPattern>70[01]\d{6}</nationalNumberPattern>
4129 <exampleNumber>700123456</exampleNumber>
4130 </personalNumber>
4131 </territory>
4132
4133 <!-- Germany -->
4134 <!-- http://www.itu.int/oth/T0202000051/en -->
4135 <territory id="DE" countryCode="49" internationalPrefix="00"
4136 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
4137 <availableFormats>
4138 <numberFormat pattern="(\d{2})(\d{4,11})">
4139 <leadingDigits>
4140 3[02]|
4141 40|
4142 [68]9
4143 </leadingDigits>
4144 <format>$1/$2</format>
4145 </numberFormat>
4146 <!-- The order of the rules on 3-5 digits area code matter as fallback i s used here. -->
4147 <!-- 3 digit area codes. -->
4148 <numberFormat pattern="(\d{3})(\d{3,10})">
4149 <leadingDigits>
4150 2(?:
4151 \d1|
4152 0[2389]|
4153 1[24]|
4154 28|
4155 34
4156 )|
4157 3(?:
4158 [3-9][15]|
4159 40
4160 )|
4161 [4-8][1-9]1|
4162 9(?:
4163 06|
4164 [1-9]1
4165 )
4166 </leadingDigits>
4167 <format>$1/$2</format>
4168 </numberFormat>
4169 <!-- 4 digit area codes. -->
4170 <numberFormat pattern="(\d{4})(\d{2,8})">
4171 <leadingDigits>
4172 [24-6]|
4173 [7-9](?:
4174 \d[1-9]|
4175 [1-9]\d
4176 )|
4177 3(?:
4178 [3569][02-46-9]|
4179 4[2-4679]|
4180 7[2-467]|
4181 8[2-46-8]
4182 )
4183 </leadingDigits>
4184 <leadingDigits>
4185 [24-6]|
4186 [7-9](?:
4187 \d[1-9]|
4188 [1-9]\d
4189 )|
4190 3(?:
4191 3(?:
4192 0[1-467]|
4193 2[127-9]|
4194 3[124578]|
4195 [46][1246]|
4196 7[1257-9]|
4197 8[1256]|
4198 9[145]
4199 )|
4200 4(?:
4201 2[135]|
4202 3[1357]|
4203 4[13578]|
4204 6[1246]|
4205 7[1356]|
4206 9[1346]
4207 )|
4208 5(?:
4209 0[14]|
4210 2[1-3589]|
4211 3[1357]|
4212 4[1246]|
4213 6[1-4]|
4214 7[1346]|
4215 8[13568]|
4216 9[1246]
4217 )|
4218 6(?:
4219 0[356]|
4220 2[1-489]|
4221 3[124-6]|
4222 4[1347]|
4223 6[13]|
4224 7[12579]|
4225 8[1-356]|
4226 9[135]
4227 )|
4228 7(?:
4229 2[1-7]|
4230 3[1357]|
4231 4[145]|
4232 6[1-5]|
4233 7[1-4]
4234 )|
4235 8(?:
4236 21|
4237 3[1468]|
4238 4[1347]|
4239 6[0135-9]|
4240 7[1467]|
4241 8[136]
4242 )|
4243 9(?:
4244 0[12479]|
4245 2[1358]|
4246 3[1357]|
4247 4[134679]|
4248 6[1-9]|
4249 7[136]|
4250 8[147]|
4251 9[1468]
4252 )
4253 )
4254 </leadingDigits>
4255 <format>$1/$2</format>
4256 </numberFormat>
4257 <!-- 5 digit area codes. -->
4258 <numberFormat pattern="(\d{5})(\d{1,6})">
4259 <leadingDigits>3</leadingDigits>
4260 <format>$1/$2</format>
4261 </numberFormat>
4262 <!-- http://www.t-mobile.de/servicehotlines/0,13401,17660-_,00.html -->
4263 <numberFormat pattern="([18]\d{2})(\d{7,9})">
4264 <leadingDigits>
4265 1[5-7]|
4266 800
4267 </leadingDigits>
4268 <format>$1 $2</format>
4269 </numberFormat>
4270 <numberFormat pattern="(\d{3})(\d)(\d{4,10})">
4271 <leadingDigits>
4272 (?:
4273 18|
4274 90
4275 )0
4276 </leadingDigits>
4277 <leadingDigits>
4278 180|
4279 900[1359]
4280 </leadingDigits>
4281 <format>$1 $2 $3</format>
4282 </numberFormat>
4283 <numberFormat pattern="(700)(\d{4})(\d{4})">
4284 <leadingDigits>700</leadingDigits>
4285 <format>$1 $2 $3</format>
4286 </numberFormat>
4287 </availableFormats>
4288 <generalDesc>
4289 <!-- When deciding whether to assume a leading 49 is a country code or n ot, the number is
4290 examined to see if it is valid with the 49 as part of the number. D ue to the variable
4291 length of German numbers, this test is hard to do. The national pat tern is hence
4292 stricter for numbers starting with 49, to try and remove the countr y code if the number
4293 begins with 49 whenever possible. -->
4294 <nationalNumberPattern>
4295 [1-35-9]\d{3,13}|
4296 4(?:
4297 [0-8]\d{4,12}|
4298 9(?:
4299 4[1-8]|
4300 [0-35-7]\d
4301 )\d{2,7}
4302 )
4303 </nationalNumberPattern>
4304 <possibleNumberPattern>\d{2,14}</possibleNumberPattern>
4305 </generalDesc>
4306 <fixedLine>
4307 <!-- The numbering plan defines rather optimistic longest-number limits - online numbers
4308 don't seem to respect this. The max-length is hence extended. -->
4309 <nationalNumberPattern>
4310 [246]\d{5,13}|
4311 3(?:
4312 [03-9]\d{4,11}|
4313 2\d{9}
4314 )|
4315 5(?:
4316 0[2-8]|
4317 [38][0-8]|
4318 [124-6]\d|
4319 [79][0-7]
4320 )\d{3,10}|
4321 7(?:
4322 0[2-8]|
4323 [1-9]\d
4324 )\d{3,10}|
4325 8(?:
4326 0[2-9]|
4327 [1-9]\d
4328 )\d{3,10}|
4329 9(?:
4330 0[6-9]|
4331 [1-9]\d
4332 )\d{3,10}
4333 </nationalNumberPattern>
4334 <exampleNumber>30123456</exampleNumber>
4335 </fixedLine>
4336 <mobile>
4337 <!-- Note: 8 digit numbers seem to be available for prefix 176 now,
4338 although no official documentation can be found, according to user
4339 bug-reports. -->
4340 <nationalNumberPattern>
4341 1(?:
4342 5\d{9}|
4343 7(?:
4344 [0-57-9]|
4345 6\d
4346 )\d{7}|
4347 6(?:
4348 [02]\d{7,8}|
4349 3\d{7}
4350 )
4351 )
4352 </nationalNumberPattern>
4353 <possibleNumberPattern>\d{10,11}</possibleNumberPattern>
4354 <exampleNumber>15123456789</exampleNumber>
4355 </mobile>
4356 <pager>
4357 <nationalNumberPattern>
4358 16(?:
4359 4\d{1,10}|
4360 [89]\d{1,11}
4361 )
4362 </nationalNumberPattern>
4363 <possibleNumberPattern>\d{4,14}</possibleNumberPattern>
4364 <exampleNumber>16412345</exampleNumber>
4365 </pager>
4366 <tollFree>
4367 <nationalNumberPattern>800\d{7,9}</nationalNumberPattern>
4368 <possibleNumberPattern>\d{10,12}</possibleNumberPattern>
4369 <exampleNumber>8001234567</exampleNumber>
4370 </tollFree>
4371 <premiumRate>
4372 <nationalNumberPattern>
4373 900(?:
4374 [135]\d{6}|
4375 9\d{7}
4376 )
4377 </nationalNumberPattern>
4378 <possibleNumberPattern>\d{10,11}</possibleNumberPattern>
4379 <exampleNumber>9001234567</exampleNumber>
4380 </premiumRate>
4381 <sharedCost>
4382 <!-- See bug 1683119 for a discussion about maximum number lengths. -->
4383 <nationalNumberPattern>180\d{5,11}</nationalNumberPattern>
4384 <possibleNumberPattern>\d{8,14}</possibleNumberPattern>
4385 <exampleNumber>18012345</exampleNumber>
4386 </sharedCost>
4387 <personalNumber>
4388 <nationalNumberPattern>700\d{8}</nationalNumberPattern>
4389 <possibleNumberPattern>\d{11}</possibleNumberPattern>
4390 <exampleNumber>70012345678</exampleNumber>
4391 </personalNumber>
4392 </territory>
4393
4394 <!-- Djibouti -->
4395 <!-- http://www.itu.int/oth/T020200003A/en -->
4396 <territory id="DJ" countryCode="253" internationalPrefix="00">
4397 <availableFormats>
4398 <!-- The number format here is suggested in the plan and used online,
4399 although the phone numbers of the national numbering authority itself on
4400 the plan do not follow this. -->
4401 <numberFormat pattern="(\d{2})(\d{2})(\d{2})">
4402 <format>$1 $2 $3</format>
4403 </numberFormat>
4404 </availableFormats>
4405 <generalDesc>
4406 <nationalNumberPattern>[1-8]\d{5}</nationalNumberPattern>
4407 <possibleNumberPattern>\d{6}</possibleNumberPattern>
4408 </generalDesc>
4409 <fixedLine>
4410 <!-- Includes "Numéro long CDMA fixe" numbers starting with the digit 5. -->
4411 <nationalNumberPattern>
4412 (?:
4413 1[05]|
4414 [2-5]\d
4415 )\d{4}
4416 </nationalNumberPattern>
4417 <exampleNumber>251234</exampleNumber>
4418 </fixedLine>
4419 <mobile>
4420 <nationalNumberPattern>[6-8]\d{5}</nationalNumberPattern>
4421 <exampleNumber>601234</exampleNumber>
4422 </mobile>
4423 </territory>
4424
4425 <!-- Denmark -->
4426 <!-- http://en.itst.dk/telecom-internet-regulation/numbering-issues/numberin g-lists -->
4427 <territory id="DK" countryCode="45" internationalPrefix="00">
4428 <availableFormats>
4429 <numberFormat pattern="([1-9]\d)(\d{2})(\d{2})(\d{2})">
4430 <format>$1 $2 $3 $4</format>
4431 </numberFormat>
4432 </availableFormats>
4433 <generalDesc>
4434 <nationalNumberPattern>[1-9]\d{7}</nationalNumberPattern>
4435 <possibleNumberPattern>\d{8}</possibleNumberPattern>
4436 </generalDesc>
4437 <fixedLine>
4438 <nationalNumberPattern>
4439 (?:
4440 3[2-9]|
4441 4[3-9]|
4442 5[4-9]|
4443 6[2-9]|
4444 7[02-9]|
4445 8[26-9]|
4446 9[6-9]
4447 )\d{6}
4448 </nationalNumberPattern>
4449 <exampleNumber>32123456</exampleNumber>
4450 </fixedLine>
4451 <mobile>
4452 <!-- There are some overlaps for some number prefixes - the plan says th at they are 'mainly'
4453 used for a certain type of number. -->
4454 <nationalNumberPattern>
4455 (?:
4456 2[0-9]|
4457 3[0-2]|
4458 4[0-2]|
4459 5[0-3]|
4460 6[01]|
4461 7[12]|
4462 81|
4463 99
4464 )\d{6}
4465 </nationalNumberPattern>
4466 <exampleNumber>20123456</exampleNumber>
4467 </mobile>
4468 <tollFree>
4469 <nationalNumberPattern>80\d{6}</nationalNumberPattern>
4470 <exampleNumber>80123456</exampleNumber>
4471 </tollFree>
4472 <premiumRate>
4473 <nationalNumberPattern>90\d{6}</nationalNumberPattern>
4474 <exampleNumber>90123456</exampleNumber>
4475 </premiumRate>
4476 </territory>
4477
4478 <!-- Dominica -->
4479 <!-- http://www.itu.int/oth/T020200003B/en -->
4480 <territory id="DM" countryCode="1" leadingDigits="767"
4481 nationalPrefix="1" internationalPrefix="011">
4482 <generalDesc>
4483 <!-- NANPA country - uses US formatting rules -->
4484 <nationalNumberPattern>[57-9]\d{9}</nationalNumberPattern>
4485 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
4486 </generalDesc>
4487 <fixedLine>
4488 <nationalNumberPattern>
4489 767(?:
4490 2(?:
4491 55|
4492 66
4493 )|
4494 4(?:
4495 2[01]|
4496 4[0-25-9]
4497 )|
4498 50[0-4]
4499 )\d{4}
4500 </nationalNumberPattern>
4501 <exampleNumber>7674201234</exampleNumber>
4502 </fixedLine>
4503 <mobile>
4504 <nationalNumberPattern>
4505 767(?:
4506 2(?:
4507 [2346]5|
4508 7[5-7]
4509 )|
4510 31[5-7]|
4511 61[4-6]
4512 )\d{4}
4513 </nationalNumberPattern>
4514 <possibleNumberPattern>\d{10}</possibleNumberPattern>
4515 <exampleNumber>7672251234</exampleNumber>
4516 </mobile>
4517 <tollFree>
4518 <nationalNumberPattern>
4519 8(?:
4520 00|
4521 55|
4522 66|
4523 77|
4524 88
4525 )[2-9]\d{6}
4526 </nationalNumberPattern>
4527 <possibleNumberPattern>\d{10}</possibleNumberPattern>
4528 <exampleNumber>8002123456</exampleNumber>
4529 </tollFree>
4530 <premiumRate>
4531 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
4532 <possibleNumberPattern>\d{10}</possibleNumberPattern>
4533 <exampleNumber>9002123456</exampleNumber>
4534 </premiumRate>
4535 <personalNumber>
4536 <!-- http://www.nanpa.com/pdf/PL_416.pdf -->
4537 <nationalNumberPattern>
4538 5(?:
4539 00|
4540 33|
4541 44
4542 )[2-9]\d{6}
4543 </nationalNumberPattern>
4544 <possibleNumberPattern>\d{10}</possibleNumberPattern>
4545 <exampleNumber>5002345678</exampleNumber>
4546 </personalNumber>
4547 </territory>
4548
4549 <!-- Dominican Rep. -->
4550 <!-- http://www.itu.int/oth/T020200003C/en -->
4551 <territory id="DO" countryCode="1" leadingDigits="8[024]9"
4552 nationalPrefix="1" internationalPrefix="011">
4553 <generalDesc>
4554 <!-- NANPA country - uses US formatting rules -->
4555 <nationalNumberPattern>[589]\d{9}</nationalNumberPattern>
4556 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
4557 </generalDesc>
4558 <fixedLine>
4559 <!-- We could be more detailed here, as the metadata contains informatio n about some of the
4560 mobile/fixed-line prefixes, but the data is incomplete, so we restr ict ourselves to a
4561 more generic rule for now. -->
4562 <nationalNumberPattern>8[024]9[2-9]\d{6}</nationalNumberPattern>
4563 <exampleNumber>8092345678</exampleNumber>
4564 </fixedLine>
4565 <mobile>
4566 <nationalNumberPattern>8[024]9[2-9]\d{6}</nationalNumberPattern>
4567 <exampleNumber>8092345678</exampleNumber>
4568 </mobile>
4569 <tollFree>
4570 <nationalNumberPattern>
4571 8(?:
4572 00|
4573 55|
4574 66|
4575 77|
4576 88
4577 )[2-9]\d{6}
4578 </nationalNumberPattern>
4579 <possibleNumberPattern>\d{10}</possibleNumberPattern>
4580 <exampleNumber>8002123456</exampleNumber>
4581 </tollFree>
4582 <premiumRate>
4583 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
4584 <possibleNumberPattern>\d{10}</possibleNumberPattern>
4585 <exampleNumber>9002123456</exampleNumber>
4586 </premiumRate>
4587 <personalNumber>
4588 <!-- http://www.nanpa.com/pdf/PL_416.pdf -->
4589 <nationalNumberPattern>
4590 5(?:
4591 00|
4592 33|
4593 44
4594 )[2-9]\d{6}
4595 </nationalNumberPattern>
4596 <possibleNumberPattern>\d{10}</possibleNumberPattern>
4597 <exampleNumber>5002345678</exampleNumber>
4598 </personalNumber>
4599 </territory>
4600
4601 <!-- Algeria -->
4602 <!-- http://www.itu.int/oth/T0202000003/en -->
4603 <!-- www.arpt.dz -->
4604 <territory id="DZ" countryCode="213" internationalPrefix="00"
4605 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
4606 <availableFormats>
4607 <!-- Formatting from www.pagesjaunes-dz.com. -->
4608 <numberFormat pattern="([1-4]\d)(\d{2})(\d{2})(\d{2})">
4609 <leadingDigits>[1-4]</leadingDigits>
4610 <format>$1 $2 $3 $4</format>
4611 </numberFormat>
4612 <numberFormat pattern="([5-8]\d{2})(\d{2})(\d{2})(\d{2})">
4613 <leadingDigits>[5-8]</leadingDigits>
4614 <format>$1 $2 $3 $4</format>
4615 </numberFormat>
4616 <numberFormat pattern="(9\d)(\d{3})(\d{2})(\d{2})">
4617 <leadingDigits>9</leadingDigits>
4618 <format>$1 $2 $3 $4</format>
4619 </numberFormat>
4620 </availableFormats>
4621 <generalDesc>
4622 <nationalNumberPattern>
4623 (?:
4624 [1-4]|
4625 [5-9]\d
4626 )\d{7}
4627 </nationalNumberPattern>
4628 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
4629 </generalDesc>
4630 <fixedLine>
4631 <!-- We include the VSAT lines here. -->
4632 <nationalNumberPattern>
4633 (?:
4634 1\d|
4635 2[014-79]|
4636 3[0-8]|
4637 4[0135689]
4638 )\d{6}|
4639 9619\d{5}
4640 </nationalNumberPattern>
4641 <exampleNumber>12345678</exampleNumber>
4642 </fixedLine>
4643 <mobile>
4644 <nationalNumberPattern>
4645 (?:
4646 5[56]|
4647 6[69]|
4648 7[79]
4649 )\d{7}
4650 </nationalNumberPattern>
4651 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4652 <exampleNumber>551234567</exampleNumber>
4653 </mobile>
4654 <tollFree>
4655 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
4656 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4657 <exampleNumber>800123456</exampleNumber>
4658 </tollFree>
4659 <premiumRate>
4660 <nationalNumberPattern>80[3-689]1\d{5}</nationalNumberPattern>
4661 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4662 <exampleNumber>808123456</exampleNumber>
4663 </premiumRate>
4664 <!-- The Algerian plan doesn't specify where the costs start to be conside red "premium", so we
4665 draw an arbitrary line here and say that from 50 Da up they will be c onsidered premium.
4666 -->
4667 <sharedCost>
4668 <nationalNumberPattern>80[12]1\d{5}</nationalNumberPattern>
4669 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4670 <exampleNumber>801123456</exampleNumber>
4671 </sharedCost>
4672 <voip>
4673 <nationalNumberPattern>98[23]\d{6}</nationalNumberPattern>
4674 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4675 <exampleNumber>983123456</exampleNumber>
4676 </voip>
4677 </territory>
4678
4679 <!-- Ecuador -->
4680 <!-- http://en.wikipedia.org/wiki/+593 -->
4681 <!-- http://www.conatel.gov.ec -->
4682 <!-- http://www.itu.int/oth/T020200003D/en -->
4683 <!-- A new plan has been prepared, but no implementation date has yet been s tated. -->
4684 <territory id="EC" countryCode="593" internationalPrefix="00"
4685 nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)">
4686 <availableFormats>
4687 <numberFormat pattern="(\d)(\d{3})(\d{4})">
4688 <leadingDigits>[2-7]</leadingDigits>
4689 <format>$1 $2-$3</format>
4690 </numberFormat>
4691 <intlNumberFormat pattern="(\d)(\d{3})(\d{4})">
4692 <leadingDigits>[2-7]</leadingDigits>
4693 <format>$1-$2-$3</format>
4694 </intlNumberFormat>
4695 <numberFormat pattern="(\d{2})(\d{3})(\d{3})"
4696 nationalPrefixFormattingRule="$NP$FG">
4697 <leadingDigits>[89]</leadingDigits>
4698 <format>$1 $2 $3</format>
4699 </numberFormat>
4700 <intlNumberFormat pattern="(\d{2})(\d{3})(\d{3})">
4701 <leadingDigits>[89]</leadingDigits>
4702 <format>$1 $2 $3</format>
4703 </intlNumberFormat>
4704 <numberFormat pattern="(1800)(\d{3})(\d{3,4})"
4705 nationalPrefixFormattingRule="$FG">
4706 <leadingDigits>1</leadingDigits>
4707 <format>$1 $2 $3</format>
4708 </numberFormat>
4709 <intlNumberFormat pattern="(1800)(\d{3})(\d{3,4})">
4710 <leadingDigits>1</leadingDigits>
4711 <format>$1 $2 $3</format>
4712 </intlNumberFormat>
4713 </availableFormats>
4714 <generalDesc>
4715 <nationalNumberPattern>[2-9]\d{7}|1\d{9,10}</nationalNumberPattern>
4716 <possibleNumberPattern>\d{7,11}</possibleNumberPattern>
4717 </generalDesc>
4718 <fixedLine>
4719 <nationalNumberPattern>[2-7][2-7]\d{6}</nationalNumberPattern>
4720 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
4721 <exampleNumber>22123456</exampleNumber>
4722 </fixedLine>
4723 <mobile>
4724 <nationalNumberPattern>[89]\d{7}</nationalNumberPattern>
4725 <possibleNumberPattern>\d{8}</possibleNumberPattern>
4726 <exampleNumber>99123456</exampleNumber>
4727 </mobile>
4728 <tollFree>
4729 <nationalNumberPattern>1800\d{6,7}</nationalNumberPattern>
4730 <possibleNumberPattern>\d{10,11}</possibleNumberPattern>
4731 <exampleNumber>18001234567</exampleNumber>
4732 </tollFree>
4733 </territory>
4734
4735 <!-- Estonia -->
4736 <!-- http://www.itu.int/oth/T0202000043/en -->
4737 <!-- http://www.tja.ee/public/Legislation_side/Numbering_/Estonian_NP_eng.ht m -->
4738 <territory id="EE" countryCode="372" internationalPrefix="00">
4739 <availableFormats>
4740 <numberFormat pattern="([34-79]\d{2})(\d{4})">
4741 <leadingDigits>
4742 [369]|
4743 4[3-8]|
4744 5(?:
4745 [0-2]|
4746 5[0-478]|
4747 6[45]
4748 )|
4749 7[1-9]
4750 </leadingDigits>
4751 <leadingDigits>
4752 [369]|
4753 4[3-8]|
4754 5(?:
4755 [02]|
4756 1(?:
4757 [0-8]|
4758 95
4759 )|
4760 5[0-478]|
4761 6(?:
4762 4[0-4]|
4763 5[1-589]
4764 )
4765 )|
4766 7[1-9]
4767 </leadingDigits>
4768 <format>$1 $2</format>
4769 </numberFormat>
4770 <numberFormat pattern="(70)(\d{2})(\d{4})">
4771 <leadingDigits>70</leadingDigits>
4772 <format>$1 $2 $3</format>
4773 </numberFormat>
4774 <numberFormat pattern="(8000)(\d{3})(\d{3})">
4775 <leadingDigits>800</leadingDigits>
4776 <leadingDigits>8000</leadingDigits>
4777 <format>$1 $2 $3</format>
4778 </numberFormat>
4779 <numberFormat pattern="([458]\d{3})(\d{3,4})">
4780 <leadingDigits>
4781 40|
4782 5|
4783 8(?:
4784 00|
4785 [1-5]
4786 )
4787 </leadingDigits>
4788 <leadingDigits>
4789 40|
4790 5|
4791 8(?:
4792 00[1-9]|
4793 [1-5]
4794 )
4795 </leadingDigits>
4796 <format>$1 $2</format>
4797 </numberFormat>
4798 </availableFormats>
4799 <generalDesc>
4800 <nationalNumberPattern>
4801 [3-9]\d{6,7}|
4802 800\d{6,7}
4803 </nationalNumberPattern>
4804 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
4805 </generalDesc>
4806 <noInternationalDialling>
4807 <nationalNumberPattern>800[2-9]\d{3}</nationalNumberPattern>
4808 <possibleNumberPattern>\d{7}</possibleNumberPattern>
4809 <exampleNumber>8002123</exampleNumber>
4810 </noInternationalDialling>
4811 <fixedLine>
4812 <!-- Supporting eFax numbers here as well. -->
4813 <nationalNumberPattern>
4814 (?:
4815 3[23589]|
4816 4(?:
4817 0\d|
4818 [3-8]
4819 )|
4820 6\d|
4821 7[1-9]|
4822 88
4823 )\d{5}
4824 </nationalNumberPattern>
4825 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
4826 <exampleNumber>3212345</exampleNumber>
4827 </fixedLine>
4828 <mobile>
4829 <!-- 7 digit mobile numbers currently in use with special prefixes are p reserved - new
4830 numbers are 8 digits. -->
4831 <nationalNumberPattern>
4832 (?:
4833 5\d|
4834 8[1-5]
4835 )\d{6}|
4836 5(?:
4837 [02]\d{2}|
4838 1(?:
4839 [0-8]\d|
4840 95
4841 )|
4842 5[0-478]\d|
4843 64[0-4]|
4844 65[1-589]
4845 )\d{3}
4846 </nationalNumberPattern>
4847 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
4848 <exampleNumber>51234567</exampleNumber>
4849 </mobile>
4850 <tollFree>
4851 <nationalNumberPattern>
4852 800(?:
4853 0\d{3}|
4854 1\d|
4855 [2-9]
4856 )\d{3}
4857 </nationalNumberPattern>
4858 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
4859 <exampleNumber>80012345</exampleNumber>
4860 </tollFree>
4861 <premiumRate>
4862 <nationalNumberPattern>900\d{4}</nationalNumberPattern>
4863 <possibleNumberPattern>\d{7}</possibleNumberPattern>
4864 <exampleNumber>9001234</exampleNumber>
4865 </premiumRate>
4866 <personalNumber>
4867 <nationalNumberPattern>70[0-2]\d{5}</nationalNumberPattern>
4868 <possibleNumberPattern>\d{8}</possibleNumberPattern>
4869 <exampleNumber>70012345</exampleNumber>
4870 </personalNumber>
4871 <shortCode>
4872 <nationalNumberPattern>1[1-9]\d</nationalNumberPattern>
4873 <possibleNumberPattern>\d{3}</possibleNumberPattern>
4874 <exampleNumber>112</exampleNumber>
4875 </shortCode>
4876 </territory>
4877
4878 <!-- Egypt -->
4879 <!-- http://www.itu.int/dms_pub/itu-t/oth/02/02/T020200003E0001MSWE.doc -->
4880 <territory id="EG" countryCode="20" internationalPrefix="00"
4881 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
4882 <availableFormats>
4883 <!-- Note that no explicit formatting rule is here for 5-digit numbers starting with a 16
4884 or 19. These are formatted without national prefix, as a block, so do not need to be
4885 listed here. -->
4886 <numberFormat pattern="(\d)(\d{7,8})">
4887 <leadingDigits>[23]</leadingDigits>
4888 <format>$1 $2</format>
4889 </numberFormat>
4890 <numberFormat pattern="(\d{2})(\d{7})">
4891 <leadingDigits>
4892 [14-6]|
4893 [89][2-9]
4894 </leadingDigits>
4895 <format>$1 $2</format>
4896 </numberFormat>
4897 <numberFormat pattern="([89]00)(\d{3})(\d{4})">
4898 <leadingDigits>[89]00</leadingDigits>
4899 <format>$1 $2 $3</format>
4900 </numberFormat>
4901 </availableFormats>
4902 <generalDesc>
4903 <nationalNumberPattern>
4904 1\d{4,9}|
4905 [2-689]\d{7,9}
4906 </nationalNumberPattern>
4907 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
4908 </generalDesc>
4909 <fixedLine>
4910 <!-- Short numbers used for businesses (starting with 16 or 19) are cove red here. -->
4911 <nationalNumberPattern>
4912 (?:
4913 1[35][23]|
4914 2[23]\d|
4915 3\d|
4916 4(?:
4917 0[2-4]|
4918 [578][23]|
4919 64
4920 )|
4921 5(?:
4922 0[234]|
4923 [57][23]
4924 )|
4925 6[24-689]3|
4926 8(?:
4927 [28][2-4]|
4928 42|
4929 6[23]
4930 )|
4931 9(?:
4932 [25]2|
4933 3[24]|
4934 6[23]|
4935 7[2-4]
4936 )
4937 )\d{6}|
4938 1[69]\d{3}
4939 </nationalNumberPattern>
4940 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
4941 <exampleNumber>234567890</exampleNumber>
4942 </fixedLine>
4943 <mobile>
4944 <nationalNumberPattern>1[0-246-9]\d{7}</nationalNumberPattern>
4945 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4946 <exampleNumber>101234567</exampleNumber>
4947 </mobile>
4948 <tollFree>
4949 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
4950 <possibleNumberPattern>\d{10}</possibleNumberPattern>
4951 <exampleNumber>8001234567</exampleNumber>
4952 </tollFree>
4953 <premiumRate>
4954 <nationalNumberPattern>900\d{7}</nationalNumberPattern>
4955 <possibleNumberPattern>\d{10}</possibleNumberPattern>
4956 <exampleNumber>9001234567</exampleNumber>
4957 </premiumRate>
4958 </territory>
4959
4960 <!-- Eritrea -->
4961 <!-- http://www.itu.int/oth/T0202000042/en -->
4962 <territory id="ER" countryCode="291" internationalPrefix="00"
4963 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
4964 <availableFormats>
4965 <numberFormat pattern="(\d)(\d{3})(\d{3})">
4966 <format>$1 $2 $3</format>
4967 </numberFormat>
4968 </availableFormats>
4969 <generalDesc>
4970 <nationalNumberPattern>[178]\d{6}</nationalNumberPattern>
4971 <possibleNumberPattern>\d{6,7}</possibleNumberPattern>
4972 </generalDesc>
4973 <fixedLine>
4974 <nationalNumberPattern>
4975 1(?:
4976 1[12568]|
4977 20|
4978 40|
4979 55|
4980 6[146]
4981 )\d{4}|
4982 8\d{6}
4983 </nationalNumberPattern>
4984 <exampleNumber>8370362</exampleNumber><!-- Test number from plan. -->
4985 </fixedLine>
4986 <mobile>
4987 <!-- It is unclear in the plan whether the 07 mobile prefix superseded t he previous 017[1-3]
4988 numbers or was in addition to them, so we support both here. -->
4989 <nationalNumberPattern>
4990 17[1-3]\d{4}|
4991 7\d{6}
4992 </nationalNumberPattern>
4993 <possibleNumberPattern>\d{7}</possibleNumberPattern>
4994 <exampleNumber>7123456</exampleNumber>
4995 </mobile>
4996 </territory>
4997
4998 <!-- Spain -->
4999 <!-- http://www.mityc.es/telecomunicaciones/es-ES/Servicios/Numeracion/Pagin as/Plan.aspx -->
5000 <territory id="ES" countryCode="34" internationalPrefix="00">
5001 <availableFormats>
5002 <numberFormat pattern="([5-9]\d{2})(\d{2})(\d{2})(\d{2})">
5003 <format>$1 $2 $3 $4</format>
5004 </numberFormat>
5005 </availableFormats>
5006 <generalDesc>
5007 <nationalNumberPattern>[5-9]\d{8}</nationalNumberPattern>
5008 <possibleNumberPattern>\d{9}</possibleNumberPattern>
5009 </generalDesc>
5010 <fixedLine>
5011 <nationalNumberPattern>[89][1-8]\d{7}</nationalNumberPattern>
5012 <exampleNumber>812345678</exampleNumber>
5013 </fixedLine>
5014 <mobile>
5015 <nationalNumberPattern>6\d{8}</nationalNumberPattern>
5016 <exampleNumber>612345678</exampleNumber>
5017 </mobile>
5018 <tollFree>
5019 <nationalNumberPattern>[89]00\d{6}</nationalNumberPattern>
5020 <exampleNumber>800123456</exampleNumber>
5021 </tollFree>
5022 <premiumRate>
5023 <nationalNumberPattern>80[367]\d{6}</nationalNumberPattern>
5024 <exampleNumber>803123456</exampleNumber>
5025 </premiumRate>
5026 <sharedCost>
5027 <nationalNumberPattern>90[12]\d{6}</nationalNumberPattern>
5028 <exampleNumber>901123456</exampleNumber>
5029 </sharedCost>
5030 <personalNumber>
5031 <nationalNumberPattern>70\d{7}</nationalNumberPattern>
5032 <exampleNumber>701234567</exampleNumber>
5033 </personalNumber>
5034 <!-- Modelling non-geographic nomadic numbers as UAN. -->
5035 <uan>
5036 <nationalNumberPattern>51\d{7}</nationalNumberPattern>
5037 <exampleNumber>511234567</exampleNumber>
5038 </uan>
5039 </territory>
5040
5041 <!-- Ethiopia -->
5042 <!-- http://www.itu.int/oth/T0202000044/en -->
5043 <territory id="ET" countryCode="251" internationalPrefix="00"
5044 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
5045 <availableFormats>
5046 <numberFormat pattern="([1-59]\d)(\d{3})(\d{4})">
5047 <format>$1 $2 $3</format>
5048 </numberFormat>
5049 </availableFormats>
5050 <generalDesc>
5051 <nationalNumberPattern>[1-59]\d{8}</nationalNumberPattern>
5052 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
5053 </generalDesc>
5054 <fixedLine>
5055 <nationalNumberPattern>
5056 (?:
5057 11(?:
5058 1(?:
5059 1[124]|
5060 2[2-57]|
5061 3[1-5]|
5062 5[5-8]|
5063 8[6-8]
5064 )|
5065 2(?:
5066 13|
5067 3[6-8]|
5068 5[89]|
5069 7[05-9]|
5070 8[2-6]
5071 )|
5072 3(?:
5073 2[01]|
5074 3[0-289]|
5075 4[1289]|
5076 7[1-4]|
5077 87
5078 )|
5079 4(?:
5080 1[69]|
5081 3[2-49]|
5082 4[0-23]|
5083 6[5-8]
5084 )|
5085 5(?:
5086 1[57]|
5087 44|
5088 5[0-4]
5089 )|
5090 6(?:
5091 18|
5092 2[69]|
5093 4[5-7]|
5094 5[1-5]|
5095 6[0-59]|
5096 8[015-8]
5097 )
5098 )|
5099 2(?:
5100 2(?:
5101 11[1-9]|
5102 22[0-7]|
5103 33\d|
5104 44[1467]|
5105 66[1-68]
5106 )|
5107 5(?:
5108 11[124-6]|
5109 33[2-8]|
5110 44[1467]|
5111 55[14]|
5112 66[1-3679]|
5113 77[124-79]|
5114 880
5115 )
5116 )|
5117 3(?:
5118 3(?:
5119 11[0-46-8]|
5120 22[0-6]|
5121 33[0134689]|
5122 44[04]|
5123 55[0-6]|
5124 66[01467]
5125 )|
5126 4(?:
5127 44[0-8]|
5128 55[0-69]|
5129 66[0-3]|
5130 77[1-5]
5131 )
5132 )|
5133 4(?:
5134 6(?:
5135 22[0-24-7]|
5136 33[1-5]|
5137 44[13-69]|
5138 55[14-689]|
5139 660|
5140 88[1-4]
5141 )|
5142 7(?:
5143 11[1-9]|
5144 22[1-9]|
5145 33[13-7]|
5146 44[13-6]|
5147 55[1-689]
5148 )
5149 )|
5150 5(?:
5151 7(?:
5152 227|
5153 55[05]|
5154 (?:
5155 66|
5156 77
5157 )[14-8]
5158 )|
5159 8(?:
5160 11[149]|
5161 22[013-79]|
5162 33[0-68]|
5163 44[013-8]|
5164 550|
5165 66[1-5]|
5166 77\d
5167 )
5168 )
5169 )\d{4}
5170 </nationalNumberPattern>
5171 <exampleNumber>111112345</exampleNumber>
5172 </fixedLine>
5173 <mobile>
5174 <!-- The data here is not regularly updated by the Ethiopian authorities , and many more
5175 numbers are visible online than are reported in the ITU document. T his pattern is
5176 therefore somewhat more relaxed than in the ITU document. -->
5177 <nationalNumberPattern>91[0-8]\d{6}</nationalNumberPattern>
5178 <possibleNumberPattern>\d{9}</possibleNumberPattern>
5179 <exampleNumber>911234567</exampleNumber>
5180 </mobile>
5181 </territory>
5182
5183 <!-- Finland -->
5184 <!-- http://www.ficora.fi/en/index/palvelut/palvelutaiheittain/numerointi/nu merotyypitjaalueet.html -->
5185 <territory id="FI" countryCode="358" internationalPrefix="00|99[049]"
5186 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
5187 <availableFormats>
5188 <numberFormat pattern="(\d{2})(\d{4,10})">
5189 <leadingDigits>
5190 2[09]|
5191 [14]|
5192 50|
5193 7[135]
5194 </leadingDigits>
5195 <format>$1 $2</format>
5196 </numberFormat>
5197 <numberFormat pattern="(\d)(\d{4,11})">
5198 <leadingDigits>
5199 [25689][1-8]|
5200 3
5201 </leadingDigits>
5202 <format>$1 $2</format>
5203 </numberFormat>
5204 <numberFormat pattern="([6-8]00)(\d{4,7})">
5205 <leadingDigits>[6-8]0</leadingDigits>
5206 <format>$1 $2</format>
5207 </numberFormat>
5208 </availableFormats>
5209 <generalDesc>
5210 <nationalNumberPattern>
5211 1\d{4,11}|
5212 [2-9]\d{4,10}
5213 </nationalNumberPattern>
5214 <possibleNumberPattern>\d{5,12}</possibleNumberPattern>
5215 </generalDesc>
5216 <fixedLine>
5217 <!-- This is limited to geographic numbers - non-geographic nationwide
5218 subscriber numbers are listed under UAN. -->
5219 <nationalNumberPattern>
5220 1(?:
5221 [35689][1-8]\d{3,9}|
5222 [47]\d{5,10}
5223 )|
5224 2[1-8]\d{3,9}|
5225 3(?:
5226 [1-8]\d{3,9}|
5227 9\d{4,8}
5228 )|
5229 [5689][1-8]\d{3,9}|
5230 </nationalNumberPattern>
5231 <exampleNumber>1312345678</exampleNumber>
5232 </fixedLine>
5233 <mobile>
5234 <nationalNumberPattern>
5235 4\d{5,10}|
5236 50\d{4,8}
5237 </nationalNumberPattern>
5238 <possibleNumberPattern>\d{6,11}</possibleNumberPattern>
5239 <exampleNumber>412345678</exampleNumber>
5240 </mobile>
5241 <tollFree>
5242 <nationalNumberPattern>800\d{4,7}</nationalNumberPattern>
5243 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
5244 <exampleNumber>8001234567</exampleNumber>
5245 </tollFree>
5246 <premiumRate>
5247 <nationalNumberPattern>[67]00\d{5,6}</nationalNumberPattern>
5248 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
5249 <exampleNumber>600123456</exampleNumber>
5250 </premiumRate>
5251 <uan>
5252 <nationalNumberPattern>
5253 10[1-9]\d{3,7}|
5254 2(?:
5255 0(?:
5256 [16-8]\d{3,7}|
5257 2[14-9]\d{1,6}|
5258 [3-5]\d{2,7}|
5259 9[0-7]\d{1,6}
5260 )|
5261 9\d{4,8}
5262 )|
5263 30[1-9]\d{3,7}|
5264 7(?:
5265 1\d{7}|
5266 3\d{8}|
5267 5[03-9]\d{2,7}
5268 )
5269 </nationalNumberPattern>
5270 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
5271 <exampleNumber>10112345</exampleNumber>
5272 </uan>
5273 </territory>
5274
5275 <!-- Fiji -->
5276 <!-- http://www.itu.int/oth/T0202000048/en -->
5277 <!-- www.tfl.com.fj -->
5278 <territory id="FJ" countryCode="679" internationalPrefix="0(?:0|52)"
5279 preferredInternationalPrefix="00" leadingZeroPossible="true">
5280 <availableFormats>
5281 <numberFormat pattern="(\d{3})(\d{4})">
5282 <leadingDigits>[36-9]</leadingDigits>
5283 <format>$1 $2</format>
5284 </numberFormat>
5285 <numberFormat pattern="(\d{4})(\d{3})(\d{4})">
5286 <leadingDigits>0</leadingDigits>
5287 <format>$1 $2 $3</format>
5288 </numberFormat>
5289 </availableFormats>
5290 <generalDesc>
5291 <nationalNumberPattern>
5292 [36-9]\d{6}|
5293 0\d{10}
5294 </nationalNumberPattern>
5295 <possibleNumberPattern>\d{7}(?:\d{4})?</possibleNumberPattern>
5296 </generalDesc>
5297 <fixedLine>
5298 <!-- Adding the prefixes 30X, 31X and 62X, since numbers with these pref ixes have been found
5299 online, including in the white pages. 35X and 85X were found in the exchanges listed on
5300 www.tfl.com.fj. -->
5301 <nationalNumberPattern>
5302 (?:
5303 3[0-5]|
5304 6[25-7]|
5305 8[58]
5306 )\d{5}
5307 </nationalNumberPattern>
5308 <possibleNumberPattern>\d{7}</possibleNumberPattern>
5309 <exampleNumber>3212345</exampleNumber>
5310 </fixedLine>
5311 <mobile>
5312 <nationalNumberPattern>
5313 (?:
5314 7[0-4]|
5315 9[29]
5316 )\d{5}
5317 </nationalNumberPattern>
5318 <possibleNumberPattern>\d{7}</possibleNumberPattern>
5319 <exampleNumber>7012345</exampleNumber>
5320 </mobile>
5321 <tollFree>
5322 <!-- Information found on www.tfl.com.fj. It is not clear if these are i nternationally
5323 diallable, or if so, how. -->
5324 <nationalNumberPattern>0800\d{7}</nationalNumberPattern>
5325 <possibleNumberPattern>\d{11}</possibleNumberPattern>
5326 <exampleNumber>08001234567</exampleNumber>
5327 </tollFree>
5328 <shortCode>
5329 <!-- From the Emergency Numbers page on the Telecom Fiji website. -->
5330 <nationalNumberPattern>
5331 0(?:
5332 04|
5333 1[34]|
5334 8[1-4]
5335 )|
5336 1(?:
5337 0[1-3]|
5338 [25]9
5339 )|
5340 2[289]|
5341 30|
5342 [45]4|
5343 75|
5344 91[137]
5345 </nationalNumberPattern>
5346 <possibleNumberPattern>\d{2,3}</possibleNumberPattern>
5347 <exampleNumber>22</exampleNumber>
5348 </shortCode>
5349 </territory>
5350
5351 <!-- Falkland Islands (Malvinas) -->
5352 <!-- http://www.itu.int/oth/T0202000046/en -->
5353 <territory id="FK" countryCode="500" internationalPrefix="00">
5354 <!-- All numbers are formatted together, as a block. -->
5355 <generalDesc>
5356 <nationalNumberPattern>[2-7]\d{4}</nationalNumberPattern>
5357 <possibleNumberPattern>\d{5}</possibleNumberPattern>
5358 </generalDesc>
5359 <fixedLine>
5360 <nationalNumberPattern>[2-47]\d{4}</nationalNumberPattern>
5361 <exampleNumber>31234</exampleNumber>
5362 </fixedLine>
5363 <mobile>
5364 <nationalNumberPattern>[56]\d{4}</nationalNumberPattern>
5365 <exampleNumber>51234</exampleNumber>
5366 </mobile>
5367 <shortCode>
5368 <!-- Service numbers use 3 digit short codes -->
5369 <nationalNumberPattern>
5370 1\d{2}|
5371 999
5372 </nationalNumberPattern>
5373 <exampleNumber>123</exampleNumber>
5374 </shortCode>
5375 </territory>
5376
5377 <!-- Micronesia, Federated States of -->
5378 <!-- http://www.itu.int/oth/T020200008B/en -->
5379 <territory id="FM" countryCode="691" internationalPrefix="00">
5380 <availableFormats>
5381 <numberFormat pattern="(\d{3})(\d{4})">
5382 <format>$1 $2</format>
5383 </numberFormat>
5384 </availableFormats>
5385 <generalDesc>
5386 <nationalNumberPattern>[39]\d{6}</nationalNumberPattern>
5387 <possibleNumberPattern>\d{7}</possibleNumberPattern>
5388 </generalDesc>
5389 <fixedLine>
5390 <nationalNumberPattern>
5391 3[2357]0[1-9]\d{3}|
5392 9[2-6]\d{5}
5393 </nationalNumberPattern>
5394 <exampleNumber>3201234</exampleNumber>
5395 </fixedLine>
5396 <mobile>
5397 <!-- Note that most ranges are used for both fixed and mobile but number s starting with 970
5398 are exclusively mobile. -->
5399 <nationalNumberPattern>
5400 3[2357]0[1-9]\d{3}|
5401 9[2-7]\d{5}
5402 </nationalNumberPattern>
5403 <exampleNumber>3501234</exampleNumber>
5404 </mobile>
5405 </territory>
5406
5407 <!-- Faroe Islands -->
5408 <!-- http://www.itu.int/oth/T0202000047/en -->
5409 <territory id="FO" countryCode="298" internationalPrefix="00"
5410 nationalPrefixForParsing="(10(?:01|[12]0|88))"
5411 carrierCodeFormattingRule="$CC $FG">
5412 <!-- All numbers are formatted together, as a block. -->
5413 <availableFormats>
5414 <numberFormat pattern="(\d{6})">
5415 <format>$1</format>
5416 </numberFormat>
5417 </availableFormats>
5418 <generalDesc>
5419 <nationalNumberPattern>[2-9]\d{5}</nationalNumberPattern>
5420 <possibleNumberPattern>\d{6}</possibleNumberPattern>
5421 </generalDesc>
5422 <fixedLine>
5423 <nationalNumberPattern>
5424 (?:
5425 20|
5426 [3-4]\d|
5427 8[19]
5428 )\d{4}
5429 </nationalNumberPattern>
5430 <exampleNumber>201234</exampleNumber>
5431 </fixedLine>
5432 <mobile>
5433 <nationalNumberPattern>
5434 (?:
5435 2[1-9]|
5436 5\d|
5437 7[1-79]
5438 )\d{4}
5439 </nationalNumberPattern>
5440 <exampleNumber>211234</exampleNumber>
5441 </mobile>
5442 <tollFree>
5443 <nationalNumberPattern>80[257-9]\d{3}</nationalNumberPattern>
5444 <exampleNumber>802123</exampleNumber>
5445 </tollFree>
5446 <premiumRate>
5447 <nationalNumberPattern>
5448 90(?:
5449 [1345][15-7]|
5450 2[125-7]|
5451 99
5452 )\d{2}
5453 </nationalNumberPattern>
5454 <exampleNumber>901123</exampleNumber>
5455 </premiumRate>
5456 <voip>
5457 <nationalNumberPattern>
5458 (?:
5459 6[0-36]|
5460 88
5461 )\d{4}
5462 </nationalNumberPattern>
5463 <exampleNumber>601234</exampleNumber>
5464 </voip>
5465 <shortCode>
5466 <!-- Includes special numbers, special services and universal services. -->
5467 <nationalNumberPattern>
5468 1(?:
5469 1[248]|
5470 4[124]\d|
5471 71\d|
5472 8[7-9]\d
5473 )
5474 </nationalNumberPattern>
5475 <possibleNumberPattern>\d{3,4}</possibleNumberPattern>
5476 <exampleNumber>211234</exampleNumber>
5477 </shortCode>
5478 </territory>
5479
5480 <!-- France -->
5481 <!-- http://www.itu.int/dms_pub/itu-t/oth/02/02/T020200004A0001MSWE.doc -->
5482 <!-- http://www.arcep.fr/index.php?id=8146 -->
5483 <!-- http://en.wikipedia.org/wiki/%2B33 -->
5484 <territory id="FR" countryCode="33" internationalPrefix="[04579]0"
5485 preferredInternationalPrefix="00"
5486 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
5487 <availableFormats>
5488 <numberFormat pattern="([1-79])(\d{2})(\d{2})(\d{2})(\d{2})">
5489 <leadingDigits>[1-79]</leadingDigits>
5490 <format>$1 $2 $3 $4 $5</format>
5491 </numberFormat>
5492 <numberFormat nationalPrefixFormattingRule="$NP $FG"
5493 pattern="(8\d{2})(\d{2})(\d{2})(\d{2})">
5494 <leadingDigits>8</leadingDigits>
5495 <format>$1 $2 $3 $4</format>
5496 </numberFormat>
5497 </availableFormats>
5498 <generalDesc>
5499 <nationalNumberPattern>[1-9]\d{8}</nationalNumberPattern>
5500 <possibleNumberPattern>\d{9}</possibleNumberPattern>
5501 </generalDesc>
5502 <fixedLine>
5503 <nationalNumberPattern>[1-5]\d{8}</nationalNumberPattern>
5504 <exampleNumber>123456789</exampleNumber>
5505 </fixedLine>
5506 <mobile>
5507 <nationalNumberPattern>
5508 6\d{8}|
5509 7[5-9]\d{7}
5510 </nationalNumberPattern>
5511 <exampleNumber>612345678</exampleNumber>
5512 </mobile>
5513 <tollFree>
5514 <nationalNumberPattern>80\d{7}</nationalNumberPattern>
5515 <exampleNumber>801234567</exampleNumber>
5516 </tollFree>
5517 <premiumRate>
5518 <nationalNumberPattern>89[1-37-9]\d{6}</nationalNumberPattern>
5519 <exampleNumber>891123456</exampleNumber>
5520 </premiumRate>
5521 <sharedCost>
5522 <nationalNumberPattern>
5523 8(?:
5524 1[019]|
5525 2[0156]|
5526 84|
5527 90
5528 )\d{6}
5529 </nationalNumberPattern>
5530 <exampleNumber>810123456</exampleNumber>
5531 </sharedCost>
5532 <voip>
5533 <nationalNumberPattern>9\d{8}</nationalNumberPattern>
5534 <exampleNumber>912345678</exampleNumber>
5535 </voip>
5536 </territory>
5537
5538 <!-- Gabon -->
5539 <!-- http://www.itu.int/oth/T020200004E/en -->
5540 <territory id="GA" countryCode="241" internationalPrefix="00" leadingZeroPos sible="true">
5541 <availableFormats>
5542 <numberFormat pattern="(\d{2})(\d{2})(\d{2})">
5543 <leadingDigits>[4-9]</leadingDigits>
5544 <format>$1 $2 $3</format>
5545 </numberFormat>
5546 <numberFormat pattern="(0\d)(\d{2})(\d{2})(\d{2})">
5547 <leadingDigits>0</leadingDigits>
5548 <format>$1 $2 $3 $4</format>
5549 </numberFormat>
5550 </availableFormats>
5551 <generalDesc>
5552 <nationalNumberPattern>
5553 [4-9]\d{5}|
5554 0\d{7}
5555 </nationalNumberPattern>
5556 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
5557 </generalDesc>
5558 <fixedLine>
5559 <nationalNumberPattern>
5560 (?:
5561 4(?:
5562 [04-8]\d|
5563 2[04]
5564 )|
5565 (?:
5566 5[04-689]|
5567 6[024-9]|
5568 7\d|
5569 8[236]|
5570 9[02368]
5571 )\d
5572 )\d{3}
5573 </nationalNumberPattern>
5574 <possibleNumberPattern>\d{6}</possibleNumberPattern>
5575 <exampleNumber>441234</exampleNumber>
5576 </fixedLine>
5577 <!-- The leading zero here is supposed to be temporary - at a later date,
5578 Gabon intends to have a 0 as their national prefix for all numbers
5579 instead. -->
5580 <!-- http://www.wtng.info/wtng-241-ga.html was used as the basis for the a cceptable prefixes,
5581 with some supplementary prefixes added from internet research. There is supposedly a
5582 resource on mobile prefixes on the Gabon Telecom website, but the sit e (www.ogooue.ga)
5583 doesn't seem to work and no alternative can be found. Extra prefixes added: 07 12, 07 13,
5584 06 71, 07 33, 07 [67]\d -->
5585 <mobile>
5586 <nationalNumberPattern>
5587 0(?:
5588 5(?:
5589 0[89]|
5590 3[0-4]|
5591 8[0-26]|
5592 9[238]
5593 )|
5594 6(?:
5595 0[3-7]|
5596 1[01]|
5597 2[0-7]|
5598 6[0-589]|
5599 71|
5600 83|
5601 9[57]
5602 )|
5603 7(?:
5604 1[2-5]|
5605 2[89]|
5606 3[35-9]|
5607 4[01]|
5608 5[0-347-9]|
5609 [67]\d|
5610 8[457-9]|
5611 9[0146]
5612 )
5613 )\d{4}
5614 </nationalNumberPattern>
5615 <possibleNumberPattern>\d{8}</possibleNumberPattern>
5616 <exampleNumber>06031234</exampleNumber>
5617 </mobile>
5618 </territory>
5619
5620 <!-- United Kingdom -->
5621 <!-- http://stakeholders.ofcom.org.uk/telecoms/numbering/ -->
5622 <!-- http://en.wikipedia.org/wiki/List_of_United_Kingdom_dialling_codes -->
5623 <!-- http://www.numberingplans.com/?page=dialling&sub=areacodes&ac=GB -->
5624 <!-- Note that this excludes Isle of Man, Jersey and Guernsey prefixes for t he purposes of
5625 validation, although the formatting rules are shared. -->
5626 <territory id="GB" countryCode="44" internationalPrefix="00"
5627 nationalPrefix="0" preferredExtnPrefix=" x" nationalPrefixFormatt ingRule="$NP$FG"
5628 mainCountryForCode="true">
5629 <availableFormats>
5630 <!-- 2d, 55, 56, 70, 76 with 10 digits. -->
5631 <numberFormat pattern="(\d{2})(\d{4})(\d{4})">
5632 <leadingDigits>
5633 2|
5634 5[56]|
5635 7[06]
5636 </leadingDigits>
5637 <format>$1 $2 $3</format>
5638 </numberFormat>
5639 <!-- 11d, 1d1, 3dd, 9dd with 10 digits. -->
5640 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
5641 <leadingDigits>
5642 1(?:
5643 1|
5644 \d1
5645 )|
5646 3|
5647 9[018]
5648 </leadingDigits>
5649 <format>$1 $2 $3</format>
5650 </numberFormat>
5651 <!-- 1dddd with 9 or 10 digits.
5652 These area codes are very rare in GB, and are only available in the following places:
5653 13873(Langholm), 15242(Hornby), 15394(Hawkshead), 15395(Grange-over -Sands),
5654 15396(Sedbergh), 16973(Wigton), 16974(Raughton Head), 16977(Brampto n),
5655 17683(Appleby), 17684(Pooley Bridge), 17687(Keswick), 19467(Gosfort h). -->
5656 <numberFormat pattern="(\d{5})(\d{4,5})">
5657 <leadingDigits>
5658 1(?:
5659 38|
5660 5[23]|
5661 69|
5662 76|
5663 94
5664 )
5665 </leadingDigits>
5666 <leadingDigits>
5667 1(?:
5668 387|
5669 5(?:
5670 24|
5671 39
5672 )|
5673 697|
5674 768|
5675 946
5676 )
5677 </leadingDigits>
5678 <leadingDigits>
5679 1(?:
5680 3873|
5681 5(?:
5682 242|
5683 39[456]
5684 )|
5685 697[347]|
5686 768[347]|
5687 9467
5688 )
5689 </leadingDigits>
5690 <format>$1 $2</format>
5691 </numberFormat>
5692 <!-- 1ddd with 9 or 10 digits. -->
5693 <numberFormat pattern="(1\d{3})(\d{5,6})">
5694 <leadingDigits>1</leadingDigits>
5695 <format>$1 $2</format>
5696 </numberFormat>
5697 <!-- 7ddd (not 70, 76) with 10 digits. -->
5698 <numberFormat pattern="(7\d{3})(\d{6})">
5699 <leadingDigits>7[1-5789]</leadingDigits>
5700 <format>$1 $2</format>
5701 </numberFormat>
5702 <!-- 800 1111 : UK ChildLine. -->
5703 <numberFormat pattern="(800)(\d{4})">
5704 <leadingDigits>800</leadingDigits>
5705 <leadingDigits>8001</leadingDigits>
5706 <leadingDigits>80011</leadingDigits>
5707 <leadingDigits>800111</leadingDigits>
5708 <leadingDigits>8001111</leadingDigits>
5709 <format>$1 $2</format>
5710 </numberFormat>
5711 <!-- 845 46 47 : UK NHS Direct. -->
5712 <numberFormat pattern="(845)(46)(4\d)">
5713 <leadingDigits>845</leadingDigits>
5714 <leadingDigits>8454</leadingDigits>
5715 <leadingDigits>84546</leadingDigits>
5716 <leadingDigits>845464</leadingDigits>
5717 <format>$1 $2 $3</format>
5718 </numberFormat>
5719 <!-- 84d, 87d with 10 digits. -->
5720 <numberFormat pattern="(8\d{2})(\d{3})(\d{4})">
5721 <leadingDigits>
5722 8(?:
5723 4[2-5]|
5724 7[0-3]
5725 )
5726 </leadingDigits>
5727 <format>$1 $2 $3</format>
5728 </numberFormat>
5729 <!-- 80d (including 800) with 10 digits. -->
5730 <numberFormat pattern="(80\d)(\d{3})(\d{4})">
5731 <leadingDigits>80</leadingDigits>
5732 <format>$1 $2 $3</format>
5733 </numberFormat>
5734 <!-- 500, 800 with 9 digits. -->
5735 <numberFormat pattern="([58]00)(\d{6})">
5736 <leadingDigits>[58]00</leadingDigits>
5737 <format>$1 $2</format>
5738 </numberFormat>
5739 </availableFormats>
5740 <generalDesc>
5741 <nationalNumberPattern>\d{7,10}</nationalNumberPattern>
5742 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
5743 </generalDesc>
5744 <areaCodeOptional>
5745 <!-- These are a subset of the fixed-line rules, with digits 2-9 as the leading digit of the
5746 subscriber number. There are patterns for 2+8, 3+7 and a combined p attern for all
5747 4+6/4+5 and 5+5/5+4 numbers. Note that numbers matching this patter n are not
5748 necessarily valid numbers. -->
5749 <nationalNumberPattern>
5750 2\d[2-9]\d{7}|
5751 1(?:
5752 1\d|
5753 \d1
5754 )[2-9]\d{6}|
5755 1(?:
5756 [248][02-9]\d[2-9]\d{4,5}|
5757 (?:
5758 3(?:
5759 [02-79]\d|
5760 8[0-69]
5761 )|
5762 5(?:
5763 [04-9]\d|
5764 2[0-35-9]|
5765 3[0-8]
5766 )|
5767 6(?:
5768 [02-8]\d|
5769 9[0-689]
5770 )|
5771 7(?:
5772 [02-5789]\d|
5773 6[0-79]
5774 )|
5775 9(?:
5776 [0235-9]\d|
5777 4[0-5789]
5778 )
5779 )[2-9]\d{4,5}|
5780 (?:
5781 387(?:
5782 3[2-9]|
5783 [24-9]\d
5784 )|
5785 5(?:
5786 24(?:
5787 2[2-9]|
5788 [3-9]\d
5789 )|
5790 39(?:
5791 [4-6][2-9]|
5792 [237-9]\d
5793 )
5794 )|
5795 697(?:
5796 [347][2-9]|
5797 [25689]\d
5798 )|
5799 768(?:
5800 [347][2-9]|
5801 [25679]\d
5802 )|
5803 946(?:
5804 7[2-9]|
5805 [2-689]\d
5806 )
5807 )\d{3,4}
5808 )
5809 </nationalNumberPattern>
5810 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
5811 <exampleNumber>1332456789</exampleNumber>
5812 </areaCodeOptional>
5813 <fixedLine>
5814 <!-- http://en.wikipedia.org/wiki/List_of_United_Kingdom_dialling_codes -->
5815 <!-- Pattern matches geographic NSN=10 numbers as follows:
5816 - area code and local number first digit for 2+8,
5817 - area code and local number first digit for 3+7,
5818 - area code only for 4+6 (including areas with embedded 5+5).
5819 Pattern matches geographic NSN=9 numbers as follows:
5820 - area code and local number first two digits for 4+5,
5821 - area code and local number first three digits for 4+5 special cas e (01768) 88Ddd,
5822 - area code and local number first digit for 5+4 special case (0169 77) Dddd.
5823 All patterns exclude ranges used in GG, IM, JE. -->
5824 <nationalNumberPattern>
5825 2(?:
5826 0[01378]|
5827 3[0189]|
5828 4[017]|
5829 8[0-46-9]|
5830 9[012]
5831 )\d{7}|
5832 1(?:
5833 (?:1
5834 (?:3[0-48]|
5835 [46][0-4]|
5836 5[012789]|
5837 7[0-39]|
5838 8[01349]
5839 )|
5840 21[0-7]|
5841 31[0-8]|
5842 [459]1\d|
5843 61[0-46-9]
5844 )
5845 )\d{6}|
5846 1(?:
5847 2(?:
5848 0[024-9]|
5849 2[3-9]|
5850 3[3-79]|
5851 4[1-689]|
5852 [58][02-9]|
5853 6[0-4789]|
5854 7[013-9]|
5855 9\d
5856 )|
5857 3(?:
5858 0\d|
5859 [25][02-9]|
5860 3[02-579]|
5861 [468][0-46-9]|
5862 7[1235679]|
5863 9[24578]
5864 )|
5865 4(?:
5866 0[03-9]|
5867 [28][02-5789]|
5868 [37]\d|
5869 4[02-69]|
5870 5[0-8]|
5871 [69][0-79]
5872 )|
5873 5(?:
5874 0[1235-9]|
5875 2[024-9]|
5876 3[015689]|
5877 4[02-9]|
5878 5[03-9]|
5879 6\d|
5880 7[0-35-9]|
5881 8[0-468]|
5882 9[0-5789]
5883 )|
5884 6(?:
5885 0[034689]|
5886 2[0-35689]|
5887 [38][013-9]|
5888 4[1-467]|
5889 5[0-69]|
5890 6[13-9]|
5891 7[0-8]|
5892 9[0124578]
5893 )|
5894 7(?:
5895 0[0246-9]|
5896 2\d|
5897 3[023678]|
5898 4[03-9]|
5899 5[0-46-9]|
5900 6[013-9]|
5901 7[0-35-9]|
5902 8[024-9]|
5903 9[02-9]
5904 )|
5905 8(?:
5906 0[35-9]|
5907 2[1-5789]|
5908 3[02-578]|
5909 4[0-578]|
5910 5[124-9]|
5911 6[2-69]|
5912 7\d|
5913 8[02-9]|
5914 9[02569]
5915 )|
5916 9(?:
5917 0[02-589]|
5918 2[02-689]|
5919 3[1-5789]|
5920 4[2-9]|
5921 5[0-579]|
5922 6[234789]|
5923 7[0124578]|
5924 8\d|
5925 9[2-57]
5926 )
5927 )\d{6}|
5928 1(?:
5929 2(?:
5930 0(?:
5931 46[1-4]|
5932 87[2-9]
5933 )|
5934 545[1-79]|
5935 76(?:
5936 2\d|
5937 3[1-8]|
5938 6[1-6]
5939 )|
5940 9(?:
5941 7(?:
5942 2[0-4]|
5943 3[2-5]
5944 )|
5945 8(?:
5946 2[2-8]|
5947 7[0-4789]|
5948 8[345]
5949 )
5950 )
5951 )|
5952 3(?:
5953 638[2-5]|
5954 647[23]|
5955 8(?:
5956 47[04-9]|
5957 64[015789]
5958 )
5959 )|
5960 4(?:
5961 044[1-7]|
5962 20(?:
5963 2[23]|
5964 8\d
5965 )|
5966 6(?:
5967 0(?:
5968 30|
5969 5[2-57]|
5970 6[1-8]|
5971 7[2-8]
5972 )|
5973 140
5974 )|
5975 8(?:
5976 052|
5977 87[123]
5978 )
5979 )|
5980 5(?:
5981 24(?:
5982 3[2-79]|
5983 6\d
5984 )|
5985 276\d|
5986 6(?:
5987 26[06-9]|
5988 686
5989 )
5990 )|
5991 6(?:
5992 06(?:
5993 4\d|
5994 7[4-79]
5995 )|
5996 295[567]|
5997 35[34]\d|
5998 47(?:
5999 24|
6000 61
6001 )|
6002 59(?:
6003 5[08]|
6004 6[67]|
6005 74
6006 )|
6007 955[0-4]
6008 )|
6009 7(?:
6010 26(?:
6011 6[13-9]|
6012 7[0-7]
6013 )|
6014 442\d|
6015 50(?:
6016 2[0-3]|
6017 [3-68]2|
6018 76
6019 )
6020 )|
6021 8(?:
6022 27[56]\d|
6023 37(?:
6024 5[2-5]|
6025 8[239]
6026 )|
6027 84(?:
6028 3[2-58]
6029 )
6030 )|
6031 9(?:
6032 0(?:
6033 0(?:
6034 6[1-8]|
6035 85
6036 )|
6037 52\d
6038 )|
6039 3583|
6040 4(?:
6041 66[1-8]|
6042 9(?:
6043 2[01]|
6044 81
6045 )
6046 )|
6047 63(?:
6048 23|
6049 3[1-4]
6050 )|
6051 9561
6052 )
6053 )\d{3}|
6054 176888[234678]\d{2}|
6055 16977[23]\d{3}
6056 </nationalNumberPattern>
6057 <exampleNumber>1212345678</exampleNumber>
6058 </fixedLine>
6059 <mobile>
6060 <!-- http://stakeholders.ofcom.org.uk/telecoms/numbering/telephone-no-av ailability/numbers-administered/
6061 7100-7599, 7700-7999 with 10 digits; excluding ranges used in GG, I M, JE. -->
6062 <nationalNumberPattern>
6063 7(?:
6064 [1-4]\d\d|
6065 5(?:
6066 0[0-8]|
6067 [13-9]\d|
6068 2[0-35-9]
6069 )|
6070 7(?:
6071 0[1-9]|
6072 [1-7]\d|
6073 8[02-9]|
6074 9[0-689]
6075 )|
6076 8(?:
6077 [014-9]\d|
6078 [23][0-8]
6079 )|
6080 9(?:
6081 [04-9]\d|
6082 1[02-9]|
6083 2[0-35-9]|
6084 3[0-689]
6085 )
6086 )\d{6}
6087 </nationalNumberPattern>
6088 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6089 <exampleNumber>7400123456</exampleNumber>
6090 </mobile>
6091 <pager>
6092 <!-- 76 with 10 digits; excluding ranges used in IM. -->
6093 <nationalNumberPattern>
6094 76(?:
6095 0[012]|
6096 2[356]|
6097 4[0134]|
6098 5[49]|
6099 6[0-369]|
6100 77|
6101 81|
6102 9[39]
6103 )\d{6}
6104 </nationalNumberPattern>
6105 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6106 <exampleNumber>7640123456</exampleNumber>
6107 </pager>
6108 <!-- Source for non geographic numbers:
6109 http://en.wikipedia.org/wiki/Non-geographical_telephone_numbers_in_th e_UK -->
6110 <tollFree>
6111 <!-- 800 1111 with 7 digits, 800 with 9 or 10 digits, 808 with 10 digits , 500 with 9 digits. -->
6112 <nationalNumberPattern>
6113 80(?:
6114 0(?:
6115 1111|
6116 \d{6,7}
6117 )|
6118 8\d{7}
6119 )|
6120 500\d{6}
6121 </nationalNumberPattern>
6122 <possibleNumberPattern>\d{7}(?:\d{2,3})?</possibleNumberPattern>
6123 <exampleNumber>8001234567</exampleNumber>
6124 </tollFree>
6125 <premiumRate>
6126 <!-- 871, 872, 873 with 10 digits are now Controlled Premium Rate Servic es, so are listed
6127 here as well as 900-909, 910-919, 980-983 with 10 digits. -->
6128 <nationalNumberPattern>
6129 (?:
6130 87[123]|
6131 9(?:
6132 [01]\d|
6133 8[0-3]
6134 )
6135 )\d{7}
6136 </nationalNumberPattern>
6137 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6138 <exampleNumber>9012345678</exampleNumber>
6139 </premiumRate>
6140 <sharedCost>
6141 <!-- Using shared cost to deal with the various revenue sharing number p refixes in the
6142 United Kingdom: 845 46 47 with 7 digits, 842-845, 870 with 10 digit s. -->
6143 <nationalNumberPattern>
6144 8(?:
6145 4(?:
6146 5464\d|
6147 [2-5]\d{7}
6148 )|
6149 70\d{7}
6150 )
6151 </nationalNumberPattern>
6152 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
6153 <exampleNumber>8431234567</exampleNumber>
6154 </sharedCost>
6155 <personalNumber>
6156 <!-- 70 with 10 digits. -->
6157 <nationalNumberPattern>70\d{8}</nationalNumberPattern>
6158 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6159 <exampleNumber>7012345678</exampleNumber>
6160 </personalNumber>
6161 <voip>
6162 <!-- 56 with 10 digits. -->
6163 <nationalNumberPattern>56\d{8}</nationalNumberPattern>
6164 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6165 <exampleNumber>5612345678</exampleNumber>
6166 </voip>
6167 <uan>
6168 <!-- 30d, 33d, 34d, 37d, 55 with 10 digits. -->
6169 <nationalNumberPattern>
6170 (?:
6171 3[0347]|
6172 55
6173 )\d{8}
6174 </nationalNumberPattern>
6175 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6176 <exampleNumber>5512345678</exampleNumber>
6177 </uan>
6178 <shortCode>
6179 <!-- This is a list of the ones that can be called. -->
6180 <nationalNumberPattern>
6181 1(?:
6182 0[01]|
6183 1(?:
6184 [12]|
6185 [68]\d{3}
6186 )|
6187 2[123]|
6188 33|
6189 4(?:
6190 1|
6191 7\d
6192 )|
6193 5\d|
6194 70\d|
6195 800\d|
6196 9[15]
6197 )|
6198 2(?:
6199 02|
6200 2(?:
6201 02|
6202 11|
6203 2
6204 )|
6205 3(?:
6206 02|
6207 45
6208 )
6209 425
6210 )|
6211 3[13]3|
6212 4(?:
6213 0[02]|
6214 35[01]|
6215 44[45]|
6216 5\d
6217 )|
6218 650|
6219 789|
6220 9(?:
6221 01|
6222 99
6223 )
6224 </nationalNumberPattern>
6225 <possibleNumberPattern>\d{3,6}</possibleNumberPattern>
6226 <exampleNumber>150</exampleNumber>
6227 </shortCode>
6228 </territory>
6229
6230 <!-- Grenada -->
6231 <!-- http://www.itu.int/oth/T0202000057/en -->
6232 <territory id="GD" countryCode="1" leadingDigits="473"
6233 nationalPrefix="1" internationalPrefix="011">
6234 <generalDesc>
6235 <!-- NANPA country - uses US formatting rules -->
6236 <nationalNumberPattern>[4589]\d{9}</nationalNumberPattern>
6237 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
6238 </generalDesc>
6239 <fixedLine>
6240 <nationalNumberPattern>
6241 473(?:
6242 2(?:
6243 3[0-2]|
6244 69
6245 )|
6246 3(?:
6247 2[89]|
6248 86
6249 )|
6250 4(?:
6251 [06]8|
6252 3[5-9]|
6253 4[0-49]|
6254 5[5-79]|
6255 73|
6256 90
6257 )|
6258 63[68]|
6259 7(?:
6260 58|
6261 84
6262 )|
6263 938
6264 )\d{4}
6265 </nationalNumberPattern>
6266 <exampleNumber>4732691234</exampleNumber>
6267 </fixedLine>
6268 <mobile>
6269 <nationalNumberPattern>
6270 473(?:
6271 4(?:
6272 0[3-79]|
6273 1[04-9]|
6274 20|
6275 58
6276 )|
6277 53[3-8]
6278 )\d{4}
6279 </nationalNumberPattern>
6280 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6281 <exampleNumber>4734031234</exampleNumber>
6282 </mobile>
6283 <tollFree>
6284 <nationalNumberPattern>
6285 8(?:
6286 00|
6287 55|
6288 66|
6289 77|
6290 88
6291 )[2-9]\d{6}
6292 </nationalNumberPattern>
6293 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6294 <exampleNumber>8002123456</exampleNumber>
6295 </tollFree>
6296 <premiumRate>
6297 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
6298 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6299 <exampleNumber>9002123456</exampleNumber>
6300 </premiumRate>
6301 <personalNumber>
6302 <!-- http://www.nanpa.com/pdf/PL_416.pdf -->
6303 <nationalNumberPattern>
6304 5(?:
6305 00|
6306 33|
6307 44
6308 )[2-9]\d{6}
6309 </nationalNumberPattern>
6310 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6311 <exampleNumber>5002345678</exampleNumber>
6312 </personalNumber>
6313 </territory>
6314
6315 <!-- Georgia -->
6316 <!-- http://www.itu.int/oth/T0202000050/en
6317 http://en.wikipedia.org/wiki/Telephone_numbers_in_Georgia. -->
6318 <territory id="GE" countryCode="995" internationalPrefix="8~10"
6319 nationalPrefix="8" nationalPrefixFormattingRule="$NP $FG">
6320 <availableFormats>
6321 <!-- Format isn't very strictly defined - the yellow pages omits area co de and does 2 2 2,
6322 the communications commission uses 2 3 3. Wikipedia says 3 2 3. Som e use 2 6. -->
6323 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
6324 <leadingDigits>[13-79]</leadingDigits>
6325 <format>$1 $2 $3 $4</format>
6326 </numberFormat>
6327 <numberFormat pattern="(800)(\d{2})(\d{2})(\d{2})">
6328 <leadingDigits>8</leadingDigits>
6329 <format>$1 $2 $3 $4</format>
6330 </numberFormat>
6331 </availableFormats>
6332 <generalDesc>
6333 <nationalNumberPattern>
6334 [13-79]\d{7}|
6335 8\d{8}
6336 </nationalNumberPattern>
6337 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
6338 </generalDesc>
6339 <fixedLine>
6340 <nationalNumberPattern>
6341 (?:
6342 3(?:
6343 [256]\d|
6344 4[124-9]|
6345 7[0-4]
6346 )|
6347 4(?:
6348 1\d|
6349 2[2-7]|
6350 3[1-79]|
6351 4[2-8]|
6352 7[239]|
6353 9[1-7]
6354 )
6355 )\d{5}
6356 </nationalNumberPattern>
6357 <possibleNumberPattern>\d{5,8}</possibleNumberPattern>
6358 <exampleNumber>32123456</exampleNumber>
6359 </fixedLine>
6360 <mobile>
6361 <nationalNumberPattern>
6362 (?:
6363 14|
6364 5[01578]|
6365 6[28]|
6366 7[0147-9]|
6367 9[0-35-9]
6368 )\d{6}
6369 </nationalNumberPattern>
6370 <possibleNumberPattern>\d{8}</possibleNumberPattern>
6371 <exampleNumber>55123456</exampleNumber>
6372 </mobile>
6373 <!-- Information from www.yell.ge, examples such as Wissol Petroleum Georg ia hotline. -->
6374 <tollFree>
6375 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
6376 <possibleNumberPattern>\d{9}</possibleNumberPattern>
6377 <exampleNumber>800123456</exampleNumber>
6378 </tollFree>
6379 <!-- It seems there may be special 6 digit numbers beginning with 91, but we are not sure, so
6380 these are omitted for now. -->
6381 </territory>
6382
6383 <!-- French Guiana (French Dept. of) -->
6384 <territory id="GF" countryCode="594" internationalPrefix="00">
6385 </territory>
6386
6387 <!-- Guernsey -->
6388 <!-- Inherits formatting rules from the UK. -->
6389 <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_the_United_Kingdom -- >
6390 <territory id="GG" countryCode="44" internationalPrefix="00"
6391 nationalPrefix="0" preferredExtnPrefix=" x" nationalPrefixFormatt ingRule="$NP$FG">
6392 <generalDesc>
6393 <nationalNumberPattern>[135789]\d{6,9}</nationalNumberPattern>
6394 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
6395 </generalDesc>
6396 <areaCodeOptional>
6397 <nationalNumberPattern>1481[2-9]\d{5}</nationalNumberPattern>
6398 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6399 <exampleNumber>1481250123</exampleNumber>
6400 </areaCodeOptional>
6401 <!-- Specific to GG. -->
6402 <fixedLine>
6403 <!-- 1481 with 10 digits. -->
6404 <nationalNumberPattern>1481\d{6}</nationalNumberPattern>
6405 <exampleNumber>1481456789</exampleNumber>
6406 </fixedLine>
6407 <mobile>
6408 <!-- 7781, 7839, 7911 with 10 digits. -->
6409 <nationalNumberPattern>
6410 7(?:
6411 781|
6412 839|
6413 911
6414 )\d{6}
6415 </nationalNumberPattern>
6416 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6417 <exampleNumber>7781123456</exampleNumber>
6418 </mobile>
6419 <!-- Other numbers as per GB. -->
6420 <pager>
6421 <nationalNumberPattern>
6422 76(?:
6423 0[012]|
6424 2[356]|
6425 4[0134]|
6426 5[49]|
6427 6[0-369]|
6428 77|
6429 81|
6430 9[39]
6431 )\d{6}
6432 </nationalNumberPattern>
6433 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6434 <exampleNumber>7640123456</exampleNumber>
6435 </pager>
6436 <tollFree>
6437 <nationalNumberPattern>
6438 80(?:
6439 0(?:
6440 1111|
6441 \d{6,7}
6442 )|
6443 8\d{7}
6444 )|
6445 500\d{6}
6446 </nationalNumberPattern>
6447 <possibleNumberPattern>\d{7}(?:\d{2,3})?</possibleNumberPattern>
6448 <exampleNumber>8001234567</exampleNumber>
6449 </tollFree>
6450 <premiumRate>
6451 <nationalNumberPattern>
6452 (?:
6453 87[123]|
6454 9(?:
6455 [01]\d|
6456 8[0-3]
6457 )
6458 )\d{7}
6459 </nationalNumberPattern>
6460 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6461 <exampleNumber>9012345678</exampleNumber>
6462 </premiumRate>
6463 <sharedCost>
6464 <nationalNumberPattern>
6465 8(?:
6466 4(?:
6467 5464\d|
6468 [2-5]\d{7}
6469 )|
6470 70\d{7}
6471 )
6472 </nationalNumberPattern>
6473 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
6474 <exampleNumber>8431234567</exampleNumber>
6475 </sharedCost>
6476 <personalNumber>
6477 <nationalNumberPattern>70\d{8}</nationalNumberPattern>
6478 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6479 <exampleNumber>7012345678</exampleNumber>
6480 </personalNumber>
6481 <voip>
6482 <nationalNumberPattern>56\d{8}</nationalNumberPattern>
6483 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6484 <exampleNumber>5612345678</exampleNumber>
6485 </voip>
6486 <uan>
6487 <nationalNumberPattern>
6488 (?:
6489 3[0347]|
6490 55
6491 )\d{8}
6492 </nationalNumberPattern>
6493 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6494 <exampleNumber>5512345678</exampleNumber>
6495 </uan>
6496 <shortCode>
6497 <nationalNumberPattern>
6498 1\d{2}(?:\d{3})?|
6499 999
6500 </nationalNumberPattern>
6501 <possibleNumberPattern>\d{3,6}</possibleNumberPattern>
6502 <exampleNumber>150</exampleNumber>
6503 </shortCode>
6504 </territory>
6505
6506 <!-- Ghana -->
6507 <!-- http://www.itu.int/oth/T0202000052/en -->
6508 <!-- http://www.nca.org.gh/index.php?option=com_content&view=article&id=90&I temid=65 -->
6509 <territory id="GH" countryCode="233" internationalPrefix="00"
6510 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
6511 <availableFormats>
6512 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
6513 <format>$1 $2 $3</format>
6514 </numberFormat>
6515 </availableFormats>
6516 <generalDesc>
6517 <nationalNumberPattern>[235]\d{6,8}</nationalNumberPattern>
6518 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
6519 </generalDesc>
6520 <fixedLine>
6521 <nationalNumberPattern>
6522 3(?:
6523 0[237]\d|
6524 [167](?:
6525 2[0-6]|
6526 7\d
6527 )|
6528 2(?:
6529 2[0-5]|
6530 7\d
6531 )|
6532 3(?:
6533 2[0-37]|
6534 7\d
6535 )|
6536 4(?:
6537 [27]\d|
6538 30
6539 )|
6540 5(?:
6541 2[0-7]|
6542 7\d
6543 )|
6544 8(?:
6545 2[0-2]|
6546 7\d
6547 )|
6548 9(?:
6549 20|
6550 7\d
6551 )
6552 )\d{5}
6553 </nationalNumberPattern>
6554 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
6555 <exampleNumber>302345678</exampleNumber>
6556 </fixedLine>
6557 <mobile>
6558 <nationalNumberPattern>
6559 2(?:
6560 (?:
6561 [47]\d|
6562 08
6563 )\d{6}|
6564 [368]\d{7}
6565 )|
6566 54\d{7}
6567 </nationalNumberPattern>
6568 <possibleNumberPattern>\d{9}</possibleNumberPattern>
6569 <exampleNumber>231234567</exampleNumber>
6570 </mobile>
6571 <!-- No tollFree or premiumRate information can be found. -->
6572 </territory>
6573
6574 <!-- Gibraltar -->
6575 <territory id="GI" countryCode="350" internationalPrefix="00">
6576 <!-- No formatting rules - numbers are always formatted as a block. -->
6577 <generalDesc>
6578 <nationalNumberPattern>[2568]\d{7}</nationalNumberPattern>
6579 <possibleNumberPattern>\d{8}</possibleNumberPattern>
6580 </generalDesc>
6581 <fixedLine>
6582 <nationalNumberPattern>
6583 2(?:
6584 00\d|
6585 16[0-7]|
6586 22[2457]
6587 )\d{4}
6588 </nationalNumberPattern>
6589 <exampleNumber>20012345</exampleNumber>
6590 </fixedLine>
6591 <mobile>
6592 <nationalNumberPattern>
6593 (?:
6594 5[4-8]|
6595 60
6596 )\d{6}
6597 </nationalNumberPattern>
6598 <exampleNumber>57123456</exampleNumber>
6599 </mobile>
6600 <tollFree>
6601 <nationalNumberPattern>80\d{6}</nationalNumberPattern>
6602 <exampleNumber>80123456</exampleNumber>
6603 </tollFree>
6604 <premiumRate>
6605 <nationalNumberPattern>8[1-689]\d{6}</nationalNumberPattern>
6606 <exampleNumber>88123456</exampleNumber>
6607 </premiumRate>
6608 <sharedCost>
6609 <nationalNumberPattern>87\d{6}</nationalNumberPattern>
6610 <exampleNumber>87123456</exampleNumber>
6611 </sharedCost>
6612 <shortCode>
6613 <nationalNumberPattern>
6614 1(?:
6615 00|
6616 1(?:
6617 2|
6618 6(?:
6619 00[06]|
6620 11[17]
6621 )|
6622 8\d{2}
6623 )|
6624 23|
6625 4(?:
6626 1|
6627 7[014]
6628 )|
6629 5[015]|
6630 9[0349]
6631 )|
6632 8(?:
6633 00|
6634 4[0-2]|
6635 8\d
6636 )
6637 </nationalNumberPattern>
6638 <possibleNumberPattern>\d{3,6}</possibleNumberPattern>
6639 <exampleNumber>116123</exampleNumber>
6640 </shortCode>
6641 </territory>
6642
6643 <!-- Greenland -->
6644 <!-- http://www.itu.int/oth/T0202000056/en -->
6645 <territory id="GL" countryCode="299" internationalPrefix="00">
6646 <availableFormats>
6647 <numberFormat pattern="(\d{2})(\d{2})(\d{2})">
6648 <format>$1 $2 $3</format>
6649 </numberFormat>
6650 </availableFormats>
6651 <generalDesc>
6652 <nationalNumberPattern>[1-689]\d{5}</nationalNumberPattern>
6653 <possibleNumberPattern>\d{6}</possibleNumberPattern>
6654 </generalDesc>
6655 <fixedLine>
6656 <!-- Including VSAT numbers here. -->
6657 <nationalNumberPattern>
6658 (?:
6659 19|
6660 3[1-6]|
6661 6[14689]|
6662 8[14-79]|
6663 9\d
6664 )\d{4}
6665 </nationalNumberPattern>
6666 <exampleNumber>321000</exampleNumber>
6667 </fixedLine>
6668 <mobile>
6669 <nationalNumberPattern>[245][2-9]\d{4}</nationalNumberPattern>
6670 <exampleNumber>221234</exampleNumber>
6671 </mobile>
6672 <tollFree>
6673 <nationalNumberPattern>80\d{4}</nationalNumberPattern>
6674 <exampleNumber>801234</exampleNumber>
6675 </tollFree>
6676 <voip>
6677 <nationalNumberPattern>3[89]\d{4}</nationalNumberPattern>
6678 <exampleNumber>381234</exampleNumber>
6679 </voip>
6680 </territory>
6681
6682 <!-- Gambia -->
6683 <!-- http://www.itu.int/oth/T020200004F/en -->
6684 <territory id="GM" countryCode="220" internationalPrefix="00">
6685 <availableFormats>
6686 <numberFormat pattern="(\d{3})(\d{4})">
6687 <format>$1 $2</format>
6688 </numberFormat>
6689 </availableFormats>
6690 <generalDesc>
6691 <nationalNumberPattern>[3-9]\d{6}</nationalNumberPattern>
6692 <possibleNumberPattern>\d{7}</possibleNumberPattern>
6693 </generalDesc>
6694 <fixedLine>
6695 <nationalNumberPattern>
6696 (?:
6697 4(?:
6698 [23]\d{2}|
6699 4(?:
6700 1[024679]|
6701 [6-9]\d
6702 )
6703 )|
6704 5(?:
6705 54[0-7]|
6706 6(?:
6707 [67]\d
6708 )|
6709 7(?:
6710 1[04]|
6711 2[035]|
6712 3[58]|
6713 48
6714 )
6715 )|
6716 8\d{3}
6717 )\d{3}
6718 </nationalNumberPattern>
6719 <exampleNumber>5661234</exampleNumber>
6720 </fixedLine>
6721 <mobile>
6722 <nationalNumberPattern>[3679]\d{6}</nationalNumberPattern>
6723 <exampleNumber>3012345</exampleNumber>
6724 </mobile>
6725 </territory>
6726
6727 <!-- Guinea -->
6728 <!-- http://www.itu.int/oth/T020200005B/en -->
6729 <territory id="GN" countryCode="224" internationalPrefix="00">
6730 <availableFormats>
6731 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
6732 <format>$1 $2 $3 $4</format>
6733 </numberFormat>
6734 </availableFormats>
6735 <generalDesc>
6736 <nationalNumberPattern>[3567]\d{7}</nationalNumberPattern>
6737 <possibleNumberPattern>\d{8}</possibleNumberPattern>
6738 </generalDesc>
6739 <fixedLine>
6740 <nationalNumberPattern>
6741 30(?:
6742 24|
6743 3[12]|
6744 4[1-35-7]|
6745 5[13]|
6746 6[189]|
6747 [78]1|
6748 9[1478]
6749 )\d{4}
6750 </nationalNumberPattern>
6751 <exampleNumber>30241234</exampleNumber>
6752 </fixedLine>
6753 <mobile>
6754 <!-- WiMAX is in the plan - which is a wireless broadband protocol. Not including this in
6755 the metadata for now unless this proves to be necessary. These woul d start with 79. -->
6756 <nationalNumberPattern>
6757 55\d{6}|
6758 6(?:
6759 0(?:
6760 2\d|
6761 3[3467]|
6762 5[2457-9]
6763 )|
6764 [24578]\d{2}|
6765 3(?:
6766 [14]0|
6767 35
6768 )
6769 )\d{4}
6770 </nationalNumberPattern>
6771 <exampleNumber>60201234</exampleNumber>
6772 </mobile>
6773 </territory>
6774
6775 <!-- Guadeloupe -->
6776 <!-- http://www.itu.int/oth/T0202000058/en -->
6777 <territory id="GP" countryCode="590" internationalPrefix="00"
6778 mainCountryForCode="true" nationalPrefix="0"
6779 nationalPrefixFormattingRule="$NP$FG">
6780 <availableFormats>
6781 <numberFormat pattern="([56]90)(\d{2})(\d{4})">
6782 <format>$1 $2-$3</format>
6783 </numberFormat>
6784 </availableFormats>
6785 <generalDesc>
6786 <nationalNumberPattern>[56]\d{8}</nationalNumberPattern>
6787 <possibleNumberPattern>\d{9}</possibleNumberPattern>
6788 </generalDesc>
6789 <fixedLine>
6790 <!-- The plan says 59011 and 59012 are not implemented yet, but is from 2006 and online
6791 examples can be found. -->
6792 <nationalNumberPattern>
6793 590(?:
6794 1[12]|
6795 2[0-68]|
6796 3[28]|
6797 4[126-8]|
6798 5[067]|
6799 6[018]|
6800 [89]\d
6801 )\d{4}
6802 </nationalNumberPattern>
6803 <exampleNumber>590201234</exampleNumber>
6804 </fixedLine>
6805 <mobile>
6806 <!-- Adding 1[1-9] and 2[013-5] as prefixes after SMSs have been success fully sent to
6807 numbers with this prefix. starpy.net/rates.php also attributes this range to Guadeloupe
6808 Digicel Mobile. -->
6809 <nationalNumberPattern>
6810 690(?:
6811 00|
6812 1[1-9]|
6813 2[013-5]|
6814 [3-5]\d|
6815 6[0-57-9]|
6816 7[1-6]|
6817 8[0-6]|
6818 9[09]
6819 )\d{4}
6820 </nationalNumberPattern>
6821 <exampleNumber>690301234</exampleNumber>
6822 </mobile>
6823 </territory>
6824
6825 <!-- Equatorial Guinea -->
6826 <!-- http://www.itu.int/oth/T0202000041/en -->
6827 <territory id="GQ" countryCode="240" internationalPrefix="00">
6828 <availableFormats>
6829 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
6830 <leadingDigits>[235]</leadingDigits>
6831 <format>$1 $2 $3</format>
6832 </numberFormat>
6833 <numberFormat pattern="(\d{3})(\d{6})">
6834 <leadingDigits>[89]</leadingDigits>
6835 <format>$1 $2</format>
6836 </numberFormat>
6837 </availableFormats>
6838 <generalDesc>
6839 <nationalNumberPattern>[23589]\d{8}</nationalNumberPattern>
6840 <!-- The 6 here refers to the old number pattern - numbers written down may still be this
6841 length although they can no longer be dialled. -->
6842 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
6843 </generalDesc>
6844 <fixedLine>
6845 <nationalNumberPattern>
6846 3(?:
6847 3(?:
6848 3\d[7-9]|
6849 [0-24-9]\d[46]
6850 )|
6851 5\d{2}[7-9]
6852 )\d{4}
6853 </nationalNumberPattern>
6854 <exampleNumber>333091234</exampleNumber>
6855 </fixedLine>
6856 <mobile>
6857 <nationalNumberPattern>
6858 (?:
6859 222|
6860 551
6861 )\d{6}
6862 </nationalNumberPattern>
6863 <exampleNumber>222123456</exampleNumber>
6864 </mobile>
6865 <!-- Note that personal and sharedCost numbers are said to go under here t oo - hopefully when
6866 they start allocating them there will be a differentiation of prefixe s, but this is not
6867 clear now. -->
6868 <tollFree>
6869 <nationalNumberPattern>80\d[1-9]\d{5}</nationalNumberPattern>
6870 <exampleNumber>800123456</exampleNumber>
6871 </tollFree>
6872 <premiumRate>
6873 <nationalNumberPattern>90\d[1-9]\d{5}</nationalNumberPattern>
6874 <exampleNumber>900123456</exampleNumber>
6875 </premiumRate>
6876 </territory>
6877
6878 <!-- Greece -->
6879 <!-- http://www.itu.int/oth/T0202000055/en -->
6880 <!-- http://en.wikipedia.org/wiki/%2B30 -->
6881 <territory id="GR" countryCode="30" internationalPrefix="00">
6882 <availableFormats>
6883 <numberFormat pattern="([27]\d)(\d{4})(\d{4})">
6884 <leadingDigits>
6885 21|
6886 7
6887 </leadingDigits>
6888 <format>$1 $2 $3</format>
6889 </numberFormat>
6890 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
6891 <leadingDigits>
6892 2[2-9]1|
6893 [689]
6894 </leadingDigits>
6895 <format>$1 $2 $3</format>
6896 </numberFormat>
6897 <numberFormat pattern="(2\d{3})(\d{6})">
6898 <leadingDigits>2[2-9][02-9]</leadingDigits>
6899 <format>$1 $2</format>
6900 </numberFormat>
6901 </availableFormats>
6902 <generalDesc>
6903 <nationalNumberPattern>[26-9]\d{9}</nationalNumberPattern>
6904 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6905 </generalDesc>
6906 <fixedLine>
6907 <nationalNumberPattern>
6908 2(?:
6909 1\d{2}|
6910 2(?:
6911 3[1-8]|
6912 4[1-7]|
6913 5[1-4]|
6914 6[1-8]|
6915 7[1-5]|
6916 [289][1-9]
6917 )|
6918 3(?:
6919 1\d|
6920 2[1-5]|
6921 3[1-4]|
6922 [45][1-3]|
6923 7[1-7]|
6924 8[1-6]|
6925 9[1-79]
6926 )|
6927 4(?:
6928 1\d|
6929 2[1-8]|
6930 3[1-4]|
6931 4[13-5]|
6932 6[1-578]|
6933 9[1-5]
6934 )|
6935 5(?:
6936 1\d|
6937 2[1-3]|
6938 4[124]|
6939 5[1-6]|
6940 [39][1-4]
6941 )|
6942 6(?:
6943 1\d|
6944 3[24]|
6945 4[1-7]|
6946 5[13-9]|
6947 [269][1-6]|
6948 7[14]|
6949 8[1-35]
6950 )|
6951 7(?:
6952 1\d|
6953 [23][1-5]|
6954 4[1-7]|
6955 5[1-57]|
6956 6[134]|
6957 9[15-7]
6958 )|
6959 8(?:
6960 1\d|
6961 2[1-5]|
6962 [34][1-4]|
6963 9[1-7]
6964 )
6965 )\d{6}
6966 </nationalNumberPattern>
6967 <exampleNumber>2123456789</exampleNumber>
6968 </fixedLine>
6969 <mobile>
6970 <nationalNumberPattern>69\d{8}</nationalNumberPattern>
6971 <exampleNumber>6912345678</exampleNumber>
6972 </mobile>
6973 <tollFree>
6974 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
6975 <exampleNumber>8001234567</exampleNumber>
6976 </tollFree>
6977 <premiumRate>
6978 <nationalNumberPattern>90[19]\d{7}</nationalNumberPattern>
6979 <exampleNumber>9091234567</exampleNumber>
6980 </premiumRate>
6981 <!-- Including calls with maximum charge of 0,25 EUR/minute here instead o f under premium
6982 rate. -->
6983 <sharedCost>
6984 <nationalNumberPattern>
6985 8(?:
6986 0[16]|
6987 12|
6988 25
6989 )\d{7}
6990 </nationalNumberPattern>
6991 <exampleNumber>8011234567</exampleNumber>
6992 </sharedCost>
6993 <personalNumber>
6994 <nationalNumberPattern>70\d{8}</nationalNumberPattern>
6995 <exampleNumber>7012345678</exampleNumber>
6996 </personalNumber>
6997 </territory>
6998
6999 <!-- Guatemala -->
7000 <!-- http://www.itu.int/oth/T020200005A/en
7001 http://www.sit.gob.gt/index.php?page=plan-de-numeracion
7002 http://en.wikipedia.org/wiki/Telephone_numbers_in_Guatemala -->
7003 <territory id="GT" countryCode="502" internationalPrefix="00">
7004 <availableFormats>
7005 <numberFormat pattern="(\d{4})(\d{4})">
7006 <leadingDigits>[2-7]</leadingDigits>
7007 <format>$1 $2</format>
7008 </numberFormat>
7009 <numberFormat pattern="(\d{4})(\d{3})(\d{4})">
7010 <leadingDigits>1</leadingDigits>
7011 <format>$1 $2 $3</format>
7012 </numberFormat>
7013 </availableFormats>
7014 <generalDesc>
7015 <nationalNumberPattern>
7016 [2-7]\d{7}|
7017 1[89]\d{9}
7018 </nationalNumberPattern>
7019 <possibleNumberPattern>\d{8}(?:\d{3})?</possibleNumberPattern>
7020 </generalDesc>
7021 <fixedLine>
7022 <nationalNumberPattern>[267][2-9]\d{6}</nationalNumberPattern>
7023 <possibleNumberPattern>\d{8}</possibleNumberPattern>
7024 <exampleNumber>22456789</exampleNumber>
7025 </fixedLine>
7026 <mobile>
7027 <!-- Wikipedia claims numbers with 3 are also mobile although in ITU doc ument it says that
7028 they are just reserved. -->
7029 <nationalNumberPattern>[345]\d{7}</nationalNumberPattern>
7030 <possibleNumberPattern>\d{8}</possibleNumberPattern>
7031 <exampleNumber>51234567</exampleNumber>
7032 </mobile>
7033 <tollFree>
7034 <nationalNumberPattern>18[01]\d{8}</nationalNumberPattern>
7035 <possibleNumberPattern>\d{11}</possibleNumberPattern>
7036 <exampleNumber>18001112222</exampleNumber>
7037 </tollFree>
7038 <premiumRate>
7039 <nationalNumberPattern>19\d{9}</nationalNumberPattern>
7040 <possibleNumberPattern>\d{11}</possibleNumberPattern>
7041 <exampleNumber>19001112222</exampleNumber>
7042 </premiumRate>
7043 <shortCode>
7044 <nationalNumberPattern>
7045 1(?:
7046 2|
7047 [57]\d
7048 )\d
7049 </nationalNumberPattern>
7050 <possibleNumberPattern>\d{3,4}</possibleNumberPattern>
7051 <exampleNumber>123</exampleNumber>
7052 </shortCode>
7053 </territory>
7054
7055 <!-- Guam -->
7056 <!-- http://www.nationalnanpa.com/nas/public/assigned_code_query_step1.do?me thod=resetCodeQueryModel -->
7057 <territory id="GU" countryCode="1" leadingDigits="671"
7058 nationalPrefix="1" internationalPrefix="011">
7059 <generalDesc>
7060 <!-- NANPA country - uses US formatting rules -->
7061 <nationalNumberPattern>[5689]\d{9}</nationalNumberPattern>
7062 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
7063 </generalDesc>
7064 <fixedLine>
7065 <!-- Added 671 555/720/721 based on information from
7066 http://www.area-codes.com/area-code/area-code-671.asp -->
7067 <nationalNumberPattern>
7068 671(?:
7069 3(?:
7070 00|
7071 3[39]|
7072 4[349]|
7073 55|
7074 6[26]
7075 )|
7076 4(?:
7077 56|
7078 7[1-9]|
7079 8[23678]
7080 )|
7081 5(?:
7082 55|
7083 6[2-5]|
7084 88
7085 )|
7086 6(?:
7087 3[2-578]|
7088 4[24-9]|
7089 5[34]|
7090 78|
7091 8[5-9]
7092 )|
7093 7(?:
7094 [079]7|
7095 2[0167]|
7096 3[45]|
7097 8[789]
7098 )|
7099 8(?:
7100 [2-5789]8|
7101 6[48]
7102 )|
7103 9(?:
7104 2[29]|
7105 6[79]|
7106 7[179]|
7107 8[789]|
7108 9[78]
7109 )
7110 )\d{4}
7111 </nationalNumberPattern>
7112 <exampleNumber>6713001234</exampleNumber>
7113 </fixedLine>
7114 <!-- We assume mobile phone numbers to be the same as fixed-line - further info unavailable -->
7115 <mobile>
7116 <nationalNumberPattern>
7117 671(?:
7118 3(?:
7119 00|
7120 3[39]|
7121 4[349]|
7122 55|
7123 6[26]
7124 )|
7125 4(?:
7126 56|
7127 7[1-9]|
7128 8[23678]
7129 )|
7130 5(?:
7131 55|
7132 6[2-5]|
7133 88
7134 )|
7135 6(?:
7136 3[2-578]|
7137 4[24-9]|
7138 5[34]|
7139 78|
7140 8[5-9]
7141 )|
7142 7(?:
7143 [079]7|
7144 2[0167]|
7145 3[45]|
7146 8[789]
7147 )|
7148 8(?:
7149 [2-5789]8|
7150 6[48]
7151 )|
7152 9(?:
7153 2[29]|
7154 6[79]|
7155 7[179]|
7156 8[789]|
7157 9[78]
7158 )
7159 )\d{4}
7160 </nationalNumberPattern>
7161 <exampleNumber>6713001234</exampleNumber>
7162 </mobile>
7163 <tollFree>
7164 <nationalNumberPattern>
7165 8(?:
7166 00|
7167 55|
7168 66|
7169 77|
7170 88
7171 )[2-9]\d{6}
7172 </nationalNumberPattern>
7173 <possibleNumberPattern>\d{10}</possibleNumberPattern>
7174 <exampleNumber>8002123456</exampleNumber>
7175 </tollFree>
7176 <premiumRate>
7177 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
7178 <possibleNumberPattern>\d{10}</possibleNumberPattern>
7179 <exampleNumber>9002123456</exampleNumber>
7180 </premiumRate>
7181 <personalNumber>
7182 <!-- http://www.nanpa.com/pdf/PL_416.pdf -->
7183 <nationalNumberPattern>
7184 5(?:
7185 00|
7186 33|
7187 44
7188 )[2-9]\d{6}
7189 </nationalNumberPattern>
7190 <possibleNumberPattern>\d{10}</possibleNumberPattern>
7191 <exampleNumber>5002345678</exampleNumber>
7192 </personalNumber>
7193 </territory>
7194
7195 <!-- Guinea-Bissau -->
7196 <!-- http://www.itu.int/oth/T020200005C/en -->
7197 <territory id="GW" countryCode="245" internationalPrefix="00">
7198 <availableFormats>
7199 <numberFormat pattern="(\d{3})(\d{4})">
7200 <format>$1 $2</format>
7201 </numberFormat>
7202 </availableFormats>
7203 <generalDesc>
7204 <nationalNumberPattern>[3567]\d{6}</nationalNumberPattern>
7205 <possibleNumberPattern>\d{7}</possibleNumberPattern>
7206 </generalDesc>
7207 <fixedLine>
7208 <nationalNumberPattern>
7209 3(?:
7210 2[0125]|
7211 3[1245]|
7212 4[12]|
7213 5[1-4]|
7214 70|
7215 9[1-467]
7216 )\d{4}
7217 </nationalNumberPattern>
7218 <exampleNumber>3201234</exampleNumber>
7219 </fixedLine>
7220 <mobile>
7221 <nationalNumberPattern>[5-7]\d{6}</nationalNumberPattern>
7222 <exampleNumber>5012345</exampleNumber>
7223 </mobile>
7224 </territory>
7225
7226 <!-- Guyana -->
7227 <!-- http://www.itu.int/oth/T020200005D/en -->
7228 <territory id="GY" countryCode="592" internationalPrefix="001">
7229 <availableFormats>
7230 <numberFormat pattern="(\d{3})(\d{4})">
7231 <format>$1 $2</format>
7232 </numberFormat>
7233 </availableFormats>
7234 <generalDesc>
7235 <nationalNumberPattern>[2-4679]\d{6}</nationalNumberPattern>
7236 <possibleNumberPattern>\d{7}</possibleNumberPattern>
7237 </generalDesc>
7238 <fixedLine>
7239 <nationalNumberPattern>
7240 (?:
7241 2(?:
7242 1[6-9]|
7243 2[0-35-9]|
7244 3[1-4]|
7245 5[3-9]|
7246 6\d|
7247 7[0-24-79]
7248 )|
7249 3(?:
7250 2[25-9]|
7251 3\d
7252 )|
7253 4(?:
7254 4[0-24]|
7255 5[56]
7256 )|
7257 77[1-57]
7258 )\d{4}
7259 </nationalNumberPattern>
7260 <exampleNumber>2201234</exampleNumber>
7261 </fixedLine>
7262 <mobile>
7263 <!-- The ITU document only describes a few ranges for mobile numbers but there is evidence
7264 that SMS messages have been succesfully sent to numbers in the enti re range prefixed
7265 with 6. -->
7266 <nationalNumberPattern>6\d{6}</nationalNumberPattern>
7267 <exampleNumber>6091234</exampleNumber>
7268 </mobile>
7269 <tollFree>
7270 <nationalNumberPattern>
7271 (?:
7272 289|
7273 862
7274 )\d{4}
7275 </nationalNumberPattern>
7276 <exampleNumber>2891234</exampleNumber>
7277 </tollFree>
7278 <premiumRate>
7279 <nationalNumberPattern>9008\d{3}</nationalNumberPattern>
7280 <exampleNumber>9008123</exampleNumber>
7281 </premiumRate>
7282 <shortCode>
7283 <nationalNumberPattern>
7284 0(?:
7285 02|
7286 171|
7287 444|
7288 7[67]7|
7289 801|
7290 9(?:
7291 0[78]|
7292 [2-47]
7293 )
7294 )
7295 </nationalNumberPattern>
7296 <possibleNumberPattern>\d{3,4}</possibleNumberPattern>
7297 <exampleNumber>0801</exampleNumber>
7298 </shortCode>
7299 </territory>
7300
7301 <!-- Hong Kong -->
7302 <!-- http://www.ofta.gov.hk/numbering/main.html -->
7303 <territory id="HK" countryCode="852" internationalPrefix="00">
7304 <availableFormats>
7305 <numberFormat pattern="(\d{4})(\d{4})">
7306 <leadingDigits>
7307 [235-7]|
7308 [89](?:
7309 0[1-9]|
7310 [1-9]
7311 )
7312 </leadingDigits>
7313 <format>$1 $2</format>
7314 </numberFormat>
7315 <numberFormat pattern="(800)(\d{3})(\d{3})">
7316 <leadingDigits>800</leadingDigits>
7317 <format>$1 $2 $3</format>
7318 </numberFormat>
7319 <numberFormat pattern="(900)(\d{2})(\d{3})(\d{3})">
7320 <leadingDigits>900</leadingDigits>
7321 <format>$1 $2 $3 $4</format>
7322 </numberFormat>
7323 </availableFormats>
7324 <generalDesc>
7325 <!-- Slightly more complex pattern to allow the country code to be strip ped off if
7326 necessary. -->
7327 <nationalNumberPattern>
7328 [235-7]\d{7}|
7329 8\d{7,8}|
7330 9\d{7,10}
7331 </nationalNumberPattern>
7332 <possibleNumberPattern>\d{8,11}</possibleNumberPattern>
7333 </generalDesc>
7334 <fixedLine>
7335 <nationalNumberPattern>[23]\d{7}</nationalNumberPattern>
7336 <possibleNumberPattern>\d{8}</possibleNumberPattern>
7337 <exampleNumber>21234567</exampleNumber>
7338 </fixedLine>
7339 <mobile>
7340 <nationalNumberPattern>[5-79]\d{7}</nationalNumberPattern>
7341 <possibleNumberPattern>\d{8}</possibleNumberPattern>
7342 <exampleNumber>51234567</exampleNumber>
7343 </mobile>
7344 <tollFree>
7345 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
7346 <possibleNumberPattern>\d{9}</possibleNumberPattern>
7347 <exampleNumber>800123456</exampleNumber>
7348 </tollFree>
7349 <premiumRate>
7350 <nationalNumberPattern>900\d{8}</nationalNumberPattern>
7351 <possibleNumberPattern>\d{11}</possibleNumberPattern>
7352 <exampleNumber>90012345678</exampleNumber>
7353 </premiumRate>
7354 <personalNumber>
7355 <nationalNumberPattern>8[1-3]\d{6}</nationalNumberPattern>
7356 <possibleNumberPattern>\d{8}</possibleNumberPattern>
7357 <exampleNumber>81123456</exampleNumber>
7358 </personalNumber>
7359 </territory>
7360
7361 <!-- Honduras -->
7362 <!-- http://www.itu.int/oth/T020200005F/en -->
7363 <!-- It seems there is no longer a trunk prefix in use, based on websites li ke
7364 http://www.howtocallabroad.com/codes.html and on seeing how locals writ e their numbers in
7365 national format. -->
7366 <territory id="HN" countryCode="504" internationalPrefix="00" >
7367 <availableFormats>
7368 <numberFormat pattern="(\d{4})(\d{4})">
7369 <format>$1-$2</format>
7370 </numberFormat>
7371 </availableFormats>
7372 <generalDesc>
7373 <nationalNumberPattern>[237-9]\d{7}</nationalNumberPattern>
7374 <possibleNumberPattern>\d{8}</possibleNumberPattern>
7375 </generalDesc>
7376 <fixedLine>
7377 <nationalNumberPattern>
7378 2(?:
7379 2(?:
7380 0[019]|
7381 1[1-36]|
7382 [23]\d|
7383 4[056]|
7384 5[57]|
7385 9[01]
7386 )|
7387 4(?:
7388 2|3-59]|
7389 3[13-689]|
7390 4[0-68]|
7391 5[1-35]
7392 )|
7393 5(?:
7394 4[3-5]|
7395 5\d|
7396 6[56]|
7397 74
7398 )|
7399 6(?:
7400 4[0-378]|
7401 [56]\d|
7402 [78][0-8]|
7403 9[01]
7404 )|
7405 7(?:
7406 6[46-9]|
7407 7[02-9]|
7408 8[34]
7409 )|
7410 8(?:
7411 79|
7412 8[0-35789]|
7413 9[1-57-9]
7414 )
7415 )\d{4}
7416 </nationalNumberPattern>
7417 <exampleNumber>22123456</exampleNumber>
7418 </fixedLine>
7419 <mobile>
7420 <nationalNumberPattern>[37-9]\d{7}</nationalNumberPattern>
7421 <exampleNumber>91234567</exampleNumber>
7422 </mobile>
7423 </territory>
7424
7425 <!-- Croatia -->
7426 <!-- http://www.itu.int/oth/T0202000032/en -->
7427 <!-- http://en.wikipedia.org/wiki/%2B385 -->
7428 <territory id="HR" countryCode="385" internationalPrefix="00"
7429 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
7430 <availableFormats>
7431 <!-- The plan says 1 XXX XXXX but the government and local telecom websi tes are formatted 1
7432 XXXX XXX, so we prefer that formatting here. These same sources pre fer XXX XXX to XX
7433 XXXX as well. -->
7434 <numberFormat pattern="(1)(\d{4})(\d{3})">
7435 <leadingDigits>1</leadingDigits>
7436 <format>$1 $2 $3</format>
7437 </numberFormat>
7438 <numberFormat pattern="(6[029])(\d{4})(\d{3})">
7439 <leadingDigits>6[029]</leadingDigits>
7440 <format>$1 $2 $3</format>
7441 </numberFormat>
7442 <numberFormat pattern="([2-5]\d)(\d{3})(\d{3})">
7443 <leadingDigits>[2-5]</leadingDigits>
7444 <format>$1 $2 $3</format>
7445 </numberFormat>
7446 <numberFormat pattern="(9[12589])(\d{3,4})(\d{3,4})">
7447 <leadingDigits>9</leadingDigits>
7448 <format>$1 $2 $3</format>
7449 </numberFormat>
7450 <numberFormat pattern="(9[12589])(\d{3,4})(\d{3})(\d{3})">
7451 <leadingDigits>9</leadingDigits>
7452 <format>$1 $2 $3 $4</format>
7453 </numberFormat>
7454 <numberFormat pattern="(\d{2})(\d{2})(\d{2,3})">
7455 <leadingDigits>
7456 6[145]|
7457 7
7458 </leadingDigits>
7459 <format>$1 $2 $3</format>
7460 </numberFormat>
7461 <numberFormat pattern="(\d{2})(\d{3,4})(\d{3})">
7462 <leadingDigits>
7463 6[145]|
7464 7
7465 </leadingDigits>
7466 <format>$1 $2 $3</format>
7467 </numberFormat>
7468 <numberFormat pattern="(80[01])(\d{2})(\d{2,3})">
7469 <leadingDigits>8</leadingDigits>
7470 <format>$1 $2 $3</format>
7471 </numberFormat>
7472 <numberFormat pattern="(80[01])(\d{3,4})(\d{3})">
7473 <leadingDigits>8</leadingDigits>
7474 <format>$1 $2 $3</format>
7475 </numberFormat>
7476 </availableFormats>
7477 <generalDesc>
7478 <nationalNumberPattern>
7479 [1-7]\d{5,8}|
7480 [89]\d{6,11}
7481 </nationalNumberPattern>
7482 <possibleNumberPattern>\d{6,12}</possibleNumberPattern>
7483 </generalDesc>
7484 <fixedLine>
7485 <!-- Supporting 060 (general service), 062 (universal access), 069 (chil dren service)
7486 numbers here too. -->
7487 <nationalNumberPattern>
7488 (?:
7489 1|
7490 6[029]
7491 )\d{7}|
7492 (?:
7493 2[0-3]|
7494 3[1-5]|
7495 4[02-47-9]|
7496 5[1-3]
7497 )\d{6}
7498 </nationalNumberPattern>
7499 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
7500 <exampleNumber>12345678</exampleNumber>
7501 </fixedLine>
7502 <mobile>
7503 <nationalNumberPattern>9[12589]\d{6,10}</nationalNumberPattern>
7504 <possibleNumberPattern>\d{8,12}</possibleNumberPattern>
7505 <exampleNumber>912345678</exampleNumber>
7506 </mobile>
7507 <tollFree>
7508 <nationalNumberPattern>80[01]\d{4,7}</nationalNumberPattern>
7509 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
7510 <exampleNumber>8001234567</exampleNumber>
7511 </tollFree>
7512 <premiumRate>
7513 <!-- 061 is for TeleVoting numbers - but these are charged at similar ra tes to premium rate
7514 so we include them here. -->
7515 <nationalNumberPattern>6[145]\d{4,7}</nationalNumberPattern>
7516 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
7517 <exampleNumber>611234</exampleNumber>
7518 </premiumRate>
7519 <personalNumber>
7520 <nationalNumberPattern>7[45]\d{4,7}</nationalNumberPattern>
7521 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
7522 <exampleNumber>741234567</exampleNumber>
7523 </personalNumber>
7524 </territory>
7525
7526 <!-- Haiti -->
7527 <!-- http://www.itu.int/oth/T020200005E/en -->
7528 <!-- http://www.numberingplans.com/ -->
7529 <territory id="HT" countryCode="509" internationalPrefix="00">
7530 <availableFormats>
7531 <numberFormat pattern="(\d{2})(\d{2})(\d{4})">
7532 <format>$1 $2 $3</format>
7533 </numberFormat>
7534 </availableFormats>
7535 <generalDesc>
7536 <nationalNumberPattern>[2-489]\d{7}</nationalNumberPattern>
7537 <possibleNumberPattern>\d{8}</possibleNumberPattern>
7538 </generalDesc>
7539 <fixedLine>
7540 <!-- The prefix 24 seems to be also used, based on online searches. -->
7541 <nationalNumberPattern>
7542 2(?:
7543 [24]\d|
7544 5[1-5]|
7545 94
7546 )\d{5}
7547 </nationalNumberPattern>
7548 <exampleNumber>22453300</exampleNumber>
7549 </fixedLine>
7550 <mobile>
7551 <nationalNumberPattern>
7552 (?:
7553 3[4-9]|
7554 4\d
7555 )\d{6}
7556 </nationalNumberPattern>
7557 <exampleNumber>34101234</exampleNumber>
7558 </mobile>
7559 <tollFree>
7560 <!-- ITU document says numbers with prefix 8 are "value-added services a nd free numbers
7561 without making any further distinction. However, http://www.numberi ngplans.com/ seems
7562 to suggest they are free. -->
7563 <nationalNumberPattern>8\d{7}</nationalNumberPattern>
7564 <possibleNumberPattern>\d{8}</possibleNumberPattern>
7565 <exampleNumber>80012345</exampleNumber>
7566 </tollFree>
7567 <voip>
7568 <!-- ITU document suggests 98\d{6}, but http://www.numberingplans.com/ r estricts it to
7569 98[89]\d{5}. -->
7570 <nationalNumberPattern>98[89]\d{5}</nationalNumberPattern>
7571 <possibleNumberPattern>\d{8}</possibleNumberPattern>
7572 <exampleNumber>98901234</exampleNumber>
7573 </voip>
7574 <shortCode>
7575 <nationalNumberPattern>1\d{2}</nationalNumberPattern>
7576 <possibleNumberPattern>\d{3}</possibleNumberPattern>
7577 <exampleNumber>114</exampleNumber>
7578 </shortCode>
7579 </territory>
7580
7581 <!-- Hungary -->
7582 <!-- http://www.itu.int/dms_pub/itu-t/oth/02/02/T02020000610001MSWE.doc -->
7583 <territory id="HU" countryCode="36" internationalPrefix="00"
7584 nationalPrefix="06" nationalPrefixFormattingRule="($FG)">
7585 <!-- Although the national prefix is necessary for dialling, the preferred format (confirmed
7586 by a Hungarian person and following the yellow pages) is to omit this when formatting.
7587 Yellow pages: www.aranyoldalak.hu -->
7588 <availableFormats>
7589 <numberFormat pattern="(1)(\d{3})(\d{4})">
7590 <leadingDigits>1</leadingDigits>
7591 <format>$1 $2 $3</format>
7592 </numberFormat>
7593 <numberFormat pattern="(\d{2})(\d{3})(\d{3,4})">
7594 <leadingDigits>[2-9]</leadingDigits>
7595 <format>$1 $2 $3</format>
7596 </numberFormat>
7597 </availableFormats>
7598 <generalDesc>
7599 <nationalNumberPattern>\d{8,9}</nationalNumberPattern>
7600 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
7601 </generalDesc>
7602 <fixedLine>
7603 <!-- Includes numbers for corporate networks. -->
7604 <nationalNumberPattern>
7605 (?:
7606 1\d|
7607 2(?:
7608 1\d|
7609 [2-9]
7610 )|
7611 3[2-7]|
7612 4[24-9]|
7613 5[2-79]|
7614 6[23689]|
7615 7(?:
7616 1\d|
7617 [2-9]
7618 )|
7619 8[2-57-9]|
7620 9[2-69]
7621 )\d{6}
7622 </nationalNumberPattern>
7623 <exampleNumber>12345678</exampleNumber>
7624 </fixedLine>
7625 <mobile>
7626 <nationalNumberPattern>
7627 (?:
7628 [27]0|
7629 3[01]
7630 )\d{7}
7631 </nationalNumberPattern>
7632 <possibleNumberPattern>\d{9}</possibleNumberPattern>
7633 <exampleNumber>201234567</exampleNumber>
7634 </mobile>
7635 <tollFree>
7636 <nationalNumberPattern>80\d{6}</nationalNumberPattern>
7637 <possibleNumberPattern>\d{8}</possibleNumberPattern>
7638 <exampleNumber>80123456</exampleNumber>
7639 </tollFree>
7640 <premiumRate>
7641 <nationalNumberPattern>9[01]\d{6}</nationalNumberPattern>
7642 <possibleNumberPattern>\d{8}</possibleNumberPattern>
7643 <exampleNumber>90123456</exampleNumber>
7644 </premiumRate>
7645 <sharedCost>
7646 <nationalNumberPattern>40\d{6}</nationalNumberPattern>
7647 <possibleNumberPattern>\d{8}</possibleNumberPattern>
7648 <exampleNumber>40123456</exampleNumber>
7649 </sharedCost>
7650 </territory>
7651
7652 <!-- Indonesia -->
7653 <!-- http://www.itu.int/oth/T0202000064/en (from 2001, very out-of-date) -->
7654 <!-- http://en.wikipedia.org/wiki/%2B62 -->
7655 <territory id="ID" countryCode="62" internationalPrefix="0(?:0[1789]|10(?:00 |1[67]))"
7656 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
7657 <availableFormats>
7658 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
7659 pattern="(\d{2})(\d{7,8})">
7660 <leadingDigits>
7661 2[124]|
7662 [36]1
7663 </leadingDigits>
7664 <format>$1 $2</format>
7665 </numberFormat>
7666 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
7667 pattern="(\d{3})(\d{5,7})">
7668 <leadingDigits>
7669 [4579]|
7670 2[035-9]|
7671 [36][02-9]
7672 </leadingDigits>
7673 <format>$1 $2</format>
7674 </numberFormat>
7675 <numberFormat pattern="(8\d{2})(\d{3,4})(\d{3,4})">
7676 <leadingDigits>8[1-35-9]</leadingDigits>
7677 <format>$1-$2-$3</format>
7678 </numberFormat>
7679 <numberFormat pattern="(177)(\d{6,8})">
7680 <leadingDigits>1</leadingDigits>
7681 <format>$1 $2</format>
7682 </numberFormat>
7683 <!-- http://en.wikipedia.org/wiki/Toll-free_telephone_number, and exampl es on the web show
7684 that sometimes they are followed by less digits. -->
7685 <numberFormat pattern="(800)(\d{5,7})">
7686 <leadingDigits>800</leadingDigits>
7687 <format>$1 $2</format>
7688 </numberFormat>
7689 <numberFormat pattern="(809)(\d)(\d{3})(\d{3})">
7690 <leadingDigits>809</leadingDigits>
7691 <format>$1 $2 $3 $4</format>
7692 </numberFormat>
7693 </availableFormats>
7694 <generalDesc>
7695 <nationalNumberPattern>[1-9]\d{6,10}</nationalNumberPattern>
7696 <possibleNumberPattern>\d{5,11}</possibleNumberPattern>
7697 </generalDesc>
7698 <fixedLine>
7699 <!-- Area codes taken from wikipedia, with missing ones added from
7700 http://www.telkom.co.id/customer-services/area-and-country-code/?ty pe=area.
7701 We also added 0770 after user feedback because it seems to be used on Bintan island.
7702 -->
7703 <nationalNumberPattern>
7704 2[124]\d{7,8}|
7705 (?:
7706 2(?:
7707 [35][1-4]|
7708 6[0-8]|
7709 7[1-6]|
7710 8\d|
7711 9[1-8]
7712 )|
7713 3(?:
7714 1|
7715 2[1-578]|
7716 3[1-68]|
7717 4[1-3]|
7718 5[1-8]|
7719 6[1-3568]|
7720 7[0-46]|
7721 8\d
7722 )|
7723 4(?:
7724 0[1-589]|
7725 1[01347-9]|
7726 2[0-36-8]|
7727 3[0-24-68]|
7728 5[1-378]|
7729 6[1-5]|
7730 7[134]|
7731 8[1245]
7732 )|
7733 5(?:
7734 1[1-35-9]|
7735 2[25-8]|
7736 3[1246-9]|
7737 4[1-3589]|
7738 5[1-46]|
7739 6[1-8]
7740 )|
7741 6(?:
7742 19? |
7743 [25]\d|
7744 3[1-469]|
7745 4[1-6]
7746 )|
7747 7(?:
7748 1[1-46-9]|
7749 2[14-9]|
7750 [36]\d|
7751 4[1-8]|
7752 5[1-9]|
7753 7[0-36-9]
7754 )|
7755 9(?:
7756 0[12]|
7757 1[0134-8]|
7758 2[0-479]|
7759 5[125-8]|
7760 6[23679]|
7761 7[159]|
7762 8[01346]
7763 )
7764 )\d{5,8}
7765 </nationalNumberPattern>
7766 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
7767 <exampleNumber>612345678</exampleNumber>
7768 </fixedLine>
7769 <mobile>
7770 <nationalNumberPattern>8[1-35-9]\d{7,9}</nationalNumberPattern>
7771 <possibleNumberPattern>\d{9,11}</possibleNumberPattern>
7772 <exampleNumber>812345678</exampleNumber>
7773 </mobile>
7774 <tollFree>
7775 <nationalNumberPattern>
7776 177\d{6,8}|
7777 800\d{5,7}
7778 </nationalNumberPattern>
7779 <possibleNumberPattern>\d{8,11}</possibleNumberPattern>
7780 <exampleNumber>8001234567</exampleNumber>
7781 </tollFree>
7782 <!-- The infomation below is provided by an Indonesian -->
7783 <premiumRate>
7784 <nationalNumberPattern>809\d{7}</nationalNumberPattern>
7785 <possibleNumberPattern>\d{10}</possibleNumberPattern>
7786 <exampleNumber>8091234567</exampleNumber>
7787 </premiumRate>
7788 </territory>
7789
7790 <!-- Ireland -->
7791 <!-- http://www.comreg.ie/_fileupload/publications/ComReg0802.pdf -->
7792 <!-- http://www.comreg.ie/_fileupload/publications/ComReg0435.pdf -->
7793 <!-- http://www.comreg.ie/_fileupload/publications/ComReg03147.pdf -->
7794 <territory id="IE" countryCode="353" internationalPrefix="00"
7795 nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)">
7796 <availableFormats>
7797 <numberFormat pattern="(1)(\d{3,4})(\d{4})">
7798 <leadingDigits>1</leadingDigits>
7799 <format>$1 $2 $3</format>
7800 </numberFormat>
7801 <numberFormat pattern="(\d{2})(\d{5})">
7802 <leadingDigits>
7803 2[2-9]|
7804 4[347]|
7805 5[2-58]|
7806 6[2-47-9]|
7807 9[3-9]
7808 </leadingDigits>
7809 <format>$1 $2</format>
7810 </numberFormat>
7811 <numberFormat pattern="(\d{3})(\d{5})">
7812 <leadingDigits>
7813 40[24]|
7814 50[45]
7815 </leadingDigits>
7816 <format>$1 $2</format>
7817 </numberFormat>
7818 <numberFormat pattern="(48)(\d{4})(\d{4})">
7819 <leadingDigits>48</leadingDigits>
7820 <format>$1 $2 $3</format>
7821 </numberFormat>
7822 <numberFormat pattern="(818)(\d{3})(\d{3})">
7823 <leadingDigits>81</leadingDigits>
7824 <format>$1 $2 $3</format>
7825 </numberFormat>
7826 <numberFormat pattern="(\d{2})(\d{3})(\d{3,4})">
7827 <leadingDigits>
7828 [24-69]|
7829 7[14]
7830 </leadingDigits>
7831 <format>$1 $2 $3</format>
7832 </numberFormat>
7833 <numberFormat nationalPrefixFormattingRule="$NP$FG"
7834 pattern="([78]\d)(\d{3,4})(\d{4})">
7835 <leadingDigits>
7836 76|
7837 8[35-9]
7838 </leadingDigits>
7839 <format>$1 $2 $3</format>
7840 </numberFormat>
7841 <numberFormat nationalPrefixFormattingRule="$NP$FG"
7842 pattern="(700)(\d{3})(\d{3})">
7843 <leadingDigits>70</leadingDigits>
7844 <format>$1 $2 $3</format>
7845 </numberFormat>
7846 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{3}) (\d{3})">
7847 <leadingDigits>
7848 1(?:
7849 8[059]|
7850 5
7851 )
7852 </leadingDigits>
7853 <leadingDigits>
7854 1(?:
7855 8[059]0|
7856 5
7857 )
7858 </leadingDigits>
7859 <format>$1 $2 $3</format>
7860 </numberFormat>
7861 </availableFormats>
7862 <generalDesc>
7863 <nationalNumberPattern>[124-9]\d{6,9}</nationalNumberPattern>
7864 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
7865 </generalDesc>
7866 <fixedLine>
7867 <!-- We allow 6-7 digit subscriber numbers for the 021 area code since t hat seems to be
7868 reflected by the numbers in the Yellow Pages. The 023, 043, 052 and 064 area codes also
7869 may have 7 digit subscriber numbers, although limited to 5 in the p lan. This was caused
7870 by a numbering update in 2008 (http://www.wtng.info/wtng-353-ie.htm l has more details).
7871 Other changes not in the plan include consolidating 0502, 0506 and 0509 into 057 and
7872 054, 055 and 053 into 053, and making 044 be followed by 7 digits i n some cases.
7873 Another peculiarity is that 048 actually replaces 00 44 28 when Iri sh people dial,
7874 allowing them to easily dial Northern Ireland. We support these num bers here, although
7875 technically they are numbers for the UK. -->
7876 <nationalNumberPattern>
7877 1\d{7,8}|
7878 2(?:
7879 1\d{6,7}|
7880 [24-9]\d{5}|
7881 3\d{5,7}
7882 )|
7883 4(?:
7884 0[24]\d{5}|
7885 [1269]\d{7}|
7886 [34]\d{5,7}|
7887 5\d{6}|
7888 7\d{5}|
7889 8[0-46-9]\d{7}
7890 )|
7891 5(?:
7892 0[45]\d{5}|
7893 1\d{6}|
7894 2\d{5,7}|
7895 [3679]\d{7}|
7896 8\d{5}
7897 )|
7898 6(?:
7899 1\d{6}|
7900 4\d{5,7}|
7901 [237-9]\d{5}|
7902 [56]\d{7}
7903 )|
7904 7[14]\d{7}|
7905 9(?:
7906 1\d{6}|
7907 [04]\d{7}|
7908 [3-9]\d{5}
7909 )
7910 </nationalNumberPattern>
7911 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
7912 <exampleNumber>2212345</exampleNumber>
7913 </fixedLine>
7914 <mobile>
7915 <nationalNumberPattern>
7916 8(?:
7917 22\d{6}|
7918 [35-9]\d{7,8}
7919 )
7920 </nationalNumberPattern>
7921 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
7922 <exampleNumber>850123456</exampleNumber>
7923 </mobile>
7924 <tollFree>
7925 <nationalNumberPattern>1800\d{6}</nationalNumberPattern>
7926 <possibleNumberPattern>\d{10}</possibleNumberPattern>
7927 <exampleNumber>1800123456</exampleNumber>
7928 </tollFree>
7929 <premiumRate>
7930 <nationalNumberPattern>
7931 15(?:
7932 1[2-9]|
7933 [2-8]0|
7934 59|
7935 9[089]
7936 )\d{6}
7937 </nationalNumberPattern>
7938 <possibleNumberPattern>\d{10}</possibleNumberPattern>
7939 <exampleNumber>1520123456</exampleNumber>
7940 </premiumRate>
7941 <sharedCost>
7942 <nationalNumberPattern>18[59]0\d{6}</nationalNumberPattern>
7943 <possibleNumberPattern>\d{10}</possibleNumberPattern>
7944 <exampleNumber>1850123456</exampleNumber>
7945 </sharedCost>
7946 <personalNumber>
7947 <nationalNumberPattern>700\d{6}</nationalNumberPattern>
7948 <possibleNumberPattern>\d{9}</possibleNumberPattern>
7949 <exampleNumber>700123456</exampleNumber>
7950 </personalNumber>
7951 <voip>
7952 <nationalNumberPattern>76\d{7}</nationalNumberPattern>
7953 <possibleNumberPattern>\d{9}</possibleNumberPattern>
7954 <exampleNumber>761234567</exampleNumber>
7955 </voip>
7956 <uan>
7957 <nationalNumberPattern>818\d{6}</nationalNumberPattern>
7958 <possibleNumberPattern>\d{9}</possibleNumberPattern>
7959 <exampleNumber>818123456</exampleNumber>
7960 </uan>
7961 </territory>
7962
7963 <!-- Israel -->
7964 <!-- http://www.itu.int/oth/T020200006A/en -->
7965 <!-- http://en.wikipedia.org/wiki/%2B972 -->
7966 <!-- http://www.wtng.info/wtng-972-il.html -->
7967 <!-- http://www.moc.gov.il/new/documents/engineering/MISP0200.ppt (in Hebrew ) -->
7968 <!-- Formatting practice following wikipedia, and government sites. -->
7969 <territory id="IL" countryCode="972" internationalPrefix="0(?:0|1[2-48])"
7970 nationalPrefix="0" nationalPrefixFormattingRule="$FG">
7971 <availableFormats>
7972 <numberFormat nationalPrefixFormattingRule="$NP$FG"
7973 pattern="([2-489])(\d{3})(\d{4})">
7974 <leadingDigits>[2-489]</leadingDigits>
7975 <format>$1-$2-$3</format>
7976 </numberFormat>
7977 <numberFormat nationalPrefixFormattingRule="$NP$FG"
7978 pattern="([57]\d)(\d{3})(\d{4})">
7979 <leadingDigits>[57]</leadingDigits>
7980 <format>$1-$2-$3</format>
7981 </numberFormat>
7982 <numberFormat pattern="(1)([7-9]\d{2})(\d{3})(\d{3})">
7983 <leadingDigits>1[7-9]</leadingDigits>
7984 <format>$1-$2-$3-$4</format>
7985 </numberFormat>
7986 <!-- The following number is for hospitals. -->
7987 <numberFormat pattern="(1255)(\d{3})">
7988 <leadingDigits>125</leadingDigits>
7989 <format>$1-$2</format>
7990 </numberFormat>
7991 <numberFormat pattern="(1200)(\d{3})(\d{3})">
7992 <leadingDigits>120</leadingDigits>
7993 <format>$1-$2-$3</format>
7994 </numberFormat>
7995 <numberFormat pattern="(1212)(\d{2})(\d{2})">
7996 <leadingDigits>121</leadingDigits>
7997 <format>$1-$2-$3</format>
7998 </numberFormat>
7999 <!-- These are 4-digit star numbers which are only accessible within Isr ael and must be
8000 dialed with a star in front of the number. -->
8001 <numberFormat pattern="(\d{4})">
8002 <leadingDigits>[2-689]</leadingDigits>
8003 <format>*$1</format>
8004 </numberFormat>
8005 </availableFormats>
8006 <generalDesc >
8007 <nationalNumberPattern>
8008 [17]\d{6,9}|
8009 [2-589]\d{3}(?:\d{3,6})?|
8010 6\d{3}
8011 </nationalNumberPattern>
8012 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
8013 </generalDesc>
8014 <noInternationalDialling>
8015 <nationalNumberPattern>
8016 1700\d{6}|
8017 [2-689]\d{3}
8018 </nationalNumberPattern>
8019 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
8020 <exampleNumber>1700123456</exampleNumber>
8021 </noInternationalDialling>
8022 <fixedLine>
8023 <nationalNumberPattern>
8024 (?:
8025 [2-489]|
8026 7[2-46-8]
8027 )\d{7}
8028 </nationalNumberPattern>
8029 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
8030 <exampleNumber>21234567</exampleNumber>
8031 </fixedLine>
8032 <mobile>
8033 <nationalNumberPattern>5[024679]\d{7}</nationalNumberPattern>
8034 <possibleNumberPattern>\d{9}</possibleNumberPattern>
8035 <exampleNumber>501234567</exampleNumber>
8036 </mobile>
8037 <tollFree>
8038 <nationalNumberPattern>
8039 1(?:
8040 80[01]\d{3}|
8041 255
8042 )\d{3}
8043 </nationalNumberPattern>
8044 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
8045 <exampleNumber>1800123456</exampleNumber>
8046 </tollFree>
8047 <premiumRate>
8048 <!-- Peculiarly, one source states that 1956 and 1957 are the new prem ium rate prefixes.
8049 However, no online numbers starting with these prefixes can be fo und, and this data
8050 is not found in any other source. Instead, 1919 numbers are commo nly used online for
8051 these services, so we support them. -->
8052 <!-- 1200 and 1212 numbers are for televoting. -->
8053 <nationalNumberPattern>
8054 1(?:
8055 212|
8056 (?:
8057 919|
8058 200
8059 )\d{2}
8060 )\d{4}
8061 </nationalNumberPattern>
8062 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
8063 <exampleNumber>1919123456</exampleNumber>
8064 </premiumRate>
8065 <sharedCost>
8066 <nationalNumberPattern>
8067 1(?:
8068 700|
8069 809
8070 )\d{6}
8071 </nationalNumberPattern>
8072 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8073 <exampleNumber>1700123456</exampleNumber>
8074 </sharedCost>
8075 <voip>
8076 <nationalNumberPattern>77\d{7}</nationalNumberPattern>
8077 <possibleNumberPattern>\d{9}</possibleNumberPattern>
8078 <exampleNumber>771234567</exampleNumber>
8079 </voip>
8080 <uan>
8081 <!-- 4-digit star numbers. -->
8082 <nationalNumberPattern>[2-689]\d{3}</nationalNumberPattern>
8083 <possibleNumberPattern>\d{4}</possibleNumberPattern>
8084 <exampleNumber>2250</exampleNumber>
8085 </uan>
8086 <shortCode>
8087 <nationalNumberPattern>1\d{3}</nationalNumberPattern>
8088 <possibleNumberPattern>\d{4}</possibleNumberPattern>
8089 <exampleNumber>1455</exampleNumber>
8090 </shortCode>
8091 </territory>
8092
8093 <!-- Isle of Man -->
8094 <!-- Inherits formatting rules from the UK. -->
8095 <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_the_United_Kingdom -- >
8096 <territory id="IM" countryCode="44" internationalPrefix="00"
8097 nationalPrefix="0" preferredExtnPrefix=" x" nationalPrefixFormatt ingRule="$NP$FG">
8098 <generalDesc>
8099 <nationalNumberPattern>[135789]\d{6,9}</nationalNumberPattern>
8100 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
8101 </generalDesc>
8102 <areaCodeOptional>
8103 <nationalNumberPattern>1624[2-9]\d{5}</nationalNumberPattern>
8104 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8105 <exampleNumber>1624250123</exampleNumber>
8106 </areaCodeOptional>
8107 <!-- Specific to IM. -->
8108 <fixedLine>
8109 <!-- 1624 with 10 digits. -->
8110 <nationalNumberPattern>1624\d{6}</nationalNumberPattern>
8111 <exampleNumber>1624456789</exampleNumber>
8112 </fixedLine>
8113 <mobile>
8114 <!-- 7524, 7624, 7924 with 10 digits. -->
8115 <nationalNumberPattern>7[569]24\d{6}</nationalNumberPattern>
8116 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8117 <exampleNumber>7924123456</exampleNumber>
8118 </mobile>
8119 <tollFree>
8120 <!-- 808 162 with 10 digits. -->
8121 <nationalNumberPattern>808162\d{4}</nationalNumberPattern>
8122 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8123 <exampleNumber>8081624567</exampleNumber>
8124 </tollFree>
8125 <premiumRate>
8126 <!-- 872 299, 900 624, 901 624, 906 624, 907 624 with 10 digits. -->
8127 <nationalNumberPattern>
8128 (?:
8129 872299|
8130 90[0167]624
8131 )\d{4}
8132 </nationalNumberPattern>
8133 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8134 <exampleNumber>9016247890</exampleNumber>
8135 </premiumRate>
8136 <sharedCost>
8137 <!-- 844 040 6, 844 090 6, 845 624, 870 624 with 10 digits. -->
8138 <nationalNumberPattern>
8139 8(?:
8140 4(?:
8141 40[49]06|
8142 5624\d
8143 )|
8144 70624\d
8145 )\d{3}
8146 </nationalNumberPattern>
8147 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8148 <exampleNumber>8456247890</exampleNumber>
8149 </sharedCost>
8150 <!-- Other numbers as per GB. -->
8151 <personalNumber>
8152 <nationalNumberPattern>70\d{8}</nationalNumberPattern>
8153 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8154 <exampleNumber>7012345678</exampleNumber>
8155 </personalNumber>
8156 <voip>
8157 <nationalNumberPattern>56\d{8}</nationalNumberPattern>
8158 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8159 <exampleNumber>5612345678</exampleNumber>
8160 </voip>
8161 <uan>
8162 <!-- 308 162, 33d, 344 040 6, 344 090 6, 345 624, 370 624, 372 299, 55 w ith 10 digits. -->
8163 <nationalNumberPattern>
8164 3(?:
8165 08162\d|
8166 3\d{5}|
8167 4(?:
8168 40[49]06|
8169 5624\d
8170 )|
8171 7(?:
8172 0624\d|
8173 2299\d
8174 )
8175 )\d{3}|
8176 55\d{8}
8177 </nationalNumberPattern>
8178 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8179 <exampleNumber>5512345678</exampleNumber>
8180 </uan>
8181 <shortCode>
8182 <nationalNumberPattern>
8183 1\d{2}(?:\d{3})?|
8184 999
8185 </nationalNumberPattern>
8186 <possibleNumberPattern>\d{3,6}</possibleNumberPattern>
8187 <exampleNumber>150</exampleNumber>
8188 </shortCode>
8189 </territory>
8190
8191 <!-- India -->
8192 <!-- http://www.itu.int/oth/T0202000063/en -->
8193 <!-- http://en.wikipedia.org/wiki/%2B91 -->
8194 <!-- Note that several changes in area codes have occurred since the numberi ng plan was released
8195 - changes are notified on the www.bsnl.co.in website. Area codes can be verified here at
8196 http://www.bsnl.co.in/stdsearch.php. -->
8197 <territory id="IN" countryCode="91" internationalPrefix="00"
8198 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
8199 <availableFormats>
8200 <!-- Mobile numbers. -->
8201 <numberFormat pattern="(\d{2})(\d{2})(\d{6})">
8202 <leadingDigits>
8203 7(?:
8204 2[0579]|
8205 39|
8206 4[0-389]|
8207 5[04-9]|
8208 6|
8209 7[02-9]|
8210 8[0-79]
8211 )|
8212 8(?:
8213 0[01589]|
8214 1[024]|
8215 8[0479]|
8216 9[057-9]
8217 )|
8218 9
8219 </leadingDigits>
8220 <leadingDigits>
8221 7(?:
8222 2[0579]|
8223 39|
8224 4[0-389]|
8225 5(?:
8226 0[0-5]|
8227 49|
8228 50|
8229 [6-9]
8230 )|
8231 6|
8232 7[02-9]|
8233 8[0-79]
8234 )|
8235 8(?:
8236 0[01589]|
8237 1[024]|
8238 8(?:
8239 [079]|
8240 44
8241 )|
8242 9[057-9]
8243 )|
8244 9
8245 </leadingDigits>
8246 <format>$1 $2 $3</format>
8247 </numberFormat>
8248 <!-- 2 digits area code -->
8249 <numberFormat pattern="(\d{2})(\d{4})(\d{4})">
8250 <leadingDigits>
8251 11|
8252 2[02]|
8253 33|
8254 4[04]|
8255 79|
8256 80[2-6]
8257 </leadingDigits>
8258 <format>$1 $2 $3</format>
8259 </numberFormat>
8260 <!-- 3 digits area code -->
8261 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
8262 <leadingDigits>
8263 1(?:
8264 2[0-249]|
8265 3[0-25]|
8266 4[145]|
8267 [569][14]|
8268 7[1257]|
8269 8[1346]|
8270 [68][1-9]
8271 )
8272 </leadingDigits>
8273 <format>$1 $2 $3</format>
8274 </numberFormat>
8275 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
8276 <leadingDigits>
8277 2(?:
8278 1[257]|
8279 3[013]|
8280 4[01]|
8281 5[0137]|
8282 6[0158]|
8283 78|
8284 8[1568]|
8285 9[14]
8286 )
8287 </leadingDigits>
8288 <format>$1 $2 $3</format>
8289 </numberFormat>
8290 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
8291 <leadingDigits>
8292 3(?:
8293 26|
8294 4[1-3]|
8295 5[34]|
8296 6[01489]|
8297 7[02-46]|
8298 8[159]
8299 )
8300 </leadingDigits>
8301 <format>$1 $2 $3</format>
8302 </numberFormat>
8303 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
8304 <leadingDigits>
8305 4(?:
8306 1[36]|
8307 2[1-47]|
8308 3[15]|
8309 5[12]|
8310 6[126-9]|
8311 7[0-24-9]|
8312 8[013-57]|
8313 9[014-7]
8314 )
8315 </leadingDigits>
8316 <format>$1 $2 $3</format>
8317 </numberFormat>
8318 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
8319 <leadingDigits>
8320 5(?:
8321 [136][25]|
8322 22|
8323 4[28]|
8324 5[12]|
8325 [78]1|
8326 9[15]
8327 )
8328 </leadingDigits>
8329 <format>$1 $2 $3</format>
8330 </numberFormat>
8331 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
8332 <leadingDigits>
8333 6(?:
8334 12|
8335 [2345]1|
8336 57|
8337 6[13]|
8338 7[14]|
8339 80
8340 )
8341 </leadingDigits>
8342 <format>$1 $2 $3</format>
8343 </numberFormat>
8344 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
8345 <leadingDigits>
8346 7(?:
8347 12|
8348 2[14]|
8349 3[134]|
8350 4[47]|
8351 5[15]|
8352 [67]1|
8353 88
8354 )
8355 </leadingDigits>
8356 <leadingDigits>
8357 7(?:
8358 12|
8359 2[14]|
8360 3[134]|
8361 4[47]|
8362 5(?:
8363 1|
8364 5[1-9]
8365 )|
8366 [67]1|
8367 88
8368 )
8369 </leadingDigits>
8370 <format>$1 $2 $3</format>
8371 </numberFormat>
8372 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
8373 <leadingDigits>
8374 8(?:
8375 16|
8376 2[014]|
8377 3[126]|
8378 6[136]|
8379 7[078]|
8380 8[34]|
8381 91
8382 )
8383 </leadingDigits>
8384 <format>$1 $2 $3</format>
8385 </numberFormat>
8386 <!-- 4 digits area code -->
8387 <!-- Fallback for fixed-line numbers. -->
8388 <numberFormat pattern="(\d{4})(\d{3})(\d{3})">
8389 <leadingDigits>
8390 1(?:
8391 [2-579]|
8392 [68][1-9]
8393 )|
8394 [2-8]
8395 </leadingDigits>
8396 <format>$1 $2 $3</format>
8397 </numberFormat>
8398 <numberFormat nationalPrefixFormattingRule="$FG"
8399 pattern="(1600)(\d{2})(\d{4})">
8400 <leadingDigits>160</leadingDigits>
8401 <leadingDigits>1600</leadingDigits>
8402 <format>$1 $2 $3</format>
8403 </numberFormat>
8404 <numberFormat nationalPrefixFormattingRule="$FG"
8405 pattern="(1800)(\d{4,5})">
8406 <leadingDigits>180</leadingDigits>
8407 <leadingDigits>1800</leadingDigits>
8408 <format>$1 $2</format>
8409 </numberFormat>
8410 <numberFormat nationalPrefixFormattingRule="$FG"
8411 pattern="(18[06]0)(\d{2,4})(\d{4})">
8412 <leadingDigits>18[06]</leadingDigits>
8413 <leadingDigits>18[06]0</leadingDigits>
8414 <format>$1 $2 $3</format>
8415 </numberFormat>
8416 </availableFormats>
8417 <generalDesc>
8418 <nationalNumberPattern>
8419 1\d{7,11}|
8420 [2-9]\d{9,10}
8421 </nationalNumberPattern>
8422 <possibleNumberPattern>\d{6,12}</possibleNumberPattern>
8423 </generalDesc>
8424 <fixedLine>
8425 <!-- This is a list of the 2 and 3 digit area codes and the first 3
8426 digits of 4 digit area codes, so we can check the following digit
8427 belongs to one of the operator-codes (2-6). Operator codes from
8428 wikipedia, with the addition of 5 (HFCL Infotel). Area codes starting
8429 with a 7 are listed separately, since the prefixes need to be more
8430 detailed as they would otherwise clash with mobile phone prefixes. -->
8431 <nationalNumberPattern>
8432 (?:
8433 11|
8434 2[02]|
8435 33|
8436 4[04]|
8437 79|
8438 80
8439 )[2-6]\d{7}|
8440 (?:
8441 1(?:
8442 2[0-249]|
8443 3[0-25]|
8444 4[145]|
8445 [59][14]|
8446 6[014]|
8447 7[1257]|
8448 8[01346]
8449 )|
8450 2(?:
8451 1[257]|
8452 3[013]|
8453 4[01]|
8454 5[0137]|
8455 6[0158]|
8456 78|
8457 8[1568]|
8458 9[14]
8459 )|
8460 3(?:
8461 26|
8462 4[1-3]|
8463 5[34]|
8464 6[01489]|
8465 7[02-46]|
8466 8[159]
8467 )|
8468 4(?:
8469 1[36]|
8470 2[1-47]|
8471 3[15]|
8472 5[12]|
8473 6[126-9]|
8474 7[0-24-9]|
8475 8[013-57]|
8476 9[014-7]
8477 )|
8478 5(?:
8479 [136][25]|
8480 22|
8481 4[28]|
8482 5[12]|
8483 [78]1|
8484 9[15]
8485 )|
8486 6(?:
8487 12|
8488 [2345]1|
8489 57|
8490 6[13]|
8491 7[14]|
8492 80
8493 )|
8494 7(?:
8495 12|
8496 2[14]|
8497 3[134]|
8498 4[47]|
8499 5[15]|
8500 [67]1|
8501 88
8502 )|
8503 8(?:
8504 16|
8505 2[014]|
8506 3[126]|
8507 6[136]|
8508 7[078]|
8509 8[34]|
8510 91
8511 )
8512 )[2-6]\d{6}|
8513 (?:
8514 (?:
8515 1(?:
8516 2[35-8]|
8517 3[346-9]|
8518 4[236-9]|
8519 [59][0235-9]|
8520 6[235-9]|
8521 7[34689]|
8522 8[257-9]
8523 )|
8524 2(?:
8525 1[134689]|
8526 3[24-8]|
8527 4[2-8]|
8528 5[25689]|
8529 6[2-4679]|
8530 7[13-79]|
8531 8[2-479]|
8532 9[235-9]
8533 )|
8534 3(?:
8535 01|
8536 1[79]|
8537 2[1-5]|
8538 4[25-8]|
8539 5[125689]|
8540 6[235-7]|
8541 7[157-9]|
8542 8[2-467]
8543 )|
8544 4(?:
8545 1[14578]|
8546 2[5689]|
8547 3[2-467]|
8548 5[4-7]|
8549 6[35]|
8550 73|
8551 8[2689]|
8552 9[2389]
8553 )|
8554 5(?:
8555 [16][146-9]|
8556 2[14-8]|
8557 3[1346]|
8558 4[14-69]|
8559 5[46]|
8560 7[2-4]|
8561 8[2-8]|
8562 9[246]
8563 )|
8564 6(?:
8565 1[1358]|
8566 2[2457]|
8567 3[2-4]|
8568 4[235-7]|
8569 5[2-689]|
8570 6[24-58]|
8571 7[23-689]|
8572 8[1-6]
8573 )|
8574 8(?:
8575 1[1357-9]|
8576 2[235-8]|
8577 3[03-57-9]|
8578 4[0-24-9]|
8579 5\d|
8580 6[2457-9]|
8581 7[1-6]|
8582 8[1256]|
8583 9[2-4]
8584 )
8585 )\d|
8586 7(?:
8587 (?:
8588 1[013-9]|
8589 2[0235-9]|
8590 3[2679]|
8591 4[1-35689]|
8592 5[2-46-9]|
8593 [67][02-9]|
8594 9\d
8595 )\d|
8596 8(?:
8597 2[0-6]|
8598 [013-8]\d
8599 )
8600 )
8601 )[2-6]\d{5}
8602 </nationalNumberPattern>
8603 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
8604 <exampleNumber>1123456789</exampleNumber>
8605 </fixedLine>
8606 <!-- http://en.wikipedia.org/wiki/Mobile_telephone_numbering_in_India -->
8607 <mobile>
8608 <!-- A couple of additional prefixes not found on the wikipedia page, su ch as 7796, are
8609 added because SMS messages have been successfully sent to these num bers. It seems
8610 almost impossible to know for some of these numbers whether they ar e land-line or
8611 mobile, since the ranges overlap. -->
8612 <nationalNumberPattern>
8613 (?:
8614 7(?:
8615 2(?:
8616 0[04-9]|
8617 5[09]|
8618 7[568]|
8619 9[39]
8620 )|
8621 3(?:
8622 07|
8623 7[3679]|
8624 9[689]
8625 )|
8626 4(?:
8627 05|
8628 1[15-9]|
8629 [29][89]|
8630 39|
8631 8[389]
8632 )|
8633 5(?:
8634 0[0-5]|
8635 [47]9|
8636 50|
8637 6[6-9]|
8638 [89][7-9]
8639 )|
8640 6(?:
8641 0[027]|
8642 12|
8643 20|
8644 3[19]|
8645 5[45]|
8646 6[5-9]|
8647 7[67]|
8648 9[6-9]
8649 )|
8650 7(?:
8651 0[289]|
8652 3[5-9]|
8653 42|
8654 60|
8655 9[5-9]
8656 )|
8657 8(?:
8658 [03][07-9]|
8659 14|
8660 2[7-9]|
8661 4[25]|
8662 6[09]|
8663 7[015689]|
8664 9[0357-9]
8665 )
8666 )\d|
8667 9\d{4}|
8668 8(?:
8669 (?:
8670 0[01589]|
8671 1[24]|
8672 2[2369]|
8673 4[023458]|
8674 52|
8675 6[0589]|
8676 7[2569]
8677 )\d|
8678 8(?:
8679 [079]\d|
8680 44
8681 )|
8682 9[057-9]\d
8683 )\d
8684 )\d{5}
8685 </nationalNumberPattern>
8686 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8687 <exampleNumber>9123456789</exampleNumber>
8688 </mobile>
8689 <tollFree>
8690 <!-- Information gathered from sites such as
8691 http://www.surfindia.com/india-facts/toll-free-no.html and
8692 http://indmusings.blogspot.com/2008/09/free-help-line-numbersindia. html -->
8693 <nationalNumberPattern>
8694 1(?:
8695 600\d{6}|
8696 800\d{4,8}
8697 )
8698 </nationalNumberPattern>
8699 <possibleNumberPattern>\d{8,12}</possibleNumberPattern>
8700 <exampleNumber>1800123456</exampleNumber>
8701 </tollFree>
8702 <!-- The metadata on premium rate is temporarily commented out as wikipedi a says 900 is
8703 mobile, conflicting with the national numbering plan. -->
8704 <!--
8705 <premiumRate>
8706 <nationalNumberPattern>900\d{7}</nationalNumberPattern>
8707 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8708 <exampleNumber>9001234567</exampleNumber>
8709 </premiumRate>
8710 -->
8711 <uan>
8712 <!-- Information gathered from sites such as http://www.calcutta.bsnl.co .in/insuan.html -->
8713 <nationalNumberPattern>1860345\d{4}</nationalNumberPattern>
8714 <possibleNumberPattern>\d{11}</possibleNumberPattern>
8715 <exampleNumber>18603451234</exampleNumber>
8716 </uan>
8717 </territory>
8718
8719 <!-- British Indian Ocean Territory / Diego Garcia -->
8720 <!-- http://www.itu.int/oth/T0202000039/en -->
8721 <territory id="IO" countryCode="246" internationalPrefix="00">
8722 <availableFormats>
8723 <numberFormat pattern="(\d{3})(\d{4})">
8724 <format>$1 $2</format>
8725 </numberFormat>
8726 </availableFormats>
8727 <generalDesc>
8728 <nationalNumberPattern>3\d{6}</nationalNumberPattern>
8729 <possibleNumberPattern>\d{7}</possibleNumberPattern>
8730 </generalDesc>
8731 <fixedLine>
8732 <nationalNumberPattern>37\d{5}</nationalNumberPattern>
8733 <exampleNumber>3709100</exampleNumber>
8734 </fixedLine>
8735 <mobile>
8736 <nationalNumberPattern>38\d{5}</nationalNumberPattern>
8737 <exampleNumber>3801234</exampleNumber>
8738 </mobile>
8739 </territory>
8740
8741 <!-- Iraq -->
8742 <!-- http://en.wikipedia.org/wiki/%2B964 -->
8743 <!-- http://wtng.info/wtng-964-ik.html -->
8744 <territory id="IQ" countryCode="964" internationalPrefix="00"
8745 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
8746 <availableFormats>
8747 <numberFormat pattern="(1)(\d{3})(\d{4})">
8748 <leadingDigits>1</leadingDigits>
8749 <format>$1 $2 $3</format>
8750 </numberFormat>
8751 <numberFormat pattern="([2-6]\d)(\d{3})(\d{3,4})">
8752 <leadingDigits>[2-6]</leadingDigits>
8753 <format>$1 $2 $3</format>
8754 </numberFormat>
8755 <numberFormat pattern="(7[5-9]\d)(\d{3})(\d{4})">
8756 <leadingDigits>7</leadingDigits>
8757 <format>$1 $2 $3</format>
8758 </numberFormat>
8759 </availableFormats>
8760 <generalDesc>
8761 <nationalNumberPattern>[1-7]\d{7,9}</nationalNumberPattern>
8762 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
8763 </generalDesc>
8764 <fixedLine>
8765 <nationalNumberPattern>
8766 1\d{7}|
8767 (?:
8768 2[13-5]|
8769 3[02367]|
8770 4[023]|
8771 5[03]|
8772 6[026]
8773 )\d{6,7}
8774 </nationalNumberPattern>
8775 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
8776 <exampleNumber>12345678</exampleNumber>
8777 </fixedLine>
8778 <mobile>
8779 <nationalNumberPattern>7[5-9]\d{8}</nationalNumberPattern>
8780 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8781 <exampleNumber>7912345678</exampleNumber>
8782 </mobile>
8783 <!-- No tollFree or premiumRate information can be found. -->
8784 </territory>
8785
8786 <!-- Iran, Islamic Republic of -->
8787 <!-- http://en.wikipedia.org/wiki/%2B98 -->
8788 <!-- http://www.itu.int/oth/T0202000066/en -->
8789 <territory id="IR" countryCode="98" internationalPrefix="00"
8790 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
8791 <availableFormats>
8792 <!-- Formatting follows wikipedia. -->
8793 <numberFormat pattern="(21)(\d{4})(\d{4})">
8794 <leadingDigits>21</leadingDigits>
8795 <format>$1 $2 $3</format>
8796 </numberFormat>
8797 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
8798 <leadingDigits>
8799 [13-89]|
8800 2[02-9]
8801 </leadingDigits>
8802 <format>$1 $2 $3</format>
8803 </numberFormat>
8804 </availableFormats>
8805 <generalDesc>
8806 <nationalNumberPattern>[2-6]\d{4,9}|[1789]\d{9}</nationalNumberPattern>
8807 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
8808 </generalDesc>
8809 <fixedLine>
8810 <!-- The patterns here are organized such that numbers with variable len gths come first,
8811 followed by numbers that are 10 digits long. -->
8812 <nationalNumberPattern>
8813 2(?:
8814 1[2-9]\d{2,7}|
8815 51\d{3,7}
8816 )|
8817 (?:
8818 241|
8819 3(?:
8820 11|
8821 5[23]
8822 )|
8823 441|
8824 5[14]1
8825 )\d{4,7}|
8826 (?:
8827 3(?:
8828 34|
8829 41
8830 )|
8831 6(?:
8832 11|
8833 52
8834 )|
8835 )\d{6,7}|
8836 (?:
8837 1(?:
8838 [134589][12]|
8839 [27][1-4]
8840 )|
8841 2(?:
8842 2[189]|
8843 [3689][12]|
8844 42|
8845 5[256]|
8846 7[34]
8847 )|
8848 3(?:
8849 12|
8850 2[1-4]|
8851 3[125]|
8852 4[24-9]|
8853 51|
8854 [6-9][12]
8855 )|
8856 4(?:
8857 [135-9][12]|
8858 2[1-467]|
8859 4[2-4]
8860 )|
8861 5(?:
8862 12|
8863 2[89]|
8864 3[1-5]|
8865 4[2-8]|
8866 [5-7][12]|
8867 8[1245]
8868 )|
8869 6(?:
8870 12|
8871 [347-9][12]|
8872 51|
8873 6[1-6]
8874 )|
8875 7(?:
8876 [13589][12]|
8877 2[1289]|
8878 4[1-4]|
8879 6[1-6]|
8880 7[1-3]
8881 )|
8882 8(?:
8883 [145][12]|
8884 3[124578]|
8885 6[1256]|
8886 7[1245]
8887 )
8888 )\d{7}
8889 </nationalNumberPattern>
8890 <exampleNumber>2123456789</exampleNumber>
8891 </fixedLine>
8892 <mobile>
8893 <nationalNumberPattern>
8894 9(?:
8895 1\d|
8896 3[124-8]
8897 )\d{7}
8898 </nationalNumberPattern>
8899 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8900 <exampleNumber>9123456789</exampleNumber>
8901 </mobile>
8902 <pager>
8903 <nationalNumberPattern>943[24678]\d{6}</nationalNumberPattern>
8904 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8905 <exampleNumber>9432123456</exampleNumber>
8906 </pager>
8907 <!-- No tollFree or premiumRate information can be found. -->
8908 <voip>
8909 <!-- Includes VSAT and Boomehen Satellite numbers. -->
8910 <nationalNumberPattern>993[12]\d{6}</nationalNumberPattern>
8911 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8912 <exampleNumber>9932123456</exampleNumber>
8913 </voip>
8914 <uan>
8915 <!-- TCI Public Relations numbers -->
8916 <nationalNumberPattern>9990\d{6}</nationalNumberPattern>
8917 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8918 <exampleNumber>9990123456</exampleNumber>
8919 </uan>
8920 </territory>
8921
8922 <!-- Iceland -->
8923 <!-- http://www.pta.is/default.aspx?cat_id=85 -->
8924 <territory id="IS" countryCode="354" internationalPrefix="00">
8925 <availableFormats>
8926 <numberFormat pattern="(\d{3})(\d{4})">
8927 <leadingDigits>[4-9]</leadingDigits>
8928 <format>$1 $2</format>
8929 </numberFormat>
8930 <numberFormat pattern="(3\d{2})(\d{3})(\d{3})">
8931 <leadingDigits>3</leadingDigits>
8932 <format>$1 $2 $3</format>
8933 </numberFormat>
8934 </availableFormats>
8935 <generalDesc>
8936 <nationalNumberPattern>
8937 [4-9]\d{6}|
8938 38\d{7}
8939 </nationalNumberPattern>
8940 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
8941 </generalDesc>
8942 <fixedLine>
8943 <!-- Including 87[23] XXXX here as it is listed as a fax number. -->
8944 <nationalNumberPattern>
8945 (?:
8946 4(?:
8947 1[0-245]|
8948 2[0-7]|
8949 [37][0-8]|
8950 4[0245]|
8951 5[0-356]|
8952 6\d|
8953 8[0-46-8]|
8954 9[013-79]
8955 )|
8956 5(?:
8957 05|
8958 [156]\d|
8959 2[02578]|
8960 3[013-6]|
8961 4[03-6]|
8962 7[0-2578]|
8963 8[0-25-9]|
8964 9[013-689]
8965 )|
8966 87[23]
8967 )\d{4}
8968 </nationalNumberPattern>
8969 <possibleNumberPattern>\d{7}</possibleNumberPattern>
8970 <exampleNumber>4101234</exampleNumber>
8971 </fixedLine>
8972 <mobile>
8973 <nationalNumberPattern>
8974 38[59]\d{6}|
8975 (?:
8976 6(?:
8977 1[014-8]|
8978 2[0-8]|
8979 3[0-27-9]|
8980 4[0-29]|
8981 5[029]|
8982 [67][0-69]|
8983 [89]\d
8984 )|
8985 7(?:
8986 5[057]|
8987 7[0-7]
8988 )|
8989 8(?:
8990 2[0-5]|
8991 [469]\d|
8992 5[1-9]
8993 )
8994 )\d{4}
8995 </nationalNumberPattern>
8996 <exampleNumber>6101234</exampleNumber>
8997 </mobile>
8998 <tollFree>
8999 <nationalNumberPattern>800\d{4}</nationalNumberPattern>
9000 <possibleNumberPattern>\d{7}</possibleNumberPattern>
9001 <exampleNumber>8001234</exampleNumber>
9002 </tollFree>
9003 <premiumRate>
9004 <nationalNumberPattern>90\d{5}</nationalNumberPattern>
9005 <possibleNumberPattern>\d{7}</possibleNumberPattern>
9006 <exampleNumber>9011234</exampleNumber>
9007 </premiumRate>
9008 <voip>
9009 <nationalNumberPattern>49[013-79]\d{4}</nationalNumberPattern>
9010 <possibleNumberPattern>\d{7}</possibleNumberPattern>
9011 <exampleNumber>4931234</exampleNumber>
9012 </voip>
9013 </territory>
9014
9015 <!-- Italy -->
9016 <!-- http://en.wikipedia.org/wiki/%2B39 -->
9017 <territory id="IT" countryCode="39" internationalPrefix="00" leadingZeroPoss ible="true">
9018 <availableFormats>
9019 <!-- The leading zero for fixed numbers will be prepended before the mat ching of these
9020 regular expressions. -->
9021 <numberFormat pattern="(0[26])(\d{3,4})(\d{4})">
9022 <leadingDigits>0[26]</leadingDigits>
9023 <format>$1 $2 $3</format>
9024 </numberFormat>
9025 <numberFormat pattern="(0[26])(\d{4})(\d{5})">
9026 <leadingDigits>0[26]</leadingDigits>
9027 <format>$1 $2 $3</format>
9028 </numberFormat>
9029 <numberFormat pattern="(0[26])(\d{4,6})">
9030 <leadingDigits>0[26]</leadingDigits>
9031 <format>$1 $2</format>
9032 </numberFormat>
9033 <numberFormat pattern="(0\d{2})(\d{3,4})(\d{4})">
9034 <leadingDigits>0[13-57-9][0159]</leadingDigits>
9035 <format>$1 $2 $3</format>
9036 </numberFormat>
9037 <numberFormat pattern="(0\d{2})(\d{4,6})">
9038 <leadingDigits>0[13-57-9][0159]</leadingDigits>
9039 <format>$1 $2</format>
9040 </numberFormat>
9041 <numberFormat pattern="(0\d{3})(\d{3})(\d{4})">
9042 <leadingDigits>0[13-57-9][2-46-8]</leadingDigits>
9043 <format>$1 $2 $3</format>
9044 </numberFormat>
9045 <numberFormat pattern="(0\d{3})(\d{4,6})">
9046 <leadingDigits>0[13-57-9][2-46-8]</leadingDigits>
9047 <format>$1 $2</format>
9048 </numberFormat>
9049 <numberFormat pattern="(\d{3})(\d{3})(\d{3,4})">
9050 <leadingDigits>
9051 [13]|
9052 8(?:
9053 00|
9054 4[78]
9055 )
9056 </leadingDigits>
9057 <format>$1 $2 $3</format>
9058 </numberFormat>
9059 <numberFormat pattern="(\d{3})(\d{3,6})">
9060 <leadingDigits>
9061 8(?:
9062 03|
9063 9
9064 )
9065 </leadingDigits>
9066 <format>$1 $2</format>
9067 </numberFormat>
9068 </availableFormats>
9069 <generalDesc>
9070 <nationalNumberPattern>[01389]\d{5,10}</nationalNumberPattern>
9071 <possibleNumberPattern>\d{6,11}</possibleNumberPattern>
9072 </generalDesc>
9073 <fixedLine>
9074 <nationalNumberPattern>
9075 0(?:
9076 [26]\d{4,9}|
9077 [13-57-9](?:
9078 [0159]\d{4,8}|
9079 [2-46-8]\d{5,8}
9080 )
9081 )
9082 </nationalNumberPattern>
9083 <possibleNumberPattern>\d{6,11}</possibleNumberPattern>
9084 <exampleNumber>0212345678</exampleNumber>
9085 </fixedLine>
9086 <mobile>
9087 <nationalNumberPattern>3\d{8,9}</nationalNumberPattern>
9088 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
9089 <exampleNumber>312345678</exampleNumber>
9090 </mobile>
9091 <tollFree>
9092 <nationalNumberPattern>
9093 80(?:
9094 0\d{6}|
9095 3\d{3}
9096 )
9097 </nationalNumberPattern>
9098 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
9099 <exampleNumber>800123456</exampleNumber>
9100 </tollFree>
9101 <premiumRate>
9102 <nationalNumberPattern>
9103 89(?:
9104 2\d{3}|
9105 9\d{6}
9106 )
9107 </nationalNumberPattern>
9108 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
9109 <exampleNumber>899123456</exampleNumber>
9110 </premiumRate>
9111 <sharedCost>
9112 <nationalNumberPattern>84[78]\d{6,7}</nationalNumberPattern>
9113 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
9114 <exampleNumber>8481234567</exampleNumber>
9115 </sharedCost>
9116 <!-- The plan says these should be 6 digits long, but when you go to telep hone companies in
9117 Italy, such as http://www.gnetwork.it/EmailServizi/Numerazioni178/tab id/91/Default.aspx
9118 and when you search for 178 numbers, they seem to all be 7 digits, so we cover both
9119 lengths here. -->
9120 <personalNumber>
9121 <nationalNumberPattern>178\d{6,7}</nationalNumberPattern>
9122 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
9123 <exampleNumber>1781234567</exampleNumber>
9124 </personalNumber>
9125 </territory>
9126
9127 <!-- Jersey -->
9128 <!-- Inherits formatting rules from the UK. -->
9129 <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_the_United_Kingdom -- >
9130 <!-- http://www.jcra.je/cms3/v2/public/cmsChild.asp?pageID=1024&childID=1036 -->
9131 <territory id="JE" countryCode="44" internationalPrefix="00"
9132 nationalPrefix="0" preferredExtnPrefix=" x" nationalPrefixFormatt ingRule="$NP$FG">
9133 <generalDesc>
9134 <nationalNumberPattern>[135789]\d{6,9}</nationalNumberPattern>
9135 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
9136 </generalDesc>
9137 <areaCodeOptional>
9138 <nationalNumberPattern>1534[2-9]\d{5}</nationalNumberPattern>
9139 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9140 <exampleNumber>1534250123</exampleNumber>
9141 </areaCodeOptional>
9142 <!-- Specific to JE. -->
9143 <fixedLine>
9144 <!-- 1534 with 10 digits. -->
9145 <nationalNumberPattern>1534\d{6}</nationalNumberPattern>
9146 <exampleNumber>1534456789</exampleNumber>
9147 </fixedLine>
9148 <mobile>
9149 <!-- 7509, 7700, 7797, 7829, 7937 with 10 digits. -->
9150 <nationalNumberPattern>
9151 7(?:
9152 509|
9153 7(?:
9154 00|
9155 97
9156 )|
9157 829|
9158 937
9159 )\d{6}
9160 </nationalNumberPattern>
9161 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9162 <exampleNumber>7797123456</exampleNumber>
9163 </mobile>
9164 <pager>
9165 <!-- Pager numbers as per GB. -->
9166 <nationalNumberPattern>
9167 76(?:
9168 0[012]|
9169 2[356]|
9170 4[0134]|
9171 5[49]|
9172 6[0-369]|
9173 77|
9174 81|
9175 9[39]
9176 )\d{6}
9177 </nationalNumberPattern>
9178 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9179 <exampleNumber>7640123456</exampleNumber>
9180 </pager>
9181 <!-- Specific to JE. -->
9182 <tollFree>
9183 <!-- 800 735, 800 781, 808 901 with 10 digits. -->
9184 <nationalNumberPattern>
9185 80(?:
9186 07(?:
9187 35|
9188 81
9189 )|
9190 8901
9191 )\d{4}
9192 </nationalNumberPattern>
9193 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9194 <exampleNumber>8007354567</exampleNumber>
9195 </tollFree>
9196 <premiumRate>
9197 <!-- 871 206, 900 665, 900 669, 901 810, 907 107, 907 155 with 10 digits . -->
9198 <nationalNumberPattern>
9199 (?:
9200 871206|
9201 90(?:
9202 066[59]|
9203 1810|
9204 71(?:
9205 07|
9206 55
9207 )
9208 )
9209 )\d{4}
9210 </nationalNumberPattern>
9211 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9212 <exampleNumber>9018105678</exampleNumber>
9213 </premiumRate>
9214 <sharedCost>
9215 <!-- 844 405, 844 442, 844 469, 844 703, 845 041, 845 800, 870 002 with 10 digits. -->
9216 <nationalNumberPattern>
9217 8(?:
9218 4(?:
9219 4(?:
9220 4(?:
9221 05|
9222 42|
9223 69
9224 )|
9225 703
9226 )|
9227 5(?:
9228 041|
9229 800
9230 )
9231 )|
9232 70002
9233 )\d{4}
9234 </nationalNumberPattern>
9235 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9236 <exampleNumber>8447034567</exampleNumber>
9237 </sharedCost>
9238 <personalNumber>
9239 <!-- 70 1511 with 10 digits. -->
9240 <nationalNumberPattern>701511\d{4}</nationalNumberPattern>
9241 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9242 <exampleNumber>7015115678</exampleNumber>
9243 </personalNumber>
9244 <voip>
9245 <!-- VoIP numbers as per GB. -->
9246 <nationalNumberPattern>56\d{8}</nationalNumberPattern>
9247 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9248 <exampleNumber>5612345678</exampleNumber>
9249 </voip>
9250 <uan>
9251 <!-- 300 735, 300 781, 308 901, 33d, 344 405, 344 442, 344 469, 344 703, 345 041, 345 800,
9252 370 002, 371 206, 55 with 10 digits. -->
9253 <nationalNumberPattern>
9254 3(?:
9255 0(?:
9256 07(?:
9257 35|
9258 81
9259 )|
9260 8901
9261 )|
9262 3\d{4}|
9263 4(?:
9264 4(?:
9265 4(?:
9266 05|
9267 42|
9268 69
9269 )|
9270 703
9271 )|
9272 5(?:
9273 041|
9274 800
9275 )
9276 )|
9277 7(?:
9278 0002|
9279 1206
9280 )
9281 )\d{4}|
9282 55\d{8}
9283 </nationalNumberPattern>
9284 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9285 <exampleNumber>5512345678</exampleNumber>
9286 </uan>
9287 <shortCode>
9288 <!-- http://www.jcra.je/cms3/v2/public/cmsChild.asp?pageID=1024&childID= 1036 -->
9289 <nationalNumberPattern>
9290 1(?:
9291 00|
9292 1(?:
9293 2|
9294 8\d{3}
9295 )|
9296 23|
9297 4(?:
9298 [14]|
9299 28|
9300 7\d
9301 )|
9302 5\d|
9303 7(?:
9304 0[12]|
9305 [128]|
9306 35?
9307 )|
9308 808|
9309 9[135]
9310 )|
9311 23[234]|
9312 999
9313 </nationalNumberPattern>
9314 <possibleNumberPattern>\d{3,6}</possibleNumberPattern>
9315 <exampleNumber>150</exampleNumber>
9316 </shortCode>
9317 </territory>
9318
9319 <!-- Jamaica -->
9320 <!-- http://www.itu.int/oth/T020200006C/en -->
9321 <territory id="JM" countryCode="1" leadingDigits="876"
9322 nationalPrefix="1" internationalPrefix="011">
9323 <generalDesc>
9324 <!-- NANPA country - uses US formatting rules -->
9325 <nationalNumberPattern>[589]\d{9}</nationalNumberPattern>
9326 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
9327 </generalDesc>
9328 <fixedLine>
9329 <nationalNumberPattern>
9330 876(?:
9331 (?:
9332 5[0-26]|
9333 6\d
9334 )\d{5}|
9335 (?:
9336 7(?:
9337 0[2-689]|
9338 [1-6]\d|
9339 8[056]|
9340 9[45]
9341 )|
9342 9(?:
9343 0[1-8]|
9344 1[02378]|
9345 [2-8]\d|
9346 9[2-468]
9347 )
9348 )\d{4}
9349 )
9350 </nationalNumberPattern>
9351 <exampleNumber>8765123456</exampleNumber>
9352 </fixedLine>
9353 <mobile>
9354 <!-- Adding 27, 28 and 31 as extra prefixes, as they have been found to be valid by sending
9355 SMSs and looking at online number lookup sites. -->
9356 <nationalNumberPattern>
9357 876(?:
9358 (?:
9359 2[178]|
9360 [348]\d|
9361 5[78]
9362 )\d|
9363 7(?:
9364 0[07]|
9365 7\d|
9366 8[1-47-9]|
9367 9[0-36-9]
9368 )|
9369 9(?:
9370 [01]9|
9371 9[0579]
9372 )
9373 )\d{4}
9374 </nationalNumberPattern>
9375 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9376 <exampleNumber>8762101234</exampleNumber>
9377 </mobile>
9378 <tollFree>
9379 <nationalNumberPattern>
9380 8(?:
9381 00|
9382 55|
9383 66|
9384 77|
9385 88
9386 )[2-9]\d{6}
9387 </nationalNumberPattern>
9388 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9389 <exampleNumber>8002123456</exampleNumber>
9390 </tollFree>
9391 <premiumRate>
9392 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
9393 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9394 <exampleNumber>9002123456</exampleNumber>
9395 </premiumRate>
9396 <personalNumber>
9397 <!-- http://www.nanpa.com/pdf/PL_416.pdf -->
9398 <nationalNumberPattern>
9399 5(?:
9400 00|
9401 33|
9402 44
9403 )[2-9]\d{6}
9404 </nationalNumberPattern>
9405 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9406 <exampleNumber>5002345678</exampleNumber>
9407 </personalNumber>
9408 </territory>
9409
9410 <!-- Jordan -->
9411 <!-- http://www.trc.gov.jo/images/stories/pdf/NNP_ver200[1].pdf?lang=english -->
9412 <!-- http://www.itu.int/oth/T020200006E/en -->
9413 <!-- http://en.wikipedia.org/wiki/%2B962 -->
9414 <territory id="JO" countryCode="962" internationalPrefix="00"
9415 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
9416 <availableFormats>
9417 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
9418 pattern="(\d)(\d{3})(\d{4})">
9419 <leadingDigits>
9420 [2356]
9421 </leadingDigits>
9422 <format>$1 $2 $3</format>
9423 </numberFormat>
9424 <numberFormat pattern="(7)(\d{2})(\d{2})(\d{2})(\d{2})">
9425 <leadingDigits>7[457-9]</leadingDigits>
9426 <format>$1 $2 $3 $4 $5</format>
9427 </numberFormat>
9428 <numberFormat pattern="(\d{3})(\d{5,6})">
9429 <leadingDigits>
9430 70|
9431 [89]
9432 </leadingDigits>
9433 <format>$1 $2</format>
9434 </numberFormat>
9435 </availableFormats>
9436 <generalDesc>
9437 <nationalNumberPattern>[235-9]\d{7,8}</nationalNumberPattern>
9438 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
9439 </generalDesc>
9440 <fixedLine>
9441 <!-- Used the plan from www.trc.gov.jo since it is much more complete th an the plan on the
9442 ITU website. -->
9443 <nationalNumberPattern>[2356][2-8]\d{6}</nationalNumberPattern>
9444 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
9445 <exampleNumber>62001234</exampleNumber>
9446 </fixedLine>
9447 <mobile>
9448 <nationalNumberPattern>
9449 7(?:
9450 [1-8]\d|
9451 9[02-9]
9452 )\d{6}
9453 </nationalNumberPattern>
9454 <possibleNumberPattern>\d{9}</possibleNumberPattern>
9455 <exampleNumber>790123456</exampleNumber>
9456 </mobile>
9457 <tollFree>
9458 <nationalNumberPattern>80\d{6}</nationalNumberPattern>
9459 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9460 <exampleNumber>80012345</exampleNumber>
9461 </tollFree>
9462 <premiumRate>
9463 <nationalNumberPattern>900\d{5}</nationalNumberPattern>
9464 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9465 <exampleNumber>90012345</exampleNumber>
9466 </premiumRate>
9467 <sharedCost>
9468 <nationalNumberPattern>85\d{6}</nationalNumberPattern>
9469 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9470 <exampleNumber>85012345</exampleNumber>
9471 </sharedCost>
9472 <personalNumber>
9473 <nationalNumberPattern>70\d{7}</nationalNumberPattern>
9474 <possibleNumberPattern>\d{9}</possibleNumberPattern>
9475 <exampleNumber>700123456</exampleNumber>
9476 </personalNumber>
9477 <uan>
9478 <!-- These numbers are Location Independent Services / Fixed cost accord ing to
9479 http://www.trc.gov.jo -->
9480 <nationalNumberPattern>
9481 8(?:
9482 10|
9483 [78]\d
9484 )\d{5}
9485 </nationalNumberPattern>
9486 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9487 <exampleNumber>87101234</exampleNumber>
9488 </uan>
9489 </territory>
9490
9491 <!-- Japan -->
9492 <!-- http://www.soumu.go.jp/main_sosiki/joho_tsusin/top/tel_number/fixed.htm l -->
9493 <!-- http://www.numberingplans.com/?page=dialling&sub=areacodes&ac=JP -->
9494 <territory id="JP" countryCode="81" internationalPrefix="010"
9495 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
9496 <availableFormats>
9497 <!-- Toll-free numbers -->
9498 <numberFormat pattern="(\d{3})(\d{3})(\d{3})">
9499 <leadingDigits>
9500 (?:
9501 12|
9502 99
9503 )0
9504 </leadingDigits>
9505 <format>$1-$2-$3</format>
9506 </numberFormat>
9507 <!-- Some leading digits are explicitly reserved for a particular purpos e.
9508 We handle them first in this rule, and let the following rules igno re those exceptions.
9509 Note: The rule here is not in the files we rely on when creating th e other rules.
9510 We would need to manually modify it if the Japanese goverment
9511 decided to change the rule.
9512
9513 (prefix): purpose
9514 "50": IP phone
9515 "90" and "80": Mobile phone
9516 "70": PHS (Personal Handy-phone System, which has been used in Japa n
9517 with Non-3G, Japanese-specific protocol).
9518 See also http://ja.wikipedia.org/wiki/PHS (Japanese)
9519 -->
9520 <numberFormat pattern="(\d{2})(\d{4})(\d{4})">
9521 <leadingDigits>[57-9]0</leadingDigits>
9522 <format>$1-$2-$3</format>
9523 </numberFormat>
9524 <!-- The order of the reg-exps are important.
9525 Examples (not all):
9526 - "15": 15420 -> 154-20, 15472 -> 1547-2, 15410 -> 15-410,
9527 - "22": 22200 -> 22-200, 22300 -> 22-300, 22320 -> 223-20, 22350 -> 22-350
9528 - "42": 42000 -> 4-2000, 42901 -> 4-2901, 42910 -> 42-910
9529 - "82": 82200 -> 82-200, 82020 -> 820-20, 82400 -> 82-400
9530 - "99": 99400 -> 99-400, 99430 -> 994-30, 99692 -> 9969-2, 99750 -> 997-50
9531 - "993": 99330 -> 993-30, 99331 -> 99-331, 99332 -> 993-32
9532 -->
9533 <numberFormat pattern="(\d{4})(\d)(\d{4})">
9534 <leadingDigits>
9535 1(?:
9536 26|
9537 3[79]|
9538 4[56]|
9539 5[4-68]|
9540 6[3-5]
9541 )|
9542 5(?:
9543 76|
9544 97
9545 )|
9546 499|
9547 746|
9548 8(?:
9549 3[89]|
9550 63|
9551 47|
9552 51
9553 )|
9554 9(?:
9555 49|
9556 80|
9557 9[16]
9558 )
9559 </leadingDigits>
9560 <leadingDigits>
9561 1(?:
9562 267|
9563 3(?:
9564 7[247]|
9565 9[278]
9566 )|
9567 4(?:
9568 5[67]|
9569 66
9570 )|
9571 5(?:
9572 47|
9573 58|
9574 64|
9575 8[67]
9576 )|
9577 6(?:
9578 3[245]|
9579 48|
9580 5[4-68]
9581 )
9582 )|
9583 5(?:
9584 76|
9585 97
9586 )9|
9587 499[2468]|
9588 7468|
9589 8(?:
9590 3(?:
9591 8[78]|
9592 96
9593 )|
9594 636|
9595 477|
9596 51[24]
9597 )|
9598 9(?:
9599 496|
9600 802|
9601 9(?:
9602 1[23]|
9603 69
9604 )
9605 )
9606 </leadingDigits>
9607 <leadingDigits>
9608 1(?:
9609 267|
9610 3(?:
9611 7[247]|
9612 9[278]
9613 )|
9614 4(?:
9615 5[67]|
9616 66
9617 )|
9618 5(?:
9619 47|
9620 58|
9621 64|
9622 8[67]
9623 )|
9624 6(?:
9625 3[245]|
9626 48|
9627 5[4-68]
9628 )
9629 )|
9630 5(?:
9631 769|
9632 979[2-69]
9633 )|
9634 499[2468]|
9635 7468|
9636 8(?:
9637 3(?:
9638 8[78]|
9639 96[2457-9]
9640 )|
9641 636[2-57-9]|
9642 477|
9643 51[24]
9644 )|
9645 9(?:
9646 496|
9647 802|
9648 9(?:
9649 1[23]|
9650 69
9651 )
9652 )
9653 </leadingDigits>
9654 <format>$1-$2-$3</format>
9655 </numberFormat>
9656 <numberFormat pattern="(\d{3})(\d{2})(\d{4})">
9657 <leadingDigits>
9658 1(?:
9659 2[3-6]|
9660 3[3-9]|
9661 4[2-6]|
9662 5[2-8]|
9663 [68][2-7]|
9664 7[2-689]|
9665 9[1-578]
9666 )|
9667 2(?:
9668 2[034-9]|
9669 3[3-58]|
9670 4[0-468]|
9671 5[04-8]|
9672 6[013-8]|
9673 7[06-9]|
9674 8[02-57-9]|
9675 9[13]
9676 )|
9677 4(?:
9678 2[28]|
9679 3[689]|
9680 6[035-7]|
9681 7[05689]|
9682 80|
9683 9[3-5]
9684 )|
9685 5(?:
9686 3[1-36-9]|
9687 4[4578]|
9688 5[013-8]|
9689 6[1-9]|
9690 7[2-8]|
9691 8[14-7]|
9692 9[4-9]
9693 )|
9694 7(?:
9695 2[15]|
9696 3[5-9]|
9697 4[02-9]|
9698 6[135-8]|
9699 7[0-4689]|
9700 9[014-9]
9701 )|
9702 8(?:
9703 2[49]|
9704 3[3-8]|
9705 4[5-8]|
9706 5[2-9]|
9707 6[35-9]|
9708 7[579]|
9709 8[03-579]|
9710 9[2-8]
9711 )|
9712 9(?:
9713 [23]0|
9714 4[02-46-9]|
9715 5[0245-79]|
9716 6[4-9]|
9717 7[2-47-9]|
9718 8[02-7]|
9719 9[3-7]
9720 )
9721 </leadingDigits>
9722 <leadingDigits>
9723 1(?:
9724 2[3-6]|
9725 3[3-9]|
9726 4[2-6]|
9727 5(?:
9728 [236-8]|
9729 [45][2-69]
9730 )|
9731 [68][2-7]|
9732 7[2-689]|
9733 9[1-578]
9734 )|
9735 2(?:
9736 2(?:
9737 [04-9]|
9738 3[23]
9739 )|
9740 3[3-58]|
9741 4[0-468]|
9742 5(?:
9743 5[78]|
9744 7[2-4]|
9745 [0468][2-9]
9746 )|
9747 6(?:
9748 [0135-8]|
9749 4[2-5]
9750 )|
9751 7(?:
9752 [0679]|
9753 8[2-7]
9754 )|
9755 8(?:
9756 [024578]|
9757 3[25-9]|
9758 9[6-9]
9759 )|
9760 9(?:
9761 11|
9762 3[2-4]
9763 )
9764 )|
9765 4(?:
9766 2(?:
9767 2[2-9]|
9768 8[237-9]
9769 )|
9770 3[689]|
9771 6[035-7]|
9772 7(?:
9773 [059][2-8]|
9774 [68]
9775 )|
9776 80|
9777 9[3-5]
9778 )|
9779 5(?:
9780 3[1-36-9]|
9781 4[4578]|
9782 5[013-8]|
9783 6[1-9]|
9784 7[2-8]|
9785 8[14-7]|
9786 9(?:
9787 [89][2-8]|
9788 [4-7]
9789 )
9790 )|
9791 7(?:
9792 2[15]|
9793 3[5-9]|
9794 4[02-9]|
9795 6[135-8]|
9796 7[0-4689]|
9797 9(?:
9798 [017-9]|
9799 4[6-8]|
9800 5[2-478]|
9801 6[2-589]
9802 )
9803 )|
9804 8(?:
9805 2(?:
9806 4[4-8]|
9807 9[2-8]
9808 )|
9809 3(?:
9810 7[2-56]|
9811 [3-6][2-9]|
9812 8[2-5]
9813 )|
9814 4[5-8]|
9815 5[2-9]|
9816 6(?:
9817 [37]|
9818 5[4-7]|
9819 6[2-9]|
9820 8[2-8]|
9821 9[236-9]
9822 )|
9823 7[579]|
9824 8[03-579]|
9825 9[2-8]
9826 )|
9827 9(?:
9828 [23]0|
9829 4[02-46-9]|
9830 5[0245-79]|
9831 6[4-9]|
9832 7[2-47-9]|
9833 8[02-7]|
9834 9(?:
9835 3[34]|
9836 [4-7]
9837 )
9838 )
9839 </leadingDigits>
9840 <leadingDigits>
9841 1(?:
9842 2[3-6]|
9843 3[3-9]|
9844 4[2-6]|
9845 5(?:
9846 [236-8]|
9847 [45][2-69]
9848 )|
9849 [68][2-7]|
9850 7[2-689]|
9851 9[1-578]
9852 )|
9853 2(?:
9854 2(?:
9855 [04-9]|
9856 3[23]
9857 )|
9858 3[3-58]|
9859 4[0-468]|
9860 5(?:
9861 5[78]|
9862 7[2-4]|
9863 [0468][2-9]
9864 )|
9865 6(?:
9866 [0135-8]|
9867 4[2-5]
9868 )|
9869 7(?:
9870 [0679]|
9871 8[2-7]
9872 )|
9873 8(?:
9874 [024578]|
9875 3[25-9]|
9876 9[6-9]
9877 )|
9878 9(?:
9879 11|
9880 3[2-4]
9881 )
9882 )|
9883 4(?:
9884 2(?:
9885 2[2-9]|
9886 8[237-9]
9887 )|
9888 3[689]|
9889 6[035-7]|
9890 7(?:
9891 [059][2-8]|
9892 [68]
9893 )|
9894 80|
9895 9[3-5]
9896 )|
9897 5(?:
9898 3[1-36-9]|
9899 4[4578]|
9900 5[013-8]|
9901 6[1-9]|
9902 7[2-8]|
9903 8[14-7]|
9904 9(?:
9905 [89][2-8]|
9906 [4-7]
9907 )
9908 )|
9909 7(?:
9910 2[15]|
9911 3[5-9]|
9912 4[02-9]|
9913 6[135-8]|
9914 7[0-4689]|
9915 9(?:
9916 [017-9]|
9917 4[6-8]|
9918 5[2-478]|
9919 6[2-589]
9920 )
9921 )|
9922 8(?:
9923 2(?:
9924 4[4-8]|
9925 9(?:
9926 [3578]|
9927 20|
9928 4[04-9]|
9929 6[56]
9930 )
9931 )|
9932 3(?:
9933 7(?:
9934 [2-5]|
9935 6[0-59]
9936 )|
9937 [3-6][2-9]|
9938 8[2-5]
9939 )|
9940 4[5-8]|
9941 5[2-9]|
9942 6(?:
9943 [37]|
9944 5(?:
9945 [467]|
9946 5[014-9]
9947 )|
9948 6(?:
9949 [2-8]|
9950 9[02-69]
9951 )|
9952 8[2-8]|
9953 9(?:
9954 [236-8]|
9955 9[23]
9956 )
9957 )|
9958 7[579]|
9959 8[03-579]|
9960 9[2-8]
9961 )|
9962 9(?:
9963 [23]0|
9964 4[02-46-9]|
9965 5[0245-79]|
9966 6[4-9]|
9967 7[2-47-9]|
9968 8[02-7]|
9969 9(?:
9970 3(?:
9971 3[02-9]|
9972 4[0-24689]
9973 )|
9974 4[2-69]|
9975 [5-7]
9976 )
9977 )
9978 </leadingDigits>
9979 <leadingDigits>
9980 1(?:
9981 2[3-6]|
9982 3[3-9]|
9983 4[2-6]|
9984 5(?:
9985 [236-8]|
9986 [45][2-69]
9987 )|
9988 [68][2-7]|
9989 7[2-689]|
9990 9[1-578]
9991 )|
9992 2(?:
9993 2(?:
9994 [04-9]|
9995 3[23]
9996 )|
9997 3[3-58]|
9998 4[0-468]|
9999 5(?:
10000 5[78]|
10001 7[2-4]|
10002 [0468][2-9]
10003 )|
10004 6(?:
10005 [0135-8]|
10006 4[2-5]
10007 )|
10008 7(?:
10009 [0679]|
10010 8[2-7]
10011 )|
10012 8(?:
10013 [024578]|
10014 3[25-9]|
10015 9[6-9]
10016 )|
10017 9(?:
10018 11|
10019 3[2-4]
10020 )
10021 )|
10022 4(?:
10023 2(?:
10024 2[2-9]|
10025 8[237-9]
10026 )|
10027 3[689]|
10028 6[035-7]|
10029 7(?:
10030 [059][2-8]|
10031 [68]
10032 )|
10033 80|
10034 9[3-5]
10035 )|
10036 5(?:
10037 3[1-36-9]|
10038 4[4578]|
10039 5[013-8]|
10040 6[1-9]|
10041 7[2-8]|
10042 8[14-7]|
10043 9(?:
10044 [89][2-8]|
10045 [4-7]
10046 )
10047 )|
10048 7(?:
10049 2[15]|
10050 3[5-9]|
10051 4[02-9]|
10052 6[135-8]|
10053 7[0-4689]|
10054 9(?:
10055 [017-9]|
10056 4[6-8]|
10057 5[2-478]|
10058 6[2-589]
10059 )
10060 )|
10061 8(?:
10062 2(?:
10063 4[4-8]|
10064 9(?:
10065 [3578]|
10066 20|
10067 4[04-9]|
10068 6(?:
10069 5[25]|
10070 60
10071 )
10072 )
10073 )|
10074 3(?:
10075 7(?:
10076 [2-5]|
10077 6[0-59]
10078 )|
10079 [3-6][2-9]|
10080 8[2-5]
10081 )|
10082 4[5-8]|
10083 5[2-9]|
10084 6(?:
10085 [37]|
10086 5(?:
10087 [467]|
10088 5[014-9]
10089 )|
10090 6(?:
10091 [2-8]|
10092 9[02-69]
10093 )|
10094 8[2-8]|
10095 9(?:
10096 [236-8]|
10097 9[23]
10098 )
10099 )|
10100 7[579]|
10101 8[03-579]|
10102 9[2-8]
10103 )|
10104 9(?:
10105 [23]0|
10106 4[02-46-9]|
10107 5[0245-79]|
10108 6[4-9]|
10109 7[2-47-9]|
10110 8[02-7]|
10111 9(?:
10112 3(?:
10113 3[02-9]|
10114 4[0-24689]
10115 )|
10116 4[2-69]|
10117 [5-7]
10118 )
10119 )
10120 </leadingDigits>
10121 <format>$1-$2-$3</format>
10122 </numberFormat>
10123 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
10124 <leadingDigits>
10125 1|
10126 2(?:
10127 23|
10128 5[5-89]|
10129 64|
10130 78|
10131 8[39]|
10132 91
10133 )|
10134 4(?:
10135 2[2689]|
10136 64|
10137 7[347]
10138 )|
10139 5(?:
10140 [2-589]|
10141 39
10142 )|
10143 60|
10144 8(?:
10145 [46-9]|
10146 3[279]|
10147 2[124589]
10148 )|
10149 9(?:
10150 [235-8]|
10151 93
10152 )
10153 </leadingDigits>
10154 <leadingDigits>
10155 1|
10156 2(?:
10157 23|
10158 5(?:
10159 [57]|
10160 [68]0|
10161 9[19]
10162 )|
10163 64|
10164 78|
10165 8[39]|
10166 917
10167 )|
10168 4(?:
10169 2(?:
10170 [68]|
10171 20|
10172 9[178]
10173 )|
10174 64|
10175 7[347]
10176 )|
10177 5(?:
10178 [2-589]|
10179 39[67]
10180 )|
10181 60|
10182 8(?:
10183 [46-9]|
10184 3[279]|
10185 2[124589]
10186 )|
10187 9(?:
10188 [235-8]|
10189 93[34]
10190 )
10191 </leadingDigits>
10192 <leadingDigits>
10193 1|
10194 2(?:
10195 23|
10196 5(?:
10197 [57]|
10198 [68]0|
10199 9(?:
10200 17|
10201 99
10202 )
10203 )|
10204 64|
10205 78|
10206 8[39]|
10207 917
10208 )|
10209 4(?:
10210 2(?:
10211 [68]|
10212 20|
10213 9[178]
10214 )|
10215 64|
10216 7[347]
10217 )|
10218 5(?:
10219 [2-589]|
10220 39[67]
10221 )|
10222 60|
10223 8(?:
10224 [46-9]|
10225 3[279]|
10226 2[124589]
10227 )|
10228 9(?:
10229 [235-8]|
10230 93(?:
10231 31|
10232 4
10233 )
10234 )
10235 </leadingDigits>
10236 <format>$1-$2-$3</format>
10237 </numberFormat>
10238 <numberFormat pattern="(\d{3})(\d{2})(\d{4})">
10239 <leadingDigits>
10240 2(?:
10241 9[14-79]|
10242 74|
10243 [34]7|
10244 [56]9
10245 )|
10246 82|
10247 993
10248 </leadingDigits>
10249 <format>$1-$2-$3</format>
10250 </numberFormat>
10251 <numberFormat pattern="(\d)(\d{4})(\d{4})">
10252 <leadingDigits>
10253 3|
10254 4(?:
10255 2[09]|
10256 7[01]
10257 )|
10258 6[1-9]
10259 </leadingDigits>
10260 <format>$1-$2-$3</format>
10261 </numberFormat>
10262 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
10263 <leadingDigits>[2479]</leadingDigits>
10264 <format>$1-$2-$3</format>
10265 </numberFormat>
10266 </availableFormats>
10267 <generalDesc>
10268 <nationalNumberPattern>\d{9,10}</nationalNumberPattern>
10269 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
10270 </generalDesc>
10271 <fixedLine>
10272 <nationalNumberPattern>
10273 (?:
10274 1(?:
10275 1[236-8]|
10276 2[3-6]|
10277 3[3-9]|
10278 4[2-6]|
10279 [58][2-8]|
10280 6[2-7]|
10281 7[2-9]|
10282 9[1-8]
10283 )|
10284 2[2-9]\d|
10285 [36][1-9]\d|
10286 4(?:
10287 6[0235-8]|
10288 [2-578]\d|
10289 9[2-59]
10290 )|
10291 5(?:
10292 6[1-9]|
10293 7[2-8]|
10294 [2-589]\d
10295 )|
10296 7(?:
10297 3[4-9]|
10298 4[02-9]|
10299 [25-9]\d
10300 )|
10301 8(?:
10302 3[2-9]|
10303 4[5-9]|
10304 5[1-9]|
10305 8[03-9]|
10306 [2679]\d
10307 )|
10308 9(?:
10309 [679][1-9]|
10310 [2-58]\d
10311 )
10312 )\d{6}
10313 </nationalNumberPattern>
10314 <possibleNumberPattern>\d{9}</possibleNumberPattern>
10315 <exampleNumber>312345678</exampleNumber>
10316 </fixedLine>
10317 <mobile>
10318 <nationalNumberPattern>[7-9]0\d{8}</nationalNumberPattern>
10319 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10320 <exampleNumber>7012345678</exampleNumber>
10321 </mobile>
10322 <!-- Toll free and premium rate numbers are not clearly defined in the off icial Japanese
10323 number plan, and do not seem to have been standardized. The informati on below is
10324 collected from searching the web. -->
10325 <tollFree>
10326 <nationalNumberPattern>120\d{6}</nationalNumberPattern>
10327 <possibleNumberPattern>\d{9}</possibleNumberPattern>
10328 <exampleNumber>120123456</exampleNumber>
10329 </tollFree>
10330 <premiumRate>
10331 <nationalNumberPattern>990\d{6}</nationalNumberPattern>
10332 <possibleNumberPattern>\d{9}</possibleNumberPattern>
10333 <exampleNumber>990123456</exampleNumber>
10334 </premiumRate>
10335 <!-- Uncertain on number length allowed here. -->
10336 <personalNumber>
10337 <nationalNumberPattern>60\d{7}</nationalNumberPattern>
10338 <possibleNumberPattern>\d{9}</possibleNumberPattern>
10339 <exampleNumber>601234567</exampleNumber>
10340 </personalNumber>
10341 <voip>
10342 <nationalNumberPattern>50\d{8}</nationalNumberPattern>
10343 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10344 <exampleNumber>5012345678</exampleNumber>
10345 </voip>
10346 </territory>
10347
10348 <!-- Kenya -->
10349 <!-- http://www.cck.go.ke/licensing/numbering/plan.html -->
10350 <territory id="KE" countryCode="254" internationalPrefix="000"
10351 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
10352 <availableFormats>
10353 <numberFormat pattern="(\d{2})(\d{4,7})">
10354 <leadingDigits>
10355 [2-6]|
10356 91
10357 </leadingDigits>
10358 <format>$1 $2</format>
10359 </numberFormat>
10360 <numberFormat pattern="(\d{3})(\d{6,7})">
10361 <leadingDigits>
10362 [78]|
10363 90
10364 </leadingDigits>
10365 <format>$1 $2</format>
10366 </numberFormat>
10367 </availableFormats>
10368 <generalDesc>
10369 <nationalNumberPattern>\d{6,10}</nationalNumberPattern>
10370 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
10371 </generalDesc>
10372 <fixedLine>
10373 <nationalNumberPattern>
10374 (?:
10375 20|
10376 4[0-6]|
10377 5\d|
10378 6[0-24-9]
10379 )\d{4,7}
10380 </nationalNumberPattern>
10381 <possibleNumberPattern>\d{4,9}</possibleNumberPattern>
10382 <exampleNumber>202012345</exampleNumber>
10383 </fixedLine>
10384 <mobile>
10385 <!-- Adding 716 after successful delivery of SMSs. -->
10386 <nationalNumberPattern>
10387 7(?:
10388 1[0-6]|
10389 2\d|
10390 3[2-8]|
10391 5[0-2]|
10392 7[023]
10393 )\d{6}
10394 </nationalNumberPattern>
10395 <possibleNumberPattern>\d{9}</possibleNumberPattern>
10396 <exampleNumber>712123456</exampleNumber>
10397 </mobile>
10398 <!-- There is no document that has the information on the actual length of premium rates and
10399 tollfree numbers. The information below comes from research on existi ng numbers. -->
10400 <tollFree>
10401 <nationalNumberPattern>
10402 8(?:
10403 00|
10404 88
10405 )\d{6,7}
10406 </nationalNumberPattern>
10407 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
10408 <exampleNumber>800123456</exampleNumber>
10409 </tollFree>
10410 <premiumRate>
10411 <nationalNumberPattern>
10412 9(?:
10413 00|
10414 1
10415 )\d{6,7}
10416 </nationalNumberPattern>
10417 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
10418 <exampleNumber>900123456</exampleNumber>
10419 </premiumRate>
10420 </territory>
10421
10422 <!-- Kyrgyzstan -->
10423 <!-- http://www.itu.int/oth/T0202000074/en -->
10424 <territory id="KG" countryCode="996" internationalPrefix="00"
10425 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
10426 <availableFormats>
10427 <numberFormat pattern="(\d{3})(\d{3})(\d{3})">
10428 <leadingDigits>
10429 31[25]|
10430 [5-8]
10431 </leadingDigits>
10432 <format>$1 $2 $3</format>
10433 </numberFormat>
10434 <numberFormat pattern="(\d{4})(\d{5})">
10435 <leadingDigits>
10436 3(?:
10437 1[36]|
10438 [2-9]
10439 )
10440 </leadingDigits>
10441 <format>$1 $2</format>
10442 </numberFormat>
10443 </availableFormats>
10444 <generalDesc>
10445 <nationalNumberPattern>[356-8]\d{8}</nationalNumberPattern>
10446 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
10447 </generalDesc>
10448 <fixedLine>
10449 <nationalNumberPattern>
10450 (?:
10451 3(?:
10452 1(?:
10453 2\d|
10454 3[1-9]|
10455 52|
10456 6[1-8]
10457 )|
10458 2(?:
10459 22|
10460 3[0-479]|
10461 6[0-7]
10462 )|
10463 4(?:
10464 22|
10465 5[6-9]|
10466 6[0-4]
10467 )|
10468 5(?:
10469 22|
10470 3[4-7]|
10471 59|
10472 6[0-5]
10473 )|
10474 6(?:
10475 22|
10476 5[35-7]|
10477 6[0-3]
10478 )|
10479 7(?:
10480 22|
10481 3[468]|
10482 4[1-8]|
10483 59|
10484 6\d|
10485 7[5-7]
10486 )|
10487 9(?:
10488 22|
10489 4[1-7]|
10490 6[0-8]
10491 )
10492 )|
10493 6(?:
10494 09|
10495 12|
10496 2[2-4]
10497 )\d
10498 )\d{5}
10499 </nationalNumberPattern>
10500 <exampleNumber>312123456</exampleNumber>
10501 </fixedLine>
10502 <mobile>
10503 <!-- Added 705 since SMS messages have been successfully sent to numbers with this prefix.
10504 -->
10505 <nationalNumberPattern>
10506 5[124-7]\d{7}|
10507 7(?:
10508 0[05]|
10509 7\d
10510 )\d{6}
10511 </nationalNumberPattern>
10512 <possibleNumberPattern>\d{9}</possibleNumberPattern>
10513 <exampleNumber>700123456</exampleNumber>
10514 </mobile>
10515 <tollFree>
10516 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
10517 <possibleNumberPattern>\d{9}</possibleNumberPattern>
10518 <exampleNumber>800123456</exampleNumber>
10519 </tollFree>
10520 <!-- No premiumRate information can be found. -->
10521 </territory>
10522
10523 <!-- Cambodia -->
10524 <!-- http://www.itu.int/oth/T0202000023/en -->
10525 <territory id="KH" countryCode="855" internationalPrefix="00[178]"
10526 nationalPrefix="0">
10527 <availableFormats>
10528 <numberFormat nationalPrefixFormattingRule="$NP$FG"
10529 pattern="(\d{2})(\d{3})(\d{3})">
10530 <leadingDigits>
10531 1\d[1-9]|
10532 [2-9]
10533 </leadingDigits>
10534 <format>$1 $2 $3</format>
10535 </numberFormat>
10536 <numberFormat pattern="(1[89]00)(\d{3})(\d{3})">
10537 <leadingDigits>1[89]0</leadingDigits>
10538 <format>$1 $2 $3</format>
10539 </numberFormat>
10540 </availableFormats>
10541 <generalDesc>
10542 <nationalNumberPattern>[1-9]\d{7,9}</nationalNumberPattern>
10543 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
10544 </generalDesc>
10545 <fixedLine>
10546 <nationalNumberPattern>
10547 (?:
10548 2[3-6]|
10549 3[2-6]|
10550 4[2-4]|
10551 [5-7][2-5]
10552 )[2-47-9]\d{5}
10553 </nationalNumberPattern>
10554 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
10555 <exampleNumber>23456789</exampleNumber>
10556 </fixedLine>
10557 <mobile>
10558 <!-- Adding 171, 13X, 80[89], 85[2-689] and 921 prefixes as SMS messages could be
10559 successfully delivered to these mobile numbers. -->
10560 <nationalNumberPattern>
10561 (?:
10562 (?:
10563 1[0-35-9]|
10564 9[1-49]
10565 )[1-9]|
10566 8(?:
10567 0[89]|
10568 5[2-689]
10569 )
10570 )\d{5}
10571 </nationalNumberPattern>
10572 <possibleNumberPattern>\d{8}</possibleNumberPattern>
10573 <exampleNumber>91234567</exampleNumber>
10574 </mobile>
10575 <tollFree>
10576 <nationalNumberPattern>
10577 1800(?:
10578 1\d|
10579 2[09]
10580 )\d{4}
10581 </nationalNumberPattern>
10582 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10583 <exampleNumber>1800123456</exampleNumber>
10584 </tollFree>
10585 <premiumRate>
10586 <nationalNumberPattern>
10587 1900(?:
10588 1\d|
10589 2[09]
10590 )\d{4}
10591 </nationalNumberPattern>
10592 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10593 <exampleNumber>1900123456</exampleNumber>
10594 </premiumRate>
10595 </territory>
10596
10597 <!-- Kiribati -->
10598 <!-- http://www.itu.int/oth/T0202000071/en -->
10599 <territory id="KI" countryCode="686" internationalPrefix="00"
10600 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
10601 <availableFormats>
10602 <numberFormat pattern="(\d{5})">
10603 <format>$1</format>
10604 </numberFormat>
10605 </availableFormats>
10606 <generalDesc>
10607 <nationalNumberPattern>[2-689]\d{4}</nationalNumberPattern>
10608 <possibleNumberPattern>\d{5}</possibleNumberPattern>
10609 </generalDesc>
10610 <fixedLine>
10611 <nationalNumberPattern>
10612 (?:
10613 [234]\d|
10614 50|
10615 8[1-5]
10616 )\d{3}
10617 </nationalNumberPattern>
10618 <exampleNumber>31234</exampleNumber>
10619 </fixedLine>
10620 <mobile>
10621 <nationalNumberPattern>[69]\d{4}</nationalNumberPattern>
10622 <exampleNumber>61234</exampleNumber>
10623 </mobile>
10624 <shortCode>
10625 <nationalNumberPattern>
10626 10(?:
10627 [0-8]|
10628 5[01259]
10629 )|
10630 99[234]
10631 </nationalNumberPattern>
10632 <possibleNumberPattern>\d{3,4}</possibleNumberPattern>
10633 <exampleNumber>992</exampleNumber>
10634 </shortCode>
10635 </territory>
10636
10637 <!-- Comoros -->
10638 <!-- http://www.itu.int/oth/T020200002D/en -->
10639 <territory id="KM" countryCode="269" internationalPrefix="00">
10640 <availableFormats>
10641 <numberFormat pattern="(\d)(\d{3})(\d{3})">
10642 <format>$1 $2 $3</format>
10643 </numberFormat>
10644 </availableFormats>
10645 <generalDesc>
10646 <nationalNumberPattern>[37]\d{6}</nationalNumberPattern>
10647 <possibleNumberPattern>\d{7}</possibleNumberPattern>
10648 </generalDesc>
10649 <fixedLine>
10650 <!-- CDMA phones are included here, as they are considered as an extensi on of fixed line:
10651 http://www.comorestelecom.km/presentationcdma.php -->
10652 <nationalNumberPattern>
10653 7(?:
10654 6[0-37-9]|
10655 7[0-57-9]
10656 )\d{4}
10657 </nationalNumberPattern>
10658 <exampleNumber>7712345</exampleNumber>
10659 </fixedLine>
10660 <mobile>
10661 <nationalNumberPattern>3[23]\d{5}</nationalNumberPattern>
10662 <exampleNumber>3212345</exampleNumber>
10663 </mobile>
10664 </territory>
10665
10666 <!-- Saint Kitts and Nevis -->
10667 <!-- http://www.itu.int/oth/T02020000B0/en -->
10668 <territory id="KN" countryCode="1" leadingDigits="869"
10669 nationalPrefix="1" internationalPrefix="011">
10670 <generalDesc>
10671 <!-- NANPA country - uses US formatting rules -->
10672 <nationalNumberPattern>[589]\d{9}</nationalNumberPattern>
10673 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
10674 </generalDesc>
10675 <fixedLine>
10676 <nationalNumberPattern>
10677 869(?:
10678 2(?:
10679 29|
10680 36
10681 )|
10682 4(?:
10683 6[5-9]|
10684 70
10685 )
10686 )\d{4}
10687 </nationalNumberPattern>
10688 <exampleNumber>8692361234</exampleNumber>
10689 </fixedLine>
10690 <mobile>
10691 <nationalNumberPattern>
10692 869(?:
10693 5(?:
10694 5[6-8]|
10695 6[5-7]
10696 )|
10697 66[2-9]|
10698 76[2-5]
10699 )\d{4}
10700 </nationalNumberPattern>
10701 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10702 <exampleNumber>8695561234</exampleNumber>
10703 </mobile>
10704 <tollFree>
10705 <nationalNumberPattern>
10706 8(?:
10707 00|
10708 55|
10709 66|
10710 77|
10711 88
10712 )[2-9]\d{6}
10713 </nationalNumberPattern>
10714 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10715 <exampleNumber>8002123456</exampleNumber>
10716 </tollFree>
10717 <premiumRate>
10718 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
10719 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10720 <exampleNumber>9002123456</exampleNumber>
10721 </premiumRate>
10722 <personalNumber>
10723 <!-- http://www.nanpa.com/pdf/PL_416.pdf -->
10724 <nationalNumberPattern>
10725 5(?:
10726 00|
10727 33|
10728 44
10729 )[2-9]\d{6}
10730 </nationalNumberPattern>
10731 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10732 <exampleNumber>5002345678</exampleNumber>
10733 </personalNumber>
10734 </territory>
10735
10736 <!-- Korea, Dem. People's Rep. of -->
10737 <territory id="KP" countryCode="850" internationalPrefix="00"
10738 nationalPrefix="0">
10739 </territory>
10740
10741 <!-- Korea (Rep. of) -->
10742 <!-- http://www.itu.int/oth/T0202000072/en -->
10743 <!-- http://en.wikipedia.org/wiki/%2B82 -->
10744 <!-- http://www.kcc.go.kr/user.do?mode=view&page=P02030300&dc=K02030300&boar dId=1074&boardSeq=2349 -->
10745 <!-- http://www.kcc.go.kr/user.do?mode=view&page=P02030300&dc=K02030300&boar dId=1074&boardSeq=2240 -->
10746 <!-- http://www.telecentro.co.kr/sub/index.php?job=detail&ebcf_id=faq&page=1 &mid=0503&eb_seq=36 -->
10747 <!-- Exceptions :
10748 internationalPrefix
10749 0031, 0033, 0071, 0073 - Special services of KT and DACOM, ignorable
10750 nationalPrefix
10751 1[4-6]XX-YYYY - Country-wide common number services, display as it i s without hyphens -->
10752 <territory id="KR" countryCode="82" internationalPrefix="00(?:[124-68]|[37]\ d{2})"
10753 nationalPrefix="0" nationalPrefixForParsing="0(8[1-46-8]|85\d{2}) ?"
10754 nationalPrefixFormattingRule="$NP$FG" carrierCodeFormattingRule=" $NP$CC-$FG">
10755 <availableFormats>
10756 <numberFormat pattern="(\d{2})(\d{4})(\d{4})">
10757 <leadingDigits>
10758 1(?:
10759 0|
10760 1[19]|
10761 [69]9|
10762 5[458]
10763 )|
10764 [57]0
10765 </leadingDigits>
10766 <leadingDigits>
10767 1(?:
10768 0|
10769 1[19]|
10770 [69]9|
10771 5(?:
10772 44|
10773 59|
10774 8
10775 )
10776 )|
10777 [57]0
10778 </leadingDigits>
10779 <format>$1-$2-$3</format>
10780 </numberFormat>
10781 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
10782 <leadingDigits>
10783 1(?:
10784 [169][2-8]|
10785 [78]|
10786 5[1-4]
10787 )|
10788 [68]0|
10789 [3-9][1-9][2-9]
10790 </leadingDigits>
10791 <leadingDigits>
10792 1(?:
10793 [169][2-8]|
10794 [78]|
10795 5(?:
10796 [1-3]|
10797 4[56]
10798 )
10799 )|
10800 [68]0|
10801 [3-9][1-9][2-9]
10802 </leadingDigits>
10803 <format>$1-$2-$3</format>
10804 </numberFormat>
10805 <numberFormat pattern="(\d{3})(\d)(\d{4})">
10806 <leadingDigits>131</leadingDigits>
10807 <leadingDigits>1312</leadingDigits>
10808 <format>$1-$2-$3</format>
10809 </numberFormat>
10810 <numberFormat pattern="(\d{3})(\d{2})(\d{4})">
10811 <leadingDigits>131</leadingDigits>
10812 <leadingDigits>131[13-9]</leadingDigits>
10813 <format>$1-$2-$3</format>
10814 </numberFormat>
10815 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
10816 <leadingDigits>13[2-9]</leadingDigits>
10817 <format>$1-$2-$3</format>
10818 </numberFormat>
10819 <numberFormat pattern="(\d{2})(\d{2})(\d{3})(\d{4})">
10820 <leadingDigits>30</leadingDigits>
10821 <format>$1-$2-$3-$4</format>
10822 </numberFormat>
10823 <numberFormat pattern="(\d)(\d{4})(\d{4})">
10824 <leadingDigits>
10825 2(?:
10826 [26]|
10827 3[0-467]
10828 )
10829 </leadingDigits>
10830 <leadingDigits>
10831 2(?:
10832 [26]|
10833 3(?:
10834 01|
10835 1[45]|
10836 2[17-9]|
10837 39|
10838 4|
10839 6[67]|
10840 7[078]
10841 )
10842 )
10843 </leadingDigits>
10844 <format>$1-$2-$3</format>
10845 </numberFormat>
10846 <numberFormat pattern="(\d)(\d{3})(\d{4})">
10847 <leadingDigits>
10848 2(?:
10849 3[0-35-9]|
10850 [457-9]
10851 )
10852 </leadingDigits>
10853 <leadingDigits>
10854 2(?:
10855 3(?:
10856 0[02-9]|
10857 1[0-36-9]|
10858 2[02-6]|
10859 3[0-8]|
10860 6[0-589]|
10861 7[1-69]|
10862 [589]
10863 )|
10864 [457-9]
10865 )
10866 </leadingDigits>
10867 <format>$1-$2-$3</format>
10868 </numberFormat>
10869 <numberFormat pattern="(\d)(\d{3,4})">
10870 <leadingDigits>21[0-46-9]</leadingDigits>
10871 <format>$1-$2</format>
10872 </numberFormat>
10873 <numberFormat pattern="(\d{2})(\d{3,4})">
10874 <leadingDigits>[3-9][1-9]1</leadingDigits>
10875 <leadingDigits>
10876 [3-9][1-9]1(?:
10877 [0-46-9]
10878 )
10879 </leadingDigits>
10880 <format>$1-$2</format>
10881 </numberFormat>
10882 <!-- Company numbers. -->
10883 <numberFormat pattern="(\d{4})(\d{4})"
10884 nationalPrefixFormattingRule="$FG">
10885 <leadingDigits>
10886 1(?:
10887 5[46-9]|
10888 6[04678]
10889 )
10890 </leadingDigits>
10891 <leadingDigits>
10892 1(?:
10893 5(?:
10894 44|
10895 66|
10896 77|
10897 88|
10898 99
10899 )|
10900 6(?:
10901 00|
10902 44|
10903 6[16]|
10904 70|
10905 88
10906 )
10907 )
10908 </leadingDigits>
10909 <format>$1-$2</format>
10910 </numberFormat>
10911 </availableFormats>
10912 <generalDesc>
10913 <nationalNumberPattern>
10914 [1-79]\d{3,9}|
10915 8\d{8}
10916 </nationalNumberPattern>
10917 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
10918 </generalDesc>
10919 <fixedLine>
10920 <nationalNumberPattern>
10921 (?:
10922 2|
10923 [34][1-3]|
10924 5[1-5]|
10925 6[1-4]
10926 )(?:
10927 1\d{2,3}|
10928 [2-9]\d{6,7}
10929 )
10930 </nationalNumberPattern>
10931 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
10932 <exampleNumber>22123456</exampleNumber>
10933 </fixedLine>
10934 <mobile>
10935 <nationalNumberPattern>1[0-25-9]\d{7,8}</nationalNumberPattern>
10936 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
10937 <exampleNumber>1023456789</exampleNumber>
10938 </mobile>
10939 <tollFree>
10940 <nationalNumberPattern>80\d{7}</nationalNumberPattern>
10941 <possibleNumberPattern>\d{9}</possibleNumberPattern>
10942 <exampleNumber>801234567</exampleNumber>
10943 </tollFree>
10944 <!-- The information below is provided by a Korean person. -->
10945 <premiumRate>
10946 <nationalNumberPattern>60[2-9]\d{6}</nationalNumberPattern>
10947 <possibleNumberPattern>\d{9}</possibleNumberPattern>
10948 <exampleNumber>602345678</exampleNumber>
10949 </premiumRate>
10950 <personalNumber>
10951 <nationalNumberPattern>50\d{8}</nationalNumberPattern>
10952 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10953 <exampleNumber>5012345678</exampleNumber>
10954 </personalNumber>
10955 <voip>
10956 <nationalNumberPattern>70\d{8}</nationalNumberPattern>
10957 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10958 <exampleNumber>7012345678</exampleNumber>
10959 </voip>
10960 <uan>
10961 <nationalNumberPattern>
10962 1(?:
10963 5(?:
10964 44|
10965 66|
10966 77|
10967 88|
10968 99
10969 )|
10970 6(?:
10971 00|
10972 44|
10973 6[16]|
10974 70|
10975 88
10976 )
10977 )\d{4}
10978 </nationalNumberPattern>
10979 <possibleNumberPattern>\d{8}</possibleNumberPattern>
10980 <exampleNumber>15441234</exampleNumber>
10981 </uan>
10982 </territory>
10983
10984 <!-- Kuwait -->
10985 <!-- http://www.itu.int/oth/T0202000073/en -->
10986 <territory id="KW" countryCode="965" internationalPrefix="00"
10987 nationalPrefixFormattingRule="$NP$FG">
10988 <availableFormats>
10989 <!-- Format is from ITU. -->
10990 <numberFormat pattern="(\d{4})(\d{3,4})">
10991 <leadingDigits>[1269]</leadingDigits>
10992 <format>$1 $2</format>
10993 </numberFormat>
10994 <numberFormat pattern="(5[05]\d)(\d{5})">
10995 <leadingDigits>5</leadingDigits>
10996 <format>$1 $2</format>
10997 </numberFormat>
10998 </availableFormats>
10999 <generalDesc>
11000 <nationalNumberPattern>[12569]\d{6,7}</nationalNumberPattern>
11001 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
11002 </generalDesc>
11003 <fixedLine>
11004 <nationalNumberPattern>
11005 (?:
11006 18\d|
11007 2(?:
11008 [23]\d{2}|
11009 4[1-35-9]\d|
11010 5(?:
11011 0[034]|
11012 [2-46]\d|
11013 5[1-3]|
11014 7[1-7]
11015 )
11016 )
11017 )\d{4}
11018 </nationalNumberPattern>
11019 <exampleNumber>22345678</exampleNumber>
11020 </fixedLine>
11021 <mobile>
11022 <nationalNumberPattern>
11023 (?:
11024 5(?:
11025 0[0-2]|
11026 5\d
11027 )|
11028 6(?:
11029 0[034679]|
11030 5[015-9]|
11031 6\d|
11032 7[067]|
11033 99
11034 )|
11035 9(?:
11036 0[09]|
11037 4[049]|
11038 66|
11039 [79]\d
11040 )
11041 )\d{5}
11042 </nationalNumberPattern>
11043 <possibleNumberPattern>\d{8}</possibleNumberPattern>
11044 <exampleNumber>50012345</exampleNumber>
11045 </mobile>
11046 <!-- No tollFree or premiumRate information can be found. -->
11047 <shortCode>
11048 <nationalNumberPattern>1\d{2}</nationalNumberPattern>
11049 <possibleNumberPattern>\d{3}</possibleNumberPattern>
11050 <exampleNumber>177</exampleNumber>
11051 </shortCode>
11052 </territory>
11053
11054 <!-- Cayman Islands -->
11055 <!-- http://www.itu.int/oth/T0202000027/en -->
11056 <territory id="KY" countryCode="1" leadingDigits="345"
11057 nationalPrefix="1" internationalPrefix="011">
11058 <generalDesc>
11059 <!-- NANPA country - uses US formatting rules -->
11060 <nationalNumberPattern>[3589]\d{9}</nationalNumberPattern>
11061 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
11062 </generalDesc>
11063 <fixedLine>
11064 <nationalNumberPattern>
11065 345(?:
11066 2(?:
11067 22|
11068 44
11069 )|
11070 444|
11071 6(?:
11072 23|
11073 38|
11074 40
11075 )|
11076 7(?:
11077 6[6-9]|
11078 77
11079 )|
11080 8(?:
11081 00|
11082 1[45]|
11083 25|
11084 4[89]|
11085 88
11086 )|
11087 9(?:
11088 14|
11089 4[035-9]
11090 )
11091 )\d{4}
11092 </nationalNumberPattern>
11093 <exampleNumber>3452221234</exampleNumber>
11094 </fixedLine>
11095 <mobile>
11096 <nationalNumberPattern>
11097 345(?:
11098 32[3-79]|
11099 5(?:
11100 1[467]|
11101 2[5-7]|
11102 4[5-9]
11103 )|
11104 9(?:
11105 1[679]|
11106 2[4-9]|
11107 3[89]
11108 )
11109 )\d{4}
11110 </nationalNumberPattern>
11111 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11112 <exampleNumber>3453231234</exampleNumber>
11113 </mobile>
11114 <tollFree>
11115 <nationalNumberPattern>
11116 8(?:
11117 00|
11118 55|
11119 66|
11120 77|
11121 88
11122 )[2-9]\d{6}
11123 </nationalNumberPattern>
11124 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11125 <exampleNumber>8002345678</exampleNumber>
11126 </tollFree>
11127 <premiumRate>
11128 <nationalNumberPattern>
11129 900[2-9]\d{6}|
11130 345976\d{4}
11131 </nationalNumberPattern>
11132 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11133 <exampleNumber>9002345678</exampleNumber>
11134 </premiumRate>
11135 <personalNumber>
11136 <!-- http://www.nanpa.com/pdf/PL_416.pdf -->
11137 <nationalNumberPattern>
11138 5(?:
11139 00|
11140 33|
11141 44
11142 )[2-9]\d{6}
11143 </nationalNumberPattern>
11144 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11145 <exampleNumber>5002345678</exampleNumber>
11146 </personalNumber>
11147 </territory>
11148
11149 <!-- Kazakhstan -->
11150 <!-- http://www.itu.int/oth/T020200006F/en -->
11151 <territory id="KZ" countryCode="7" internationalPrefix="8~10"
11152 nationalPrefix="8" nationalPrefixFormattingRule="$NP$FG">
11153 <!-- Formatting rules obtained from Russia. -->
11154 <generalDesc>
11155 <nationalNumberPattern>
11156 (?:
11157 7\d{2}|
11158 80[09]
11159 )\d{7}
11160 </nationalNumberPattern>
11161 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11162 </generalDesc>
11163 <noInternationalDialling>
11164 <nationalNumberPattern>751\d{7}</nationalNumberPattern>
11165 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11166 <exampleNumber>7511234567</exampleNumber>
11167 </noInternationalDialling>
11168 <fixedLine>
11169 <!-- VSAT numbers are also included here. -->
11170 <nationalNumberPattern>
11171 7(?:
11172 1(?:
11173 0(?:
11174 [23]\d|
11175 4[023]|
11176 59|
11177 63
11178 )|
11179 1(?:
11180 [23]\d|
11181 4[0-79]|
11182 59
11183 )|
11184 2(?:
11185 [23]\d|
11186 59
11187 )|
11188 3(?:
11189 2\d|
11190 3[1-79]|
11191 4[0-35-9]|
11192 59
11193 )|
11194 4(?:
11195 2\d|
11196 3[013-79]|
11197 4[0-8]|
11198 5[1-79]
11199 )|
11200 5(?:
11201 2\d|
11202 3[1-8]|
11203 4[1-7]|
11204 59
11205 )|
11206 6(?:
11207 2\d|
11208 [34]\d|
11209 5[19]|
11210 61
11211 )|
11212 72\d|
11213 8(?:
11214 [27]\d|
11215 3[1-46-9]|
11216 4[0-5]|
11217 )
11218 )|
11219 2(?:
11220 1(?:
11221 [23]\d|
11222 4[46-9]|
11223 5[3469]
11224 )|
11225 2(?:
11226 2\d|
11227 3[0679]|
11228 46|
11229 5[12679]|
11230 )|
11231 3(?:
11232 [234]\d|
11233 5[139]|
11234 )|
11235 4(?:
11236 2\d|
11237 3[1235-9]|
11238 59
11239 )|
11240 5(?:
11241 [23]\d|
11242 4[01246-8]|
11243 59|
11244 61
11245 )|
11246 6(?:
11247 2\d|
11248 3[1-9]|
11249 4[0-4]|
11250 59
11251 )|
11252 7(?:
11253 [23]\d|
11254 40|
11255 5[279]|
11256 7\d
11257 )|
11258 8(?:
11259 [23]\d|
11260 4[0-3]|
11261 59
11262 )|
11263 9(?:
11264 2\d|
11265 3[124578]|
11266 59
11267 )
11268 )|
11269 3622
11270 )\d{5}
11271 </nationalNumberPattern>
11272 <exampleNumber>7123456789</exampleNumber>
11273 </fixedLine>
11274 <mobile>
11275 <nationalNumberPattern>
11276 7(?:
11277 0[01257]\d{2}|
11278 6[02-4]\d{2}|
11279 7[157]\d{2}
11280 )\d{5}
11281 </nationalNumberPattern>
11282 <exampleNumber>7710009998</exampleNumber>
11283 </mobile>
11284 <tollFree>
11285 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
11286 <exampleNumber>8001234567</exampleNumber>
11287 </tollFree>
11288 <premiumRate>
11289 <nationalNumberPattern>809\d{7}</nationalNumberPattern>
11290 <exampleNumber>8091234567</exampleNumber>
11291 </premiumRate>
11292 <voip>
11293 <nationalNumberPattern>751\d{7}</nationalNumberPattern>
11294 <exampleNumber>7511234567</exampleNumber>
11295 </voip>
11296 </territory>
11297
11298 <!-- Lao People's Dem. Rep. -->
11299 <!-- http://www.itu.int/oth/T0202000075/en -->
11300 <territory id="LA" countryCode="856" internationalPrefix="00"
11301 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
11302 <availableFormats>
11303 <numberFormat pattern="(20)(\d{2})(\d{3})(\d{3})">
11304 <leadingDigits>20</leadingDigits>
11305 <format>$1 $2 $3 $4</format>
11306 </numberFormat>
11307 <numberFormat pattern="([2-57]\d)(\d{3})(\d{3})">
11308 <leadingDigits>
11309 21|
11310 [3-57]
11311 </leadingDigits>
11312 <format>$1 $2 $3</format>
11313 </numberFormat>
11314 </availableFormats>
11315 <generalDesc>
11316 <nationalNumberPattern>[2-57]\d{7,9}</nationalNumberPattern>
11317 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
11318 </generalDesc>
11319 <fixedLine>
11320 <nationalNumberPattern>
11321 (?:
11322 [2-57]1|
11323 54
11324 )\d{6}
11325 </nationalNumberPattern>
11326 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
11327 <exampleNumber>21212862</exampleNumber>
11328 </fixedLine>
11329 <mobile>
11330 <nationalNumberPattern>
11331 20(?:
11332 2[23]|
11333 5[4-6]|
11334 77|
11335 9[89]
11336 )\d{6}
11337 </nationalNumberPattern>
11338 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11339 <exampleNumber>2023123456</exampleNumber>
11340 </mobile>
11341 <!-- No information on other types of phone numbers for Lao P.D.R. has bee n found. -->
11342 </territory>
11343
11344 <!-- Lebanon -->
11345 <!-- http://www.itu.int/oth/T0202000077/en -->
11346 <!-- http://en.wikipedia.org/wiki/%2B961 -->
11347 <territory id="LB" countryCode="961" internationalPrefix="00"
11348 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
11349 <availableFormats>
11350 <numberFormat pattern="(\d)(\d{3})(\d{3})">
11351 <leadingDigits>
11352 [13-6]|
11353 7(?:
11354 [2-57-9]|
11355 62)|
11356 [89][2-9]
11357 </leadingDigits>
11358 <format>$1 $2 $3</format>
11359 </numberFormat>
11360 <numberFormat pattern="([7-9]\d)(\d{3})(\d{3})">
11361 <leadingDigits>
11362 [89][01]|
11363 7(?:
11364 [01]|
11365 6[67])
11366 </leadingDigits>
11367 <format>$1 $2 $3</format>
11368 </numberFormat>
11369 </availableFormats>
11370 <generalDesc>
11371 <nationalNumberPattern>[13-9]\d{6,7}</nationalNumberPattern>
11372 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
11373 </generalDesc>
11374 <fixedLine>
11375 <nationalNumberPattern>
11376 (?:
11377 [14-6]\d{2}|
11378 7(?:
11379 [2-57-9]\d|
11380 62)|
11381 [89][2-9]\d
11382 )\d{4}
11383 </nationalNumberPattern>
11384 <possibleNumberPattern>\d{7}</possibleNumberPattern>
11385 <exampleNumber>1123456</exampleNumber>
11386 </fixedLine>
11387 <mobile>
11388 <nationalNumberPattern>
11389 (?:
11390 3\d|
11391 7(?:
11392 [01]\d|
11393 6[67]
11394 )
11395 )\d{5}
11396 </nationalNumberPattern>
11397 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
11398 <exampleNumber>71123456</exampleNumber>
11399 </mobile>
11400 <premiumRate>
11401 <nationalNumberPattern>9[01]\d{6}</nationalNumberPattern>
11402 <possibleNumberPattern>\d{8}</possibleNumberPattern>
11403 <exampleNumber>90123456</exampleNumber>
11404 </premiumRate>
11405 <sharedCost>
11406 <nationalNumberPattern>8[01]\d{6}</nationalNumberPattern>
11407 <possibleNumberPattern>\d{8}</possibleNumberPattern>
11408 <exampleNumber>80123456</exampleNumber>
11409 </sharedCost>
11410 </territory>
11411
11412 <!-- Saint Lucia -->
11413 <!-- http://www.itu.int/oth/T02020000B1/en -->
11414 <territory id="LC" countryCode="1" leadingDigits="758"
11415 nationalPrefix="1" internationalPrefix="011">
11416 <generalDesc>
11417 <!-- NANPA country - uses US formatting rules -->
11418 <nationalNumberPattern>[5789]\d{9}</nationalNumberPattern>
11419 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
11420 </generalDesc>
11421 <fixedLine>
11422 <nationalNumberPattern>
11423 758(?:
11424 234|
11425 4(?:
11426 5[0-9]|
11427 6[2-9]|
11428 8[0-2]
11429 )|
11430 638|
11431 758
11432 )\d{4}
11433 </nationalNumberPattern>
11434 <exampleNumber>7582345678</exampleNumber>
11435 </fixedLine>
11436 <mobile>
11437 <!-- Adding 721 and 722 as these prefixes are found widely on the intern et and SMS messages
11438 have been successfully delivered to these numbers. -->
11439 <nationalNumberPattern>
11440 758(?:
11441 28[4-7]|
11442 384|
11443 4(?:
11444 6[01]|
11445 8[4-9]
11446 )|
11447 5(?:
11448 1[89]|
11449 20|
11450 84
11451 )|
11452 7(?:
11453 1[2-9]|
11454 2[0-4]
11455 )
11456 )\d{4}
11457 </nationalNumberPattern>
11458 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11459 <exampleNumber>7582845678</exampleNumber>
11460 </mobile>
11461 <tollFree>
11462 <nationalNumberPattern>
11463 8(?:
11464 00|
11465 55|
11466 66|
11467 77|
11468 88
11469 )[2-9]\d{6}
11470 </nationalNumberPattern>
11471 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11472 <exampleNumber>8002123456</exampleNumber>
11473 </tollFree>
11474 <premiumRate>
11475 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
11476 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11477 <exampleNumber>9002123456</exampleNumber>
11478 </premiumRate>
11479 <personalNumber>
11480 <!-- http://www.nanpa.com/pdf/PL_416.pdf -->
11481 <nationalNumberPattern>
11482 5(?:
11483 00|
11484 33|
11485 44
11486 )[2-9]\d{6}
11487 </nationalNumberPattern>
11488 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11489 <exampleNumber>5002345678</exampleNumber>
11490 </personalNumber>
11491 </territory>
11492
11493 <!-- Liechtenstein -->
11494 <!-- http://www.llv.li/amtsstellen/llv-ak-nummerierung.htm -->
11495 <!-- http://www.telecom.li has some different patterns for tollfree and shar ed cost numbers -
11496 look at "Mehrwertnummer". -->
11497 <territory id="LI" countryCode="423" internationalPrefix="00">
11498 <availableFormats>
11499 <numberFormat pattern="(\d{3})(\d{2})(\d{2})">
11500 <leadingDigits>
11501 [23]|
11502 7[4-9]|
11503 87
11504 </leadingDigits>
11505 <format>$1 $2 $3</format>
11506 </numberFormat>
11507 <numberFormat pattern="(6\d)(\d{3})(\d{3})">
11508 <leadingDigits>6</leadingDigits>
11509 <format>$1 $2 $3</format>
11510 </numberFormat>
11511 <numberFormat pattern="([7-9]0\d)(\d{2})(\d{2})">
11512 <leadingDigits>[7-9]0</leadingDigits>
11513 <format>$1 $2 $3</format>
11514 </numberFormat>
11515 <!-- 0800 and 0900 are valid prefixes, but Liechtenstein
11516 doesn't have a general national prefix, so we include it manually h ere
11517 when formatting. We can tell whether it needs one by number length. -->
11518 <numberFormat pattern="([89]0\d)(\d{2})(\d{2})(\d{2})">
11519 <leadingDigits>[89]0</leadingDigits>
11520 <format>0$1 $2 $3 $4</format>
11521 </numberFormat>
11522 </availableFormats>
11523 <generalDesc>
11524 <nationalNumberPattern>
11525 (?:
11526 66|
11527 80|
11528 90
11529 )\d{7}|
11530 [237-9]\d{6}
11531 </nationalNumberPattern>
11532 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
11533 </generalDesc>
11534 <fixedLine>
11535 <!-- Regular Cost services are included here as well. -->
11536 <nationalNumberPattern>
11537 (?:
11538 2(?:
11539 17|
11540 3\d|
11541 6[02-58]|
11542 96
11543 )|
11544 3(?:
11545 02|
11546 7[01357]|
11547 8[048]|
11548 9[0269]
11549 )|
11550 870
11551 )\d{4}
11552 </nationalNumberPattern>
11553 <possibleNumberPattern>\d{7}</possibleNumberPattern>
11554 <exampleNumber>2345678</exampleNumber>
11555 </fixedLine>
11556 <mobile>
11557 <nationalNumberPattern>
11558 66(?:
11559 [0178][0-4]|
11560 2[025-9]|
11561 [36]\d|
11562 4[129]|
11563 5[45]|
11564 9[019]
11565 )\d{5}|
11566 7(?:
11567 4[2-59]|
11568 56|
11569 [6-9]\d
11570 )\d{4}
11571 </nationalNumberPattern>
11572 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
11573 <exampleNumber>661234567</exampleNumber>
11574 </mobile>
11575 <tollFree>
11576 <nationalNumberPattern>
11577 80(?:
11578 0(?:
11579 07|
11580 2[238]|
11581 79|
11582 \d{4}
11583 )|
11584 9\d{2}
11585 )\d{2}
11586 </nationalNumberPattern>
11587 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
11588 <exampleNumber>8002222</exampleNumber>
11589 </tollFree>
11590 <sharedCost>
11591 <nationalNumberPattern>
11592 90(?:
11593 0(?:
11594 2[278]|
11595 79|
11596 \d{4}
11597 )|
11598 1(?:
11599 23|
11600 \d{4}
11601 )|
11602 6(?:
11603 66|
11604 \d{4}
11605 )
11606 )\d{2}
11607 </nationalNumberPattern>
11608 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
11609 <exampleNumber>9002222</exampleNumber>
11610 </sharedCost>
11611 <personalNumber>
11612 <nationalNumberPattern>701\d{4}</nationalNumberPattern>
11613 <possibleNumberPattern>\d{7}</possibleNumberPattern>
11614 <exampleNumber>7011234</exampleNumber>
11615 </personalNumber>
11616 </territory>
11617
11618 <!-- Sri Lanka -->
11619 <!-- http://en.wikipedia.org/wiki/%2B94 -->
11620 <!-- http://www.itu.int/oth/T02020000C3/en -->
11621 <territory id="LK" countryCode="94" internationalPrefix="00"
11622 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
11623 <availableFormats>
11624 <numberFormat pattern="(\d{2})(\d{1})(\d{6})">
11625 <leadingDigits>[1-689]</leadingDigits>
11626 <format>$1 $2 $3</format>
11627 </numberFormat>
11628 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
11629 <leadingDigits>7</leadingDigits>
11630 <format>$1 $2 $3</format>
11631 </numberFormat>
11632 </availableFormats>
11633 <generalDesc>
11634 <nationalNumberPattern>[1-9]\d{8}</nationalNumberPattern>
11635 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
11636 </generalDesc>
11637 <fixedLine>
11638 <nationalNumberPattern>
11639 (?:
11640 [189]1|
11641 2[13-7]|
11642 3[1-8]|
11643 4[157]|
11644 5[12457]|
11645 6[35-7]
11646 )[2-57]\d{6}
11647 </nationalNumberPattern>
11648 <exampleNumber>112345678</exampleNumber>
11649 </fixedLine>
11650 <mobile>
11651 <nationalNumberPattern>7[12578]\d{7}</nationalNumberPattern>
11652 <possibleNumberPattern>\d{9}</possibleNumberPattern>
11653 <exampleNumber>712345678</exampleNumber>
11654 </mobile>
11655 </territory>
11656
11657 <!-- Liberia -->
11658 <!-- http://www.itu.int/oth/T0202000079/en -->
11659 <territory id="LR" countryCode="231" internationalPrefix="00"
11660 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
11661 <availableFormats>
11662 <!-- Formatting from Ministry of Agriculture,
11663 http://www.moa.gov.lr/content.php?sub=Email&?related=Contacts -->
11664 <numberFormat pattern="([279]\d)(\d{3})(\d{3})">
11665 <leadingDigits>[279]</leadingDigits>
11666 <format>$1 $2 $3</format>
11667 </numberFormat>
11668 <numberFormat pattern="([4-6])(\d{3})(\d{3})">
11669 <leadingDigits>[4-6]</leadingDigits>
11670 <format>$1 $2 $3</format>
11671 </numberFormat>
11672 </availableFormats>
11673 <generalDesc>
11674 <nationalNumberPattern>
11675 (?:
11676 [279]\d|
11677 [4-6]
11678 )\d{6}
11679 </nationalNumberPattern>
11680 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
11681 </generalDesc>
11682 <fixedLine>
11683 <nationalNumberPattern>2\d{7}</nationalNumberPattern>
11684 <possibleNumberPattern>\d{8}</possibleNumberPattern>
11685 <exampleNumber>21234567</exampleNumber>
11686 </fixedLine>
11687 <mobile>
11688 <!-- Added 66, 67 and 68 as prefixes because of online numbers fitting t his pattern. -->
11689 <nationalNumberPattern>
11690 (?:
11691 4[67]|
11692 5\d|
11693 6[4-8]|
11694 7\d{2}
11695 )\d{5}
11696 </nationalNumberPattern>
11697 <exampleNumber>4612345</exampleNumber>
11698 </mobile>
11699 <premiumRate>
11700 <!-- Telemedia service is listed under premium rate. -->
11701 <nationalNumberPattern>90\d{6}</nationalNumberPattern>
11702 <possibleNumberPattern>\d{8}</possibleNumberPattern>
11703 <exampleNumber>90123456</exampleNumber>
11704 </premiumRate>
11705 </territory>
11706
11707 <!-- Lesotho -->
11708 <!-- http://www.itu.int/oth/T0202000078/en -->
11709 <territory id="LS" countryCode="266" internationalPrefix="00">
11710 <availableFormats>
11711 <!-- Formatting following yellow pages: www.yellowpages.co.ls -->
11712 <numberFormat pattern="(\d{4})(\d{4})">
11713 <format>$1 $2</format>
11714 </numberFormat>
11715 </availableFormats>
11716 <generalDesc>
11717 <nationalNumberPattern>[2568]\d{7}</nationalNumberPattern>
11718 <possibleNumberPattern>\d{8}</possibleNumberPattern>
11719 </generalDesc>
11720 <fixedLine>
11721 <nationalNumberPattern>2\d{7}</nationalNumberPattern>
11722 <exampleNumber>22123456</exampleNumber>
11723 </fixedLine>
11724 <mobile>
11725 <nationalNumberPattern>[56]\d{7}</nationalNumberPattern>
11726 <exampleNumber>50123456</exampleNumber>
11727 </mobile>
11728 <tollFree>
11729 <nationalNumberPattern>800[256]\d{4}</nationalNumberPattern>
11730 <exampleNumber>80021234</exampleNumber>
11731 </tollFree>
11732 </territory>
11733
11734 <!-- Lithuania -->
11735 <!-- http://www.itu.int/oth/T020200007C/en -->
11736 <territory id="LT" countryCode="370" internationalPrefix="00"
11737 nationalPrefix="8" nationalPrefixFormattingRule="$NP $FG">
11738 <availableFormats>
11739 <!-- Two-digit area codes -->
11740 <numberFormat pattern="([34]\d)(\d{2})(\d{2})(\d{2})">
11741 <leadingDigits>
11742 37|
11743 4(?:
11744 1|
11745 5[45]|
11746 6[2-4]
11747 )
11748 </leadingDigits>
11749 <format>$1 $2 $3 $4</format>
11750 </numberFormat>
11751 <!-- Three-digit area codes -->
11752 <numberFormat pattern="([3-689]\d{2})(\d{2})(\d{3})">
11753 <leadingDigits>
11754 3[148]|
11755 4(?:
11756 [24]|
11757 6[09]
11758 )|
11759 5(?:
11760 [0189]|
11761 28
11762 )|
11763 [689]
11764 </leadingDigits>
11765 <format>$1 $2 $3</format>
11766 </numberFormat>
11767 <numberFormat pattern="(5)(2[0-79]\d)(\d{4})">
11768 <leadingDigits>52[0-79]</leadingDigits>
11769 <format>$1 $2 $3</format>
11770 </numberFormat>
11771 </availableFormats>
11772 <generalDesc>
11773 <nationalNumberPattern>[3-9]\d{7}</nationalNumberPattern>
11774 <possibleNumberPattern>\d{8}</possibleNumberPattern>
11775 </generalDesc>
11776 <fixedLine>
11777 <nationalNumberPattern>
11778 (?:
11779 3[1478]|
11780 4[124-6]|
11781 52
11782 )\d{6}
11783 </nationalNumberPattern>
11784 <exampleNumber>31234567</exampleNumber>
11785 </fixedLine>
11786 <mobile>
11787 <nationalNumberPattern>6\d{7}</nationalNumberPattern>
11788 <exampleNumber>61234567</exampleNumber>
11789 </mobile>
11790 <tollFree>
11791 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
11792 <exampleNumber>80012345</exampleNumber>
11793 </tollFree>
11794 <premiumRate>
11795 <nationalNumberPattern>90[0239]\d{5}</nationalNumberPattern>
11796 <exampleNumber>90012345</exampleNumber>
11797 </premiumRate>
11798 </territory>
11799
11800 <!-- Luxembourg -->
11801 <!-- http://www.ilr.public.lu/communications_electroniques/numerotation/inde x.html
11802 -->
11803 <territory id="LU" countryCode="352" internationalPrefix="00"
11804 nationalPrefixForParsing="(15(?:0[06]|1[12]|35|4[04]|55|6[26]|77|88|99)\ d)"
11805 carrierCodeFormattingRule="$CC $FG">
11806 <availableFormats>
11807 <!-- Patterns overlap because of variable number length. -->
11808 <numberFormat pattern="(\d{2})(\d{3})">
11809 <leadingDigits>
11810 [23-5]|
11811 7[1-9]|
11812 [89](?:
11813 [1-9]|
11814 0[2-9]
11815 )
11816 </leadingDigits>
11817 <format>$1 $2</format>
11818 </numberFormat>
11819 <numberFormat pattern="(\d{2})(\d{2})(\d{2})">
11820 <leadingDigits>
11821 [23-5]|
11822 7[1-9]|
11823 [89](?:
11824 [1-9]|
11825 0[2-9]
11826 )
11827 </leadingDigits>
11828 <format>$1 $2 $3</format>
11829 </numberFormat>
11830 <numberFormat pattern="(\d{2})(\d{2})(\d{3})">
11831 <leadingDigits>20</leadingDigits>
11832 <format>$1 $2 $3</format>
11833 </numberFormat>
11834 <!-- The pattern for 7-digit numbers starting with 20 here will never be reached - but since
11835 we want this pattern to apply for 8-digit numbers with a 20 prefix, we include 20 in
11836 the leading digits. This is also done for 9-10 digit numbers starti ng with 20 below.
11837 -->
11838 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{1,2})">
11839 <leadingDigits>
11840 2(?:
11841 [0367]|
11842 4[3-8]
11843 )
11844 </leadingDigits>
11845 <format>$1 $2 $3 $4</format>
11846 </numberFormat>
11847 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{3})">
11848 <leadingDigits>20</leadingDigits>
11849 <format>$1 $2 $3 $4</format>
11850 </numberFormat>
11851 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})(\d{1,2})">
11852 <leadingDigits>
11853 2(?:
11854 [0367]|
11855 4[3-8]
11856 )
11857 </leadingDigits>
11858 <format>$1 $2 $3 $4 $5</format>
11859 </numberFormat>
11860 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{1,4})">
11861 <leadingDigits>
11862 2(?:
11863 [12589]|
11864 4[12]
11865 )|
11866 [3-5]|
11867 7[1-9]|
11868 [89](?:
11869 [1-9]|
11870 0[2-9]
11871 )
11872 </leadingDigits>
11873 <format>$1 $2 $3 $4</format>
11874 </numberFormat>
11875 <numberFormat pattern="(\d{3})(\d{2})(\d{3})">
11876 <leadingDigits>
11877 [89]0[01]|
11878 70
11879 </leadingDigits>
11880 <format>$1 $2 $3</format>
11881 </numberFormat>
11882 <numberFormat pattern="(\d{3})(\d{3})(\d{3})">
11883 <leadingDigits>6</leadingDigits>
11884 <format>$1 $2 $3</format>
11885 </numberFormat>
11886 </availableFormats>
11887 <generalDesc>
11888 <!-- The country-code is an impossible number prefix, so has been exclud ed here. This is
11889 necessary since the numbers have a variable number length. -->
11890 <nationalNumberPattern>
11891 [24-9]\d{3,10}|
11892 3(?:
11893 [0-46-9]\d{2,9}|
11894 5[013-9]\d{1,8}
11895 )
11896 </nationalNumberPattern>
11897 <possibleNumberPattern>\d{4,11}</possibleNumberPattern>
11898 </generalDesc>
11899 <fixedLine>
11900 <!-- Note that numbers starting with 2[367] can be a maximum of 10 digit s - all others a
11901 maximum of 11. -->
11902 <nationalNumberPattern>
11903 (?:
11904 2(?:
11905 2\d{1,2}|
11906 3[2-9]|
11907 [67]\d|
11908 4[1-8]\d?|
11909 5[1-5]\d?|
11910 9[0-24-9]\d?
11911 )|
11912 3(?:
11913 [059][05-9]|
11914 [13]\d|
11915 [26][015-9]|
11916 4[0-26-9]|
11917 7[0-389]|
11918 8[08]
11919 )\d?|
11920 4\d{2,3}|
11921 5(?:
11922 [01458]\d|
11923 [27][0-69]|
11924 3[0-3]|
11925 [69][0-7]
11926 )\d?|
11927 7(?:
11928 1[019]|
11929 2[05-9]|
11930 3[05]|
11931 [45][07-9]|
11932 [679][089]|
11933 8[06-9]
11934 )\d?|
11935 8(?:
11936 0[2-9]|
11937 1[0-36-9]|
11938 3[3-9]|
11939 [469]9|
11940 [58][7-9]|
11941 7[89]
11942 )\d?|
11943 9(?:
11944 0[89]|
11945 2[0-49]|
11946 37|
11947 49|
11948 5[0-27-9]|
11949 7[7-9]|
11950 9[0-478]
11951 )\d?
11952 )\d{1,7}
11953 </nationalNumberPattern>
11954 <exampleNumber>27123456</exampleNumber>
11955 </fixedLine>
11956 <mobile>
11957 <nationalNumberPattern>6[269][18]\d{6}</nationalNumberPattern>
11958 <possibleNumberPattern>\d{9}</possibleNumberPattern>
11959 <exampleNumber>628123456</exampleNumber>
11960 </mobile>
11961 <tollFree>
11962 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
11963 <possibleNumberPattern>\d{8}</possibleNumberPattern>
11964 <exampleNumber>80012345</exampleNumber>
11965 </tollFree>
11966 <premiumRate>
11967 <nationalNumberPattern>90[01]\d{5}</nationalNumberPattern>
11968 <possibleNumberPattern>\d{8}</possibleNumberPattern>
11969 <exampleNumber>90012345</exampleNumber>
11970 </premiumRate>
11971 <sharedCost>
11972 <nationalNumberPattern>801\d{5}</nationalNumberPattern>
11973 <possibleNumberPattern>\d{8}</possibleNumberPattern>
11974 <exampleNumber>80112345</exampleNumber>
11975 </sharedCost>
11976 <personalNumber>
11977 <nationalNumberPattern>70\d{6}</nationalNumberPattern>
11978 <possibleNumberPattern>\d{8}</possibleNumberPattern>
11979 <exampleNumber>70123456</exampleNumber>
11980 </personalNumber>
11981 <voip>
11982 <nationalNumberPattern>20\d{2,8}</nationalNumberPattern>
11983 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
11984 <exampleNumber>2012345</exampleNumber>
11985 </voip>
11986 <shortCode>
11987 <nationalNumberPattern>
11988 1(?:
11989 1[23]|
11990 2\d{3}
11991 )
11992 </nationalNumberPattern>
11993 <possibleNumberPattern>\d{3,5}</possibleNumberPattern>
11994 <exampleNumber>12123</exampleNumber>
11995 </shortCode>
11996 </territory>
11997
11998 <!-- Latvia -->
11999 <!-- http://www.itu.int/oth/T0202000076/en -->
12000 <territory id="LV" countryCode="371" internationalPrefix="00">
12001 <availableFormats>
12002 <numberFormat pattern="([2689]\d)(\d{3})(\d{3})">
12003 <format>$1 $2 $3</format>
12004 </numberFormat>
12005 </availableFormats>
12006 <generalDesc>
12007 <nationalNumberPattern>[2689]\d{7}</nationalNumberPattern>
12008 <possibleNumberPattern>\d{8}</possibleNumberPattern>
12009 </generalDesc>
12010 <fixedLine>
12011 <nationalNumberPattern>6\d{7}</nationalNumberPattern>
12012 <exampleNumber>61234567</exampleNumber>
12013 </fixedLine>
12014 <mobile>
12015 <nationalNumberPattern>2\d{7}</nationalNumberPattern>
12016 <exampleNumber>21234567</exampleNumber>
12017 </mobile>
12018 <tollFree>
12019 <nationalNumberPattern>80\d{6}</nationalNumberPattern>
12020 <exampleNumber>80123456</exampleNumber>
12021 </tollFree>
12022 <premiumRate>
12023 <nationalNumberPattern>90\d{6}</nationalNumberPattern>
12024 <exampleNumber>90123456</exampleNumber>
12025 </premiumRate>
12026 </territory>
12027
12028 <!-- Libya (Soc. People’s Libyan Arab Jamahiriya) -->
12029 <!-- Status as of 21 Jan 2011: a lot of outdated information on the web incl uding on wikipedia
12030 and itu.int. The new area codes are on the Arabic website of the main t elecommunication
12031 operator (Hatef Libya). A new mobile operator Aljeel Aljadeed for Techn ology will start
12032 using 096 (they are allowing customers to register numbers currently), so their code has
12033 also been added. -->
12034 <!-- http://hlc.ly/price.php -->
12035 <territory id="LY" countryCode="218" internationalPrefix="00"
12036 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
12037 <availableFormats>
12038 <numberFormat pattern="([25679]\d)(\d{7})">
12039 <format>$1-$2</format>
12040 </numberFormat>
12041 </availableFormats>
12042 <generalDesc>
12043 <nationalNumberPattern>[25679]\d{8}</nationalNumberPattern>
12044 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
12045 </generalDesc>
12046 <fixedLine>
12047 <nationalNumberPattern>
12048 (?:
12049 2[1345]|
12050 5[1347]|
12051 6[123479]|
12052 71
12053 )\d{7}
12054 </nationalNumberPattern>
12055 <exampleNumber>212345678</exampleNumber>
12056 </fixedLine>
12057 <mobile>
12058 <!-- The prefix 094 has been added on the strength of numbers found onli ne, and numbers
12059 where SMS messages have been apparently successfully received. -->
12060 <nationalNumberPattern>9[1-6]\d{7}</nationalNumberPattern>
12061 <possibleNumberPattern>\d{9}</possibleNumberPattern>
12062 <exampleNumber>912345678</exampleNumber>
12063 </mobile>
12064 </territory>
12065
12066 <!-- Morocco -->
12067 <!-- http://www.itu.int/oth/T0202000090/en -->
12068 <!-- http://en.wikipedia.org/wiki/+212 -->
12069 <territory id="MA" countryCode="212" internationalPrefix="00"
12070 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
12071 <availableFormats>
12072 <numberFormat pattern="([56]\d{2})(\d{6})">
12073 <leadingDigits>
12074 5(?:
12075 2[015-7]|
12076 3[0-4]
12077 )|
12078 6
12079 </leadingDigits>
12080 <format>$1-$2</format>
12081 </numberFormat>
12082 <numberFormat pattern="([58]\d{3})(\d{5})">
12083 <leadingDigits>
12084 5(?:
12085 2[2-489]|
12086 3[5-9]
12087 )|
12088 892
12089 </leadingDigits>
12090 <leadingDigits>
12091 5(?:
12092 2(?:
12093 [2-48]|
12094 90
12095 )|
12096 3(?:
12097 [5-79]|
12098 80
12099 )
12100 )|
12101 892
12102 </leadingDigits>
12103 <format>$1-$2</format>
12104 </numberFormat>
12105 <numberFormat pattern="(5\d{4})(\d{4})">
12106 <leadingDigits>
12107 5(?:
12108 29|
12109 38
12110 )
12111 </leadingDigits>
12112 <leadingDigits>
12113 5(?:
12114 29|
12115 38
12116 )[89]
12117 </leadingDigits>
12118 <format>$1-$2</format>
12119 </numberFormat>
12120 <numberFormat pattern="(8[09])(\d{7})">
12121 <leadingDigits>
12122 8(?:
12123 0|
12124 9[013-9]
12125 )
12126 </leadingDigits>
12127 <format>$1-$2</format>
12128 </numberFormat>
12129 </availableFormats>
12130 <generalDesc>
12131 <nationalNumberPattern>[5689]\d{8}</nationalNumberPattern>
12132 <!-- Closed numbering plan. -->
12133 <possibleNumberPattern>\d{9}</possibleNumberPattern>
12134 </generalDesc>
12135 <fixedLine>
12136 <nationalNumberPattern>
12137 5(?:
12138 2(?:
12139 (?:
12140 [015-7]\d|
12141 2[2-9]|
12142 3[2-57]|
12143 4[2-8]|
12144 8[235-9]|
12145 )\d|
12146 9(?:
12147 0\d|
12148 [89]0
12149 )
12150 )|
12151 3(?:
12152 (?:
12153 [0-4]\d|
12154 [57][2-9]|
12155 6[235-8]|
12156 9[3-9]
12157 )\d|
12158 8(?:
12159 0\d|
12160 [89]0
12161 )
12162 )
12163 )\d{4}
12164 </nationalNumberPattern>
12165 <exampleNumber>520123456</exampleNumber>
12166 </fixedLine>
12167 <mobile>
12168 <nationalNumberPattern>
12169 6(?:
12170 0[06]|
12171 [14-7]\d|
12172 2[236]|
12173 33|
12174 99
12175 )\d{6}
12176 </nationalNumberPattern>
12177 <exampleNumber>650123456</exampleNumber>
12178 </mobile>
12179 <tollFree>
12180 <nationalNumberPattern>80\d{7}</nationalNumberPattern>
12181 <exampleNumber>801234567</exampleNumber>
12182 </tollFree>
12183 <premiumRate>
12184 <nationalNumberPattern>89\d{7}</nationalNumberPattern>
12185 <exampleNumber>891234567</exampleNumber>
12186 </premiumRate>
12187 </territory>
12188
12189 <!-- Monaco -->
12190 <!-- http://www.itu.int/oth/T020200008D/en -->
12191 <!-- We support Kosovo mobile numbers (044, 045) with a Monaco country-code here, as we do not
12192 support Kosovo at the moment. Kosovo seems to use a variety of country codes currently. -->
12193 <territory id="MC" countryCode="377" internationalPrefix="00"
12194 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
12195 <availableFormats>
12196 <!-- Following formatting found online rather than in the ITU document e xample. -->
12197 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
12198 <leadingDigits>[89]</leadingDigits>
12199 <format>$1 $2 $3 $4</format>
12200 </numberFormat>
12201 <numberFormat pattern="(\d{2})(\d{3})(\d{3})">
12202 <leadingDigits>4</leadingDigits>
12203 <format>$1 $2 $3</format>
12204 </numberFormat>
12205 <numberFormat pattern="(6)(\d{2})(\d{2})(\d{2})(\d{2})">
12206 <leadingDigits>6</leadingDigits>
12207 <format>$1 $2 $3 $4 $5</format>
12208 </numberFormat>
12209 </availableFormats>
12210 <generalDesc>
12211 <nationalNumberPattern>[4689]\d{7,8}</nationalNumberPattern>
12212 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
12213 </generalDesc>
12214 <noInternationalDialling>
12215 <nationalNumberPattern>8\d{7}</nationalNumberPattern>
12216 <possibleNumberPattern>\d{8}</possibleNumberPattern>
12217 </noInternationalDialling>
12218 <fixedLine>
12219 <!-- Restricted to this as no numbers with the prefix of 91, 95 or 96 ha ve been found. -->
12220 <nationalNumberPattern>9[2-47-9]\d{6}</nationalNumberPattern>
12221 <possibleNumberPattern>\d{8}</possibleNumberPattern>
12222 <exampleNumber>99123456</exampleNumber>
12223 </fixedLine>
12224 <mobile>
12225 <!-- 4X mobile numbers are actually used by Kosovo. -->
12226 <nationalNumberPattern>
12227 6\d{8}|
12228 4\d{7}
12229 </nationalNumberPattern>
12230 <exampleNumber>612345678</exampleNumber>
12231 </mobile>
12232 <tollFree>
12233 <nationalNumberPattern>
12234 (?:
12235 8\d|
12236 90
12237 )\d{6}
12238 </nationalNumberPattern>
12239 <possibleNumberPattern>\d{8}</possibleNumberPattern>
12240 <exampleNumber>90123456</exampleNumber>
12241 </tollFree>
12242 </territory>
12243
12244 <!-- Moldova, Rep. of -->
12245 <!-- http://www.itu.int/oth/T020200008C/en -->
12246 <territory id="MD" countryCode="373" internationalPrefix="00"
12247 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
12248 <availableFormats>
12249 <numberFormat pattern="(22)(\d{3})(\d{3})">
12250 <leadingDigits>22</leadingDigits>
12251 <format>$1 $2 $3</format>
12252 </numberFormat>
12253 <numberFormat pattern="([25-7]\d{2})(\d{2})(\d{3})">
12254 <leadingDigits>
12255 2[13-79]|
12256 [5-7]
12257 </leadingDigits>
12258 <format>$1 $2 $3</format>
12259 </numberFormat>
12260 <numberFormat pattern="([89]00)(\d{5})">
12261 <leadingDigits>[89]</leadingDigits>
12262 <format>$1 $2</format>
12263 </numberFormat>
12264 </availableFormats>
12265 <generalDesc>
12266 <nationalNumberPattern>[256-9]\d{7}</nationalNumberPattern>
12267 <possibleNumberPattern>\d{8}</possibleNumberPattern>
12268 </generalDesc>
12269 <fixedLine>
12270 <nationalNumberPattern>
12271 (?:
12272 2(?:
12273 1[0569]|
12274 2\d|
12275 3[015-7]|
12276 4[1-46-9]|
12277 5[0-24689]|
12278 6[2-589]|
12279 7[1-37]|
12280 9[1347-9]
12281 )|
12282 5(?:
12283 33|
12284 5[257]
12285 )
12286 )\d{5}
12287 </nationalNumberPattern>
12288 <possibleNumberPattern>\d{5,8}</possibleNumberPattern>
12289 <exampleNumber>22212345</exampleNumber>
12290 </fixedLine>
12291 <mobile>
12292 <!-- Added 688 and 689 since SMS messages have been successfully sent to these numbers. -->
12293 <nationalNumberPattern>
12294 (?:
12295 6(?:
12296 50|
12297 7[12]|
12298 [89]\d
12299 )|
12300 7(?:
12301 80|
12302 9\d
12303 )
12304 )\d{5}
12305 </nationalNumberPattern>
12306 <exampleNumber>65012345</exampleNumber>
12307 </mobile>
12308 <tollFree>
12309 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
12310 <exampleNumber>80012345</exampleNumber>
12311 </tollFree>
12312 <premiumRate>
12313 <nationalNumberPattern>900\d{5}</nationalNumberPattern>
12314 <exampleNumber>90012345</exampleNumber>
12315 </premiumRate>
12316 </territory>
12317
12318 <!-- Montenegro -->
12319 <!-- http://www.itu.int/oth/T02020000DA/en
12320 http://en.wikipedia.org/wiki/Telephone_numbers_in_Montenegro
12321 http://www.ekip.me/numeracija/dodijeljena.php -->
12322 <territory id="ME" countryCode="382" internationalPrefix="00" nationalPrefix ="0"
12323 nationalPrefixFormattingRule="$NP$FG">
12324 <availableFormats>
12325 <numberFormat pattern="(\d{2})(\d{3})(\d{3})">
12326 <leadingDigits>[2-57-9]|6[3789]</leadingDigits>
12327 <leadingDigits>
12328 [2-57-9]|
12329 6(?:
12330 [389]|
12331 7(?:
12332 [0-8]|
12333 9[3-9]
12334 )
12335 )
12336 </leadingDigits>
12337 <format>$1 $2 $3</format>
12338 </numberFormat>
12339 <numberFormat pattern="(67)(9)(\d{3})(\d{3})">
12340 <leadingDigits>679</leadingDigits>
12341 <leadingDigits>679[0-2]</leadingDigits>
12342 <format>$1 $2 $3 $4</format>
12343 </numberFormat>
12344 </availableFormats>
12345 <generalDesc>
12346 <nationalNumberPattern>[2-9]\d{7,8}</nationalNumberPattern>
12347 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
12348 </generalDesc>
12349 <fixedLine>
12350 <!-- Fixed line numbers have prefix 20,30,31,32,33,40,41,50,51,52 follow ed by 6 digits.
12351 The valid options for the third digit were from
12352 http://www.ekip.me/numeracija/dodijeljena.php -->
12353 <nationalNumberPattern>
12354 (?:
12355 20[2-8]|
12356 3(?:
12357 0[2-7]|
12358 1[35-7]|
12359 2[367]|
12360 3[4-7]
12361 )|
12362 4(?:
12363 0[237]|
12364 1[2467]
12365 )|
12366 5(?:
12367 0[47]|
12368 1[27]|
12369 2[378]
12370 )
12371 )\d{5}
12372 </nationalNumberPattern>
12373 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
12374 <exampleNumber>30234567</exampleNumber>
12375 </fixedLine>
12376 <mobile>
12377 <!-- Mobile numbers start with 632, 67, 68 or 69. -->
12378 <nationalNumberPattern>
12379 6(?:
12380 32\d|
12381 [89]\d{2}|
12382 7(?:
12383 [0-8]\d|
12384 9(?:
12385 [3-9]|
12386 [0-2]\d
12387 )
12388 )
12389 )\d{4}
12390 </nationalNumberPattern>
12391 <!-- According to ITU it is possible for the numbers to be between lengt h 4-12
12392 (http://www.itu.int/oth/T02020000DA/en). However, in reality they s eem to be 8 or 9
12393 digits long. -->
12394 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
12395 <exampleNumber>67622901</exampleNumber>
12396 </mobile>
12397 <tollFree>
12398 <!-- All toll free numbers have prefix 80 followed by 02 or 08. -->
12399 <nationalNumberPattern>800[28]\d{4}</nationalNumberPattern>
12400 <possibleNumberPattern>\d{8}</possibleNumberPattern>
12401 <exampleNumber>80080002</exampleNumber>
12402 </tollFree>
12403 <premiumRate>
12404 <!-- Numbers with prefix 88, 94 or 95 are services with additional charg es. -->
12405 <nationalNumberPattern>
12406 (?:
12407 88\d|
12408 9(?:
12409 4[13-8]|
12410 5[16-8]
12411 )
12412 )\d{5}
12413 </nationalNumberPattern>
12414 <possibleNumberPattern>\d{8}</possibleNumberPattern>
12415 <exampleNumber>94515151</exampleNumber>
12416 </premiumRate>
12417 <voip>
12418 <!-- VOIP are prefixed with 78. -->
12419 <nationalNumberPattern>78[134579]\d{5}</nationalNumberPattern>
12420 <possibleNumberPattern>\d{8}</possibleNumberPattern>
12421 <exampleNumber>78108780</exampleNumber>
12422 </voip>
12423 <uan>
12424 <!-- Corporate Telephony are prefixed with 77. -->
12425 <nationalNumberPattern>77\d{6}</nationalNumberPattern>
12426 <possibleNumberPattern>\d{8}</possibleNumberPattern>
12427 <exampleNumber>77273012</exampleNumber>
12428 </uan>
12429 <shortCode>
12430 <!-- Emergency and other services. -->
12431 <nationalNumberPattern>
12432 1(?:
12433 16\d{3}|
12434 2\d{1,2}|
12435 [0135]\d{2}|
12436 4\d{2,3}|
12437 9\d{3}
12438 )
12439 </nationalNumberPattern>
12440 <possibleNumberPattern>\d{3,6}</possibleNumberPattern>
12441 <exampleNumber>123</exampleNumber>
12442 </shortCode>
12443 </territory>
12444
12445 <!-- Madagascar -->
12446 <!-- http://www.itu.int/oth/T020200007F/en -->
12447 <territory id="MG" countryCode="261" internationalPrefix="00"
12448 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
12449 <availableFormats>
12450 <numberFormat pattern="([23]\d)(\d{2})(\d{3})(\d{2})">
12451 <format>$1 $2 $3 $4</format>
12452 </numberFormat>
12453 </availableFormats>
12454 <generalDesc>
12455 <nationalNumberPattern>[23]\d{8}</nationalNumberPattern>
12456 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
12457 </generalDesc>
12458 <fixedLine>
12459 <!-- Added the prefixes 20 44 and 20 47 as they seem popular on the inte rnet - the plan says
12460 20 4 is for the rest of the province of Antanarivo, but then fails to mention any area
12461 codes beginning with 4. -->
12462 <nationalNumberPattern>
12463 2(?:
12464 0(?:
12465 (?:
12466 2\d|
12467 4[47]|
12468 5[3467]|
12469 6[279]|
12470 8[268]|
12471 9[245]
12472 )\d|
12473 7(?:
12474 2[29]|
12475 [35]\d
12476 )
12477 )|
12478 210\d
12479 )\d{4}
12480 </nationalNumberPattern>
12481 <exampleNumber>202123456</exampleNumber>
12482 </fixedLine>
12483 <mobile>
12484 <!-- The numbering plan suggests the third digit, Z, should be 24-9,
12485 but this is not borne out by reality. -->
12486 <nationalNumberPattern>3[02-4]\d{7}</nationalNumberPattern>
12487 <possibleNumberPattern>\d{9}</possibleNumberPattern>
12488 <exampleNumber>301234567</exampleNumber>
12489 </mobile>
12490 </territory>
12491
12492 <!-- Saint-Martin, French Antilles -->
12493 <!-- http://www.itu.int/oth/T0202000058/en -->
12494 <territory id="MF" countryCode="590" internationalPrefix="00"
12495 nationalPrefix="0">
12496 <!-- Formatting rules borrowed from Guadeloupe. -->
12497 <generalDesc>
12498 <nationalNumberPattern>[56]\d{8}</nationalNumberPattern>
12499 <possibleNumberPattern>\d{9}</possibleNumberPattern>
12500 </generalDesc>
12501 <fixedLine>
12502 <nationalNumberPattern>
12503 590(?:
12504 10|
12505 2[79]|
12506 5[128]|
12507 [78]7
12508 )\d{4}
12509 </nationalNumberPattern>
12510 <exampleNumber>590271234</exampleNumber>
12511 </fixedLine>
12512 <mobile>
12513 <nationalNumberPattern>
12514 690(?:
12515 10|
12516 2[27]|
12517 66|
12518 77|
12519 8[78]
12520 )\d{4}
12521 </nationalNumberPattern>
12522 <exampleNumber>690221234</exampleNumber>
12523 </mobile>
12524 </territory>
12525
12526 <!-- Marshall Islands -->
12527 <territory id="MH" countryCode="692" internationalPrefix="011"
12528 nationalPrefix="1">
12529 </territory>
12530
12531 <!-- Macedonia, Former Yugoslav Rep. of -->
12532 <!-- http://en.wikipedia.org/wiki/%2B389
12533 http://www.aek.mk/ go to Telecommunications, Numbering, then Numbering plan. -->
12534 <territory id="MK" countryCode="389" internationalPrefix="00"
12535 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
12536 <availableFormats>
12537 <!-- Formats follow wikipedia. -->
12538 <numberFormat pattern="(2)(\d{3})(\d{4})">
12539 <leadingDigits>2</leadingDigits>
12540 <format>$1 $2 $3</format>
12541 </numberFormat>
12542 <numberFormat pattern="([347]\d)(\d{3})(\d{3})">
12543 <leadingDigits>[347]</leadingDigits>
12544 <format>$1 $2 $3</format>
12545 </numberFormat>
12546 <numberFormat pattern="([58]\d{2})(\d)(\d{2})(\d{2})">
12547 <leadingDigits>[58]</leadingDigits>
12548 <format>$1 $2 $3 $4</format>
12549 </numberFormat>
12550 </availableFormats>
12551 <generalDesc>
12552 <nationalNumberPattern>[2-578]\d{7}</nationalNumberPattern>
12553 <possibleNumberPattern>\d{8}</possibleNumberPattern>
12554 </generalDesc>
12555 <fixedLine>
12556 <nationalNumberPattern>
12557 (?:
12558 2(?:
12559 [23]\d|
12560 5[125]|
12561 61
12562 )|
12563 3(?:
12564 1[3-6]|
12565 2[2-6]|
12566 3[2-5]|
12567 4[235]
12568 )|
12569 4(?:
12570 [23][2-6]|
12571 4[3-6]|
12572 5[25]|
12573 6[25-8]|
12574 7[24-6]|
12575 8[4-6]
12576 )
12577 )\d{5}
12578 </nationalNumberPattern>
12579 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
12580 <exampleNumber>22212345</exampleNumber>
12581 </fixedLine>
12582 <mobile>
12583 <nationalNumberPattern>7[0-25-8]\d{6}</nationalNumberPattern>
12584 <exampleNumber>72345678</exampleNumber>
12585 </mobile>
12586 <tollFree>
12587 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
12588 <exampleNumber>80012345</exampleNumber>
12589 </tollFree>
12590 <premiumRate>
12591 <nationalNumberPattern>5[02-9]\d{6}</nationalNumberPattern>
12592 <exampleNumber>50012345</exampleNumber>
12593 </premiumRate>
12594 <sharedCost>
12595 <nationalNumberPattern>
12596 8(?:
12597 0[1-9]|
12598 [1-9]\d
12599 )\d{5}
12600 </nationalNumberPattern>
12601 <exampleNumber>80123456</exampleNumber>
12602 </sharedCost>
12603 </territory>
12604
12605 <!-- Mali -->
12606 <!-- http://www.itu.int/oth/T0202000083/en -->
12607 <!-- http://crt-mali.org/pdf/plan_num -->
12608 <territory id="ML" countryCode="223" internationalPrefix="00"
12609 nationalPrefix="0">
12610 <availableFormats>
12611 <numberFormat pattern="([246-8]\d)(\d{2})(\d{2})(\d{2})">
12612 <format>$1 $2 $3 $4</format>
12613 </numberFormat>
12614 </availableFormats>
12615 <generalDesc>
12616 <nationalNumberPattern>[246-8]\d{7}</nationalNumberPattern>
12617 <possibleNumberPattern>\d{8}</possibleNumberPattern>
12618 </generalDesc>
12619 <fixedLine>
12620 <!-- 20 70 seems a common pattern, in addition to 21 25. -->
12621 <nationalNumberPattern>
12622 (?:
12623 2(?:
12624 0(?:
12625 2[0-589]|
12626 7[027-9]
12627 )|
12628 1(?:
12629 2[5-7]|
12630 [3-689]\d
12631 )
12632 )|
12633 442\d
12634 )\d{4}
12635 </nationalNumberPattern>
12636 <exampleNumber>20212345</exampleNumber>
12637 </fixedLine>
12638 <mobile>
12639 <nationalNumberPattern>
12640 (?:
12641 6(?:
12642 [569]\d
12643 )|
12644 7(?:
12645 [08][1-9]|
12646 [3579][0-4]|
12647 4[014-7]|
12648 6\d
12649 )
12650 )\d{5}
12651 </nationalNumberPattern>
12652 <exampleNumber>65012345</exampleNumber>
12653 </mobile>
12654 <tollFree>
12655 <!-- Online examples have not been found, but this seems to follow the p rescriptions in the
12656 plan. -->
12657 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
12658 <exampleNumber>80012345</exampleNumber>
12659 </tollFree>
12660 </territory>
12661
12662 <!-- Myanmar -->
12663 <!-- http://www.itu.int/oth/T0202000092/en -->
12664 <territory id="MM" countryCode="95" internationalPrefix="00">
12665 <availableFormats>
12666 <numberFormat pattern="(1)(\d{3})(\d{3})">
12667 <leadingDigits>1</leadingDigits>
12668 <format>$1 $2 $3</format>
12669 </numberFormat>
12670 <!-- This overlaps the previous pattern. -->
12671 <numberFormat pattern="(1)(3)(33\d)(\d{3})">
12672 <leadingDigits>133</leadingDigits>
12673 <leadingDigits>1333</leadingDigits>
12674 <format>$1 $2 $3 $4</format>
12675 </numberFormat>
12676 <numberFormat pattern="(2)(\d{2})(\d{3})">
12677 <leadingDigits>2</leadingDigits>
12678 <format>$1 $2 $3</format>
12679 </numberFormat>
12680 <numberFormat pattern="(\d{2})(\d{2})(\d{3})">
12681 <leadingDigits>[4-8]</leadingDigits>
12682 <format>$1 $2 $3</format>
12683 </numberFormat>
12684 <!-- Format is from http://www.aitaa.ait.ac.th/chapters/copy17_of_aitaa- national-chapters-1 -->
12685 <numberFormat pattern="(9444)(\d{5})">
12686 <leadingDigits>94</leadingDigits>
12687 <format>$1 $2</format>
12688 </numberFormat>
12689 <numberFormat pattern="(9)([25689]\d{2})(\d{4})">
12690 <leadingDigits>9[25689]</leadingDigits>
12691 <format>$1 $2 $3</format>
12692 </numberFormat>
12693 </availableFormats>
12694 <generalDesc>
12695 <nationalNumberPattern>
12696 [124-8]\d{5,7}|
12697 9\d{7,8}
12698 </nationalNumberPattern>
12699 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
12700 </generalDesc>
12701 <fixedLine>
12702 <!-- Fixed satellite network numbers (1 3 33X XXX) are also included her e. -->
12703 <nationalNumberPattern>
12704 (?:
12705 1\d|
12706 2|
12707 4[2-6]|
12708 5[2-9]|
12709 6\d|
12710 7[0-5]|
12711 8[1-6]
12712 )\d{5}|
12713 1333\d{4}
12714 </nationalNumberPattern>
12715 <possibleNumberPattern>\d{5,8}</possibleNumberPattern>
12716 <exampleNumber>1234567</exampleNumber>
12717 </fixedLine>
12718 <mobile>
12719 <nationalNumberPattern>
12720 9(?:
12721 [25689]\d|
12722 444
12723 )\d{5}
12724 </nationalNumberPattern>
12725 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
12726 <exampleNumber>92123456</exampleNumber>
12727 </mobile>
12728 <!-- No information on other types of phone numbers for Myanmar has been f ound. -->
12729 </territory>
12730
12731 <!-- Mongolia -->
12732 <!-- http://www.itu.int/oth/T020200008E/en -->
12733 <territory id="MN" countryCode="976" internationalPrefix="001"
12734 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
12735 <availableFormats>
12736 <numberFormat pattern="([12]\d)(\d{2})(\d{4})">
12737 <leadingDigits>[12]1</leadingDigits>
12738 <format>$1 $2 $3</format>
12739 </numberFormat>
12740 <numberFormat pattern="([12]2\d)(\d{5,6})">
12741 <leadingDigits>[12]2[1-3]</leadingDigits>
12742 <format>$1 $2</format>
12743 </numberFormat>
12744 <numberFormat pattern="([12]\d{3})(\d{5})">
12745 <leadingDigits>
12746 [12](?:
12747 27|
12748 [3-5]
12749 )
12750 </leadingDigits>
12751 <leadingDigits>
12752 [12](?:
12753 27|
12754 [3-5]\d
12755 )2
12756 </leadingDigits>
12757 <format>$1 $2</format>
12758 </numberFormat>
12759 <!-- It seems from online formatting that the national prefix is not wri tten (or perhaps
12760 needed?) for numbers in these ranges. -->
12761 <numberFormat pattern="(\d{4})(\d{4})"
12762 nationalPrefixFormattingRule="$FG">
12763 <leadingDigits>[57-9]</leadingDigits>
12764 <format>$1 $2</format>
12765 </numberFormat>
12766 <numberFormat pattern="([12]\d{4})(\d{4,5})">
12767 <leadingDigits>
12768 [12](?:
12769 27|
12770 [3-5]
12771 )
12772 </leadingDigits>
12773 <leadingDigits>
12774 [12](?:
12775 27|
12776 [3-5]\d
12777 )[4-9]
12778 </leadingDigits>
12779 <format>$1 $2</format>
12780 </numberFormat>
12781 </availableFormats>
12782 <generalDesc>
12783 <nationalNumberPattern>
12784 [12]\d{7,9}|
12785 [57-9]\d{7}
12786 </nationalNumberPattern>
12787 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
12788 </generalDesc>
12789 <fixedLine>
12790 <!-- Note the leading digit is the access code: 1 is used by Mongolia Te lecom subscribers
12791 and 2 is used by Mongolian Railway subscribers. The area code then follows the access
12792 code, and could be 1 to 4 digits long. We also cover wireless local loop numbers here
12793 as well, even though we are not certain whether they are in fact fi xed or mobile in
12794 this country. 5-digit subscriber numbers for 4-digit area codes hav e been added due to
12795 online numbers being found. -->
12796 <nationalNumberPattern>
12797 [12](?:
12798 1\d|
12799 2(?:
12800 [1-3]\d?|
12801 7\d
12802 )|
12803 3[2-8]\d{1,2}|
12804 4[2-68]\d{1,2}|
12805 5[1-4689]\d{1,2}
12806 )\d{5}|
12807 (?:
12808 5[0568]|
12809 70
12810 )\d{6}
12811 </nationalNumberPattern>
12812 <exampleNumber>70123456</exampleNumber>
12813 </fixedLine>
12814 <mobile>
12815 <!-- Adding prefix 98 from numbers found on the internet. -->
12816 <nationalNumberPattern>
12817 (?:
12818 8[89]|
12819 9[15689]
12820 )\d{6}
12821 </nationalNumberPattern>
12822 <possibleNumberPattern>\d{8}</possibleNumberPattern>
12823 <exampleNumber>88123456</exampleNumber>
12824 </mobile>
12825 <!-- No tollFree or premiumRate information can be found. -->
12826 <voip>
12827 <nationalNumberPattern>7[569]\d{6}</nationalNumberPattern>
12828 <possibleNumberPattern>\d{8}</possibleNumberPattern>
12829 <exampleNumber>75123456</exampleNumber>
12830 </voip>
12831 </territory>
12832
12833 <!-- Macao, China -->
12834 <!-- http://www.itu.int/oth/T020200007E/en -->
12835 <territory id="MO" countryCode="853" internationalPrefix="00">
12836 <availableFormats>
12837 <numberFormat pattern="([268]\d{3})(\d{4})">
12838 <format>$1 $2</format>
12839 </numberFormat>
12840 </availableFormats>
12841 <generalDesc>
12842 <nationalNumberPattern>[268]\d{7}</nationalNumberPattern>
12843 <possibleNumberPattern>\d{8}</possibleNumberPattern>
12844 </generalDesc>
12845 <fixedLine>
12846 <nationalNumberPattern>
12847 (?:
12848 28[2-57-9]|
12849 8[2-57-9]\d
12850 )\d{5}
12851 </nationalNumberPattern>
12852 <exampleNumber>28212345</exampleNumber>
12853 </fixedLine>
12854 <mobile>
12855 <!-- The 62 prefix is added as SMS messages have been successfully deliv ered to these
12856 numbers, and they are also widely present on the Internet. -->
12857 <nationalNumberPattern>6[26]\d{6}</nationalNumberPattern>
12858 <exampleNumber>66123456</exampleNumber>
12859 </mobile>
12860 <!-- No tollFree or premiumRate information can be found. -->
12861 </territory>
12862
12863 <!-- Northern Mariana Islands -->
12864 <!-- http://www.itu.int/oth/T02020000EE/en -->
12865 <!-- www.cnmiphonebook.com/ -->
12866 <territory id="MP" countryCode="1" leadingDigits="670"
12867 nationalPrefix="1" internationalPrefix="011">
12868 <generalDesc>
12869 <!-- NANPA country - uses US formatting rules -->
12870 <nationalNumberPattern>[5689]\d{9}</nationalNumberPattern>
12871 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
12872 </generalDesc>
12873 <fixedLine>
12874 <nationalNumberPattern>
12875 670(?:
12876 2(?:
12877 3[3-5]|
12878 88|
12879 56
12880 )|
12881 32[23]|
12882 4[38]3|
12883 532|
12884 6(?:
12885 64|
12886 70|
12887 8\d
12888 )
12889 )\d{4}
12890 </nationalNumberPattern>
12891 <exampleNumber>6702345678</exampleNumber>
12892 </fixedLine>
12893 <mobile>
12894 <nationalNumberPattern>
12895 670(?:
12896 2(?:
12897 3[3-5]|
12898 88|
12899 56
12900 )|
12901 32[23]|
12902 4[38]3|
12903 532|
12904 6(?:
12905 64|
12906 70|
12907 8\d
12908 )
12909 )\d{4}
12910 </nationalNumberPattern>
12911 <exampleNumber>6702345678</exampleNumber>
12912 </mobile>
12913 <tollFree>
12914 <nationalNumberPattern>
12915 8(?:
12916 00|
12917 55|
12918 66|
12919 77|
12920 88
12921 )[2-9]\d{6}
12922 </nationalNumberPattern>
12923 <possibleNumberPattern>\d{10}</possibleNumberPattern>
12924 <exampleNumber>8002123456</exampleNumber>
12925 </tollFree>
12926 <premiumRate>
12927 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
12928 <possibleNumberPattern>\d{10}</possibleNumberPattern>
12929 <exampleNumber>9002123456</exampleNumber>
12930 </premiumRate>
12931 <personalNumber>
12932 <!-- http://www.nanpa.com/pdf/PL_416.pdf -->
12933 <nationalNumberPattern>
12934 5(?:
12935 00|
12936 33|
12937 44
12938 )[2-9]\d{6}
12939 </nationalNumberPattern>
12940 <possibleNumberPattern>\d{10}</possibleNumberPattern>
12941 <exampleNumber>5002345678</exampleNumber>
12942 </personalNumber>
12943 </territory>
12944
12945 <!-- Martinique (French Dept. of) -->
12946 <territory id="MQ" countryCode="596" internationalPrefix="00"
12947 nationalPrefix="0">
12948 </territory>
12949
12950 <!-- Mauritania -->
12951 <!-- http://www.itu.int/oth/T0202000087/en -->
12952 <!-- http://www.are.mr/com-1-4-1.html -->
12953 <territory id="MR" countryCode="222" internationalPrefix="00" >
12954 <availableFormats>
12955 <numberFormat pattern="([2-48]\d)(\d{2})(\d{2})(\d{2})">
12956 <format>$1 $2 $3 $4</format>
12957 </numberFormat>
12958 </availableFormats>
12959 <generalDesc>
12960 <nationalNumberPattern>[2-48]\d{7}</nationalNumberPattern>
12961 <possibleNumberPattern>\d{8}</possibleNumberPattern>
12962 </generalDesc>
12963 <fixedLine>
12964 <nationalNumberPattern>
12965 25[08]\d{5}|
12966 35\d{6}|
12967 45[1-7]\d{5}
12968 </nationalNumberPattern>
12969 <exampleNumber>35123456</exampleNumber>
12970 </fixedLine>
12971 <mobile>
12972 <nationalNumberPattern>
12973 (?:
12974 2(?:
12975 2\d|
12976 70
12977 )|
12978 3(?:
12979 3\d|
12980 6[1-36]|
12981 7[1-3]
12982 )|
12983 4(?:
12984 4\d|
12985 6[0457-9]|
12986 7[4-9]
12987 )
12988 )\d{5}
12989 </nationalNumberPattern>
12990 <exampleNumber>22123456</exampleNumber>
12991 </mobile>
12992 <tollFree>
12993 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
12994 <exampleNumber>80012345</exampleNumber>
12995 </tollFree>
12996 </territory>
12997
12998 <!-- Montserrat -->
12999 <!-- http://www.itu.int/oth/T020200008F/en -->
13000 <territory id="MS" countryCode="1" leadingDigits="664"
13001 nationalPrefix="1" internationalPrefix="011">
13002 <generalDesc>
13003 <!-- NANPA country - uses US formatting rules -->
13004 <nationalNumberPattern>[5689]\d{9}</nationalNumberPattern>
13005 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
13006 </generalDesc>
13007 <fixedLine>
13008 <nationalNumberPattern>664491\d{4}</nationalNumberPattern>
13009 <exampleNumber>6644912345</exampleNumber>
13010 </fixedLine>
13011 <mobile>
13012 <nationalNumberPattern>664492\d{4}</nationalNumberPattern>
13013 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13014 <exampleNumber>6644923456</exampleNumber>
13015 </mobile>
13016 <tollFree>
13017 <nationalNumberPattern>
13018 8(?:
13019 00|
13020 55|
13021 66|
13022 77|
13023 88
13024 )[2-9]\d{6}
13025 </nationalNumberPattern>
13026 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13027 <exampleNumber>8002123456</exampleNumber>
13028 </tollFree>
13029 <premiumRate>
13030 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
13031 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13032 <exampleNumber>9002123456</exampleNumber>
13033 </premiumRate>
13034 <personalNumber>
13035 <!-- http://www.nanpa.com/pdf/PL_416.pdf -->
13036 <nationalNumberPattern>
13037 5(?:
13038 00|
13039 33|
13040 44
13041 )[2-9]\d{6}
13042 </nationalNumberPattern>
13043 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13044 <exampleNumber>5002345678</exampleNumber>
13045 </personalNumber>
13046 </territory>
13047
13048 <!-- Malta -->
13049 <!-- www.itu.int/oth/T0202000084/en -->
13050 <!-- www.mca.org.mt (Numbering link in the LHS menu - has more up-to-date al locations) -->
13051 <territory id="MT" countryCode="356" internationalPrefix="00">
13052 <availableFormats>
13053 <numberFormat pattern="(\d{4})(\d{4})">
13054 <format>$1 $2</format>
13055 </numberFormat>
13056 </availableFormats>
13057 <generalDesc>
13058 <nationalNumberPattern>[2579]\d{7}</nationalNumberPattern>
13059 <possibleNumberPattern>\d{8}</possibleNumberPattern>
13060 </generalDesc>
13061 <fixedLine>
13062 <nationalNumberPattern>
13063 2(?:
13064 0(?:
13065 1[0-6]|
13066 [69]\d
13067 )|
13068 [1-357]\d{2}
13069 )\d{4}
13070 </nationalNumberPattern>
13071 <exampleNumber>21001234</exampleNumber>
13072 </fixedLine>
13073 <mobile>
13074 <nationalNumberPattern>
13075 (?:
13076 7(?:
13077 210|
13078 [79]\d{2}|
13079 )|
13080 9(?:
13081 2[13]\d|
13082 696|
13083 8(?:
13084 1[1-3]|
13085 89|
13086 97
13087 )|
13088 9\d{2}
13089 )
13090 )\d{4}
13091 </nationalNumberPattern>
13092 <exampleNumber>96961234</exampleNumber>
13093 </mobile>
13094 <pager>
13095 <nationalNumberPattern>7117\d{4}</nationalNumberPattern>
13096 <exampleNumber>71171234</exampleNumber>
13097 </pager>
13098 <premiumRate>
13099 <nationalNumberPattern>
13100 50(?:
13101 0(?:
13102 3[1679]|
13103 4\d
13104 )|
13105 [169]\d{2}|
13106 7[06]\d
13107 )\d{3}
13108 </nationalNumberPattern>
13109 <exampleNumber>50031234</exampleNumber>
13110 </premiumRate>
13111 </territory>
13112
13113 <!-- Mauritius -->
13114 <!-- http://www.itu.int/oth/T0202000088/en - covers mobile only -->
13115 <!-- http://www.icta.mu/telecommunications/numbering.htm -->
13116 <territory id="MU" countryCode="230" internationalPrefix="0(?:[2-7]0|33)"
13117 preferredInternationalPrefix="020">
13118 <!-- There is a proposal to change this to 8 digits - this is supposed to happen August 2010,
13119 and 7 digit numbers will be phased out by 1 November 2010. Update Aug 9th: Changeover
13120 postponed to indeterminate later date. -->
13121 <availableFormats>
13122 <numberFormat pattern="([2-9]\d{2})(\d{4})">
13123 <format>$1 $2</format>
13124 </numberFormat>
13125 </availableFormats>
13126 <generalDesc>
13127 <nationalNumberPattern>[2-9]\d{6}</nationalNumberPattern>
13128 <possibleNumberPattern>\d{7}</possibleNumberPattern>
13129 </generalDesc>
13130 <fixedLine>
13131 <!-- Wireless local loop numbers are considered to be fixed, since there is almost no
13132 roaming capability. -->
13133 <nationalNumberPattern>
13134 (?:
13135 2(?:
13136 [034789]\d|
13137 1[0-8]|
13138 2[0-79]
13139 )|
13140 4(?:
13141 [013-8]\d|
13142 2[4-7]
13143 )|
13144 [56]\d{2}|
13145 8(?:
13146 14|
13147 3[129]
13148 )
13149 )\d{4}
13150 </nationalNumberPattern>
13151 <exampleNumber>2012345</exampleNumber>
13152 </fixedLine>
13153 <mobile>
13154 <!--Adding 92 as SMS messages have been successfully sent to this prefix . -->
13155 <nationalNumberPattern>
13156 (?:
13157 25\d|
13158 4(?:
13159 2[12389]|
13160 9\d
13161 )|
13162 7\d{2}|
13163 87[15-7]|
13164 9[1-8]\d
13165 )\d{4}
13166 </nationalNumberPattern>
13167 <exampleNumber>2512345</exampleNumber>
13168 </mobile>
13169 <tollFree>
13170 <nationalNumberPattern>80[012]\d{4}</nationalNumberPattern>
13171 <exampleNumber>8001234</exampleNumber>
13172 </tollFree>
13173 <!-- These may be either shared cost or premium rate - they don't differen tiate between these
13174 in the plan. This is expected to change with the introduction of the new numbering plan
13175 in late 2010 - at that time, this will be updated appropriately. -->
13176 <premiumRate>
13177 <nationalNumberPattern>30\d{5}</nationalNumberPattern>
13178 <exampleNumber>3012345</exampleNumber>
13179 </premiumRate>
13180 </territory>
13181
13182 <!-- Maldives -->
13183 <!-- http://www.itu.int/oth/T0202000082/en -->
13184 <!-- www.dhiraagu.com.mv -->
13185 <territory id="MV" countryCode="960" internationalPrefix="0(?:0|19)"
13186 preferredInternationalPrefix="00">
13187 <availableFormats>
13188 <numberFormat pattern="(\d{3})(\d{4})">
13189 <leadingDigits>
13190 [367]|
13191 9(?:
13192 [1-9]|
13193 0[1-9]
13194 )
13195 </leadingDigits>
13196 <format>$1-$2</format>
13197 </numberFormat>
13198 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
13199 <leadingDigits>900</leadingDigits>
13200 <format>$1 $2 $3</format>
13201 </numberFormat>
13202 </availableFormats>
13203 <generalDesc>
13204 <nationalNumberPattern>
13205 [367]\d{6}|
13206 9(?:
13207 00\d{7}|
13208 \d{6}
13209 )
13210 </nationalNumberPattern>
13211 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
13212 </generalDesc>
13213 <fixedLine>
13214 <!-- 300 has been added as prefixes from online searches, since the numb ers seemed to be
13215 diallable. -->
13216 <nationalNumberPattern>
13217 (?:
13218 3(?:
13219 0[01]|
13220 3[0-59]|
13221 )|
13222 6(?:
13223 [567][02468]|
13224 8[024689]|
13225 90
13226 )
13227 )\d{4}
13228 </nationalNumberPattern>
13229 <possibleNumberPattern>\d{7}</possibleNumberPattern>
13230 <exampleNumber>6701234</exampleNumber>
13231 </fixedLine>
13232 <mobile>
13233 <!-- 7[45] has been added as many numbers online have been found with th is prefix. -->
13234 <nationalNumberPattern>
13235 (?:
13236 7[3-9]|
13237 9[6-9]
13238 )\d{5}
13239 </nationalNumberPattern>
13240 <possibleNumberPattern>\d{7}</possibleNumberPattern>
13241 <exampleNumber>7712345</exampleNumber>
13242 </mobile>
13243 <pager>
13244 <nationalNumberPattern>781\d{4}</nationalNumberPattern>
13245 <possibleNumberPattern>\d{7}</possibleNumberPattern>
13246 <exampleNumber>7812345</exampleNumber>
13247 </pager>
13248 <premiumRate>
13249 <nationalNumberPattern>900\d{7}</nationalNumberPattern>
13250 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13251 <exampleNumber>9001234567</exampleNumber>
13252 </premiumRate>
13253 <shortCode>
13254 <nationalNumberPattern>
13255 1(?:
13256 [19]0|
13257 23
13258 )
13259 </nationalNumberPattern>
13260 <possibleNumberPattern>\d{3}</possibleNumberPattern>
13261 <exampleNumber>123</exampleNumber>
13262 </shortCode>
13263 </territory>
13264
13265 <!-- Malawi -->
13266 <!-- http://www.itu.int/oth/T0202000080/en -->
13267 <!-- The plan doesn't state that a national prefix exists, but numbers found on the internet are
13268 consistent in having one. -->
13269 <territory id="MW" countryCode="265" internationalPrefix="00"
13270 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
13271 <availableFormats>
13272 <numberFormat pattern="(\d)(\d{3})(\d{3})">
13273 <leadingDigits>[13-5]</leadingDigits>
13274 <format>$1 $2 $3</format>
13275 </numberFormat>
13276 <numberFormat pattern="(2\d{2})(\d{3})(\d{3})">
13277 <leadingDigits>2</leadingDigits>
13278 <format>$1 $2 $3</format>
13279 </numberFormat>
13280 <numberFormat pattern="(\d)(\d{4})(\d{4})">
13281 <leadingDigits>7</leadingDigits>
13282 <format>$1 $2 $3</format>
13283 </numberFormat>
13284 <numberFormat pattern="(\d)(\d{3,4})(\d{3,4})">
13285 <leadingDigits>[89]</leadingDigits>
13286 <format>$1 $2 $3</format>
13287 </numberFormat>
13288 </availableFormats>
13289 <!-- According to the plan, the switch from 7 to 9 digits for mobile numbe rs happened in July
13290 2009. However, online numbers don't seem to reflect this - even on th e telephone company
13291 websites such as www.mw.zain.com. Allowing both for now. -->
13292 <generalDesc>
13293 <nationalNumberPattern>
13294 (?:
13295 [13-5]|
13296 [27]\d{2}|
13297 [89](?:
13298 \d{2}
13299 )?
13300 )\d{6}
13301 </nationalNumberPattern>
13302 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
13303 </generalDesc>
13304 <fixedLine>
13305 <nationalNumberPattern>
13306 (?:
13307 1[2-9]|
13308 21\d{2}
13309 )\d{5}
13310 </nationalNumberPattern>
13311 <exampleNumber>1234567</exampleNumber>
13312 </fixedLine>
13313 <mobile>
13314 <nationalNumberPattern>
13315 (?:
13316 [3-5]|
13317 77|
13318 8(?:
13319 8\d
13320 )? |
13321 9(?:
13322 9\d
13323 )?
13324 )\d{6}
13325 </nationalNumberPattern>
13326 <exampleNumber>991234567</exampleNumber>
13327 </mobile>
13328 </territory>
13329
13330 <!-- Mexico -->
13331 <!-- http://www.itu.int/oth/T020200008A/en -->
13332 <!-- http://en.wikipedia.org/wiki/%2B52 -->
13333 <!-- http://en.wikipedia.org/wiki/Premium-rate_telephone_number#Mexico -->
13334 <!-- http://en.wikipedia.org/wiki/Toll-free_telephone_number -->
13335 <territory id="MX" countryCode="52" internationalPrefix="0[09]"
13336 nationalPrefix="01"
13337 nationalPrefixForParsing="0[12]|04[45](\d{10})"
13338 nationalPrefixTransformRule="1$1"
13339 nationalPrefixFormattingRule="$NP $FG">
13340 <!-- When a number starts with 01 or 02, we remove the prefixes; when a nu mber starts with 045
13341 or 046 followed by 10 digits, we replace the prefixes with 1. This wa y all the mobile
13342 numbers, regardless of whether they are written in international form at (leading 1) or
13343 national format (leading 045/046), will be parsed into the same form. -->
13344 <availableFormats>
13345 <numberFormat pattern="([358]\d)(\d{4})(\d{4})">
13346 <leadingDigits>
13347 33|
13348 55|
13349 81
13350 </leadingDigits>
13351 <format>$1 $2 $3</format>
13352 </numberFormat>
13353 <intlNumberFormat pattern="([358]\d)(\d{4})(\d{4})">
13354 <leadingDigits>
13355 33|
13356 55|
13357 81
13358 </leadingDigits>
13359 <format>$1 $2 $3</format>
13360 </intlNumberFormat>
13361 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
13362 <leadingDigits>
13363 [2467]|
13364 3[12457-9]|
13365 5[89]|
13366 8[02-9]|
13367 9[0-35-9]
13368 </leadingDigits>
13369 <format>$1 $2 $3</format>
13370 </numberFormat>
13371 <intlNumberFormat pattern="(\d{3})(\d{3})(\d{4})">
13372 <leadingDigits>
13373 [2467]|
13374 3[12457-9]|
13375 5[89]|
13376 8[02-9]|
13377 9[0-35-9]
13378 </leadingDigits>
13379 <format>$1 $2 $3</format>
13380 </intlNumberFormat>
13381 <numberFormat nationalPrefixFormattingRule="$FG"
13382 pattern="1([358]\d)(\d{4})(\d{4})">
13383 <leadingDigits>
13384 1(?:
13385 33|
13386 55|
13387 81
13388 )
13389 </leadingDigits>
13390 <format>045 $1 $2 $3</format>
13391 </numberFormat>
13392 <intlNumberFormat pattern="(1)([358]\d)(\d{4})(\d{4})">
13393 <leadingDigits>
13394 1(?:
13395 33|
13396 55|
13397 81
13398 )
13399 </leadingDigits>
13400 <format>$1 $2 $3 $4</format>
13401 </intlNumberFormat>
13402 <numberFormat nationalPrefixFormattingRule="$FG"
13403 pattern="1(\d{3})(\d{3})(\d{4})">
13404 <leadingDigits>
13405 1(?:
13406 [2467]|
13407 3[12457-9]|
13408 5[89]|
13409 8[2-9]|
13410 9[1-35-9]
13411 )
13412 </leadingDigits>
13413 <format>045 $1 $2 $3</format>
13414 </numberFormat>
13415 <intlNumberFormat pattern="(1)(\d{3})(\d{3})(\d{4})">
13416 <leadingDigits>
13417 1(?:
13418 [2467]|
13419 3[12457-9]|
13420 5[89]|
13421 8[2-9]|
13422 9[1-35-9]
13423 )
13424 </leadingDigits>
13425 <format>$1 $2 $3 $4</format>
13426 </intlNumberFormat>
13427 </availableFormats>
13428 <generalDesc>
13429 <nationalNumberPattern>[1-9]\d{9,10}</nationalNumberPattern>
13430 <possibleNumberPattern>\d{7,11}</possibleNumberPattern>
13431 </generalDesc>
13432 <fixedLine>
13433 <!-- http://en.wikipedia.org/wiki/Area_codes_in_Mexico_by_code -->
13434 <nationalNumberPattern>
13435 (?:
13436 33|
13437 55|
13438 81
13439 )\d{8}|
13440 (?:
13441 2(?:
13442 2[2-9]|
13443 3[1-35-8]|
13444 4[13-9]|
13445 7[1-689]|
13446 8[1-58]|
13447 9[467]
13448 )|
13449 3(?:
13450 1[1-79]|
13451 [2458][1-9]|
13452 7[1-8]|
13453 9[1-5]
13454 )|
13455 4(?:
13456 1[1-57-9]|
13457 [24-6][1-9]|
13458 [37][1-8]|
13459 8[1-35-9]|
13460 9[2-689]
13461 )|
13462 5(?:
13463 88|
13464 9[1-79]
13465 )|
13466 6(?:
13467 1[2-68]|
13468 [234][1-9]|
13469 5[1-3689]|
13470 6[12457-9]|
13471 7[1-7]|
13472 8[67]|
13473 9[4-8]
13474 )|
13475 7(?:
13476 [13467][1-9]|
13477 2[1-8]|
13478 5[13-9]|
13479 8[1-69]|
13480 9[17]
13481 )|
13482 8(?:
13483 2[13-689]|
13484 3[1-6]|
13485 4[124-6]|
13486 6[1246-9]|
13487 7[1-378]|
13488 9[12479]
13489 )|
13490 9(?:
13491 1[346-9]|
13492 2[1-4]|
13493 3[2-46-8]|
13494 5[1348]|
13495 [69][1-9]|
13496 7[12]|
13497 8[1-8]
13498 )
13499 )\d{7}
13500 </nationalNumberPattern>
13501 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
13502 <exampleNumber>2221234567</exampleNumber>
13503 </fixedLine>
13504 <mobile>
13505 <nationalNumberPattern>
13506 1(?:
13507 (?:
13508 33|
13509 55|
13510 81
13511 )\d{8}|
13512 (?:
13513 2(?:
13514 2[2-9]|
13515 3[1-35-8]|
13516 4[13-9]|
13517 7[1-689]|
13518 8[1-58]|
13519 9[467]
13520 )|
13521 3(?:
13522 1[1-79]|
13523 [2458][1-9]|
13524 7[1-8]|
13525 9[1-5]
13526 )|
13527 4(?:
13528 1[1-57-9]|
13529 [24-6][1-9]|
13530 [37][1-8]|
13531 8[1-35-9]|
13532 9[2-689]
13533 )|
13534 5(?:
13535 88|
13536 9[1-79]
13537 )|
13538 6(?:
13539 1[2-68]|
13540 [2-4][1-9]|
13541 5[1-3689]|
13542 6[12457-9]|
13543 7[1-7]|
13544 8[67]|
13545 9[4-8]
13546 )|
13547 7(?:
13548 [13467][1-9]|
13549 2[1-8]|
13550 5[13-9]|
13551 8[1-69]|
13552 9[17]
13553 )|
13554 8(?:
13555 2[13-689]|
13556 3[1-6]|
13557 4[124-6]|
13558 6[1246-9]|
13559 7[1-378]|
13560 9[12479]
13561 )|
13562 9(?:
13563 1[346-9]|
13564 2[1-4]|
13565 3[2-46-8]|
13566 5[1348]|
13567 [69][1-9]|
13568 7[12]|
13569 8[1-8]
13570 )
13571 )\d{7}
13572 )
13573 </nationalNumberPattern>
13574 <possibleNumberPattern>\d{11}</possibleNumberPattern>
13575 <exampleNumber>12221234567</exampleNumber>
13576 </mobile>
13577 <tollFree>
13578 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
13579 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13580 <exampleNumber>8001234567</exampleNumber>
13581 </tollFree>
13582 <premiumRate>
13583 <nationalNumberPattern>900\d{7}</nationalNumberPattern>
13584 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13585 <exampleNumber>9001234567</exampleNumber>
13586 </premiumRate>
13587 </territory>
13588
13589 <!-- Malaysia -->
13590 <!-- http://en.wikipedia.org/wiki/%2B60 -->
13591 <!-- http://www.skmm.gov.my/what_we_do/numbering/index.asp -->
13592 <territory id="MY" countryCode="60" internationalPrefix="00"
13593 nationalPrefix="0">
13594 <availableFormats>
13595 <numberFormat nationalPrefixFormattingRule="$NP$FG"
13596 pattern="([4-79])(\d{3})(\d{4})">
13597 <leadingDigits>[4-79]</leadingDigits>
13598 <format>$1-$2 $3</format>
13599 </numberFormat>
13600 <numberFormat nationalPrefixFormattingRule="$NP$FG"
13601 pattern="(3)(\d{4})(\d{4})">
13602 <leadingDigits>3</leadingDigits>
13603 <format>$1-$2 $3</format>
13604 </numberFormat>
13605 <numberFormat nationalPrefixFormattingRule="$NP$FG"
13606 pattern="([18]\d)(\d{3})(\d{3,4})">
13607 <leadingDigits>
13608 1[0-46-9][1-9]|
13609 8
13610 </leadingDigits>
13611 <format>$1-$2 $3</format>
13612 </numberFormat>
13613 <numberFormat pattern="(1)([36-8]00)(\d{2})(\d{4})">
13614 <leadingDigits>1[36-8]0</leadingDigits>
13615 <format>$1-$2-$3-$4</format>
13616 </numberFormat>
13617 <numberFormat nationalPrefixFormattingRule="$NP$FG"
13618 pattern="(154)(\d{3})(\d{4})">
13619 <leadingDigits>15</leadingDigits>
13620 <format>$1-$2 $3</format>
13621 </numberFormat>
13622 </availableFormats>
13623 <generalDesc>
13624 <nationalNumberPattern>[13-9]\d{7,9}</nationalNumberPattern>
13625 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
13626 </generalDesc>
13627 <fixedLine>
13628 <nationalNumberPattern>
13629 (?:
13630 3\d{2}|
13631 [4-79]\d|
13632 8[2-9]
13633 )\d{6}
13634 </nationalNumberPattern>
13635 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
13636 <exampleNumber>312345678</exampleNumber>
13637 </fixedLine>
13638 <mobile>
13639 <nationalNumberPattern>1[0-46-9]\d{7}</nationalNumberPattern>
13640 <possibleNumberPattern>\d{9}</possibleNumberPattern>
13641 <exampleNumber>123456789</exampleNumber>
13642 </mobile>
13643 <tollFree>
13644 <nationalNumberPattern>1[38]00\d{6}</nationalNumberPattern>
13645 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13646 <exampleNumber>1300123456</exampleNumber>
13647 </tollFree>
13648 <premiumRate>
13649 <nationalNumberPattern>1600\d{6}</nationalNumberPattern>
13650 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13651 <exampleNumber>1600123456</exampleNumber>
13652 </premiumRate>
13653 <personalNumber>
13654 <nationalNumberPattern>1700\d{6}</nationalNumberPattern>
13655 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13656 <exampleNumber>1700123456</exampleNumber>
13657 </personalNumber>
13658 <voip>
13659 <nationalNumberPattern>154\d{7}</nationalNumberPattern>
13660 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13661 <exampleNumber>1541234567</exampleNumber>
13662 </voip>
13663 </territory>
13664
13665 <!-- Mozambique -->
13666 <!-- http://www.itu.int/oth/T0202000091/en -->
13667 <territory id="MZ" countryCode="258" internationalPrefix="00">
13668 <availableFormats>
13669 <numberFormat pattern="([28]\d)(\d{3})(\d{3,4})">
13670 <leadingDigits>
13671 2|
13672 8[24]
13673 </leadingDigits>
13674 <format>$1 $2 $3</format>
13675 </numberFormat>
13676 <numberFormat pattern="(80\d)(\d{3})(\d{3})">
13677 <leadingDigits>80</leadingDigits>
13678 <format>$1 $2 $3</format>
13679 </numberFormat>
13680 </availableFormats>
13681 <generalDesc>
13682 <nationalNumberPattern>[28]\d{7,8}</nationalNumberPattern>
13683 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
13684 </generalDesc>
13685 <fixedLine>
13686 <nationalNumberPattern>
13687 2(?:
13688 [1346]\d|
13689 5[0-2]|
13690 [78][12]|
13691 93
13692 )\d{5}
13693 </nationalNumberPattern>
13694 <possibleNumberPattern>\d{8}</possibleNumberPattern>
13695 <exampleNumber>21123456</exampleNumber>
13696 </fixedLine>
13697 <mobile>
13698 <nationalNumberPattern>8[24]\d{7}</nationalNumberPattern>
13699 <possibleNumberPattern>\d{9}</possibleNumberPattern>
13700 <exampleNumber>821234567</exampleNumber>
13701 </mobile>
13702 <tollFree>
13703 <!-- Unsure of the length requirement on toll-free numbers, so using 9
13704 based on online examples. -->
13705 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
13706 <possibleNumberPattern>\d{9}</possibleNumberPattern>
13707 <exampleNumber>800123456</exampleNumber>
13708 </tollFree>
13709 <!-- The plan suggests 801 and 802 numbers are shared-cost numbers, and nu mbers beginning with
13710 a 9 are premium rate, but no online examples can be found of any of t hese so they are
13711 omitted for the time-being. -->
13712 </territory>
13713
13714 <!-- Namibia -->
13715 <!-- http://www.itu.int/oth/T0202000093/en -->
13716 <territory id="NA" countryCode="264" internationalPrefix="00"
13717 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
13718 <availableFormats>
13719 <numberFormat pattern="(8\d)(\d{3})(\d{4})">
13720 <leadingDigits>8[125]</leadingDigits>
13721 <format>$1 $2 $3</format>
13722 </numberFormat>
13723 <numberFormat pattern="(6\d)(\d{2,3})(\d{4})">
13724 <leadingDigits>6</leadingDigits>
13725 <format>$1 $2 $3</format>
13726 </numberFormat>
13727 <numberFormat pattern="(88)(\d{3})(\d{3})">
13728 <leadingDigits>88</leadingDigits>
13729 <format>$1 $2 $3</format>
13730 </numberFormat>
13731 <numberFormat pattern="(870)(\d{3})(\d{3})">
13732 <leadingDigits>870</leadingDigits>
13733 <format>$1 $2 $3</format>
13734 </numberFormat>
13735 </availableFormats>
13736 <generalDesc>
13737 <nationalNumberPattern>[68]\d{7,8}</nationalNumberPattern>
13738 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
13739 </generalDesc>
13740 <fixedLine>
13741 <!-- Includes VSAT service. -->
13742 <nationalNumberPattern>
13743 6(?:
13744 1(?:
13745 17|
13746 2(?:
13747 [0189]\d|
13748 [23-6]|
13749 7\d?
13750 )|
13751 3(?:
13752 2\d|
13753 3[378]
13754 )|
13755 4[01]|
13756 69|
13757 7[014]
13758 )|
13759 2(?:
13760 17|
13761 25|
13762 5(?:
13763 [0-36-8]|
13764 4\d?
13765 )|
13766 69|
13767 70
13768 )|
13769 3(?:
13770 17|
13771 2(?:
13772 [0237]\d?|
13773 [14-689]
13774 )|
13775 34|
13776 6[29]|
13777 7[01]|
13778 81
13779 )|
13780 4(?:
13781 17|
13782 2(?:
13783 [012]|
13784 7?
13785 )|
13786 4(?:
13787 [06]|
13788 1\d
13789 )|
13790 5(?:
13791 [01357]|
13792 [25]\d?
13793 )|
13794 69|
13795 7[01]
13796 )|
13797 5(?:
13798 17|
13799 2(?:
13800 [0459]|
13801 [23678]\d?
13802 )|
13803 69|
13804 7[01]
13805 )|
13806 6(?:
13807 17|
13808 2(?:
13809 5|
13810 6\d?
13811 )|
13812 38|
13813 42|
13814 69|
13815 7[01]
13816 )|
13817 7(?:
13818 17|
13819 2(?:
13820 [569]|
13821 [234]\d?
13822 )|
13823 3(?:
13824 0\d?|
13825 [13]
13826 )|
13827 69|
13828 7[01]
13829 )
13830 )\d{4}
13831 </nationalNumberPattern>
13832 <exampleNumber>612012345</exampleNumber>
13833 </fixedLine>
13834 <mobile>
13835 <!-- Includes the Switch CDMA Service. -->
13836 <nationalNumberPattern>
13837 (?:
13838 60|
13839 8[125]
13840 )\d{7}
13841 </nationalNumberPattern>
13842 <possibleNumberPattern>\d{9}</possibleNumberPattern>
13843 <exampleNumber>811234567</exampleNumber>
13844 </mobile>
13845 <premiumRate>
13846 <nationalNumberPattern>8701\d{5}</nationalNumberPattern>
13847 <possibleNumberPattern>\d{9}</possibleNumberPattern>
13848 <exampleNumber>870123456</exampleNumber>
13849 </premiumRate>
13850 <voip>
13851 <nationalNumberPattern>886\d{5}</nationalNumberPattern>
13852 <possibleNumberPattern>\d{8}</possibleNumberPattern>
13853 <exampleNumber>88612345</exampleNumber>
13854 </voip>
13855 <shortCode>
13856 <nationalNumberPattern>
13857 1(?:
13858 0111|
13859 \d{3}
13860 )|
13861 9(?:
13862 3111|
13863 \d{2}
13864 )
13865 </nationalNumberPattern>
13866 <possibleNumberPattern>\d{3,5}</possibleNumberPattern>
13867 <exampleNumber>93111</exampleNumber>
13868 </shortCode>
13869 </territory>
13870
13871 <!-- New Caledonia (Territoire français d'outre-mer) -->
13872 <territory id="NC" countryCode="687" internationalPrefix="00"
13873 nationalPrefix="0">
13874 </territory>
13875
13876 <!-- Niger -->
13877 <!-- http://www.itu.int/oth/T020200009B/en -->
13878 <territory id="NE" countryCode="227" internationalPrefix="00" leadingZeroPos sible="true">
13879 <availableFormats>
13880 <numberFormat pattern="([029]\d)(\d{2})(\d{2})(\d{2})">
13881 <leadingDigits>
13882 [29]|
13883 09
13884 </leadingDigits>
13885 <format>$1 $2 $3 $4</format>
13886 </numberFormat>
13887 <numberFormat pattern="(08)(\d{3})(\d{3})">
13888 <leadingDigits>08</leadingDigits>
13889 <format>$1 $2 $3</format>
13890 </numberFormat>
13891 </availableFormats>
13892 <generalDesc>
13893 <nationalNumberPattern>[029]\d{7}</nationalNumberPattern>
13894 <possibleNumberPattern>\d{8}</possibleNumberPattern>
13895 </generalDesc>
13896 <fixedLine>
13897 <!-- Adding 20 61 from online numbers. -->
13898 <nationalNumberPattern>
13899 2(?:
13900 0(?:
13901 20|
13902 3[1-7]|
13903 4[134]|
13904 5[14]|
13905 6[14578]|
13906 7[1-578]
13907 )|
13908 1(?:
13909 4[145]|
13910 5[14]|
13911 6[14-68]|
13912 7[169]|
13913 88
13914 )
13915 )\d{4}
13916 </nationalNumberPattern>
13917 <exampleNumber>20201234</exampleNumber>
13918 </fixedLine>
13919 <mobile>
13920 <!-- Added 90 and 97 from online data. Zain have confirmed that they use the 97 prefix. -->
13921 <nationalNumberPattern>9[03467]\d{6}</nationalNumberPattern>
13922 <exampleNumber>93123456</exampleNumber>
13923 </mobile>
13924 <tollFree>
13925 <nationalNumberPattern>08\d{6}</nationalNumberPattern>
13926 <exampleNumber>08123456</exampleNumber>
13927 </tollFree>
13928 <premiumRate>
13929 <nationalNumberPattern>09\d{6}</nationalNumberPattern>
13930 <exampleNumber>09123456</exampleNumber>
13931 </premiumRate>
13932 </territory>
13933
13934 <!-- Norfolk Island -->
13935 <!-- http://www.itu.int/oth/T020200009D/en -->
13936 <!-- Including numbers for Australian Antarctic stations. -->
13937 <territory id="NF" countryCode="672" internationalPrefix="00">
13938 <availableFormats>
13939 <numberFormat pattern="(\d{2})(\d{4})">
13940 <leadingDigits>1</leadingDigits>
13941 <format>$1 $2</format>
13942 </numberFormat>
13943 <numberFormat pattern="(\d)(\d{5})">
13944 <leadingDigits>3</leadingDigits>
13945 <format>$1 $2</format>
13946 </numberFormat>
13947 </availableFormats>
13948 <generalDesc>
13949 <nationalNumberPattern>[13]\d{5}</nationalNumberPattern>
13950 <possibleNumberPattern>\d{5,6}</possibleNumberPattern>
13951 </generalDesc>
13952 <fixedLine>
13953 <!-- ITU says all 3X numbers except 38 are fixed-line, but 3[3-79] numbe rs don't seem to
13954 connect after we tried calling them. -->
13955 <nationalNumberPattern>
13956 (?:
13957 1(?:
13958 06|
13959 17|
13960 28|
13961 39
13962 )|
13963 3[012]\d
13964 )\d{3}
13965 </nationalNumberPattern>
13966 <exampleNumber>106609</exampleNumber>
13967 </fixedLine>
13968 <mobile>
13969 <nationalNumberPattern>38\d{4}</nationalNumberPattern>
13970 <exampleNumber>381234</exampleNumber>
13971 </mobile>
13972 </territory>
13973
13974 <!-- Nigeria -->
13975 <!-- http://www.itu.int/oth/T020200009C/en -->
13976 <territory id="NG" countryCode="234" internationalPrefix="009"
13977 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
13978 <availableFormats>
13979 <numberFormat pattern="([129])(\d{3})(\d{3,4})">
13980 <leadingDigits>[129]</leadingDigits>
13981 <format>$1 $2 $3</format>
13982 </numberFormat>
13983 <numberFormat pattern="([3-8]\d)(\d{3})(\d{2,3})">
13984 <leadingDigits>
13985 [3-6]|
13986 7(?:
13987 [1-79]|
13988 0[1-9]
13989 )|
13990 8[2-9]
13991 </leadingDigits>
13992 <format>$1 $2 $3</format>
13993 </numberFormat>
13994 <numberFormat pattern="([78]\d{2})(\d{3})(\d{3,4})">
13995 <leadingDigits>
13996 70|
13997 8[01]
13998 </leadingDigits>
13999 <format>$1 $2 $3</format>
14000 </numberFormat>
14001 <numberFormat pattern="([78]00)(\d{4})(\d{4,5})">
14002 <leadingDigits>[78]00</leadingDigits>
14003 <format>$1 $2 $3</format>
14004 </numberFormat>
14005 <numberFormat pattern="([78]00)(\d{5})(\d{5,6})">
14006 <leadingDigits>[78]00</leadingDigits>
14007 <format>$1 $2 $3</format>
14008 </numberFormat>
14009 <numberFormat pattern="(78)(\d{2})(\d{3})">
14010 <leadingDigits>78</leadingDigits>
14011 <format>$1 $2 $3</format>
14012 </numberFormat>
14013 </availableFormats>
14014 <generalDesc>
14015 <nationalNumberPattern>
14016 [1-69]\d{5,8}|
14017 [78]\d{5,13}
14018 </nationalNumberPattern>
14019 <possibleNumberPattern>\d{5,14}</possibleNumberPattern>
14020 </generalDesc>
14021 <fixedLine>
14022 <nationalNumberPattern>
14023 [12]\d{6,7}|
14024 9\d{7}|
14025 (?:
14026 4[023568]|
14027 5[02368]|
14028 6[02-469]|
14029 7[569]|
14030 8[2-9]
14031 )\d{6}|
14032 (?:
14033 4[47]|
14034 5[14579]|
14035 6[1578]|
14036 7[0-357]
14037 )\d{5,6}|
14038 (?:
14039 78|
14040 41
14041 )\d{5}
14042 </nationalNumberPattern>
14043 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
14044 <exampleNumber>12345678</exampleNumber>
14045 </fixedLine>
14046 <mobile>
14047 <!-- More 81X prefixes have been added based on online numbers. -->
14048 <nationalNumberPattern>
14049 (?:
14050 70(?:
14051 [3-9]\d|
14052 2[1-9]
14053 )|
14054 8(?:
14055 0[2-9]|
14056 1[23689]
14057 )\d
14058 )\d{6}
14059 </nationalNumberPattern>
14060 <possibleNumberPattern>\d{10}</possibleNumberPattern>
14061 <exampleNumber>8021234567</exampleNumber>
14062 </mobile>
14063 <!-- Info on these numbers from http://www.alphatechnologieslimited.com. - ->
14064 <tollFree>
14065 <nationalNumberPattern>800\d{7,11}</nationalNumberPattern>
14066 <possibleNumberPattern>\d{10,14}</possibleNumberPattern>
14067 <exampleNumber>80017591759</exampleNumber>
14068 </tollFree>
14069 <personalNumber>
14070 <nationalNumberPattern>700\d{7,11}</nationalNumberPattern>
14071 <possibleNumberPattern>\d{10,14}</possibleNumberPattern>
14072 <exampleNumber>7001234567</exampleNumber>
14073 </personalNumber>
14074 </territory>
14075
14076 <!-- Nicaragua -->
14077 <!-- http://www.itu.int/oth/T020200009A/en -->
14078 <territory id="NI" countryCode="505" internationalPrefix="00">
14079 <availableFormats>
14080 <numberFormat pattern="(\d{4})(\d{4})">
14081 <format>$1 $2</format>
14082 </numberFormat>
14083 </availableFormats>
14084 <generalDesc>
14085 <nationalNumberPattern>[128]\d{7}</nationalNumberPattern>
14086 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14087 </generalDesc>
14088 <fixedLine>
14089 <nationalNumberPattern>2\d{7}</nationalNumberPattern>
14090 <exampleNumber>21234567</exampleNumber>
14091 </fixedLine>
14092 <mobile>
14093 <nationalNumberPattern>8\d{7}</nationalNumberPattern>
14094 <exampleNumber>81234567</exampleNumber>
14095 </mobile>
14096 <tollFree>
14097 <nationalNumberPattern>1800\d{4}</nationalNumberPattern>
14098 <exampleNumber>18001234</exampleNumber>
14099 </tollFree>
14100 </territory>
14101
14102 <!-- Netherlands -->
14103 <!-- http://en.wikipedia.org/wiki/%2B31 -->
14104 <!-- http://www2.opta.nl/asp/en/numbers/ -->
14105 <territory id="NL" countryCode="31" internationalPrefix="00"
14106 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
14107 <availableFormats>
14108 <numberFormat pattern="([1-578]\d)(\d{3})(\d{4})">
14109 <leadingDigits>
14110 1[035]|
14111 2[0346]|
14112 3[03568]|
14113 4[0356]|
14114 5[0358]|
14115 7|
14116 8[458]
14117 </leadingDigits>
14118 <format>$1 $2 $3</format>
14119 </numberFormat>
14120 <numberFormat pattern="([1-5]\d{2})(\d{3})(\d{3})">
14121 <leadingDigits>
14122 1[16-8]|
14123 2[259]|
14124 3[124]|
14125 4[17-9]|
14126 5[124679]
14127 </leadingDigits>
14128 <format>$1 $2 $3</format>
14129 </numberFormat>
14130 <numberFormat pattern="(6)(\d{8})">
14131 <leadingDigits>6</leadingDigits>
14132 <format>$1 $2</format>
14133 </numberFormat>
14134 <numberFormat pattern="([89]0\d)(\d{4,7})">
14135 <leadingDigits>
14136 80|
14137 9
14138 </leadingDigits>
14139 <format>$1 $2</format>
14140 </numberFormat>
14141 </availableFormats>
14142 <generalDesc>
14143 <nationalNumberPattern>[1-9]\d{6,9}</nationalNumberPattern>
14144 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
14145 </generalDesc>
14146 <fixedLine>
14147 <nationalNumberPattern>
14148 (?:
14149 1[0135-8]|
14150 2[02-69]|
14151 3[0-68]|
14152 4[0135-9]|
14153 [57]\d|
14154 8[478]
14155 )\d{7}
14156 </nationalNumberPattern>
14157 <possibleNumberPattern>\d{9}</possibleNumberPattern>
14158 <exampleNumber>101234567</exampleNumber>
14159 </fixedLine>
14160 <mobile>
14161 <nationalNumberPattern>6[1-58]\d{7}</nationalNumberPattern>
14162 <possibleNumberPattern>\d{9}</possibleNumberPattern>
14163 <exampleNumber>612345678</exampleNumber>
14164 </mobile>
14165 <tollFree>
14166 <nationalNumberPattern>800\d{4,7}</nationalNumberPattern>
14167 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
14168 <exampleNumber>8001234</exampleNumber>
14169 </tollFree>
14170 <premiumRate>
14171 <nationalNumberPattern>90[069]\d{4,7}</nationalNumberPattern>
14172 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
14173 <exampleNumber>9001234</exampleNumber>
14174 </premiumRate>
14175 <voip>
14176 <nationalNumberPattern>85\d{7}</nationalNumberPattern>
14177 <possibleNumberPattern>\d{9}</possibleNumberPattern>
14178 </voip>
14179 </territory>
14180
14181 <!-- Norway -->
14182 <!-- Metadata (excluding fixed-line) shared with Svalbard. -->
14183 <!-- http://www.npt.no/pt_internet/numsys/E.164.pdf -->
14184 <territory id="NO" countryCode="47" internationalPrefix="00" leadingZeroPoss ible="true"
14185 mainCountryForCode="true">
14186 <availableFormats>
14187 <numberFormat pattern="([489]\d{2})(\d{2})(\d{3})">
14188 <leadingDigits>[489]</leadingDigits>
14189 <format>$1 $2 $3</format>
14190 </numberFormat>
14191 <numberFormat pattern="([235-7]\d)(\d{2})(\d{2})(\d{2})">
14192 <leadingDigits>[235-7]</leadingDigits>
14193 <format>$1 $2 $3 $4</format>
14194 </numberFormat>
14195 </availableFormats>
14196 <generalDesc>
14197 <nationalNumberPattern>
14198 0\d{4}|
14199 [2-9]\d{7}
14200 </nationalNumberPattern>
14201 <possibleNumberPattern>\d{5}(?:\d{3})?</possibleNumberPattern>
14202 </generalDesc>
14203 <fixedLine>
14204 <!-- Excludes Svalbard fixed-line numbers. -->
14205 <nationalNumberPattern>
14206 (?:
14207 2[1-4]|
14208 3[1-3578]|
14209 5[1-35-7]|
14210 6[1-4679]|
14211 7[0-8]
14212 )\d{6}
14213 </nationalNumberPattern>
14214 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14215 <exampleNumber>21234567</exampleNumber>
14216 </fixedLine>
14217 <mobile>
14218 <nationalNumberPattern>
14219 (?:
14220 4[015-8]|
14221 9\d
14222 )\d{6}
14223 </nationalNumberPattern>
14224 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14225 <exampleNumber>41234567</exampleNumber>
14226 </mobile>
14227 <tollFree>
14228 <nationalNumberPattern>80[01]\d{5}</nationalNumberPattern>
14229 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14230 <exampleNumber>80012345</exampleNumber>
14231 </tollFree>
14232 <premiumRate>
14233 <nationalNumberPattern>82[09]\d{5}</nationalNumberPattern>
14234 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14235 <exampleNumber>82012345</exampleNumber>
14236 </premiumRate>
14237 <sharedCost>
14238 <nationalNumberPattern>
14239 810(?:
14240 0[0-6]|
14241 [2-8]\d
14242 )\d{3}
14243 </nationalNumberPattern>
14244 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14245 <exampleNumber>81021234</exampleNumber>
14246 </sharedCost>
14247 <personalNumber>
14248 <nationalNumberPattern>880\d{5}</nationalNumberPattern>
14249 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14250 <exampleNumber>88012345</exampleNumber>
14251 </personalNumber>
14252 <uan>
14253 <!-- Includes some 810 local-rate numbers, and long-distance rate number s. -->
14254 <nationalNumberPattern>
14255 0\d{4}|
14256 81(?:
14257 0(?:
14258 0[7-9]|
14259 1\d
14260 )|
14261 5\d{2}
14262 )\d{3}
14263 </nationalNumberPattern>
14264 <exampleNumber>01234</exampleNumber>
14265 </uan>
14266 </territory>
14267
14268 <!-- Nepal -->
14269 <!-- http://www.itu.int/oth/T0202000095/en -->
14270 <!-- http://www.ntc.net.np/mobile/mob_postpaid_number_scheme.php -->
14271 <territory id="NP" countryCode="977" internationalPrefix="00"
14272 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
14273 <availableFormats>
14274 <numberFormat pattern="(1)([4-6]\d{3})(\d{3})">
14275 <leadingDigits>1[4-6]</leadingDigits>
14276 <format>$1 $2 $3</format>
14277 </numberFormat>
14278 <numberFormat pattern="(\d{2})(\d{3})(\d{3})">
14279 <leadingDigits>
14280 1[01]|
14281 [2-8]|
14282 9[1-79]
14283 </leadingDigits>
14284 <format>$1 $2 $3</format>
14285 </numberFormat>
14286 <!-- Format is from http://www.fco.gov.uk/en/travel-and-living-abroad/tr avel-advice-by-country/country-profile/asia-oceania/nepal/ -->
14287 <numberFormat pattern="(98[45])(\d{3})(\d{4})">
14288 <leadingDigits>98</leadingDigits>
14289 <format>$1 $2 $3</format>
14290 </numberFormat>
14291 </availableFormats>
14292 <generalDesc>
14293 <nationalNumberPattern>
14294 [1-8]\d{5,7}|
14295 98[45]\d{7}
14296 </nationalNumberPattern>
14297 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
14298 </generalDesc>
14299 <fixedLine>
14300 <nationalNumberPattern>
14301 (?:
14302 1[014-6]|
14303 2[13-79]|
14304 3[135-8]|
14305 4[146-9]|
14306 5[135-7]|
14307 6[13-9]|
14308 7[15-9]|
14309 8[1-4679]|
14310 9[1-79]
14311 )\d{6}
14312 </nationalNumberPattern>
14313 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
14314 <exampleNumber>14567890</exampleNumber>
14315 </fixedLine>
14316 <!-- There is no definitive source of information for mobile numbers in Ne pal. The infomation
14317 here is collected by searching the Internet. -->
14318 <mobile>
14319 <nationalNumberPattern>98[45]\d{7}</nationalNumberPattern>
14320 <possibleNumberPattern>\d{10}</possibleNumberPattern>
14321 <exampleNumber>9841234567</exampleNumber>
14322 </mobile>
14323 <!-- No information on other types of phone numbers for Nepal has been fou nd. -->
14324 </territory>
14325
14326 <!-- Nauru -->
14327 <!-- http://www.itu.int/oth/T0202000094/en -->
14328 <territory id="NR" countryCode="674" internationalPrefix="00">
14329 <availableFormats>
14330 <numberFormat pattern="(\d{3})(\d{4})">
14331 <format>$1 $2</format>
14332 </numberFormat>
14333 </availableFormats>
14334 <generalDesc>
14335 <nationalNumberPattern>[458]\d{6}</nationalNumberPattern>
14336 <possibleNumberPattern>\d{7}</possibleNumberPattern>
14337 </generalDesc>
14338 <fixedLine>
14339 <nationalNumberPattern>
14340 (?:
14341 444|
14342 888
14343 )\d{4}
14344 </nationalNumberPattern>
14345 <exampleNumber>4441234</exampleNumber>
14346 </fixedLine>
14347 <mobile>
14348 <nationalNumberPattern>55[5-9]\d{4}</nationalNumberPattern>
14349 <exampleNumber>5551234</exampleNumber>
14350 </mobile>
14351 <shortCode>
14352 <nationalNumberPattern>
14353 1(?:
14354 1[012]|
14355 23|
14356 92
14357 )
14358 </nationalNumberPattern>
14359 <possibleNumberPattern>\d{3}</possibleNumberPattern>
14360 <exampleNumber>110</exampleNumber>
14361 </shortCode>
14362 </territory>
14363
14364 <!-- Niue -->
14365 <!-- http://www.itu.int/oth/T02020000EC/en -->
14366 <territory id="NU" countryCode="683" internationalPrefix="00">
14367 <!-- Numbers are always formatted as a block. -->
14368 <generalDesc>
14369 <nationalNumberPattern>[1-5]\d{3}</nationalNumberPattern>
14370 <possibleNumberPattern>\d{4}</possibleNumberPattern>
14371 </generalDesc>
14372 <fixedLine>
14373 <!-- Putting FWT (fixed-wireless-terminals) numbers here too. -->
14374 <nationalNumberPattern>[34]\d{3}</nationalNumberPattern>
14375 <exampleNumber>4002</exampleNumber>
14376 </fixedLine>
14377 <mobile>
14378 <nationalNumberPattern>[125]\d{3}</nationalNumberPattern>
14379 <exampleNumber>1234</exampleNumber>
14380 </mobile>
14381 </territory>
14382
14383 <!-- New Zealand -->
14384 <!-- http://www.itu.int/oth/T0202000099/en -->
14385 <!-- Includes Ross Dependency, Antarctica -->
14386 <!-- Does not currently support 083 "Enhanced voice services", New Zealand d irect service
14387 numbers and 050 "Nation-Wide Service". -->
14388 <territory id="NZ" countryCode="64" internationalPrefix="0(?:0|161)"
14389 preferredInternationalPrefix="00" nationalPrefix="0"
14390 nationalPrefixFormattingRule="$NP$FG">
14391 <availableFormats>
14392 <numberFormat pattern="([34679])(\d{3})(\d{4})">
14393 <leadingDigits>
14394 [3467]|
14395 9[1-9]
14396 </leadingDigits>
14397 <format>$1-$2 $3</format>
14398 </numberFormat>
14399 <!-- Mobile numbers do not have exclusive leading digits - formatting de pends on number
14400 length. -->
14401 <!-- Vodafone numbers are formatted with 021 separated. -->
14402 <numberFormat pattern="(21)(\d{4})(\d{3,4})">
14403 <leadingDigits>21</leadingDigits>
14404 <format>$1 $2 $3</format>
14405 </numberFormat>
14406 <!-- Adding in the toll free numbers here as well since they follow the same format. -->
14407 <numberFormat pattern="([2589]\d{2})(\d{3})(\d{3,4})">
14408 <leadingDigits>
14409 2[0247-9]|
14410 5|
14411 [89]00
14412 </leadingDigits>
14413 <format>$1 $2 $3</format>
14414 </numberFormat>
14415 <!-- Vodafone and Orcon numbers can also be 8 digits (without leading 0) , and these are
14416 formatted differently. -->
14417 <numberFormat pattern="(\d{2})(\d{3})(\d{3,4})">
14418 <leadingDigits>2[0169]|86</leadingDigits>
14419 <format>$1 $2 $3</format>
14420 </numberFormat>
14421 <!-- Antarctica -->
14422 <numberFormat pattern="(24099)(\d{3})">
14423 <leadingDigits>240</leadingDigits>
14424 <leadingDigits>2409</leadingDigits>
14425 <leadingDigits>24099</leadingDigits>
14426 <format>$1 $2</format>
14427 </numberFormat>
14428 </availableFormats>
14429 <generalDesc>
14430 <nationalNumberPattern>
14431 6[235-9]\d{6}|
14432 [2-57-9]\d{7,10}
14433 </nationalNumberPattern>
14434 <possibleNumberPattern>\d{7,11}</possibleNumberPattern>
14435 </generalDesc>
14436 <fixedLine>
14437 <nationalNumberPattern>
14438 (?:
14439 3[2-79]|
14440 [49][2-689]|
14441 6[235-9]|
14442 7[2-589]
14443 )\d{6}|
14444 24099\d{3}
14445 </nationalNumberPattern>
14446 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
14447 <exampleNumber>32345678</exampleNumber>
14448 </fixedLine>
14449 <mobile>
14450 <!-- Includes mobile radio service numbers. -->
14451 <nationalNumberPattern>
14452 2(?:
14453 [079]\d{7}|
14454 1(?:
14455 0\d{5,7}|
14456 [12]\d{5,6}|
14457 [3-9]\d{5}
14458 )|
14459 [28]\d{7,8}|
14460 4[1-9]\d{6}
14461 )
14462 </nationalNumberPattern>
14463 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
14464 <exampleNumber>211234567</exampleNumber>
14465 </mobile>
14466 <pager>
14467 <nationalNumberPattern>[28]6\d{6,7}</nationalNumberPattern>
14468 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
14469 <exampleNumber>26123456</exampleNumber>
14470 </pager>
14471 <!-- These are the toll free patterns used, by Telecom and Telstra/Clear, but they are
14472 referred to as 'Value-added service' in the phone plan for some reaso n. 85 numbers are
14473 not covered, as telecom companies don't seem to support them yet. -->
14474 <tollFree>
14475 <nationalNumberPattern>
14476 508\d{6,7}|
14477 80\d{6,8}
14478 </nationalNumberPattern>
14479 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
14480 <exampleNumber>800123456</exampleNumber>
14481 </tollFree>
14482 <premiumRate>
14483 <nationalNumberPattern>90\d{7,9}</nationalNumberPattern>
14484 <possibleNumberPattern>\d{9,11}</possibleNumberPattern>
14485 <exampleNumber>900123456</exampleNumber>
14486 </premiumRate>
14487 </territory>
14488
14489 <!-- Oman -->
14490 <!-- http://www.itu.int/oth/T020200009F/en -->
14491 <territory id="OM" countryCode="968" internationalPrefix="00" >
14492 <availableFormats>
14493 <numberFormat pattern="(2\d)(\d{6})">
14494 <leadingDigits>2</leadingDigits>
14495 <format>$1 $2</format>
14496 </numberFormat>
14497 <numberFormat pattern="(9\d{3})(\d{4})">
14498 <leadingDigits>9</leadingDigits>
14499 <format>$1 $2</format>
14500 </numberFormat>
14501 <numberFormat pattern="([58]00)(\d{4,6})">
14502 <leadingDigits>[58]</leadingDigits>
14503 <format>$1 $2</format>
14504 </numberFormat>
14505 </availableFormats>
14506 <generalDesc>
14507 <nationalNumberPattern>
14508 (?:
14509 2[3-6]|
14510 5|
14511 9[2-9]
14512 )\d{6}|
14513 800\d{5,6}
14514 </nationalNumberPattern>
14515 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
14516 </generalDesc>
14517 <fixedLine>
14518 <nationalNumberPattern>2[3-6]\d{6}</nationalNumberPattern>
14519 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14520 <exampleNumber>23123456</exampleNumber>
14521 </fixedLine>
14522 <mobile>
14523 <nationalNumberPattern>9[2-9]\d{6}</nationalNumberPattern>
14524 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14525 <exampleNumber>92123456</exampleNumber>
14526 </mobile>
14527 <tollFree>
14528 <!-- Link to document about toll-free numbers on www.tra.gov.om, which s uggests they should
14529 be 8007 followed by 4 digits. However, the only examples I can find , including the
14530 customer help line for the main telephony company there (omantel), is 8007 followed by
14531 5 digits, so am allowing both for now to be on the safe side. 500 n umbers seem to offer
14532 international toll-free dialing numbers - +968 500 1300 for interna tional help desk for
14533 omantel, for example. -->
14534 <nationalNumberPattern>
14535 8007\d{4,5}|
14536 500\d{4}
14537 </nationalNumberPattern>
14538 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
14539 <exampleNumber>80071234</exampleNumber>
14540 </tollFree>
14541 <!-- No premiumRate information can be found. -->
14542 </territory>
14543
14544 <!-- Panama -->
14545 <territory id="PA" countryCode="507" internationalPrefix="00"
14546 nationalPrefix="0">
14547 </territory>
14548
14549 <!-- Peru -->
14550 <!-- http://www.itu.int/oth/T02020000A6/en -->
14551 <!-- http://en.wikipedia.org/wiki/+51 -->
14552 <territory id="PE" countryCode="51" internationalPrefix="19(?:1[124]|77|90)0 0"
14553 nationalPrefix="0" nationalPrefixFormattingRule="($FG)"
14554 preferredExtnPrefix=" Anexo ">
14555 <availableFormats>
14556 <numberFormat pattern="(1)(\d{7})">
14557 <leadingDigits>1</leadingDigits>
14558 <format>$1 $2</format>
14559 </numberFormat>
14560 <numberFormat pattern="([4-8]\d)(\d{6})">
14561 <leadingDigits>[4-8]</leadingDigits>
14562 <format>$1 $2</format>
14563 </numberFormat>
14564 <!-- Formatting from common usage found on the internet, supported by IT U doc. -->
14565 <numberFormat pattern="(9\d{2})(\d{3})(\d{3})"
14566 nationalPrefixFormattingRule="$FG">
14567 <leadingDigits>9</leadingDigits>
14568 <format>$1 $2 $3</format>
14569 </numberFormat>
14570 </availableFormats>
14571 <generalDesc>
14572 <nationalNumberPattern>[14-9]\d{7,8}</nationalNumberPattern>
14573 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
14574 </generalDesc>
14575 <fixedLine>
14576 <nationalNumberPattern>
14577 (?:
14578 1\d|
14579 4[1-4]|
14580 5[1-46]|
14581 6[1-7]|
14582 7[2-46]|
14583 8[2-4]
14584 )\d{6}
14585 </nationalNumberPattern>
14586 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
14587 <exampleNumber>11234567</exampleNumber>
14588 </fixedLine>
14589 <mobile>
14590 <nationalNumberPattern>9\d{8}</nationalNumberPattern>
14591 <possibleNumberPattern>\d{9}</possibleNumberPattern>
14592 <exampleNumber>912345678</exampleNumber>
14593 </mobile>
14594 </territory>
14595
14596 <!-- French Polynesia (Tahiti) (Territoire français d'outre-mer) -->
14597 <territory id="PF" countryCode="689" internationalPrefix="00">
14598 </territory>
14599
14600 <!-- Papua New Guinea -->
14601 <!-- http://www.itu.int/oth/T02020000A4/en -->
14602 <!-- http://en.wikipedia.org/wiki/%2B675 -->
14603 <territory id="PG" countryCode="675" internationalPrefix="00">
14604 <availableFormats>
14605 <numberFormat pattern="(\d{3})(\d{4})">
14606 <leadingDigits>[1-689]</leadingDigits>
14607 <format>$1 $2</format>
14608 </numberFormat>
14609 <numberFormat pattern="(7[1-36]\d)(\d{2})(\d{3})">
14610 <leadingDigits>7[1-36]</leadingDigits>
14611 <format>$1 $2 $3</format>
14612 </numberFormat>
14613 </availableFormats>
14614 <generalDesc>
14615 <nationalNumberPattern>[1-9]\d{6,7}</nationalNumberPattern>
14616 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
14617 </generalDesc>
14618 <fixedLine>
14619 <!-- Fixed line patterns are from the numbering plan, with additions for 4XX since many
14620 numbers in the yellow pages seem to be outside the 47X range prescr ibed by the plan.
14621 The same applies to extra 64X numbers. -->
14622 <nationalNumberPattern>
14623 (?:
14624 3\d{2}|
14625 4[257]\d|
14626 5[34]\d|
14627 6(?:
14628 29|
14629 4[1-9]
14630 )|
14631 85[02-46-9]|
14632 9[78]\d
14633 )\d{4}
14634 </nationalNumberPattern>
14635 <possibleNumberPattern>\d{7}</possibleNumberPattern>
14636 <exampleNumber>3123456</exampleNumber>
14637 </fixedLine>
14638 <mobile>
14639 <!-- Mobile number patterns from the numbering plan are included here,
14640 as well as 68x from wikipedia. -->
14641 <nationalNumberPattern>
14642 (?:
14643 68|
14644 7(?:
14645 [126]\d|
14646 3[1-9]
14647 )
14648 )\d{5}
14649 </nationalNumberPattern>
14650 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
14651 <exampleNumber>6812345</exampleNumber>
14652 </mobile>
14653 <tollFree>
14654 <nationalNumberPattern>180\d{4}</nationalNumberPattern>
14655 <possibleNumberPattern>\d{7}</possibleNumberPattern>
14656 <exampleNumber>1801234</exampleNumber>
14657 </tollFree>
14658 <voip>
14659 <!-- VSAT prefixes are here. -->
14660 <nationalNumberPattern>275\d{4}</nationalNumberPattern>
14661 <possibleNumberPattern>\d{7}</possibleNumberPattern>
14662 <exampleNumber>2751234</exampleNumber>
14663 </voip>
14664 </territory>
14665
14666 <!-- Philippines -->
14667 <!-- http://en.wikipedia.org/wiki/%2B63 -->
14668 <territory id="PH" countryCode="63" internationalPrefix="00"
14669 nationalPrefix="0">
14670 <availableFormats>
14671 <!--Area code separated from number. Area codes found here:
14672 http://en.wikipedia.org/wiki/Telecommunications_in_the_Philippines#Area_ Codes -->
14673 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
14674 pattern="(2)(\d{3})(\d{4})">
14675 <leadingDigits>2</leadingDigits>
14676 <format>$1 $2 $3</format>
14677 </numberFormat>
14678 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
14679 pattern="(\d{4})(\d{5})">
14680 <leadingDigits>
14681 3(?:
14682 23|
14683 39|
14684 46
14685 )|
14686 4(?:
14687 2[3-6]|
14688 [35]9|
14689 4[26]|
14690 76
14691 )|
14692 5(?:
14693 22|
14694 44
14695 )|
14696 642|
14697 8(?:
14698 62|
14699 8[245]
14700 )
14701 </leadingDigits>
14702 <leadingDigits>
14703 3(?:
14704 230|
14705 397|
14706 461
14707 )|
14708 4(?:
14709 2(?:
14710 35|
14711 [46]4|
14712 51
14713 )|
14714 396|
14715 4(?:
14716 22|
14717 63
14718 )|
14719 59[347]|
14720 76[15]
14721 )|
14722 5(?:
14723 221|
14724 446
14725 )|
14726 642[23]|
14727 8(?:
14728 622|
14729 8(?:
14730 [24]2|
14731 5[13]
14732 )
14733 )
14734 </leadingDigits>
14735 <format>$1 $2</format>
14736 </numberFormat>
14737 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
14738 pattern="(\d{5})(\d{4})">
14739 <leadingDigits>
14740 346|
14741 4(?:
14742 27|
14743 9[35]
14744 )|
14745 883
14746 </leadingDigits>
14747 <leadingDigits>
14748 3469|
14749 4(?:
14750 279|
14751 9(?:
14752 30|
14753 56
14754 )
14755 )|
14756 8834
14757 </leadingDigits>
14758 <format>$1 $2</format>
14759 </numberFormat>
14760 <!-- This rule is a fallback for the more specific area codes. -->
14761 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
14762 pattern="([3-8]\d)(\d{3})(\d{4})">
14763 <leadingDigits>[3-8]</leadingDigits>
14764 <format>$1 $2 $3</format>
14765 </numberFormat>
14766 <numberFormat nationalPrefixFormattingRule="$NP$FG"
14767 pattern="(9\d{2})(\d{3})(\d{4})">
14768 <leadingDigits>9</leadingDigits>
14769 <format>$1 $2 $3</format>
14770 </numberFormat>
14771 <!-- Formatting from http://www.uniontelecard.com/calling-guides/philipp ines/guide1.aspx -->
14772 <numberFormat pattern="(1800)(\d{3})(\d{4})">
14773 <leadingDigits>1</leadingDigits>
14774 <format>$1 $2 $3</format>
14775 </numberFormat>
14776 <numberFormat pattern="(1800)(\d{1,2})(\d{3})(\d{4})">
14777 <leadingDigits>1</leadingDigits>
14778 <format>$1 $2 $3 $4</format>
14779 </numberFormat>
14780 </availableFormats>
14781 <generalDesc>
14782 <nationalNumberPattern>
14783 [2-9]\d{7,9}|
14784 1800\d{7,9}
14785 </nationalNumberPattern>
14786 <possibleNumberPattern>\d{7,13}</possibleNumberPattern>
14787 </generalDesc>
14788 <fixedLine>
14789 <nationalNumberPattern>
14790 (?:
14791 2|
14792 3[2-68]|
14793 4[2-9]|
14794 5[2-6]|
14795 6[2-58]|
14796 7[24578]|
14797 8[2-8]
14798 )\d{7}
14799 </nationalNumberPattern>
14800 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
14801 <exampleNumber>21234567</exampleNumber>
14802 </fixedLine>
14803 <mobile>
14804 <nationalNumberPattern>
14805 9(?:
14806 0[5-9]|
14807 1[025-9]|
14808 2[0-36-9]|
14809 3[0235-9]|
14810 7[349]|
14811 [89]9
14812 )\d{7}
14813 </nationalNumberPattern>
14814 <possibleNumberPattern>\d{10}</possibleNumberPattern>
14815 <exampleNumber>9051234567</exampleNumber>
14816 </mobile>
14817 <!-- Information on toll-free numbers collected from searching the interne t -->
14818 <tollFree>
14819 <nationalNumberPattern>1800\d{7,9}</nationalNumberPattern>
14820 <possibleNumberPattern>\d{11,13}</possibleNumberPattern>
14821 <exampleNumber>180012345678</exampleNumber>
14822 </tollFree>
14823 <!-- No information can be found about other types of numbers (such as pre mium rate) in the
14824 Philippines. -->
14825 </territory>
14826
14827 <!-- Pakistan -->
14828 <!-- http://www.itu.int/oth/T02020000A1/en -->
14829 <!-- http://en.wikipedia.org/wiki/%2B92 -->
14830 <territory id="PK" countryCode="92" internationalPrefix="00"
14831 nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)">
14832 <availableFormats>
14833 <!-- Universal Access Numbers (UAN) number format patterns first, so tha t these numbers are
14834 formatted nicely by the AYTF. -->
14835 <numberFormat pattern="(\d{2})(111)(\d{3})(\d{3})">
14836 <leadingDigits>
14837 (?:
14838 2[125]|
14839 4[0-246-9]|
14840 5[1-35-7]|
14841 6[1-8]|
14842 7[14]|
14843 8[16]|
14844 91
14845 )1
14846 </leadingDigits>
14847 <leadingDigits>
14848 (?:
14849 2[125]|
14850 4[0-246-9]|
14851 5[1-35-7]|
14852 6[1-8]|
14853 7[14]|
14854 8[16]|
14855 91
14856 )11
14857 </leadingDigits>
14858 <leadingDigits>
14859 (?:
14860 2[125]|
14861 4[0-246-9]|
14862 5[1-35-7]|
14863 6[1-8]|
14864 7[14]|
14865 8[16]|
14866 91
14867 )111
14868 </leadingDigits>
14869 <format>$1 $2 $3 $4</format>
14870 </numberFormat>
14871 <numberFormat pattern="(\d{3})(111)(\d{3})(\d{3})">
14872 <leadingDigits>
14873 2[349]|
14874 45|
14875 54|
14876 60|
14877 72|
14878 8[2-5]|
14879 9[2-9]
14880 </leadingDigits>
14881 <leadingDigits>
14882 (?:
14883 2[349]|
14884 45|
14885 54|
14886 60|
14887 72|
14888 8[2-5]|
14889 9[2-9]
14890 )\d1
14891 </leadingDigits>
14892 <leadingDigits>
14893 (?:
14894 2[349]|
14895 45|
14896 54|
14897 60|
14898 72|
14899 8[2-5]|
14900 9[2-9]
14901 )\d11
14902 </leadingDigits>
14903 <leadingDigits>
14904 (?:
14905 2[349]|
14906 45|
14907 54|
14908 60|
14909 72|
14910 8[2-5]|
14911 9[2-9]
14912 )\d111
14913 </leadingDigits>
14914 <format>$1 $2 $3 $4</format>
14915 </numberFormat>
14916 <numberFormat pattern="(\d{2})(\d{7,8})">
14917 <leadingDigits>
14918 (?:
14919 2[125]|
14920 4[0-246-9]|
14921 5[1-35-7]|
14922 6[1-8]|
14923 7[14]|
14924 8[16]|
14925 91
14926 )[2-9]
14927 </leadingDigits>
14928 <format>$1 $2</format>
14929 </numberFormat>
14930 <numberFormat pattern="(\d{3})(\d{6,7})">
14931 <leadingDigits>
14932 2[349]|
14933 45|
14934 54|
14935 60|
14936 72|
14937 8[2-5]|
14938 9[2-9]
14939 </leadingDigits>
14940 <leadingDigits>
14941 (?:
14942 2[349]|
14943 45|
14944 54|
14945 60|
14946 72|
14947 8[2-5]|
14948 9[2-9]
14949 )\d[2-9]
14950 </leadingDigits>
14951 <format>$1 $2</format>
14952 </numberFormat>
14953 <numberFormat pattern="(3\d{2})(\d{7})" nationalPrefixFormattingRule="$N P$FG">
14954 <leadingDigits>3</leadingDigits>
14955 <format>$1 $2</format>
14956 </numberFormat>
14957 <numberFormat pattern="([15]\d{3})(\d{5,6})">
14958 <leadingDigits>
14959 58[12]|
14960 1
14961 </leadingDigits>
14962 <format>$1 $2</format>
14963 </numberFormat>
14964 <!-- This is from online examples. -->
14965 <numberFormat pattern="(586\d{2})(\d{5})">
14966 <leadingDigits>586</leadingDigits>
14967 <format>$1 $2</format>
14968 </numberFormat>
14969 <numberFormat pattern="([89]00)(\d{3})(\d{2})" nationalPrefixFormattingR ule="$NP$FG">
14970 <leadingDigits>[89]00</leadingDigits>
14971 <format>$1 $2 $3</format>
14972 </numberFormat>
14973 </availableFormats>
14974 <generalDesc>
14975 <!-- This is horribly complex because the country code is 92, and severa l area codes start
14976 with 92, and the number length is widely variable. -->
14977 <nationalNumberPattern>
14978 1\d{8}|
14979 [2-8]\d{5,11}|
14980 9(?:
14981 [013-9]\d{4,9}|
14982 2\d(?:
14983 111\d{6}|
14984 \d{3,7}
14985 )
14986 )
14987 </nationalNumberPattern>
14988 <possibleNumberPattern>\d{6,12}</possibleNumberPattern>
14989 </generalDesc>
14990 <fixedLine>
14991 <!-- The subscriber number length is not well defined for some area code s. From online
14992 examples, we have come up with a heuristic that for 3-digit area co des, the subscriber
14993 number will be 6 or 7 digits - for 2-digit area codes it will be 7, with the exceptions
14994 of Karachi and Lahore (both 8). -->
14995 <nationalNumberPattern>
14996 (?:
14997 21|
14998 42
14999 )[2-9]\d{7}|
15000 (?:
15001 2[25]|
15002 4[0146-9]|
15003 5[1-35-7]|
15004 6[1-8]|
15005 7[14]|
15006 8[16]|
15007 91
15008 )[2-9]\d{6}|
15009 (?:
15010 2(?:
15011 3[2358]|
15012 4[2-4]|
15013 9[2-8]
15014 )|
15015 45[3479]|
15016 54[2-467]|
15017 60[468]|
15018 72[236]|
15019 8(?:
15020 2[2-689]|
15021 3[23578]|
15022 4[3478]|
15023 5[2356]
15024 )|
15025 9(?:
15026 1|
15027 2[2-8]|
15028 3[27-9]|
15029 4[2-6]|
15030 6[3569]|
15031 9[25-8]
15032 )
15033 )[2-9]\d{5,6}|
15034 58[126]\d{7}
15035 </nationalNumberPattern>
15036 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
15037 <exampleNumber>2123456789</exampleNumber>
15038 </fixedLine>
15039 <mobile>
15040 <!-- Adding 347 as SMSs have been successfully sent to these numbers and numbers can be
15041 found online with these prefixes. -->
15042 <nationalNumberPattern>
15043 3(?:
15044 0\d|
15045 1[2-5]|
15046 2[1-3]|
15047 3[1-6]|
15048 4[2-7]|
15049 64
15050 )\d{7}
15051 </nationalNumberPattern>
15052 <possibleNumberPattern>\d{10}</possibleNumberPattern>
15053 <exampleNumber>3012345678</exampleNumber>
15054 </mobile>
15055 <tollFree>
15056 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
15057 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15058 <exampleNumber>80012345</exampleNumber>
15059 </tollFree>
15060 <premiumRate>
15061 <nationalNumberPattern>900\d{5}</nationalNumberPattern>
15062 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15063 <exampleNumber>90012345</exampleNumber>
15064 </premiumRate>
15065 <!-- These are referred to as UPT numbers in the plan. -->
15066 <personalNumber>
15067 <nationalNumberPattern>122\d{6}</nationalNumberPattern>
15068 <possibleNumberPattern>\d{9}</possibleNumberPattern>
15069 <!-- The example number here is the test number from the plan. -->
15070 <exampleNumber>122044444</exampleNumber>
15071 </personalNumber>
15072 <uan>
15073 <!-- Data on what a UAN is is hard to come by. http://www.ptcl.com.pk ha s information under
15074 http://www.ptcl.com.pk/contentb.php?NID=143#uan - which defines the ir format - but not
15075 what type of number they are. We exclude Azad Jammu, Kashmir and N orthern Areas here
15076 since no online example UANs can be found, and they have an "access code" at the start,
15077 making it difficult to guess what a UAN in these areas would look l ike. -->
15078 <nationalNumberPattern>
15079 (?:
15080 2(?:
15081 [125]|
15082 3[2358]|
15083 4[2-4]|
15084 9[2-8]
15085 )|
15086 4(?:
15087 [0-246-9]|
15088 5[3479]
15089 )|
15090 5(?:
15091 [1-35-7]|
15092 4[2-467]
15093 )|
15094 6(?:
15095 [1-8]|
15096 0[468]
15097 )|
15098 7(?:
15099 [14]|
15100 2[236]
15101 )|
15102 8(?:
15103 [16]|
15104 2[2-689]|
15105 3[23578]|
15106 4[3478]|
15107 5[2356]
15108 )|
15109 9(?:
15110 1|
15111 22|
15112 3[27-9]|
15113 4[2-6]|
15114 6[3569]|
15115 9[2-7]
15116 )
15117 )111\d{6}
15118 </nationalNumberPattern>
15119 <possibleNumberPattern>\d{11,12}</possibleNumberPattern>
15120 <exampleNumber>21111825888</exampleNumber>
15121 </uan>
15122 </territory>
15123
15124 <!-- Poland -->
15125 <!-- http://en.wikipedia.org/wiki/%2B48 -->
15126 <!--
15127 http://www.uke.gov.pl/uke/index.jsp?place=Lead24&news_cat_id=277&news_id=379 1&layout=9&page=text
15128 (in Polish) -->
15129 <territory id="PL" countryCode="48" internationalPrefix="00">
15130 <availableFormats>
15131 <numberFormat pattern="(\d{2})(\d{3})(\d{2})(\d{2})">
15132 <leadingDigits>
15133 [124]|
15134 3[2-4]|
15135 5[24-689]|
15136 6[1-3578]|
15137 7[14-7]|
15138 8[1-79]|
15139 9[145]
15140 </leadingDigits>
15141 <format>$1 $2 $3 $4</format>
15142 </numberFormat>
15143 <!-- We are formatting 70 numbers as per mobile numbers, based on inform ation from some
15144 Poles that this is more usual. -->
15145 <numberFormat pattern="(\d{3})(\d{3})(\d{3})">
15146 <leadingDigits>
15147 39|
15148 5[013]|
15149 6[069]|
15150 7[0289]|
15151 8[08]
15152 </leadingDigits>
15153 <format>$1 $2 $3</format>
15154 </numberFormat>
15155 </availableFormats>
15156 <generalDesc>
15157 <nationalNumberPattern>[1-9]\d{8}</nationalNumberPattern>
15158 <possibleNumberPattern>\d{9}</possibleNumberPattern>
15159 </generalDesc>
15160 <fixedLine>
15161 <nationalNumberPattern>
15162 (?:
15163 1[2-8]|
15164 2[2-59]|
15165 3[2-4]|
15166 4[1-468]|
15167 5[24-689]|
15168 6[1-3578]|
15169 7[14-7]|
15170 8[1-79]|
15171 9[145]
15172 )\d{7}
15173 </nationalNumberPattern>
15174 <exampleNumber>123456789</exampleNumber>
15175 </fixedLine>
15176 <mobile>
15177 <nationalNumberPattern>
15178 (?:
15179 5[013]|
15180 6[069]|
15181 7[289]|
15182 88
15183 )\d{7}
15184 </nationalNumberPattern>
15185 <exampleNumber>512345678</exampleNumber>
15186 </mobile>
15187 <tollFree>
15188 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
15189 <exampleNumber>800123456</exampleNumber>
15190 </tollFree>
15191 <premiumRate>
15192 <nationalNumberPattern>70\d{7}</nationalNumberPattern>
15193 <exampleNumber>701234567</exampleNumber>
15194 </premiumRate>
15195 <sharedCost>
15196 <nationalNumberPattern>801\d{6}</nationalNumberPattern>
15197 <exampleNumber>801234567</exampleNumber>
15198 </sharedCost>
15199 <voip>
15200 <nationalNumberPattern>39\d{7}</nationalNumberPattern>
15201 <exampleNumber>391234567</exampleNumber>
15202 </voip>
15203 </territory>
15204
15205 <!-- Saint Pierre and Miquelon (Collectivité territoriale de la République f rançaise) -->
15206 <territory id="PM" countryCode="508" internationalPrefix="00"
15207 nationalPrefix="0">
15208 </territory>
15209
15210 <!-- Puerto Rico -->
15211 <!-- http://www.itu.int/oth/T02020000AA/en -->
15212 <territory id="PR" countryCode="1" leadingDigits="787|939"
15213 nationalPrefix="1" internationalPrefix="011">
15214 <generalDesc>
15215 <!-- NANPA country - uses US formatting rules -->
15216 <nationalNumberPattern>[5789]\d{9}</nationalNumberPattern>
15217 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
15218 </generalDesc>
15219 <fixedLine>
15220 <nationalNumberPattern>
15221 (?:
15222 787|
15223 939
15224 )[2-9]\d{6}
15225 </nationalNumberPattern>
15226 <exampleNumber>7872345678</exampleNumber>
15227 </fixedLine>
15228 <mobile>
15229 <nationalNumberPattern>
15230 (?:
15231 787|
15232 939
15233 )[2-9]\d{6}
15234 </nationalNumberPattern>
15235 <exampleNumber>7872345678</exampleNumber>
15236 </mobile>
15237 <tollFree>
15238 <nationalNumberPattern>
15239 8(?:
15240 00|
15241 55|
15242 66|
15243 77|
15244 88
15245 )[2-9]\d{6}
15246 </nationalNumberPattern>
15247 <possibleNumberPattern>\d{10}</possibleNumberPattern>
15248 <exampleNumber>8002345678</exampleNumber>
15249 </tollFree>
15250 <premiumRate>
15251 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
15252 <possibleNumberPattern>\d{10}</possibleNumberPattern>
15253 <exampleNumber>9002345678</exampleNumber>
15254 </premiumRate>
15255 <personalNumber>
15256 <!-- http://www.nanpa.com/pdf/PL_416.pdf -->
15257 <nationalNumberPattern>
15258 5(?:
15259 00|
15260 33|
15261 44
15262 )[2-9]\d{6}
15263 </nationalNumberPattern>
15264 <possibleNumberPattern>\d{10}</possibleNumberPattern>
15265 <exampleNumber>5002345678</exampleNumber>
15266 </personalNumber>
15267 </territory>
15268
15269 <!-- Palestinian Authority -->
15270 <!-- http://en.wikipedia.org/wiki/%2B970 -->
15271 <!-- http://www.wtng.info/wtng-970-ps.html -->
15272 <!-- http://www.paltel.ps -->
15273 <!-- Palestinian phone numbers can be reached through the Israeli country co de (972) in addition
15274 to the Palestinian country code (970) and so Palestinian landlines and mobile lines are a
15275 subset of the Israeli formats. -->
15276 <territory id="PS" countryCode="970" internationalPrefix="00"
15277 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
15278 <availableFormats>
15279 <numberFormat pattern="([2489])(2\d{2})(\d{4})">
15280 <leadingDigits>[2489]</leadingDigits>
15281 <format>$1 $2 $3</format>
15282 </numberFormat>
15283 <numberFormat pattern="(5[69]\d)(\d{3})(\d{3})">
15284 <leadingDigits>5</leadingDigits>
15285 <format>$1 $2 $3</format>
15286 </numberFormat>
15287 <numberFormat nationalPrefixFormattingRule="$FG"
15288 pattern="(1[78]00)(\d{3})(\d{3})">
15289 <leadingDigits>1[78]</leadingDigits>
15290 <format>$1 $2 $3</format>
15291 </numberFormat>
15292 <!-- 4 and 5 digit premium numbers will be formatted as one block by def ault. -->
15293 </availableFormats>
15294 <generalDesc>
15295 <nationalNumberPattern>
15296 [24589]\d{7,8}|
15297 1(?:
15298 [78]\d{8}|
15299 [49]\d{2,3}
15300 )
15301 </nationalNumberPattern>
15302 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
15303 </generalDesc>
15304 <fixedLine>
15305 <nationalNumberPattern>
15306 (?:
15307 22[234789]|
15308 42[45]|
15309 82[01458]|
15310 92[369]
15311 )\d{5}
15312 </nationalNumberPattern>
15313 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
15314 <exampleNumber>22234567</exampleNumber>
15315 </fixedLine>
15316 <mobile>
15317 <nationalNumberPattern>5[69]\d{7}</nationalNumberPattern>
15318 <possibleNumberPattern>\d{9}</possibleNumberPattern>
15319 <exampleNumber>599123456</exampleNumber>
15320 </mobile>
15321 <tollFree>
15322 <nationalNumberPattern>1800\d{6}</nationalNumberPattern>
15323 <possibleNumberPattern>\d{10}</possibleNumberPattern>
15324 <exampleNumber>1800123456</exampleNumber>
15325 </tollFree>
15326 <premiumRate>
15327 <!-- According to Paltel, premium numbers are 14xx and 19xxx -->
15328 <nationalNumberPattern>
15329 1(?:
15330 4|
15331 9\d
15332 )\d{2}
15333 </nationalNumberPattern>
15334 <possibleNumberPattern>\d{4,5}</possibleNumberPattern>
15335 <exampleNumber>19123</exampleNumber>
15336 </premiumRate>
15337 <sharedCost>
15338 <nationalNumberPattern>1700\d{6}</nationalNumberPattern>
15339 <possibleNumberPattern>\d{10}</possibleNumberPattern>
15340 <exampleNumber>1700123456</exampleNumber>
15341 </sharedCost>
15342 </territory>
15343
15344 <!-- Portugal -->
15345 <!-- http://www.anacom.pt/render.jsp?categoryId=279098 -->
15346 <territory id="PT" countryCode="351" internationalPrefix="00">
15347 <availableFormats>
15348 <numberFormat pattern="([2-46-9]\d{2})(\d{3})(\d{3})">
15349 <format>$1 $2 $3</format>
15350 </numberFormat>
15351 </availableFormats>
15352 <generalDesc>
15353 <nationalNumberPattern>[2-46-9]\d{8}</nationalNumberPattern>
15354 <possibleNumberPattern>\d{9}</possibleNumberPattern>
15355 </generalDesc>
15356 <fixedLine>
15357 <nationalNumberPattern>
15358 2(?:
15359 [12]\d|
15360 [35][1-689]|
15361 4[1-59]|
15362 6[1-35689]|
15363 7[1-9]|
15364 8[1-69]|
15365 9[1256]
15366 )\d{6}
15367 </nationalNumberPattern>
15368 <exampleNumber>212345678</exampleNumber>
15369 </fixedLine>
15370 <mobile>
15371 <nationalNumberPattern>
15372 9(?:
15373 [136]\d{2}|
15374 2[124-79]\d|
15375 4(?:
15376 80|
15377 9\d
15378 )
15379 )\d{5}
15380 </nationalNumberPattern>
15381 <exampleNumber>912345678</exampleNumber>
15382 </mobile>
15383 <tollFree>
15384 <nationalNumberPattern>
15385 4\d{8}|
15386 80[02]\d{6}
15387 </nationalNumberPattern>
15388 <exampleNumber>800123456</exampleNumber>
15389 </tollFree>
15390 <premiumRate>
15391 <nationalNumberPattern>71\d{7}</nationalNumberPattern>
15392 <exampleNumber>712345678</exampleNumber>
15393 </premiumRate>
15394 <sharedCost>
15395 <nationalNumberPattern>808\d{6}</nationalNumberPattern>
15396 <exampleNumber>808123456</exampleNumber>
15397 </sharedCost>
15398 <voip>
15399 <nationalNumberPattern>30\d{7}</nationalNumberPattern>
15400 <exampleNumber>301234567</exampleNumber>
15401 </voip>
15402 </territory>
15403
15404 <!-- Palau -->
15405 <territory id="PW" countryCode="680" internationalPrefix="011">
15406 </territory>
15407
15408 <!-- Paraguay -->
15409 <territory id="PY" countryCode="595" internationalPrefix="002"
15410 nationalPrefix="0">
15411 </territory>
15412
15413 <!-- Qatar -->
15414 <!-- http://www.itu.int/oth/T02020000AB/en -->
15415 <!-- http://wtng.info/wtng-qq.html -->
15416 <territory id="QA" countryCode="974" internationalPrefix="00">
15417 <availableFormats>
15418 <numberFormat pattern="(8\d{2})(\d{4})">
15419 <leadingDigits>8</leadingDigits>
15420 <format>$1 $2</format>
15421 </numberFormat>
15422 <numberFormat pattern="([3-7]\d{3})(\d{4})">
15423 <leadingDigits>[3-7]</leadingDigits>
15424 <format>$1 $2</format>
15425 </numberFormat>
15426 </availableFormats>
15427 <generalDesc>
15428 <nationalNumberPattern>[3-8]\d{6,7}</nationalNumberPattern>
15429 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
15430 </generalDesc>
15431 <fixedLine>
15432 <nationalNumberPattern>44\d{6}</nationalNumberPattern>
15433 <exampleNumber>44123456</exampleNumber>
15434 </fixedLine>
15435 <mobile>
15436 <nationalNumberPattern>
15437 (?:
15438 33|
15439 55|
15440 66|
15441 77
15442 )\d{6}
15443 </nationalNumberPattern>
15444 <exampleNumber>33123456</exampleNumber>
15445 </mobile>
15446 <tollFree>
15447 <nationalNumberPattern>800\d{4}</nationalNumberPattern>
15448 <exampleNumber>8001234</exampleNumber>
15449 </tollFree>
15450 <!-- No premiumRate information can be found. -->
15451 </territory>
15452
15453 <!-- Réunion (French Departments and Territories in the Indian Ocean) -->
15454 <!-- Note this shares the same country code as La Mayotte and French Souther n Territories, and
15455 the formatting patterns here are used by all of them. -->
15456 <!-- http://www.itu.int/oth/T020200004B/en -->
15457 <territory id="RE" countryCode="262" internationalPrefix="00"
15458 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
15459 leadingDigits="262|6[49]|8" mainCountryForCode="true" >
15460 <availableFormats>
15461 <numberFormat pattern="([268]\d{2})(\d{2})(\d{2})(\d{2})">
15462 <format>$1 $2 $3 $4</format>
15463 </numberFormat>
15464 </availableFormats>
15465 <generalDesc>
15466 <nationalNumberPattern>[268]\d{8}</nationalNumberPattern>
15467 <possibleNumberPattern>\d{9}</possibleNumberPattern>
15468 </generalDesc>
15469 <fixedLine>
15470 <!-- 0876 numbers are mentioned in the plan, but none in use can be foun d. -->
15471 <nationalNumberPattern>262\d{6}</nationalNumberPattern>
15472 <exampleNumber>262161234</exampleNumber>
15473 </fixedLine>
15474 <mobile>
15475 <nationalNumberPattern>
15476 6(?:
15477 9[23]|
15478 47
15479 )\d{6}
15480 </nationalNumberPattern>
15481 <possibleNumberPattern>\d{9}</possibleNumberPattern>
15482 <exampleNumber>692123456</exampleNumber>
15483 </mobile>
15484 <!-- 08* Numbers in Réunion are the same as those valid in France. -->
15485 <tollFree>
15486 <nationalNumberPattern>80\d{7}</nationalNumberPattern>
15487 <exampleNumber>801234567</exampleNumber>
15488 </tollFree>
15489 <premiumRate>
15490 <nationalNumberPattern>89[1-37-9]\d{6}</nationalNumberPattern>
15491 <exampleNumber>891123456</exampleNumber>
15492 </premiumRate>
15493 <sharedCost>
15494 <nationalNumberPattern>
15495 8(?:
15496 1[019]|
15497 2[0156]|
15498 84|
15499 90
15500 )\d{6}
15501 </nationalNumberPattern>
15502 <exampleNumber>810123456</exampleNumber>
15503 </sharedCost>
15504 </territory>
15505
15506 <!-- Romania -->
15507 <!-- http://www.itu.int/dms_pub/itu-t/oth/02/02/T02020000AC0001MSWE.doc -->
15508 <!-- http://en.wikipedia.org/wiki/Romania_telephone_area_codes -->
15509 <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Romania -->
15510 <!-- Extension prefix found online, confirmed by a Romanian. -->
15511 <territory id="RO" countryCode="40" internationalPrefix="00"
15512 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
15513 preferredExtnPrefix=" int ">
15514 <availableFormats>
15515 <numberFormat pattern="([237]\d)(\d{3})(\d{4})">
15516 <leadingDigits>
15517 [23]1|
15518 7
15519 </leadingDigits>
15520 <format>$1 $2 $3</format>
15521 </numberFormat>
15522 <numberFormat pattern="(\d{3})(\d{3})(\d{3})">
15523 <leadingDigits>
15524 [23][02-9]|
15525 [89]
15526 </leadingDigits>
15527 <format>$1 $2 $3</format>
15528 </numberFormat>
15529 </availableFormats>
15530 <generalDesc>
15531 <nationalNumberPattern>[237-9]\d{8}</nationalNumberPattern>
15532 <!-- Although the ITU plan says the number plan is open, this was change d in 2008 according
15533 to wikipedia and people must dial the full number. For this reason the possible number
15534 pattern is restricted to 9 digits. -->
15535 <possibleNumberPattern>\d{9}</possibleNumberPattern>
15536 </generalDesc>
15537 <fixedLine>
15538 <nationalNumberPattern>[23][13-6]\d{7}</nationalNumberPattern>
15539 <exampleNumber>211234567</exampleNumber>
15540 </fixedLine>
15541 <mobile>
15542 <nationalNumberPattern>7[1-8]\d{7}</nationalNumberPattern>
15543 <exampleNumber>712345678</exampleNumber>
15544 </mobile>
15545 <tollFree>
15546 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
15547 <possibleNumberPattern>\d{9}</possibleNumberPattern>
15548 <exampleNumber>800123456</exampleNumber>
15549 </tollFree>
15550 <premiumRate>
15551 <nationalNumberPattern>90[036]\d{6}</nationalNumberPattern>
15552 <exampleNumber>900123456</exampleNumber>
15553 </premiumRate>
15554 <sharedCost>
15555 <nationalNumberPattern>801\d{6}</nationalNumberPattern>
15556 <exampleNumber>801123456</exampleNumber>
15557 </sharedCost>
15558 <personalNumber>
15559 <nationalNumberPattern>802\d{6}</nationalNumberPattern>
15560 <exampleNumber>802123456</exampleNumber>
15561 </personalNumber>
15562 </territory>
15563
15564 <!-- Serbia -->
15565 <!-- http://www.itu.int/oth/T02020000B9/en -->
15566 <territory id="RS" countryCode="381" internationalPrefix="00"
15567 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
15568 <availableFormats>
15569 <numberFormat pattern="([23]\d{2})(\d{4,7})">
15570 <leadingDigits>
15571 (?:
15572 2[389]|
15573 39
15574 )0
15575 </leadingDigits>
15576 <format>$1 $2</format>
15577 </numberFormat>
15578 <numberFormat pattern="([1-4]\d)(\d{4,8})">
15579 <leadingDigits>
15580 1|
15581 2(?:
15582 [0-24-7]|
15583 [389][1-9]
15584 )|
15585 3(?:
15586 [0-8]|
15587 9[1-9]
15588 )|
15589 42
15590 </leadingDigits>
15591 <format>$1 $2</format>
15592 </numberFormat>
15593 <numberFormat pattern="(6[0-689])(\d{3,10})">
15594 <leadingDigits>6</leadingDigits>
15595 <format>$1 $2</format>
15596 </numberFormat>
15597 <numberFormat pattern="([89]\d{2})(\d{3,6})">
15598 <leadingDigits>[89]</leadingDigits>
15599 <format>$1 $2</format>
15600 </numberFormat>
15601 </availableFormats>
15602 <generalDesc>
15603 <nationalNumberPattern>[1-46-9]\d{4,11}</nationalNumberPattern>
15604 <possibleNumberPattern>\d{5,12}</possibleNumberPattern>
15605 </generalDesc>
15606 <fixedLine>
15607 <nationalNumberPattern>[1-3]\d{6,9}</nationalNumberPattern>
15608 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
15609 <exampleNumber>1012345</exampleNumber>
15610 </fixedLine>
15611 <mobile>
15612 <nationalNumberPattern>6[0-689]\d{3,10}</nationalNumberPattern>
15613 <possibleNumberPattern>\d{5,12}</possibleNumberPattern>
15614 <exampleNumber>6012345</exampleNumber>
15615 </mobile>
15616 <tollFree>
15617 <nationalNumberPattern>800\d{3,6}</nationalNumberPattern>
15618 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
15619 <exampleNumber>80012345</exampleNumber>
15620 </tollFree>
15621 <premiumRate>
15622 <nationalNumberPattern>
15623 (?:
15624 9[0-2]|
15625 42
15626 )\d{4,7}
15627 </nationalNumberPattern>
15628 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
15629 <exampleNumber>90012345</exampleNumber>
15630 </premiumRate>
15631 </territory>
15632
15633 <!-- Russian Federation -->
15634 <!-- http://www.itu.int/oth/T02020000AD/en -->
15635 <!-- http://en.wikipedia.org/wiki/%2B7 -->
15636 <territory id="RU" countryCode="7" internationalPrefix="8~10"
15637 nationalPrefix="8" nationalPrefixFormattingRule="$NP ($FG)"
15638 mainCountryForCode="true" >
15639 <availableFormats>
15640 <!-- Formatting from wikipedia, confirmed on Goverment websites such as
15641 http://www.minjust.ru/ru/structure/contact/. Contains formatting in structions for
15642 Kazakhstan as well. -->
15643 <numberFormat pattern="([3489]\d{2})(\d{3})(\d{2})(\d{2})">
15644 <leadingDigits>[34689]</leadingDigits>
15645 <format>$1 $2-$3-$4</format>
15646 </numberFormat>
15647 <numberFormat pattern="(7\d{2})(\d{3})(\d{4})">
15648 <leadingDigits>7</leadingDigits>
15649 <format>$1 $2 $3</format>
15650 </numberFormat>
15651 </availableFormats>
15652 <generalDesc>
15653 <nationalNumberPattern>[3489]\d{9}</nationalNumberPattern>
15654 <possibleNumberPattern>\d{10}</possibleNumberPattern>
15655 </generalDesc>
15656 <fixedLine>
15657 <!-- The Ivanovo area code 493 was omitted on the official document, but this is still used
15658 in the yellow pages, and on their own website and is listed on wiki pedia. This applies
15659 also to 395 (Irkutsk). Also including the 840 prefix for Abkhazia. -->
15660 <nationalNumberPattern>
15661 (?:
15662 3(?:
15663 0[12]|
15664 4[1-35-79]|
15665 5[1-3]|
15666 8[1-58]|
15667 9[0145]
15668 )|
15669 4(?:
15670 01|
15671 1[1356]|
15672 2[13467]|
15673 7[1-5]|
15674 8[1-7]|
15675 9[1-689]
15676 )|
15677 8(?:
15678 1[1-8]|
15679 2[01]|
15680 3[13-6]|
15681 4[0-8]|
15682 5[15]|
15683 6[1-35-7]|
15684 7[1-37-9]
15685 )
15686 )\d{7}
15687 </nationalNumberPattern>
15688 <exampleNumber>3011234567</exampleNumber>
15689 </fixedLine>
15690 <mobile>
15691 <nationalNumberPattern>9\d{9}</nationalNumberPattern>
15692 <exampleNumber>9123456789</exampleNumber>
15693 </mobile>
15694 <tollFree>
15695 <!-- The metadata states that 804 numbers are UAN numbers, but
15696 teleum.ru/numbers/toll_free_804 states that they are now being offe red as toll-free
15697 numbers. -->
15698 <nationalNumberPattern>80[04]\d{7}</nationalNumberPattern>
15699 <exampleNumber>8001234567</exampleNumber>
15700 </tollFree>
15701 <premiumRate>
15702 <!-- Covers tele-voting numbers as well. -->
15703 <nationalNumberPattern>80[39]\d{7}</nationalNumberPattern>
15704 <exampleNumber>8091234567</exampleNumber>
15705 </premiumRate>
15706 </territory>
15707
15708 <!-- Rwanda -->
15709 <!-- http://www.rura.gov.rw/docs/RWANDA_NATIONAL_NUMBERING_PLAN.pdf -->
15710 <territory id="RW" countryCode="250" internationalPrefix="000"
15711 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
15712 <availableFormats>
15713 <numberFormat nationalPrefixFormattingRule="$FG"
15714 pattern="(25\d)(\d{3})(\d{3})">
15715 <leadingDigits>2</leadingDigits>
15716 <format>$1 $2 $3</format>
15717 </numberFormat>
15718 <numberFormat pattern="([7-9]\d{2})(\d{3})(\d{3})">
15719 <leadingDigits>[7-9]</leadingDigits>
15720 <format>$1 $2 $3</format>
15721 </numberFormat>
15722 </availableFormats>
15723 <generalDesc>
15724 <nationalNumberPattern>[27-9]\d{8}</nationalNumberPattern>
15725 <possibleNumberPattern>\d{9}</possibleNumberPattern>
15726 </generalDesc>
15727 <fixedLine>
15728 <nationalNumberPattern>25\d{7}</nationalNumberPattern>
15729 <exampleNumber>250123456</exampleNumber>
15730 </fixedLine>
15731 <mobile>
15732 <nationalNumberPattern>7[258]\d{7}</nationalNumberPattern>
15733 <exampleNumber>720123456</exampleNumber>
15734 </mobile>
15735 <tollFree>
15736 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
15737 <exampleNumber>800123456</exampleNumber>
15738 </tollFree>
15739 <premiumRate>
15740 <nationalNumberPattern>900\d{6}</nationalNumberPattern>
15741 <exampleNumber>900123456</exampleNumber>
15742 </premiumRate>
15743 </territory>
15744
15745 <!-- Saudi Arabia -->
15746 <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Saudi_Arabia -->
15747 <!-- http://www.itu.int/oth/T02020000B7/en -->
15748 <territory id="SA" countryCode="966" internationalPrefix="00"
15749 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
15750 <availableFormats>
15751 <numberFormat pattern="([1-467])(\d{3})(\d{4})">
15752 <leadingDigits>[1-467]</leadingDigits>
15753 <format>$1 $2 $3</format>
15754 </numberFormat>
15755 <numberFormat pattern="(9200)(\d{3})(\d{4})">
15756 <leadingDigits>9</leadingDigits>
15757 <format>$1 $2 $3</format>
15758 </numberFormat>
15759 <numberFormat pattern="(5\d)(\d{3})(\d{4})">
15760 <leadingDigits>5</leadingDigits>
15761 <format>$1 $2 $3</format>
15762 </numberFormat>
15763 <numberFormat pattern="(800)(\d{3})(\d{4})">
15764 <leadingDigits>80</leadingDigits>
15765 <format>$1 $2 $3</format>
15766 </numberFormat>
15767 <numberFormat pattern="(8111)(\d{3})(\d{3})">
15768 <leadingDigits>81</leadingDigits>
15769 <format>$1 $2 $3</format>
15770 </numberFormat>
15771 </availableFormats>
15772 <generalDesc>
15773 <nationalNumberPattern>[1-9]\d{7,10}</nationalNumberPattern>
15774 <possibleNumberPattern>\d{7,11}</possibleNumberPattern>
15775 </generalDesc>
15776 <fixedLine>
15777 <nationalNumberPattern>
15778 (?:
15779 1[24-7]|
15780 2[24-8]|
15781 3[35-8]|
15782 4[34-68]|
15783 6[2-5]|
15784 7[235-7]
15785 )\d{6}
15786 </nationalNumberPattern>
15787 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
15788 <exampleNumber>12345678</exampleNumber>
15789 </fixedLine>
15790 <mobile>
15791 <!-- Including "Nomadic" numbers from the Telecom Company "Go" -->
15792 <nationalNumberPattern>
15793 (?:
15794 5[013-69]\d|
15795 8111
15796 )\d{6}
15797 </nationalNumberPattern>
15798 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
15799 <exampleNumber>512345678</exampleNumber>
15800 </mobile>
15801 <tollFree>
15802 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
15803 <possibleNumberPattern>\d{10}</possibleNumberPattern>
15804 <exampleNumber>8001234567</exampleNumber>
15805 </tollFree>
15806 <premiumRate>
15807 <nationalNumberPattern>9200\d{7}</nationalNumberPattern>
15808 <possibleNumberPattern>\d{11}</possibleNumberPattern>
15809 <exampleNumber>92001234567</exampleNumber>
15810 </premiumRate>
15811 </territory>
15812
15813 <!-- Solomon Islands -->
15814 <territory id="SB" countryCode="677" internationalPrefix="00">
15815 </territory>
15816
15817 <!-- Seychelles -->
15818 <!-- http://www.itu.int/oth/T02020000BA/en -->
15819 <!-- No evidence can be found that they still use their national prefix, so this is not
15820 currently supported. -->
15821 <territory id="SC" countryCode="248" internationalPrefix="0[0-2]"
15822 preferredInternationalPrefix="00">
15823 <availableFormats>
15824 <numberFormat pattern="(\d{3})(\d{3})">
15825 <leadingDigits>
15826 [23578]|
15827 [46][0-35-9]
15828 </leadingDigits>
15829 <format>$1 $2</format>
15830 </numberFormat>
15831 <numberFormat pattern="(\d)(\d{3})(\d{3})">
15832 <leadingDigits>[46]4</leadingDigits>
15833 <format>$1 $2 $3</format>
15834 </numberFormat>
15835 </availableFormats>
15836 <generalDesc>
15837 <nationalNumberPattern>[2-8]\d{5,6}</nationalNumberPattern>
15838 <possibleNumberPattern>\d{6,7}</possibleNumberPattern>
15839 </generalDesc>
15840 <fixedLine>
15841 <!-- Includes Fixed Cellular. We are putting Fixed Services numbers here for now, as we
15842 cannot find any evidence that they are more expensive to call than other Fixed Line
15843 services. ISDN and DID services are here too, since they seem to be also fixed-line
15844 phone numbers. -->
15845 <nationalNumberPattern>
15846 (?:
15847 2(?:
15848 1[78]|
15849 2[14-69]|
15850 3[2-4]|
15851 4[1-36-8]|
15852 6[167]|
15853 [89]\d
15854 )|
15855 3(?:
15856 2[1-6]|
15857 4[4-6]|
15858 55|
15859 6[016]|
15860 7\d|
15861 8[0-589]|
15862 9[0-5]
15863 )|
15864 5(?:
15865 5\d|
15866 6[0-2]
15867 )|
15868 6(?:
15869 0[0-27-9]|
15870 1[0-478]|
15871 2[145]|
15872 3[02-4]|
15873 4[124]|
15874 6[015]|
15875 7\d|
15876 8[1-3]
15877 )|
15878 78[0138]
15879 )\d{3}
15880 </nationalNumberPattern>
15881 <possibleNumberPattern>\d{6}</possibleNumberPattern>
15882 <exampleNumber>217123</exampleNumber>
15883 </fixedLine>
15884 <mobile>
15885 <nationalNumberPattern>
15886 (?:
15887 5(?:
15888 [1247-9]\d|
15889 6[3-9]
15890 )|
15891 7(?:
15892 [14679]\d|
15893 2[1-9]|
15894 8[24-79]
15895 )
15896 )\d{3}
15897 </nationalNumberPattern>
15898 <possibleNumberPattern>\d{6}</possibleNumberPattern>
15899 <exampleNumber>510123</exampleNumber>
15900 </mobile>
15901 <tollFree>
15902 <nationalNumberPattern>8000\d{2}</nationalNumberPattern>
15903 <possibleNumberPattern>\d{6}</possibleNumberPattern>
15904 <exampleNumber>800000</exampleNumber>
15905 </tollFree>
15906 <voip>
15907 <nationalNumberPattern>
15908 (?:
15909 44[1-3]|
15910 647
15911 )\d{4}
15912 </nationalNumberPattern>
15913 <possibleNumberPattern>\d{7}</possibleNumberPattern>
15914 <exampleNumber>4410123</exampleNumber>
15915 </voip>
15916 </territory>
15917
15918 <!-- Sudan -->
15919 <!-- http://www.itu.int/oth/T02020000C4/en -->
15920 <territory id="SD" countryCode="249" internationalPrefix="00"
15921 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
15922 <availableFormats>
15923 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
15924 <format>$1 $2 $3</format>
15925 </numberFormat>
15926 </availableFormats>
15927 <generalDesc>
15928 <nationalNumberPattern>[19]\d{8}</nationalNumberPattern>
15929 <possibleNumberPattern>\d{9}</possibleNumberPattern>
15930 </generalDesc>
15931 <fixedLine>
15932 <!-- Retaining previous prefix as 18 since it seems still to be used. -- >
15933 <nationalNumberPattern>
15934 1(?:
15935 [25]\d|
15936 8[3567]
15937 )\d{6}
15938 </nationalNumberPattern>
15939 <exampleNumber>121231234</exampleNumber>
15940 </fixedLine>
15941 <mobile>
15942 <nationalNumberPattern>9[1259]\d{7}</nationalNumberPattern>
15943 <exampleNumber>911231234</exampleNumber>
15944 </mobile>
15945 </territory>
15946
15947 <!-- Sweden -->
15948 <!-- http://www.pts.se/upload/Ovrigt/Tele/Nummerfragor/Sv_nrplan_telefoni_en l_TU-T_rek_E.164.pdf -->
15949 <!-- Formatting patterns are from that document and from the Swedish yellow pages
15950 http://gulasidorna.eniro.se -->
15951 <territory id="SE" countryCode="46" internationalPrefix="00"
15952 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
15953 <availableFormats>
15954 <numberFormat pattern="(8)(\d{2,3})(\d{2,3})(\d{2})">
15955 <leadingDigits>8</leadingDigits>
15956 <format>$1-$2 $3 $4</format>
15957 </numberFormat>
15958 <intlNumberFormat pattern="(8)(\d{2,3})(\d{2,3})(\d{2})">
15959 <leadingDigits>8</leadingDigits>
15960 <format>$1 $2 $3 $4</format>
15961 </intlNumberFormat>
15962 <numberFormat pattern="([1-69]\d)(\d{2,3})(\d{2})(\d{2})">
15963 <leadingDigits>
15964 1[013689]|
15965 2[0136]|
15966 3[1356]|
15967 4[0246]|
15968 54|
15969 6[03]|
15970 90
15971 </leadingDigits>
15972 <format>$1-$2 $3 $4</format>
15973 </numberFormat>
15974 <intlNumberFormat pattern="([1-69]\d)(\d{2,3})(\d{2})(\d{2})">
15975 <leadingDigits>
15976 1[013689]|
15977 2[0136]|
15978 3[1356]|
15979 4[0246]|
15980 54|
15981 6[03]|
15982 90
15983 </leadingDigits>
15984 <format>$1 $2 $3 $4</format>
15985 </intlNumberFormat>
15986 <numberFormat pattern="([1-69]\d)(\d{3})(\d{2})">
15987 <leadingDigits>
15988 1[13689]|
15989 2[136]|
15990 3[1356]|
15991 4[0246]|
15992 54|
15993 6[03]|
15994 90
15995 </leadingDigits>
15996 <format>$1-$2 $3</format>
15997 </numberFormat>
15998 <intlNumberFormat pattern="([1-69]\d)(\d{3})(\d{2})">
15999 <leadingDigits>
16000 1[13689]|
16001 2[136]|
16002 3[1356]|
16003 4[0246]|
16004 54|
16005 6[03]|
16006 90
16007 </leadingDigits>
16008 <format>$1 $2 $3</format>
16009 </intlNumberFormat>
16010 <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})">
16011 <leadingDigits>
16012 1[2457]|
16013 2[2457-9]|
16014 3[0247-9]|
16015 4[1357-9]|
16016 5[0-35-9]|
16017 6[124-9]|
16018 9(?:
16019 [125-8]|
16020 3[0-5]|
16021 4[0-3]
16022 )
16023 </leadingDigits>
16024 <format>$1-$2 $3 $4</format>
16025 </numberFormat>
16026 <intlNumberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})">
16027 <leadingDigits>
16028 1[2457]|
16029 2[2457-9]|
16030 3[0247-9]|
16031 4[1357-9]|
16032 5[0-35-9]|
16033 6[124-9]|
16034 9(?:
16035 [125-8]|
16036 3[0-5]|
16037 4[0-3]
16038 )
16039 </leadingDigits>
16040 <format>$1 $2 $3 $4</format>
16041 </intlNumberFormat>
16042 <numberFormat pattern="(\d{3})(\d{2,3})(\d{2})">
16043 <leadingDigits>
16044 1[2457]|
16045 2[2457-9]|
16046 3[0247-9]|
16047 4[1357-9]|
16048 5[0-35-9]|
16049 6[124-9]|
16050 9(?:
16051 [125-8]|
16052 3[0-5]|
16053 4[0-3]
16054 )
16055 </leadingDigits>
16056 <format>$1-$2 $3</format>
16057 </numberFormat>
16058 <intlNumberFormat pattern="(\d{3})(\d{2,3})(\d{2})">
16059 <leadingDigits>
16060 1[2457]|
16061 2[2457-9]|
16062 3[0247-9]|
16063 4[1357-9]|
16064 5[0-35-9]|
16065 6[124-9]|
16066 9(?:
16067 [125-8]|
16068 3[0-5]|
16069 4[0-3]
16070 )
16071 </leadingDigits>
16072 <format>$1 $2 $3</format>
16073 </intlNumberFormat>
16074 <numberFormat pattern="(7[02-467])(\d{3})(\d{2})(\d{2})">
16075 <leadingDigits>7[02-467]</leadingDigits>
16076 <format>$1-$2 $3 $4</format>
16077 </numberFormat>
16078 <intlNumberFormat pattern="(7[02-467])(\d{3})(\d{2})(\d{2})">
16079 <leadingDigits>7[02-467]</leadingDigits>
16080 <format>$1 $2 $3 $4</format>
16081 </intlNumberFormat>
16082 <numberFormat pattern="(20)(\d{2,3})(\d{2})">
16083 <leadingDigits>20</leadingDigits>
16084 <format>$1-$2 $3</format>
16085 </numberFormat>
16086 <intlNumberFormat pattern="(20)(\d{2,3})(\d{2})">
16087 <leadingDigits>20</leadingDigits>
16088 <format>$1 $2 $3</format>
16089 </intlNumberFormat>
16090 <numberFormat pattern="(9[034]\d)(\d{2})(\d{2})(\d{3})">
16091 <leadingDigits>9[034]</leadingDigits>
16092 <format>$1-$2 $3 $4</format>
16093 </numberFormat>
16094 <intlNumberFormat pattern="(9[034]\d)(\d{2})(\d{2})(\d{3})">
16095 <leadingDigits>9[034]</leadingDigits>
16096 <format>$1 $2 $3 $4</format>
16097 </intlNumberFormat>
16098 </availableFormats>
16099 <generalDesc>
16100 <nationalNumberPattern>\d{7,10}</nationalNumberPattern>
16101 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
16102 </generalDesc>
16103 <fixedLine>
16104 <nationalNumberPattern>
16105 1(?:
16106 0[1-8]\d{6}|
16107 [136]\d{5,7}|
16108 (?:
16109 2[0-35]|
16110 4[0-4]|
16111 5[0-25-9]|
16112 7[13-6]|
16113 [89]\d
16114 )\d{5,6}
16115 )|
16116 2(?:
16117 [136]\d{5,7}|
16118 (?:
16119 2[0-7]|
16120 4[0136-8]|
16121 5[0-38]|
16122 7[018]|
16123 8[01]|
16124 9[0-57]
16125 )\d{5,6}
16126 )|
16127 3(?:
16128 [356]\d{5,7}|
16129 (?:
16130 0[0-4]|
16131 1\d|
16132 2[0-25]|
16133 4[056]|
16134 7[0-2]|
16135 8[0-3]|
16136 9[023]
16137 )\d{5,6}
16138 )|
16139 4(?:
16140 [0246]\d{5,7}|
16141 (?:
16142 1[01-8]|
16143 3[0135]|
16144 5[14-79]|
16145 7[0-246-9]|
16146 8[0156]|
16147 9[0-689]
16148 )\d{5,6}
16149 )|
16150 5(?:
16151 0[0-6]|
16152 1[1-5]|
16153 2[0-68]|
16154 3[0-4]|
16155 4\d|
16156 5[0-5]|
16157 6[03-5]|
16158 7[013]|
16159 8[0-79]|
16160 9[01]
16161 )\d{5,6}|
16162 6(?:
16163 [03]\d{5,7}|
16164 (?:
16165 1[1-3]|
16166 2[0-4]|
16167 4[02-57]|
16168 5[0-37]|
16169 6[0-3]|
16170 7[0-2]|
16171 8[0247]|
16172 9[0-356]
16173 )\d{5,6}
16174 )|
16175 8\d{6,8}|
16176 9(?:
16177 0\d{5,7}|
16178 (?:
16179 1[0-68]|
16180 2\d|
16181 3[02-59]|
16182 4[0-4]|
16183 5[0-4]|
16184 6[01]|
16185 7[0135-8]|
16186 8[01]
16187 )\d{5,6}
16188 )
16189 </nationalNumberPattern>
16190 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
16191 <exampleNumber>8123456</exampleNumber>
16192 </fixedLine>
16193 <mobile>
16194 <nationalNumberPattern>7[02-46]\d{7}</nationalNumberPattern>
16195 <possibleNumberPattern>\d{9}</possibleNumberPattern>
16196 <exampleNumber>701234567</exampleNumber>
16197 </mobile>
16198 <tollFree>
16199 <nationalNumberPattern>20\d{4,7}</nationalNumberPattern>
16200 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
16201 <exampleNumber>201234567</exampleNumber>
16202 </tollFree>
16203 <premiumRate>
16204 <nationalNumberPattern>
16205 9(?:
16206 00|
16207 39|
16208 44
16209 )\d{7}
16210 </nationalNumberPattern>
16211 <possibleNumberPattern>\d{10}</possibleNumberPattern>
16212 <exampleNumber>9001234567</exampleNumber>
16213 </premiumRate>
16214 <sharedCost>
16215 <nationalNumberPattern>77\d{7}</nationalNumberPattern>
16216 <possibleNumberPattern>\d{9}</possibleNumberPattern>
16217 <exampleNumber>771234567</exampleNumber>
16218 </sharedCost>
16219 </territory>
16220
16221 <!-- Singapore -->
16222 <!-- http://www.ida.gov.sg/policies%20and%20regulation/20060508120124.aspx - ->
16223 <territory id="SG" countryCode="65" internationalPrefix="0[0-3][0-9]">
16224 <availableFormats>
16225 <numberFormat pattern="([3689]\d{3})(\d{4})">
16226 <leadingDigits>
16227 [369]|
16228 8[1-9]
16229 </leadingDigits>
16230 <format>$1 $2</format>
16231 </numberFormat>
16232 <numberFormat pattern="(1[89]00)(\d{3})(\d{4})">
16233 <leadingDigits>1[89]</leadingDigits>
16234 <format>$1 $2 $3</format>
16235 </numberFormat>
16236 <numberFormat pattern="(7000)(\d{4})(\d{3})">
16237 <leadingDigits>70</leadingDigits>
16238 <format>$1 $2 $3</format>
16239 </numberFormat>
16240 <numberFormat pattern="(800)(\d{3})(\d{4})">
16241 <leadingDigits>80</leadingDigits>
16242 <format>$1 $2 $3</format>
16243 </numberFormat>
16244 </availableFormats>
16245 <generalDesc>
16246 <!-- We have a stricter national number pattern for numbers beginning wi th 6 to enable us to
16247 easily strip off leading "65" country codes. -->
16248 <nationalNumberPattern>
16249 [36]\d{7}|
16250 [17-9]\d{7,10}
16251 </nationalNumberPattern>
16252 <possibleNumberPattern>\d{8,11}</possibleNumberPattern>
16253 </generalDesc>
16254 <fixedLine>
16255 <nationalNumberPattern>6[1-8]\d{6}</nationalNumberPattern>
16256 <possibleNumberPattern>\d{8}</possibleNumberPattern>
16257 <exampleNumber>61234567</exampleNumber>
16258 </fixedLine>
16259 <mobile>
16260 <nationalNumberPattern>
16261 (?:
16262 8[1-5]|
16263 9[0-8]
16264 )\d{6}
16265 </nationalNumberPattern>
16266 <possibleNumberPattern>\d{8}</possibleNumberPattern>
16267 <exampleNumber>81234567</exampleNumber>
16268 </mobile>
16269 <tollFree>
16270 <nationalNumberPattern>1?800\d{7}</nationalNumberPattern>
16271 <possibleNumberPattern>\d{10,11}</possibleNumberPattern>
16272 <exampleNumber>18001234567</exampleNumber>
16273 </tollFree>
16274 <premiumRate>
16275 <nationalNumberPattern>1900\d{7}</nationalNumberPattern>
16276 <possibleNumberPattern>\d{11}</possibleNumberPattern>
16277 <exampleNumber>19001234567</exampleNumber>
16278 </premiumRate>
16279 <voip>
16280 <nationalNumberPattern>3[0-2]\d{6}</nationalNumberPattern>
16281 <possibleNumberPattern>\d{8}</possibleNumberPattern>
16282 <exampleNumber>31234567</exampleNumber>
16283 </voip>
16284 <uan>
16285 <!-- Although not detailed in the plan beyond mentioning their existence , it seems 7000
16286 numbers are used for companies. Most of the online examples are in fact alpha-numbers.
16287 -->
16288 <nationalNumberPattern>7000\d{7}</nationalNumberPattern>
16289 <possibleNumberPattern>\d{11}</possibleNumberPattern>
16290 <exampleNumber>70001234567</exampleNumber>
16291 </uan>
16292 <shortCode>
16293 <nationalNumberPattern>
16294 1(?:
16295 [0136]\d{2}|
16296 41\d|
16297 [89](?:
16298 [1-9]\d|
16299 0[1-9]
16300 )|
16301 [57]\d{2,3})|
16302 99\d
16303 </nationalNumberPattern>
16304 <possibleNumberPattern>\d{3,5}</possibleNumberPattern>
16305 <exampleNumber>1312</exampleNumber>
16306 </shortCode>
16307 </territory>
16308
16309 <!-- Saint Helena and Tristan da Cunha -->
16310 <!-- http://www.itu.int/oth/T02020000AF/en -->
16311 <territory id="SH" countryCode="290" internationalPrefix="00">
16312 <!-- Numbers are formatted as a block. -->
16313 <generalDesc>
16314 <nationalNumberPattern>[2-9]\d{3}</nationalNumberPattern>
16315 <possibleNumberPattern>\d{4}</possibleNumberPattern>
16316 </generalDesc>
16317 <fixedLine>
16318 <nationalNumberPattern>
16319 (?:
16320 [2-468]\d|
16321 7[01]
16322 )\d{2}
16323 </nationalNumberPattern>
16324 <!-- Using St Helena Tourism as the example number. -->
16325 <exampleNumber>2158</exampleNumber>
16326 </fixedLine>
16327 <mobile>
16328 <nationalNumberPattern>NA</nationalNumberPattern>
16329 <possibleNumberPattern>NA</possibleNumberPattern>
16330 </mobile>
16331 <premiumRate>
16332 <nationalNumberPattern>
16333 (?:
16334 [59]\d|
16335 7[2-9]
16336 )\d{2}
16337 </nationalNumberPattern>
16338 <exampleNumber>5012</exampleNumber>
16339 </premiumRate>
16340 <shortCode>
16341 <nationalNumberPattern>1\d{2,3}</nationalNumberPattern>
16342 <possibleNumberPattern>\d{3,4}</possibleNumberPattern>
16343 </shortCode>
16344 </territory>
16345
16346 <!-- Slovenia -->
16347 <!-- http://www.itu.int/oth/T02020000BE/en -->
16348 <territory id="SI" countryCode="386" internationalPrefix="00"
16349 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
16350 <availableFormats>
16351 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
16352 pattern="(\d)(\d{3})(\d{2})(\d{2})">
16353 <leadingDigits>
16354 [12]|
16355 3[4-8]|
16356 4[24-8]|
16357 5[3-8]|
16358 7[3-8]
16359 </leadingDigits>
16360 <format>$1 $2 $3 $4</format>
16361 </numberFormat>
16362 <numberFormat pattern="([3-7]\d)(\d{3})(\d{3})">
16363 <leadingDigits>
16364 [37][01]|
16365 4[019]|
16366 51|
16367 64
16368 </leadingDigits>
16369 <format>$1 $2 $3</format>
16370 </numberFormat>
16371 <numberFormat pattern="([89][09])(\d{3,6})">
16372 <leadingDigits>[89][09]</leadingDigits>
16373 <format>$1 $2</format>
16374 </numberFormat>
16375 <numberFormat pattern="([58]\d{2})(\d{5})">
16376 <leadingDigits>
16377 59|
16378 8[1-3]
16379 </leadingDigits>
16380 <format>$1 $2</format>
16381 </numberFormat>
16382 </availableFormats>
16383 <generalDesc>
16384 <nationalNumberPattern>
16385 [1-7]\d{6,7}|
16386 [89]\d{4,7}
16387 </nationalNumberPattern>
16388 <possibleNumberPattern>\d{5,8}</possibleNumberPattern>
16389 </generalDesc>
16390 <fixedLine>
16391 <nationalNumberPattern>
16392 (?:
16393 1\d|
16394 2[2-8]|
16395 3[4-8]|
16396 4[24-8]|
16397 [57][3-8]
16398 )\d{6}
16399 </nationalNumberPattern>
16400 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
16401 <exampleNumber>11234567</exampleNumber>
16402 </fixedLine>
16403 <mobile>
16404 <!-- We include 049 here - it is VoIP in the plan, but SMS messages have been successfully
16405 delivered - and it is run by Mobitel. There are also mobile numbers found on the
16406 internet with this prefix - it is apparently used in Kosovo. -->
16407 <nationalNumberPattern>
16408 (?:
16409 [37][01]|
16410 4[019]|
16411 51|
16412 64
16413 )\d{6}
16414 </nationalNumberPattern>
16415 <possibleNumberPattern>\d{8}</possibleNumberPattern>
16416 <exampleNumber>31234567</exampleNumber>
16417 </mobile>
16418 <tollFree>
16419 <nationalNumberPattern>80\d{4,6}</nationalNumberPattern>
16420 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
16421 <exampleNumber>80123456</exampleNumber>
16422 </tollFree>
16423 <premiumRate>
16424 <!-- Includes televoting, mass calling -->
16425 <nationalNumberPattern>
16426 90\d{4,6}|
16427 89[1-3]\d{2,5}
16428 </nationalNumberPattern>
16429 <possibleNumberPattern>\d{5,8}</possibleNumberPattern>
16430 <exampleNumber>90123456</exampleNumber>
16431 </premiumRate>
16432 <voip>
16433 <nationalNumberPattern>
16434 (?:
16435 59|
16436 8[1-3]
16437 )\d{6}
16438 </nationalNumberPattern>
16439 <possibleNumberPattern>\d{8}</possibleNumberPattern>
16440 <exampleNumber>59012345</exampleNumber>
16441 </voip>
16442 </territory>
16443
16444 <!-- Svalbard -->
16445 <!-- Metadata shared with Norway. -->
16446 <!-- http://www.npt.no/pt_internet/numsys/E.164.pdf -->
16447 <territory id="SJ" countryCode="47" internationalPrefix="00" leadingZeroPoss ible="true">
16448 <generalDesc>
16449 <nationalNumberPattern>
16450 0\d{4}|
16451 [4789]\d{7}
16452 </nationalNumberPattern>
16453 <possibleNumberPattern>\d{5}(?:\d{3})?</possibleNumberPattern>
16454 </generalDesc>
16455 <fixedLine>
16456 <nationalNumberPattern>79\d{6}</nationalNumberPattern>
16457 <possibleNumberPattern>\d{8}</possibleNumberPattern>
16458 <exampleNumber>79123456</exampleNumber>
16459 </fixedLine>
16460 <!-- Copied from Norway metadata. -->
16461 <mobile>
16462 <nationalNumberPattern>
16463 (?:
16464 4[015-8]|
16465 9\d
16466 )\d{6}
16467 </nationalNumberPattern>
16468 <possibleNumberPattern>\d{8}</possibleNumberPattern>
16469 <exampleNumber>41234567</exampleNumber>
16470 </mobile>
16471 <tollFree>
16472 <nationalNumberPattern>80[01]\d{5}</nationalNumberPattern>
16473 <possibleNumberPattern>\d{8}</possibleNumberPattern>
16474 <exampleNumber>80012345</exampleNumber>
16475 </tollFree>
16476 <premiumRate>
16477 <nationalNumberPattern>82[09]\d{5}</nationalNumberPattern>
16478 <possibleNumberPattern>\d{8}</possibleNumberPattern>
16479 <exampleNumber>82012345</exampleNumber>
16480 </premiumRate>
16481 <sharedCost>
16482 <nationalNumberPattern>
16483 810(?:
16484 0[0-6]|
16485 [2-8]\d
16486 )\d{3}
16487 </nationalNumberPattern>
16488 <possibleNumberPattern>\d{8}</possibleNumberPattern>
16489 <exampleNumber>81021234</exampleNumber>
16490 </sharedCost>
16491 <personalNumber>
16492 <nationalNumberPattern>880\d{5}</nationalNumberPattern>
16493 <possibleNumberPattern>\d{8}</possibleNumberPattern>
16494 <exampleNumber>88012345</exampleNumber>
16495 </personalNumber>
16496 <uan>
16497 <nationalNumberPattern>
16498 0\d{4}|
16499 81(?:
16500 0(?:
16501 0[7-9]|
16502 1\d
16503 )|
16504 5\d{2}
16505 )\d{3}
16506 </nationalNumberPattern>
16507 <exampleNumber>01234</exampleNumber>
16508 </uan>
16509 </territory>
16510
16511 <!-- Slovakia -->
16512 <!-- http://www.itu.int/oth/T02020000BD/en -->
16513 <territory id="SK" countryCode="421" internationalPrefix="00"
16514 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
16515 <availableFormats>
16516 <numberFormat pattern="(2)(\d{3})(\d{3})(\d{2})">
16517 <leadingDigits>2</leadingDigits>
16518 <format>$1/$2 $3 $4</format>
16519 </numberFormat>
16520 <numberFormat pattern="([3-5]\d)(\d{3})(\d{2})(\d{2})">
16521 <leadingDigits>[3-5]</leadingDigits>
16522 <format>$1/$2 $3 $4</format>
16523 </numberFormat>
16524 <numberFormat pattern="([689]\d{2})(\d{3})(\d{3})">
16525 <leadingDigits>[689]</leadingDigits>
16526 <format>$1 $2 $3</format>
16527 </numberFormat>
16528 </availableFormats>
16529 <generalDesc>
16530 <nationalNumberPattern>[2-689]\d{8}</nationalNumberPattern>
16531 <possibleNumberPattern>\d{9}</possibleNumberPattern>
16532 </generalDesc>
16533 <fixedLine>
16534 <nationalNumberPattern>[2-5]\d{8}</nationalNumberPattern>
16535 <exampleNumber>212345678</exampleNumber>
16536 </fixedLine>
16537 <mobile>
16538 <!-- 948 isn't in the number pattern, but many examples using this have been found, so
16539 deeming it valid for now. -->
16540 <nationalNumberPattern>
16541 9(?:
16542 0[1-8]|
16543 1[0-24-9]|
16544 4[0489]
16545 )\d{6}
16546 </nationalNumberPattern>
16547 <exampleNumber>912123456</exampleNumber>
16548 </mobile>
16549 <tollFree>
16550 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
16551 <exampleNumber>800123456</exampleNumber>
16552 </tollFree>
16553 <premiumRate>
16554 <nationalNumberPattern>
16555 9(?:
16556 [78]\d{7}|
16557 00\d{6}
16558 )
16559 </nationalNumberPattern>
16560 <exampleNumber>900123456</exampleNumber>
16561 </premiumRate>
16562 <sharedCost>
16563 <nationalNumberPattern>8[5-9]\d{7}</nationalNumberPattern>
16564 <exampleNumber>850123456</exampleNumber>
16565 </sharedCost>
16566 <voip>
16567 <nationalNumberPattern>
16568 6(?:
16569 5[0-4]|
16570 9[0-6]
16571 )\d{6}
16572 </nationalNumberPattern>
16573 <exampleNumber>690123456</exampleNumber>
16574 </voip>
16575 </territory>
16576
16577 <!-- Sierra Leone -->
16578 <!-- http://www.itu.int/oth/T02020000BB/en -->
16579 <territory id="SL" countryCode="232" internationalPrefix="00"
16580 nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)">
16581 <availableFormats>
16582 <!-- Following formatting of online yellow pages www.leonedirect.com -->
16583 <numberFormat pattern="(\d{2})(\d{6})">
16584 <format>$1 $2</format>
16585 </numberFormat>
16586 </availableFormats>
16587 <generalDesc>
16588 <nationalNumberPattern>[2-578]\d{7}</nationalNumberPattern>
16589 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
16590 </generalDesc>
16591 <fixedLine>
16592 <nationalNumberPattern>[235]2[2-4][2-9]\d{4}</nationalNumberPattern>
16593 <exampleNumber>22221234</exampleNumber>
16594 </fixedLine>
16595 <mobile>
16596 <!-- Adding prefix 50 because it was found in online numbers and this is supported by
16597 http://www.wtng.info/wtng-232-sl.html - although the data may be ou tdated, since no
16598 further information about Datatel can be found. -->
16599 <nationalNumberPattern>
16600 (?:
16601 25|
16602 3[03]|
16603 44|
16604 5[056]|
16605 7[6-8]|
16606 88
16607 )[1-9]\d{5}
16608 </nationalNumberPattern>
16609 <exampleNumber>25123456</exampleNumber>
16610 </mobile>
16611 </territory>
16612
16613 <!-- San Marino -->
16614 <!-- http://www.itu.int/oth/T02020000B5/en -->
16615 <!-- http://en.wikipedia.org/wiki/%2B39 (Information about Italy) -->
16616 <!-- http://en.wikipedia.org/wiki/%2B378-->
16617 <!-- San Marino fixed-line numbers have an area code of "0549". However, thi s seems to be
16618 optional when dialling from outside the country; the phone number can b e reached both with
16619 and without this area code. The nationalPrefixForParsing and nationalPr efixTransformRule
16620 are used to ensure that if the 0549 is not present, it will be added. - ->
16621 <territory id="SM" countryCode="378" internationalPrefix="00"
16622 nationalPrefixForParsing="(?:0549)?([89]\d{5})" nationalPrefixTransformRul e="0549$1"
16623 leadingZeroPossible="true">
16624 <availableFormats>
16625 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
16626 <leadingDigits>[5-7]</leadingDigits>
16627 <format>$1 $2 $3 $4</format>
16628 </numberFormat>
16629 <intlNumberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
16630 <leadingDigits>[5-7]</leadingDigits>
16631 <format>$1 $2 $3 $4</format>
16632 </intlNumberFormat>
16633 <!-- We follow the guidelines of the yellow-pages when formatting in nat ional format. -->
16634 <numberFormat pattern="(0549)(\d{6})">
16635 <leadingDigits>0</leadingDigits>
16636 <format>$1 $2</format>
16637 </numberFormat>
16638 <!-- We follow the guidelines of the Telecommunications Document publish ed on ITU when
16639 formatting in international format. -->
16640 <intlNumberFormat pattern="(0549)(\d{6})">
16641 <leadingDigits>0</leadingDigits>
16642 <format>($1) $2</format>
16643 </intlNumberFormat>
16644 <!-- A rule in case the number has been stored without the leading 0549 necessary for
16645 fixed-lines. -->
16646 <numberFormat pattern="(\d{6})">
16647 <leadingDigits>[89]</leadingDigits>
16648 <format>0549 $1</format>
16649 </numberFormat>
16650 <intlNumberFormat pattern="(\d{6})">
16651 <leadingDigits>[89]</leadingDigits>
16652 <format>(0549) $1</format>
16653 </intlNumberFormat>
16654 </availableFormats>
16655 <generalDesc>
16656 <nationalNumberPattern>[05-7]\d{7,9}</nationalNumberPattern>
16657 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
16658 </generalDesc>
16659 <!-- Example numbers provided by the Telecommunications Services. -->
16660 <fixedLine>
16661 <nationalNumberPattern>
16662 0549(?:
16663 8[0157-9]|
16664 9\d
16665 )\d{4}
16666 </nationalNumberPattern>
16667 <exampleNumber>0549886377</exampleNumber>
16668 </fixedLine>
16669 <mobile>
16670 <nationalNumberPattern>6[16]\d{6}</nationalNumberPattern>
16671 <possibleNumberPattern>\d{8}</possibleNumberPattern>
16672 <exampleNumber>66661212</exampleNumber>
16673 </mobile>
16674 <premiumRate>
16675 <!-- Includes Video Call numbers. -->
16676 <nationalNumberPattern>7[178]\d{6}</nationalNumberPattern>
16677 <possibleNumberPattern>\d{8}</possibleNumberPattern>
16678 <exampleNumber>71123456</exampleNumber>
16679 </premiumRate>
16680 <voip>
16681 <nationalNumberPattern>5[158]\d{6}</nationalNumberPattern>
16682 <possibleNumberPattern>\d{8}</possibleNumberPattern>
16683 <exampleNumber>58001110</exampleNumber>
16684 </voip>
16685 </territory>
16686
16687 <!-- Senegal -->
16688 <!-- http://www.itu.int/oth/T02020000B8/en -->
16689 <territory id="SN" countryCode="221" internationalPrefix="00">
16690 <availableFormats>
16691 <!-- Using yellow pages and online telecom company formatting, rather th an that implied in
16692 the national numbering plan. -->
16693 <numberFormat pattern="(\d{2})(\d{3})(\d{2})(\d{2})">
16694 <format>$1 $2 $3 $4</format>
16695 </numberFormat>
16696 </availableFormats>
16697 <generalDesc>
16698 <nationalNumberPattern>[37]\d{8}</nationalNumberPattern>
16699 <possibleNumberPattern>\d{9}</possibleNumberPattern>
16700 </generalDesc>
16701 <fixedLine>
16702 <nationalNumberPattern>
16703 3(?:
16704 010|
16705 3(?:
16706 8[1-9]|
16707 9[2-9]
16708 )
16709 )\d{5}
16710 </nationalNumberPattern>
16711 <exampleNumber>301012345</exampleNumber>
16712 </fixedLine>
16713 <mobile>
16714 <!-- Adding 77 7[45]X and 77 9[0-6]X from online searches and from numbe rs successfully
16715 delivered by the wireless team. -->
16716 <nationalNumberPattern>
16717 7(?:
16718 0[1256]0|
16719 6(?:
16720 1[23]|
16721 2[89]|
16722 3[3489]|
16723 4[6-9]|
16724 5[1-389]|
16725 6[6-9]|
16726 7[45]|
16727 8[3-8]
16728 )|
16729 7(?:
16730 1[014-8]|
16731 2[0-7]|
16732 3[0-35-8]|
16733 4[0-6]|
16734 [56]\d|
16735 7[0-589]|
16736 8[01]|
16737 9[0-6]
16738 )
16739 )\d{5}
16740 </nationalNumberPattern>
16741 <exampleNumber>701012345</exampleNumber>
16742 </mobile>
16743 <voip>
16744 <nationalNumberPattern>33301\d{4}</nationalNumberPattern>
16745 <exampleNumber>333011234</exampleNumber>
16746 </voip>
16747 </territory>
16748
16749 <!-- Somalia -->
16750 <!-- http://www.itu.int/oth/T02020000C0/en -->
16751 <!-- This document seems to cover only a small set of prefixes in Somalia.
16752 Somalia has limited information available, and the numerous telecom carriers
16753 were previously working under an unregulated environment. The extra prefixes
16754 were added from the contact phone numbers of the countries main telecom
16755 operators. See regression tests for more details. -->
16756 <territory id="SO" countryCode="252" internationalPrefix="00">
16757 <availableFormats>
16758 <!-- These follow formats online, such as www.hortel.net/contact_us.html -->
16759 <numberFormat pattern="([13-5])(\d{6})">
16760 <leadingDigits>[13-5]</leadingDigits>
16761 <format>$1 $2</format>
16762 </numberFormat>
16763 <!-- Unfortunately numbers beginning with 1 are hard to format based on prefixes, since it
16764 depends on number length. -->
16765 <numberFormat pattern="([19]\d)(\d{6})">
16766 <leadingDigits>15|9</leadingDigits>
16767 <format>$1 $2</format>
16768 </numberFormat>
16769 </availableFormats>
16770 <generalDesc>
16771 <nationalNumberPattern>[13-59]\d{6,7}</nationalNumberPattern>
16772 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
16773 </generalDesc>
16774 <fixedLine>
16775 <nationalNumberPattern>
16776 (?:
16777 5[57-9]|
16778 [134]\d
16779 )\d{5}
16780 </nationalNumberPattern>
16781 <possibleNumberPattern>\d{7}</possibleNumberPattern>
16782 <!-- Example numbers are test numbers from the document. -->
16783 <exampleNumber>5522010</exampleNumber>
16784 </fixedLine>
16785 <mobile>
16786 <nationalNumberPattern>
16787 (?:
16788 9[01]|
16789 15
16790 )\d{6}
16791 </nationalNumberPattern>
16792 <possibleNumberPattern>\d{8}</possibleNumberPattern>
16793 <exampleNumber>90792024</exampleNumber>
16794 </mobile>
16795 </territory>
16796
16797 <!-- Suriname -->
16798 <territory id="SR" countryCode="597" internationalPrefix="00">
16799 </territory>
16800
16801 <!-- Sao Tome and Principe -->
16802 <!-- http://www.itu.int/oth/T02020000B6/en -->
16803 <territory id="ST" countryCode="239" internationalPrefix="00">
16804 <availableFormats>
16805 <numberFormat pattern="(\d{3})(\d{4})">
16806 <format>$1 $2</format>
16807 </numberFormat>
16808 </availableFormats>
16809 <generalDesc>
16810 <nationalNumberPattern>[29]\d{6}</nationalNumberPattern>
16811 <possibleNumberPattern>\d{7}</possibleNumberPattern>
16812 </generalDesc>
16813 <fixedLine>
16814 <nationalNumberPattern>22\d{5}</nationalNumberPattern>
16815 <exampleNumber>2221234</exampleNumber>
16816 </fixedLine>
16817 <mobile>
16818 <nationalNumberPattern>9[89]\d{5}</nationalNumberPattern>
16819 <exampleNumber>9812345</exampleNumber>
16820 </mobile>
16821 </territory>
16822
16823 <!-- El Salvador -->
16824 <!-- http://www.itu.int/oth/T020200003F/en
16825 http://www.siget.gob.sv/BusquedaPublica.aspx?pagina=3&tipo=27&titulo=t8 &sector=2&ordenar=&dir=DESC
16826 -->
16827 <territory id="SV" countryCode="503" internationalPrefix="00">
16828 <availableFormats>
16829 <numberFormat pattern="(\d{4})(\d{4})">
16830 <leadingDigits>[27]</leadingDigits>
16831 <format>$1 $2</format>
16832 </numberFormat>
16833 <numberFormat pattern="(\d{3})(\d{4})">
16834 <leadingDigits>[89]</leadingDigits>
16835 <format>$1 $2</format>
16836 </numberFormat>
16837 <numberFormat pattern="(\d{3})(\d{4})(\d{4})">
16838 <leadingDigits>[89]</leadingDigits>
16839 <format>$1 $2 $3</format>
16840 </numberFormat>
16841 </availableFormats>
16842 <generalDesc>
16843 <nationalNumberPattern>
16844 [27]\d{7}|
16845 [89]\d{6}(?:\d{4})?
16846 </nationalNumberPattern>
16847 <possibleNumberPattern>
16848 \d{7,8}|
16849 \d{11}
16850 </possibleNumberPattern>
16851 </generalDesc>
16852 <fixedLine>
16853 <!-- Numbers starting with 20, 27, 28 and 29 are reserved but not yet us ed. -->
16854 <nationalNumberPattern>2[1-6]\d{6}</nationalNumberPattern>
16855 <possibleNumberPattern>\d{8}</possibleNumberPattern>
16856 <exampleNumber>21234567</exampleNumber>
16857 </fixedLine>
16858 <mobile>
16859 <nationalNumberPattern>7\d{7}</nationalNumberPattern>
16860 <possibleNumberPattern>\d{8}</possibleNumberPattern>
16861 <exampleNumber>70123456</exampleNumber>
16862 </mobile>
16863 <tollFree>
16864 <!-- Toll free numbers are either 800 NNNN or 800 NNNN NNNN. -->
16865 <nationalNumberPattern>800\d{4}(?:\d{4})?</nationalNumberPattern>
16866 <possibleNumberPattern>\d{7}(?:\d{4})?</possibleNumberPattern>
16867 <exampleNumber>8001234</exampleNumber>
16868 </tollFree>
16869 <premiumRate>
16870 <!-- Premium rate numbers are either 900 NNNN or 900 NNNN NNNN. -->
16871 <nationalNumberPattern>900\d{4}(?:\d{4})?</nationalNumberPattern>
16872 <possibleNumberPattern>\d{7}(?:\d{4})?</possibleNumberPattern>
16873 <exampleNumber>9001234</exampleNumber>
16874 </premiumRate>
16875 </territory>
16876
16877 <!-- Syrian Arab Republic -->
16878 <!-- http://www.itu.int/oth/T02020000C9/en -->
16879 <territory id="SY" countryCode="963" internationalPrefix="00"
16880 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
16881 <availableFormats>
16882 <numberFormat pattern="(\d{2})(\d{3})(\d{3,4})">
16883 <leadingDigits>[1-5]</leadingDigits>
16884 <format>$1 $2 $3</format>
16885 </numberFormat>
16886 <numberFormat pattern="(9[3-689])(\d{4})(\d{3})">
16887 <leadingDigits>9</leadingDigits>
16888 <format>$1 $2 $3</format>
16889 </numberFormat>
16890 </availableFormats>
16891 <generalDesc>
16892 <nationalNumberPattern>[1-59]\d{7,8}</nationalNumberPattern>
16893 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
16894 </generalDesc>
16895 <fixedLine>
16896 <nationalNumberPattern>
16897 (?:
16898 1(?:
16899 1\d?|
16900 4\d|
16901 [2356]
16902 )|
16903 2[1-35]|
16904 3(?:
16905 1\d|
16906 [34]
16907 )|
16908 4[13]|
16909 5[1-3]
16910 )\d{6}
16911 </nationalNumberPattern>
16912 <exampleNumber>112345678</exampleNumber>
16913 </fixedLine>
16914 <mobile>
16915 <!-- 945, 967 and 991 numbers are added as SMS messages have been succes sfully delivered to
16916 these numbers, and they are also widely present on the Internet. -- >
16917 <nationalNumberPattern>
16918 9(?:
16919 3[23]|
16920 4[457]|
16921 55|
16922 6[67]|
16923 88|
16924 9[19]
16925 )\d{6}
16926 </nationalNumberPattern>
16927 <possibleNumberPattern>\d{9}</possibleNumberPattern>
16928 <exampleNumber>944567890</exampleNumber>
16929 </mobile>
16930 <!-- No tollFree or premiumRate information can be found. -->
16931 </territory>
16932
16933 <!-- Swaziland -->
16934 <!-- http://www.itu.int/oth/T02020000C6/en -->
16935 <territory id="SZ" countryCode="268" internationalPrefix="00" leadingZeroPos sible="true">
16936 <availableFormats>
16937 <numberFormat pattern="(\d{4})(\d{4})">
16938 <leadingDigits>[027]</leadingDigits>
16939 <format>$1 $2</format>
16940 </numberFormat>
16941 </availableFormats>
16942 <generalDesc>
16943 <nationalNumberPattern>[027]\d{7}</nationalNumberPattern>
16944 <possibleNumberPattern>\d{8}</possibleNumberPattern>
16945 </generalDesc>
16946 <noInternationalDialling>
16947 <nationalNumberPattern>0800\d{4}</nationalNumberPattern>
16948 <possibleNumberPattern>\d{8}</possibleNumberPattern>
16949 <exampleNumber>08001234</exampleNumber>
16950 </noInternationalDialling>
16951 <fixedLine>
16952 <nationalNumberPattern>
16953 2(?:
16954 2(?:
16955 0[07]|
16956 [13]7|
16957 2[57]
16958 )|
16959 3(?:
16960 0[34]|
16961 [1278]3|
16962 3[23]|
16963 [46][34]
16964 )|
16965 (?:
16966 40[4-69]|
16967 67
16968 )|
16969 5(?:
16970 0[5-7]|
16971 1[6-9]|
16972 [23][78]|
16973 48|
16974 5[01]
16975 )
16976 )\d{4}
16977 </nationalNumberPattern>
16978 <exampleNumber>22171234</exampleNumber>
16979 </fixedLine>
16980 <mobile>
16981 <nationalNumberPattern>7[6-8]\d{6}</nationalNumberPattern>
16982 <exampleNumber>76123456</exampleNumber>
16983 </mobile>
16984 <tollFree>
16985 <nationalNumberPattern>0800\d{4}</nationalNumberPattern>
16986 <exampleNumber>08001234</exampleNumber>
16987 </tollFree>
16988 </territory>
16989
16990 <!-- Turks and Caicos Islands -->
16991 <!-- http://www.itu.int/oth/T02020000D8/en -->
16992 <territory id="TC" countryCode="1" leadingDigits="649"
16993 nationalPrefix="1" internationalPrefix="011">
16994 <generalDesc>
16995 <!-- NANPA country - uses US formatting rules -->
16996 <nationalNumberPattern>[5689]\d{9}</nationalNumberPattern>
16997 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
16998 </generalDesc>
16999 <fixedLine>
17000 <nationalNumberPattern>
17001 649(?:
17002 712|
17003 9(?:
17004 4\d|
17005 50
17006 )
17007 )\d{4}
17008 </nationalNumberPattern>
17009 <exampleNumber>6497121234</exampleNumber>
17010 </fixedLine>
17011 <mobile>
17012 <nationalNumberPattern>
17013 649(?:
17014 2(?:
17015 3[12]|
17016 4[1-5]
17017 )|
17018 3(?:
17019 3[1-39]|
17020 4[1-57]
17021 )|
17022 4[34][12]
17023 )\d{4}
17024 </nationalNumberPattern>
17025 <possibleNumberPattern>\d{10}</possibleNumberPattern>
17026 <exampleNumber>6492311234</exampleNumber>
17027 </mobile>
17028 <tollFree>
17029 <nationalNumberPattern>
17030 8(?:
17031 00|
17032 55|
17033 66|
17034 77|
17035 88
17036 )[2-9]\d{6}
17037 </nationalNumberPattern>
17038 <possibleNumberPattern>\d{10}</possibleNumberPattern>
17039 <exampleNumber>8002345678</exampleNumber>
17040 </tollFree>
17041 <premiumRate>
17042 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
17043 <possibleNumberPattern>\d{10}</possibleNumberPattern>
17044 <exampleNumber>9002345678</exampleNumber>
17045 </premiumRate>
17046 <personalNumber>
17047 <!-- http://www.nanpa.com/pdf/PL_416.pdf -->
17048 <nationalNumberPattern>
17049 5(?:
17050 00|
17051 33|
17052 44
17053 )[2-9]\d{6}
17054 </nationalNumberPattern>
17055 <possibleNumberPattern>\d{10}</possibleNumberPattern>
17056 <exampleNumber>5002345678</exampleNumber>
17057 </personalNumber>
17058 <voip>
17059 <nationalNumberPattern>64971[01]\d{4}</nationalNumberPattern>
17060 <possibleNumberPattern>\d{10}</possibleNumberPattern>
17061 <exampleNumber>6497101234</exampleNumber>
17062 </voip>
17063 </territory>
17064
17065 <!-- Chad -->
17066 <!-- http://www.itu.int/oth/T0202000029/en -->
17067 <!-- The international prefix includes 16 as the international manual exchan ge. -->
17068 <territory id="TD" countryCode="235" preferredInternationalPrefix="00"
17069 internationalPrefix="00|16">
17070 <availableFormats>
17071 <numberFormat
17072 pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
17073 <format>$1 $2 $3 $4</format>
17074 </numberFormat>
17075 </availableFormats>
17076 <generalDesc>
17077 <nationalNumberPattern>[2679]\d{7}</nationalNumberPattern>
17078 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17079 </generalDesc>
17080 <fixedLine>
17081 <nationalNumberPattern>
17082 22(?:
17083 [3789]0|
17084 5[0-5]|
17085 6[89]
17086 )\d{4}
17087 </nationalNumberPattern>
17088 <exampleNumber>22501234</exampleNumber>
17089 </fixedLine>
17090 <mobile>
17091 <!-- Sotel Tchad "SALAM" (77 XX XX XX) is classified as a fixed operator in the plan, but it
17092 also says numbers starting with 7 are mobile numbers. Putting under mobile for now.
17093 Also adding 63[5-7] from evidence of successful SMS delivery. -->
17094 <nationalNumberPattern>
17095 (?:
17096 6(?:
17097 3[0-7]|
17098 6\d
17099 )|
17100 77\d|
17101 9(?:
17102 5[0-4]|
17103 9\d
17104 )
17105 )\d{5}
17106 </nationalNumberPattern>
17107 <exampleNumber>63012345</exampleNumber>
17108 </mobile>
17109 </territory>
17110
17111 <!-- French Southern Territories -->
17112 <territory id="TF" countryCode="262" internationalPrefix="00"
17113 nationalPrefix="0">
17114 </territory>
17115
17116 <!-- Togo -->
17117 <!-- http://www.itu.int/oth/T02020000D1/en -->
17118 <territory id="TG" countryCode="228" internationalPrefix="00" leadingZeroPos sible="true">
17119 <availableFormats>
17120 <numberFormat pattern="(\d{3})(\d{2})(\d{2})">
17121 <format>$1 $2 $3</format>
17122 </numberFormat>
17123 </availableFormats>
17124 <generalDesc>
17125 <nationalNumberPattern>[02-9]\d{6}</nationalNumberPattern>
17126 <possibleNumberPattern>\d{7}</possibleNumberPattern>
17127 </generalDesc>
17128 <fixedLine>
17129 <nationalNumberPattern>
17130 (?:
17131 2[2-7]|
17132 3[23]|
17133 44|
17134 55|
17135 66|
17136 77
17137 )\d{5}
17138 </nationalNumberPattern>
17139 <exampleNumber>2212345</exampleNumber>
17140 </fixedLine>
17141 <mobile>
17142 <!-- Added prefix 09 because many mobile numbers were found with this. - ->
17143 <nationalNumberPattern>
17144 (?:
17145 0[1-9]|
17146 7[56]|
17147 8[1-7]|
17148 9\d
17149 )\d{5}
17150 </nationalNumberPattern>
17151 <exampleNumber>0112345</exampleNumber>
17152 </mobile>
17153 </territory>
17154
17155 <!-- Thailand -->
17156 <!-- http://www.itu.int/dms_pub/itu-t/oth/02/02/T02020000CD0001MSWE.doc -->
17157 <territory id="TH" countryCode="66" internationalPrefix="00"
17158 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
17159 <availableFormats>
17160 <!-- Formatting patterns from wikipedia and the document itself -
17161 http://en.wikipedia.org/wiki/%2B66 -->
17162 <numberFormat pattern="(2)(\d{3})(\d{4})">
17163 <leadingDigits>2</leadingDigits>
17164 <format>$1 $2 $3</format>
17165 </numberFormat>
17166 <numberFormat pattern="([3-7]\d)(\d{3})(\d{3,4})">
17167 <leadingDigits>[3-7]</leadingDigits>
17168 <format>$1 $2 $3</format>
17169 </numberFormat>
17170 <numberFormat pattern="(8)(\d{4})(\d{4})">
17171 <leadingDigits>8</leadingDigits>
17172 <format>$1 $2 $3</format>
17173 </numberFormat>
17174 <numberFormat nationalPrefixFormattingRule="$FG"
17175 pattern="(1[89]00)(\d{3})(\d{3})">
17176 <leadingDigits>1</leadingDigits>
17177 <format>$1 $2 $3</format>
17178 </numberFormat>
17179 </availableFormats>
17180 <generalDesc>
17181 <nationalNumberPattern>
17182 [2-8]\d{7,8}|
17183 1\d{9}
17184 </nationalNumberPattern>
17185 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
17186 </generalDesc>
17187 <fixedLine>
17188 <nationalNumberPattern>
17189 (?:
17190 2[1-9]|
17191 3[24-9]|
17192 4[2-5]|
17193 5[3-6]|
17194 7[3-7]
17195 )\d{6}
17196 </nationalNumberPattern>
17197 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17198 <exampleNumber>21234567</exampleNumber>
17199 </fixedLine>
17200 <mobile>
17201 <!-- 8[02] numbers are added as SMS messages have been successfully deli vered to these
17202 numbers, and they are also widely present on the Internet. -->
17203 <nationalNumberPattern>8\d{8}</nationalNumberPattern>
17204 <possibleNumberPattern>\d{9}</possibleNumberPattern>
17205 <exampleNumber>812345678</exampleNumber>
17206 </mobile>
17207 <!-- http://en.wikipedia.org/wiki/Toll-free_telephone_number -->
17208 <tollFree>
17209 <nationalNumberPattern>1800\d{6}</nationalNumberPattern>
17210 <possibleNumberPattern>\d{10}</possibleNumberPattern>
17211 <exampleNumber>1800123456</exampleNumber>
17212 </tollFree>
17213 <premiumRate>
17214 <nationalNumberPattern>1900\d{6}</nationalNumberPattern>
17215 <possibleNumberPattern>\d{10}</possibleNumberPattern>
17216 <exampleNumber>1900123456</exampleNumber>
17217 </premiumRate>
17218 <voip>
17219 <nationalNumberPattern>60\d{7}</nationalNumberPattern>
17220 <possibleNumberPattern>\d{9}</possibleNumberPattern>
17221 <exampleNumber>601234567</exampleNumber>
17222 </voip>
17223 </territory>
17224
17225 <!-- Tajikistan -->
17226 <!-- http://www.itu.int/oth/T02020000CA/en -->
17227 <territory id="TJ" countryCode="992" internationalPrefix="8~10"
17228 nationalPrefix="8" nationalPrefixFormattingRule="($NP) $FG">
17229 <availableFormats>
17230 <numberFormat pattern="([349]\d{2})(\d{2})(\d{4})">
17231 <leadingDigits>
17232 [34]7|
17233 91[78]
17234 </leadingDigits>
17235 <format>$1 $2 $3</format>
17236 </numberFormat>
17237 <numberFormat pattern="([459]\d)(\d{3})(\d{4})">
17238 <leadingDigits>
17239 4[48]|
17240 5|
17241 9(?:
17242 19|
17243 [0235-9]
17244 )
17245 </leadingDigits>
17246 <format>$1 $2 $3</format>
17247 </numberFormat>
17248 <numberFormat pattern="(331700)(\d)(\d{2})">
17249 <leadingDigits>331</leadingDigits>
17250 <leadingDigits>3317</leadingDigits>
17251 <leadingDigits>33170</leadingDigits>
17252 <leadingDigits>331700</leadingDigits>
17253 <format>$1 $2 $3</format>
17254 </numberFormat>
17255 <numberFormat pattern="(\d{4})(\d)(\d{4})">
17256 <leadingDigits>3[1-5]</leadingDigits>
17257 <leadingDigits>
17258 3(?:
17259 [1245]|
17260 3(?:
17261 [02-9]|
17262 1[0-589]
17263 )
17264 )
17265 </leadingDigits>
17266 <format>$1 $2 $3</format>
17267 </numberFormat>
17268 </availableFormats>
17269 <generalDesc>
17270 <nationalNumberPattern>[3-59]\d{8}</nationalNumberPattern>
17271 <possibleNumberPattern>\d{3,9}</possibleNumberPattern>
17272 </generalDesc>
17273 <fixedLine>
17274 <nationalNumberPattern>
17275 (?:
17276 3(?:
17277 1[3-5]|
17278 2[245]|
17279 3[12]|
17280 4[24-7]|
17281 5[25]|
17282 72
17283 )|
17284 4(?:
17285 46|
17286 74|
17287 87
17288 )
17289 )\d{6}
17290 </nationalNumberPattern>
17291 <exampleNumber>372123456</exampleNumber>
17292 </fixedLine>
17293 <mobile>
17294 <!-- Adding 90 prefix as SMS messages could be successfully delivered to these mobile
17295 numbers. -->
17296 <nationalNumberPattern>
17297 (?:
17298 505|
17299 9[0-35-9]\d
17300 )\d{6}
17301 </nationalNumberPattern>
17302 <possibleNumberPattern>\d{9}</possibleNumberPattern>
17303 <exampleNumber>917123456</exampleNumber>
17304 </mobile>
17305 <!-- No tollFree or premiumRate information can be found. -->
17306 </territory>
17307
17308 <!-- Tokelau -->
17309 <territory id="TK" countryCode="690" internationalPrefix="00">
17310 </territory>
17311
17312 <!-- Timor-Leste (East Timor) -->
17313 <!-- http://www.itu.int/oth/T02020000D0/en -->
17314 <territory id="TL" countryCode="670" internationalPrefix="00">
17315 <availableFormats>
17316 <numberFormat pattern="(\d{3})(\d{4})">
17317 <format>$1 $2</format>
17318 </numberFormat>
17319 </availableFormats>
17320 <generalDesc>
17321 <nationalNumberPattern>[2-47-9]\d{6}</nationalNumberPattern>
17322 <possibleNumberPattern>\d{7}</possibleNumberPattern>
17323 </generalDesc>
17324 <fixedLine>
17325 <nationalNumberPattern>
17326 (?:
17327 2[1-5]|
17328 3[1-9]|
17329 4[1-4]
17330 )\d{5}
17331 </nationalNumberPattern>
17332 <exampleNumber>2112345</exampleNumber>
17333 </fixedLine>
17334 <mobile>
17335 <nationalNumberPattern>7[2-4]\d{5}</nationalNumberPattern>
17336 <exampleNumber>7212345</exampleNumber>
17337 </mobile>
17338 <tollFree>
17339 <nationalNumberPattern>80\d{5}</nationalNumberPattern>
17340 <exampleNumber>8012345</exampleNumber>
17341 </tollFree>
17342 <premiumRate>
17343 <nationalNumberPattern>90\d{5}</nationalNumberPattern>
17344 <exampleNumber>9012345</exampleNumber>
17345 </premiumRate>
17346 <personalNumber>
17347 <nationalNumberPattern>70\d{5}</nationalNumberPattern>
17348 <exampleNumber>7012345</exampleNumber>
17349 </personalNumber>
17350 </territory>
17351
17352 <!-- Turkmenistan -->
17353 <!-- http://www.itu.int/oth/T02020000D7/en -->
17354 <territory id="TM" countryCode="993" internationalPrefix="8~10"
17355 nationalPrefix="8" nationalPrefixFormattingRule="$NP $FG">
17356 <availableFormats>
17357 <!-- There doesn't seem to be a standardized format. The format below is based on the
17358 Turkmenistan embassy at
17359 http://www.turkmenistanembassy.org/turkmen/info/contact.html -->
17360 <numberFormat pattern="([1-6]\d)(\d{2})(\d{2})(\d{2})">
17361 <format>$1 $2 $3 $4</format>
17362 </numberFormat>
17363 </availableFormats>
17364 <generalDesc>
17365 <nationalNumberPattern>[1-6]\d{7}</nationalNumberPattern>
17366 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17367 </generalDesc>
17368 <fixedLine>
17369 <nationalNumberPattern>
17370 (?:
17371 12\d|
17372 243|
17373 [3-5]22
17374 )\d{5}
17375 </nationalNumberPattern>
17376 <exampleNumber>12345678</exampleNumber>
17377 </fixedLine>
17378 <mobile>
17379 <!-- Adding 68 as SMS messages have been successfully sent to numbers wi th this prefix. -->
17380 <nationalNumberPattern>6[6-8]\d{6}</nationalNumberPattern>
17381 <exampleNumber>66123456</exampleNumber>
17382 </mobile>
17383 <!-- No tollFree or premiumRate information can be found. -->
17384 </territory>
17385
17386 <!-- Tunisia -->
17387 <!-- http://www.itu.int/oth/T02020000D5/en -->
17388 <territory id="TN" countryCode="216" internationalPrefix="00">
17389 <availableFormats>
17390 <numberFormat pattern="([247-9]\d)(\d{3})(\d{3})">
17391 <format>$1 $2 $3</format>
17392 </numberFormat>
17393 </availableFormats>
17394 <generalDesc>
17395 <nationalNumberPattern>[247-9]\d{7}</nationalNumberPattern>
17396 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17397 </generalDesc>
17398 <fixedLine>
17399 <nationalNumberPattern>7\d{7}</nationalNumberPattern>
17400 <exampleNumber>71234567</exampleNumber>
17401 </fixedLine>
17402 <mobile>
17403 <nationalNumberPattern>
17404 (?:
17405 2[0-7]|
17406 40|
17407 9\d
17408 )\d{6}
17409 </nationalNumberPattern>
17410 <exampleNumber>20123456</exampleNumber>
17411 </mobile>
17412 <!-- These are listed as 'value added services' - pending further informat ion, we add them
17413 here for now. -->
17414 <premiumRate>
17415 <nationalNumberPattern>8[028]\d{6}</nationalNumberPattern>
17416 <exampleNumber>80123456</exampleNumber>
17417 </premiumRate>
17418 </territory>
17419
17420 <!-- Tonga -->
17421 <territory id="TO" countryCode="676" internationalPrefix="00">
17422 </territory>
17423
17424 <!-- Turkey -->
17425 <!-- http://en.wikipedia.org/wiki/%2B90 -->
17426 <!-- http://www.itu.int/oth/T02020000D6/en -->
17427 <territory id="TR" countryCode="90" internationalPrefix="00" nationalPrefix= "0">
17428 <availableFormats>
17429 <numberFormat nationalPrefixFormattingRule="($NP$FG)" pattern="(\d{3})(\ d{3})(\d{4})">
17430 <leadingDigits>
17431 [23]|
17432 4(?:
17433 [0-35-9]|
17434 4[0-35-9]
17435 )
17436 </leadingDigits>
17437 <format>$1 $2 $3</format>
17438 </numberFormat>
17439 <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="(\d{3})(\d{ 3})(\d{4})">
17440 <leadingDigits>[589]</leadingDigits>
17441 <format>$1 $2 $3</format>
17442 </numberFormat>
17443 <numberFormat pattern="(444)(\d{1})(\d{3})">
17444 <leadingDigits>444</leadingDigits>
17445 <format>$1 $2 $3</format>
17446 </numberFormat>
17447 </availableFormats>
17448 <generalDesc>
17449 <nationalNumberPattern>
17450 [2-589]\d{9}|
17451 444\d{4}
17452 </nationalNumberPattern>
17453 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
17454 </generalDesc>
17455 <fixedLine>
17456 <!-- Includes numbers starting with 392 for Northern Cyprus. -->
17457 <nationalNumberPattern>
17458 (?:
17459 2(?:
17460 [13][26]|
17461 [28][2468]|
17462 [45][268]|
17463 [67][246]
17464 )|
17465 3(?:
17466 [13][28]|
17467 [24-6][2468]|
17468 [78][02468]|
17469 92
17470 )|
17471 4(?:
17472 [16][246]|
17473 [23578][2468]|
17474 4[26]
17475 )
17476 )\d{7}
17477 </nationalNumberPattern>
17478 <possibleNumberPattern>\d{10}</possibleNumberPattern>
17479 <exampleNumber>2123456789</exampleNumber>
17480 </fixedLine>
17481 <mobile>
17482 <nationalNumberPattern>
17483 5(?:
17484 0[1-35-7]|
17485 22|
17486 3\d|
17487 4[1-79]|
17488 5[1-5]|
17489 9[246]
17490 )\d{7}
17491 </nationalNumberPattern>
17492 <possibleNumberPattern>\d{10}</possibleNumberPattern>
17493 <exampleNumber>5012345678</exampleNumber>
17494 </mobile>
17495 <pager>
17496 <nationalNumberPattern>512\d{7}</nationalNumberPattern>
17497 <possibleNumberPattern>\d{10}</possibleNumberPattern>
17498 <exampleNumber>5123456789</exampleNumber>
17499 </pager>
17500 <tollFree>
17501 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
17502 <possibleNumberPattern>\d{10}</possibleNumberPattern>
17503 <exampleNumber>8001234567</exampleNumber>
17504 </tollFree>
17505 <premiumRate>
17506 <nationalNumberPattern>900\d{7}</nationalNumberPattern>
17507 <possibleNumberPattern>\d{10}</possibleNumberPattern>
17508 <exampleNumber>9001234567</exampleNumber>
17509 </premiumRate>
17510 <uan>
17511 <!-- http://www.turktelekom.com.tr/tt/portal/News/Archive/7-digit-specia l-service-number-starting-with-444 -->
17512 <nationalNumberPattern>
17513 444\d{4}|
17514 850\d{7}
17515 </nationalNumberPattern>
17516 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
17517 <exampleNumber>4441444</exampleNumber>
17518 </uan>
17519 </territory>
17520
17521 <!-- Trinidad and Tobago -->
17522 <!-- http://www.itu.int/oth/T02020000D4/en -->
17523 <territory id="TT" countryCode="1" leadingDigits="868"
17524 nationalPrefix="1" internationalPrefix="011">
17525 <generalDesc>
17526 <!-- NANPA country - uses US formatting rules -->
17527 <nationalNumberPattern>[589]\d{9}</nationalNumberPattern>
17528 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
17529 </generalDesc>
17530 <fixedLine>
17531 <nationalNumberPattern>
17532 868(?:
17533 2(?:
17534 01|
17535 2[1-4]
17536 )|
17537 6(?:
17538 07|
17539 1[4-6]|
17540 2[1-9]|
17541 [3-6]\d|
17542 7[0-79]|
17543 9[0-8]
17544 )|
17545 82[12]
17546 )\d{4}
17547 </nationalNumberPattern>
17548 <exampleNumber>8682211234</exampleNumber>
17549 </fixedLine>
17550 <mobile>
17551 <nationalNumberPattern>
17552 868(?:
17553 29\d|
17554 3(?:
17555 0[1-9]|
17556 1[02-9]|
17557 [2-9]\d
17558 )|
17559 4(?:
17560 [679]\d|
17561 8[0-4]
17562 )|
17563 6(?:
17564 20|
17565 78|
17566 8\d
17567 )|
17568 7(?:
17569 1[02-9]|
17570 [2-9]\d
17571 )
17572 )\d{4}
17573 </nationalNumberPattern>
17574 <possibleNumberPattern>\d{10}</possibleNumberPattern>
17575 <exampleNumber>8682911234</exampleNumber>
17576 </mobile>
17577 <tollFree>
17578 <nationalNumberPattern>
17579 8(?:
17580 00|
17581 55|
17582 66|
17583 77|
17584 88
17585 )[2-9]\d{6}
17586 </nationalNumberPattern>
17587 <possibleNumberPattern>\d{10}</possibleNumberPattern>
17588 <exampleNumber>8002345678</exampleNumber>
17589 </tollFree>
17590 <premiumRate>
17591 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
17592 <possibleNumberPattern>\d{10}</possibleNumberPattern>
17593 <exampleNumber>9002345678</exampleNumber>
17594 </premiumRate>
17595 <personalNumber>
17596 <!-- http://www.nanpa.com/pdf/PL_416.pdf -->
17597 <nationalNumberPattern>
17598 5(?:
17599 00|
17600 33|
17601 44
17602 )[2-9]\d{6}
17603 </nationalNumberPattern>
17604 <possibleNumberPattern>\d{10}</possibleNumberPattern>
17605 <exampleNumber>5002345678</exampleNumber>
17606 </personalNumber>
17607 </territory>
17608
17609 <!-- Tuvalu -->
17610 <!-- http://www.itu.int/oth/T02020000D9/en -->
17611 <territory id="TV" countryCode="688" internationalPrefix="00">
17612 <!-- Numbers are formatted as a block. -->
17613 <generalDesc>
17614 <nationalNumberPattern>[29]\d{4,5}</nationalNumberPattern>
17615 <possibleNumberPattern>\d{5,6}</possibleNumberPattern>
17616 </generalDesc>
17617 <fixedLine>
17618 <nationalNumberPattern>2[02-9]\d{3}</nationalNumberPattern>
17619 <possibleNumberPattern>\d{5}</possibleNumberPattern>
17620 <exampleNumber>20123</exampleNumber>
17621 </fixedLine>
17622 <mobile>
17623 <!-- Some numbers online can be found that are 5-digits long, and start with 90 or 91. We
17624 don't know if these are valid or not - the ITU document excludes th em - so are not
17625 covering these for now. -->
17626 <nationalNumberPattern>90\d{4}</nationalNumberPattern>
17627 <possibleNumberPattern>\d{6}</possibleNumberPattern>
17628 <exampleNumber>901234</exampleNumber>
17629 </mobile>
17630 </territory>
17631
17632 <!-- Taiwan, China -->
17633 <!-- http://www.itu.int/dms_pub/itu-t/oth/02/02/T02020000EB0003MSWE.doc -->
17634 <!-- Extension symbols found on the internet so far have been #, X and Ext -
17635 so # has been chosen as the preferred extension prefix. -->
17636 <territory id="TW" countryCode="886" internationalPrefix="0(?:0[25679]|19)"
17637 nationalPrefix="0" preferredExtnPrefix="#" nationalPrefixFormatti ngRule="$NP$FG">
17638 <availableFormats>
17639 <numberFormat pattern="([2-8])(\d{3,4})(\d{4})">
17640 <leadingDigits>
17641 [2-7]|
17642 8[1-9]
17643 </leadingDigits>
17644 <format>$1 $2 $3</format>
17645 </numberFormat>
17646 <numberFormat pattern="([89]\d{2})(\d{3})(\d{3})">
17647 <leadingDigits>
17648 80|
17649 9
17650 </leadingDigits>
17651 <format>$1 $2 $3</format>
17652 </numberFormat>
17653 </availableFormats>
17654 <generalDesc>
17655 <nationalNumberPattern>[2-9]\d{7,8}</nationalNumberPattern>
17656 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
17657 </generalDesc>
17658 <fixedLine>
17659 <nationalNumberPattern>[2-8]\d{7,8}</nationalNumberPattern>
17660 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
17661 <exampleNumber>21234567</exampleNumber>
17662 </fixedLine>
17663 <mobile>
17664 <nationalNumberPattern>9\d{8}</nationalNumberPattern>
17665 <possibleNumberPattern>\d{9}</possibleNumberPattern>
17666 <exampleNumber>912345678</exampleNumber>
17667 </mobile>
17668 <tollFree>
17669 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
17670 <possibleNumberPattern>\d{9}</possibleNumberPattern>
17671 <exampleNumber>800123456</exampleNumber>
17672 </tollFree>
17673 <premiumRate>
17674 <nationalNumberPattern>900\d{6}</nationalNumberPattern>
17675 <possibleNumberPattern>\d{9}</possibleNumberPattern>
17676 <exampleNumber>900123456</exampleNumber>
17677 </premiumRate>
17678 </territory>
17679
17680 <!-- Tanzania -->
17681 <!-- http://www.itu.int/dms_pub/itu-t/oth/02/02/T02020000CB0001MSWE.doc -->
17682 <territory id="TZ" countryCode="255" internationalPrefix="00[056]"
17683 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
17684 <availableFormats>
17685 <numberFormat pattern="([24]\d)(\d{3})(\d{4})">
17686 <leadingDigits>[24]</leadingDigits>
17687 <format>$1 $2 $3</format>
17688 </numberFormat>
17689 <numberFormat pattern="([67]\d{2})(\d{3})(\d{3})">
17690 <leadingDigits>[67]</leadingDigits>
17691 <format>$1 $2 $3</format>
17692 </numberFormat>
17693 <!-- Formatting for special numbers from www.tcra.go.tz -->
17694 <numberFormat pattern="([89]\d{2})(\d{2})(\d{4})">
17695 <leadingDigits>[89]</leadingDigits>
17696 <format>$1 $2 $3</format>
17697 </numberFormat>
17698 </availableFormats>
17699 <generalDesc>
17700 <nationalNumberPattern>\d{9}</nationalNumberPattern>
17701 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
17702 </generalDesc>
17703 <fixedLine>
17704 <nationalNumberPattern>2[2-8]\d{7}</nationalNumberPattern>
17705 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
17706 <exampleNumber>222345678</exampleNumber>
17707 </fixedLine>
17708 <mobile>
17709 <nationalNumberPattern>
17710 (?:
17711 6[158]|
17712 7[1-9]
17713 )\d{7}
17714 </nationalNumberPattern>
17715 <possibleNumberPattern>\d{9}</possibleNumberPattern>
17716 <exampleNumber>612345678</exampleNumber>
17717 </mobile>
17718 <tollFree>
17719 <nationalNumberPattern>80[08]\d{6}</nationalNumberPattern>
17720 <possibleNumberPattern>\d{9}</possibleNumberPattern>
17721 <exampleNumber>800123456</exampleNumber>
17722 </tollFree>
17723 <premiumRate>
17724 <nationalNumberPattern>90\d{7}</nationalNumberPattern>
17725 <possibleNumberPattern>\d{9}</possibleNumberPattern>
17726 <exampleNumber>900123456</exampleNumber>
17727 </premiumRate>
17728 <sharedCost>
17729 <nationalNumberPattern>
17730 8(?:
17731 40|
17732 6[01]
17733 )\d{6}
17734 </nationalNumberPattern>
17735 <possibleNumberPattern>\d{9}</possibleNumberPattern>
17736 <exampleNumber>840123456</exampleNumber>
17737 </sharedCost>
17738 <voip>
17739 <nationalNumberPattern>41\d{7}</nationalNumberPattern>
17740 <possibleNumberPattern>\d{9}</possibleNumberPattern>
17741 <exampleNumber>412345678</exampleNumber>
17742 </voip>
17743 </territory>
17744
17745 <!-- Ukraine -->
17746 <!-- http://www.itu.int/oth/T02020000DB/en -->
17747 <!-- http://en.wikipedia.org/wiki/%2B380 -->
17748 <territory id="UA" countryCode="380" internationalPrefix="0~0"
17749 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
17750 <availableFormats>
17751 <!-- City codes separated out. No definitive list has been found of what constitutes the
17752 area code - http://www.ua.all-biz.info/guide/phonecodes is useful b ut not error-free.
17753 Have used local yellow pages guidelines, Google searches and regres sion tests to
17754 reverse-engineer these rules as well as bugs. -->
17755 <numberFormat pattern="([3-69]\d)(\d{3})(\d{4})">
17756 <leadingDigits>
17757 39|
17758 4(?:
17759 [45][0-5]|
17760 87
17761 )|
17762 5(?:
17763 0|
17764 6[37]|
17765 7[37]
17766 )|
17767 6[36-8]|
17768 9[1-9]
17769 </leadingDigits>
17770 <leadingDigits>
17771 39|
17772 4(?:
17773 [45][0-5]|
17774 87
17775 )|
17776 5(?:
17777 0|
17778 6(?:
17779 3[14-7]|
17780 7
17781 )|
17782 7[37]
17783 )|
17784 6[36-8]|
17785 9[1-9]
17786 </leadingDigits>
17787 <format>$1 $2 $3</format>
17788 </numberFormat>
17789 <numberFormat pattern="([3-689]\d{2})(\d{3})(\d{3})">
17790 <leadingDigits>
17791 3[1-8]2|
17792 4[1378]2|
17793 5(?:
17794 [12457]2|
17795 6[24]
17796 )|
17797 6(?:
17798 [49]2|
17799 [12][29]|
17800 5[24]
17801 )|
17802 8|
17803 90
17804 </leadingDigits>
17805 <leadingDigits>
17806 3(?:
17807 [1-46-8]2[013-9]|
17808 52
17809 )|
17810 4[1378]2|
17811 5(?:
17812 [12457]2|
17813 6[24]
17814 )|
17815 6(?:
17816 [49]2|
17817 [12][29]|
17818 5[24]
17819 )|
17820 8|
17821 90
17822 </leadingDigits>
17823 <format>$1 $2 $3</format>
17824 </numberFormat>
17825 <numberFormat pattern="([3-6]\d{3})(\d{5})">
17826 <leadingDigits>
17827 3(?:
17828 5[013-9]|
17829 [1-46-8]
17830 )|
17831 4(?:
17832 [137][013-9]|
17833 6|
17834 [45][6-9]|
17835 8[4-6]
17836 )|
17837 5(?:
17838 [1245][013-9]|
17839 6[0135-9]|
17840 3|
17841 7[4-6]
17842 )|
17843 6(?:
17844 [49][013-9]|
17845 5[0135-9]|
17846 [12][13-8]
17847 )
17848 </leadingDigits>
17849 <leadingDigits>
17850 3(?:
17851 5[013-9]|
17852 [1-46-8](?:
17853 22|
17854 [013-9]
17855 )
17856 )|
17857 4(?:
17858 [137][013-9]|
17859 6|
17860 [45][6-9]|
17861 8[4-6]
17862 )|
17863 5(?:
17864 [1245][013-9]|
17865 6(?:
17866 3[02389]|
17867 [015689]
17868 )|
17869 3|
17870 7[4-6]
17871 )|
17872 6(?:
17873 [49][013-9]|
17874 5[0135-9]|
17875 [12][13-8]
17876 )
17877 </leadingDigits>
17878 <format>$1 $2</format>
17879 </numberFormat>
17880 </availableFormats>
17881 <generalDesc>
17882 <nationalNumberPattern>[3-689]\d{8}</nationalNumberPattern>
17883 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
17884 </generalDesc>
17885 <fixedLine>
17886 <nationalNumberPattern>
17887 (?:
17888 3[1-8]|
17889 4[13-8]|
17890 5[1-7]|
17891 6[12459]
17892 )\d{7}
17893 </nationalNumberPattern>
17894 <exampleNumber>311234567</exampleNumber>
17895 </fixedLine>
17896 <mobile>
17897 <nationalNumberPattern>
17898 (?:
17899 39|
17900 50|
17901 6[36-8]|
17902 9[1-9]
17903 )\d{7}
17904 </nationalNumberPattern>
17905 <possibleNumberPattern>\d{9}</possibleNumberPattern>
17906 <exampleNumber>391234567</exampleNumber>
17907 </mobile>
17908 <tollFree>
17909 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
17910 <possibleNumberPattern>\d{9}</possibleNumberPattern>
17911 <exampleNumber>800123456</exampleNumber>
17912 </tollFree>
17913 <premiumRate>
17914 <nationalNumberPattern>900\d{6}</nationalNumberPattern>
17915 <possibleNumberPattern>\d{9}</possibleNumberPattern>
17916 <exampleNumber>900123456</exampleNumber>
17917 </premiumRate>
17918 </territory>
17919
17920 <!-- Uganda -->
17921 <!-- http://www.itu.int/dms_pub/itu-t/oth/02/02/T02020000F10001MSWE.doc -->
17922 <!-- http://www.ucc.co.ug/licensing/ugandaNumberingPlan.pdf -->
17923 <territory id="UG" countryCode="256" internationalPrefix="00[057]"
17924 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
17925 <availableFormats>
17926 <numberFormat pattern="([247-9]\d{2})(\d{6})">
17927 <leadingDigits>
17928 [7-9]|
17929 200|
17930 4(?:
17931 6[45]|
17932 [7-9]
17933 )
17934 </leadingDigits>
17935 <format>$1 $2</format>
17936 </numberFormat>
17937 <numberFormat pattern="([34]\d)(\d{7})">
17938 <leadingDigits>
17939 3|
17940 4(?:
17941 [1-5]|
17942 6[0-36-9]
17943 )
17944 </leadingDigits>
17945 <format>$1 $2</format>
17946 </numberFormat>
17947 <numberFormat pattern="(2024)(\d{5})">
17948 <leadingDigits>202</leadingDigits>
17949 <format>$1 $2</format>
17950 </numberFormat>
17951 </availableFormats>
17952 <generalDesc>
17953 <nationalNumberPattern>\d{9}</nationalNumberPattern>
17954 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
17955 </generalDesc>
17956 <fixedLine>
17957 <nationalNumberPattern>
17958 3\d{8}|
17959 4(?:
17960 [1-6]\d|
17961 7[136]|
17962 8[1356]|
17963 96
17964 )\d{6}|
17965 20(?:
17966 0\d|
17967 24
17968 )\d{5}
17969 </nationalNumberPattern>
17970 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
17971 <exampleNumber>312345678</exampleNumber>
17972 </fixedLine>
17973 <mobile>
17974 <nationalNumberPattern>
17975 7(?:
17976 [1578]\d|
17977 0[0-4]
17978 )\d{6}
17979 </nationalNumberPattern>
17980 <possibleNumberPattern>\d{9}</possibleNumberPattern>
17981 <exampleNumber>712345678</exampleNumber>
17982 </mobile>
17983 <tollFree>
17984 <nationalNumberPattern>800[123]\d{5}</nationalNumberPattern>
17985 <possibleNumberPattern>\d{9}</possibleNumberPattern>
17986 <exampleNumber>800123456</exampleNumber>
17987 </tollFree>
17988 <premiumRate>
17989 <nationalNumberPattern>90[123]\d{6}</nationalNumberPattern>
17990 <possibleNumberPattern>\d{9}</possibleNumberPattern>
17991 <exampleNumber>901123456</exampleNumber>
17992 </premiumRate>
17993 </territory>
17994
17995 <!-- United States -->
17996 <!-- http://www.nanpa.com/reports/reports_npa.html -->
17997 <!-- http://en.wikipedia.org/wiki/North_American_Numbering_Plan -->
17998 <!-- Note the national prefix of US is the same as its country code, and whe n formatting phone
17999 numbers in the national format, it is not included. Therefore, we omit it here to make
18000 formatting consistent with the rest of the world. The same applies to a ll the
18001 countries/regions under NANPA -->
18002 <!-- The national prefix of "1" here is the same as the country code. It is not used by default
18003 when formatting, but is set here so that users who are calling formatBy Pattern can specify
18004 NationalPrefixFormattingRule if they want to. -->
18005 <territory id="US" countryCode="1" internationalPrefix="011"
18006 mainCountryForCode="true" nationalPrefix="1">
18007 <availableFormats>
18008 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
18009 <format>($1) $2-$3</format>
18010 </numberFormat>
18011 <numberFormat pattern="(\d{3})(\d{4})">
18012 <format>$1-$2</format>
18013 </numberFormat>
18014 <!-- A different pattern is used when formatting internationally, as the area code is no
18015 longer optional and should not be in brackets. -->
18016 <intlNumberFormat pattern="(\d{3})(\d{3})(\d{4})">
18017 <format>$1-$2-$3</format>
18018 </intlNumberFormat>
18019 </availableFormats>
18020 <generalDesc>
18021 <nationalNumberPattern>[2-9]\d{9}</nationalNumberPattern>
18022 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
18023 </generalDesc>
18024 <fixedLine>
18025 <nationalNumberPattern>
18026 (?:
18027 2(?:
18028 0[1-35-9]|
18029 1[02-9]|
18030 2[4589]|
18031 3[149]|
18032 4[08]|
18033 5[1-46]|
18034 6[0279]|
18035 7[06]|
18036 8[13]
18037 )|
18038 3(?:
18039 0[1-57-9]|
18040 1[02-9]|
18041 2[0135]|
18042 3[014679]|
18043 47|
18044 5[12]|
18045 6[01]|
18046 8[056]
18047 )|
18048 4(?:
18049 0[124-9]|
18050 1[02-579]|
18051 2[3-5]|
18052 3[0245]|
18053 4[0235]|
18054 58|
18055 69|
18056 7[0589]|
18057 8[04]
18058 )|
18059 5(?:
18060 0[1-57-9]|
18061 1[0235-8]|
18062 20|
18063 3[0149]|
18064 4[01]|
18065 5[19]|
18066 6[1-37]|
18067 7[013-5]|
18068 8[056]
18069 )|
18070 6(?:
18071 0[1-35-9]|
18072 1[024-9]|
18073 2[036]|
18074 3[016]|
18075 4[16]|
18076 5[017]|
18077 6[0-29]|
18078 78|
18079 8[12]
18080 )|
18081 7(?:
18082 0[1-46-8]|
18083 1[2-9]|
18084 2[047]|
18085 3[124]|
18086 4[07]|
18087 5[47]|
18088 6[02359]|
18089 7[02-59]|
18090 8[156]
18091 )|
18092 8(?:
18093 0[1-68]|
18094 1[02-8]|
18095 28|
18096 3[0-25]|
18097 4[3578]|
18098 5[06-9]|
18099 6[02-5]|
18100 7[028]
18101 )|
18102 9(?:
18103 0[1346-9]|
18104 1[02-9]|
18105 2[0589]|
18106 3[1678]|
18107 4[0179]|
18108 5[1246]|
18109 7[0-3589]|
18110 8[059]
18111 )
18112 )[2-9]\d{6}
18113 </nationalNumberPattern>
18114 <exampleNumber>2012345678</exampleNumber>
18115 </fixedLine>
18116 <mobile>
18117 <nationalNumberPattern>
18118 (?:
18119 2(?:
18120 0[1-35-9]|
18121 1[02-9]|
18122 2[4589]|
18123 3[149]|
18124 4[08]|
18125 5[1-46]|
18126 6[0279]|
18127 7[06]|
18128 8[13]
18129 )|
18130 3(?:
18131 0[1-57-9]|
18132 1[02-9]|
18133 2[0135]|
18134 3[014679]|
18135 47|
18136 5[12]|
18137 6[01]|
18138 8[056]
18139 )|
18140 4(?:
18141 0[124-9]|
18142 1[02-579]|
18143 2[3-5]|
18144 3[0245]|
18145 4[0235]|
18146 58|
18147 69|
18148 7[0589]|
18149 8[04]
18150 )|
18151 5(?:
18152 0[1-57-9]|
18153 1[0235-8]|
18154 20|
18155 3[0149]|
18156 4[01]|
18157 5[19]|
18158 6[1-37]|
18159 7[013-5]|
18160 8[056]
18161 )|
18162 6(?:
18163 0[1-35-9]|
18164 1[024-9]|
18165 2[036]|
18166 3[016]|
18167 4[16]|
18168 5[017]|
18169 6[0-29]|
18170 78|
18171 8[12]
18172 )|
18173 7(?:
18174 0[1-46-8]|
18175 1[2-9]|
18176 2[047]|
18177 3[124]|
18178 4[07]|
18179 5[47]|
18180 6[02359]|
18181 7[02-59]|
18182 8[156]
18183 )|
18184 8(?:
18185 0[1-68]|
18186 1[02-8]|
18187 28|
18188 3[0-25]|
18189 4[3578]|
18190 5[06-9]|
18191 6[02-5]|
18192 7[028]
18193 )|
18194 9(?:
18195 0[1346-9]|
18196 1[02-9]|
18197 2[0589]|
18198 3[1678]|
18199 4[0179]|
18200 5[1246]|
18201 7[0-3589]|
18202 8[059]
18203 )
18204 )[2-9]\d{6}
18205 </nationalNumberPattern>
18206 <exampleNumber>2012345678</exampleNumber>
18207 </mobile>
18208 <tollFree>
18209 <nationalNumberPattern>
18210 8(?:
18211 00|
18212 55|
18213 66|
18214 77|
18215 88
18216 )[2-9]\d{6}
18217 </nationalNumberPattern>
18218 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18219 <exampleNumber>8002345678</exampleNumber>
18220 </tollFree>
18221 <premiumRate>
18222 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
18223 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18224 <exampleNumber>9002345678</exampleNumber>
18225 </premiumRate>
18226 <personalNumber>
18227 <!-- http://www.nanpa.com/pdf/PL_416.pdf -->
18228 <nationalNumberPattern>
18229 5(?:
18230 00|
18231 33|
18232 44
18233 )[2-9]\d{6}
18234 </nationalNumberPattern>
18235 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18236 <exampleNumber>5002345678</exampleNumber>
18237 </personalNumber>
18238 </territory>
18239
18240 <!-- Uruguay -->
18241 <territory id="UY" countryCode="598" internationalPrefix="00"
18242 nationalPrefix="0">
18243 </territory>
18244
18245 <!-- Uzbekistan -->
18246 <!-- http://www.itu.int/oth/T02020000E1/en -->
18247 <territory id="UZ" countryCode="998" internationalPrefix="8~10"
18248 nationalPrefix="8" nationalPrefixFormattingRule="$NP$FG">
18249 <availableFormats>
18250 <numberFormat pattern="([679]\d)(\d{3})(\d{2})(\d{2})">
18251 <format>$1 $2 $3 $4</format>
18252 </numberFormat>
18253 </availableFormats>
18254 <generalDesc>
18255 <nationalNumberPattern>[679]\d{8}</nationalNumberPattern>
18256 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
18257 </generalDesc>
18258 <fixedLine>
18259 <!-- Adding 70 prefix as suggested by http://www.ttts.uz/eng/telephone_c odes/codes_uzb_eng
18260 -->
18261 <nationalNumberPattern>
18262 (?:
18263 6[125679]|
18264 7[0-69]
18265 )\d{7}
18266 </nationalNumberPattern>
18267 <exampleNumber>612345678</exampleNumber>
18268 </fixedLine>
18269 <mobile>
18270 <!-- Adding 9[45] as suggested by http://www.ucell.uz/en/for_subscribers /how_to_call.html
18271 -->
18272 <nationalNumberPattern>9[0-57-9]\d{7}</nationalNumberPattern>
18273 <exampleNumber>912345678</exampleNumber>
18274 </mobile>
18275 <!-- No tollFree or premiumRate information can be found. -->
18276 </territory>
18277
18278 <!-- Vatican City -->
18279 <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Vatican_City -->
18280 <!-- Note that numbers here are also accessible via Italy (+39 and prefix of 06 698) but can
18281 also be dialled with the Vatican City country code. -->
18282 <territory id="VA" countryCode="379" internationalPrefix="00" leadingZeroPos sible="true">
18283 <availableFormats>
18284 <numberFormat pattern="(06)(\d{4})(\d{4})">
18285 <format>$1 $2 $3</format>
18286 </numberFormat>
18287 </availableFormats>
18288 <generalDesc>
18289 <nationalNumberPattern>06\d{8}</nationalNumberPattern>
18290 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18291 </generalDesc>
18292 <fixedLine>
18293 <nationalNumberPattern>06698\d{5}</nationalNumberPattern>
18294 <exampleNumber>0669812345</exampleNumber>
18295 </fixedLine>
18296 <mobile>
18297 <!-- We have no information on mobile numbers from the Vatican. It is pr obable that they use
18298 Italian mobile contracts. -->
18299 <nationalNumberPattern>N/A</nationalNumberPattern>
18300 <possibleNumberPattern>N/A</possibleNumberPattern>
18301 </mobile>
18302 <!-- No information exists about other types of numbers. -->
18303 </territory>
18304
18305 <!-- Saint Vincent and the Grenadines -->
18306 <!-- http://www.itu.int/oth/T02020000B3/en -->
18307 <territory id="VC" countryCode="1" leadingDigits="784"
18308 nationalPrefix="1" internationalPrefix="011">
18309 <generalDesc>
18310 <!-- NANPA country - uses US formatting rules -->
18311 <nationalNumberPattern>[5789]\d{9}</nationalNumberPattern>
18312 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
18313 </generalDesc>
18314 <fixedLine>
18315 <nationalNumberPattern>
18316 784(?:
18317 266|
18318 3(?:
18319 6[6-9]|
18320 7\d|
18321 8[0-24-6]
18322 )|
18323 4(?:
18324 38|
18325 5[0-36-8]|
18326 8\d|
18327 9[01]
18328 )|
18329 555|
18330 638|
18331 784
18332 )\d{4}
18333 </nationalNumberPattern>
18334 <exampleNumber>7842661234</exampleNumber>
18335 </fixedLine>
18336 <mobile>
18337 <nationalNumberPattern>
18338 784(?:
18339 4(?:
18340 3[0-24]|
18341 5[45]|
18342 9[2-5]
18343 )|
18344 5(?:
18345 2[6-9]|
18346 3[0-3]|
18347 93
18348 )
18349 )\d{4}
18350 </nationalNumberPattern>
18351 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18352 <exampleNumber>7844301234</exampleNumber>
18353 </mobile>
18354 <tollFree>
18355 <nationalNumberPattern>
18356 8(?:
18357 00|
18358 55|
18359 66|
18360 77|
18361 88
18362 )[2-9]\d{6}
18363 </nationalNumberPattern>
18364 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18365 <exampleNumber>8002345678</exampleNumber>
18366 </tollFree>
18367 <premiumRate>
18368 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
18369 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18370 <exampleNumber>9002345678</exampleNumber>
18371 </premiumRate>
18372 <personalNumber>
18373 <!-- http://www.nanpa.com/pdf/PL_416.pdf -->
18374 <nationalNumberPattern>
18375 5(?:
18376 00|
18377 33|
18378 44
18379 )[2-9]\d{6}
18380 </nationalNumberPattern>
18381 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18382 <exampleNumber>5002345678</exampleNumber>
18383 </personalNumber>
18384 </territory>
18385
18386 <!-- Venezuela -->
18387 <!-- http://www.itu.int/oth/T02020000E3/en -->
18388 <!-- http://en.wikipedia.org/wiki/+58 -->
18389 <!-- 1XX specifies a particular carrier to route a call to. -->
18390 <territory id="VE" countryCode="58" internationalPrefix="00"
18391 nationalPrefix="0" nationalPrefixForParsing="(1\d{2})|0"
18392 nationalPrefixFormattingRule="$NP$FG"
18393 carrierCodeFormattingRule="$CC $FG">
18394 <availableFormats>
18395 <numberFormat pattern="(\d{3})(\d{7})">
18396 <format>$1-$2</format>
18397 </numberFormat>
18398 </availableFormats>
18399 <generalDesc>
18400 <nationalNumberPattern>[24589]\d{9}</nationalNumberPattern>
18401 <!-- Open numbering plan. -->
18402 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
18403 </generalDesc>
18404 <fixedLine>
18405 <!-- Including region-free 500 calls here, since these are treated as lo cal calls. Wikipedia
18406 mentions these as 5XX, but online examples that can be found are se emingly restricted
18407 to 50[01]. -->
18408 <nationalNumberPattern>
18409 (?:
18410 2(?:
18411 12|
18412 3[457-9]|
18413 [58][1-9]|
18414 [467]\d|
18415 9[1-6]
18416 )|
18417 50[01]
18418 )\d{7}
18419 </nationalNumberPattern>
18420 <exampleNumber>2121234567</exampleNumber>
18421 </fixedLine>
18422 <mobile>
18423 <nationalNumberPattern>
18424 4(?:
18425 1[24-8]|
18426 2[46]
18427 )\d{7}
18428 </nationalNumberPattern>
18429 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18430 <exampleNumber>4121234567</exampleNumber>
18431 </mobile>
18432 <tollFree>
18433 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
18434 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18435 <exampleNumber>8001234567</exampleNumber>
18436 </tollFree>
18437 <premiumRate>
18438 <nationalNumberPattern>900\d{7}</nationalNumberPattern>
18439 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18440 <exampleNumber>9001234567</exampleNumber>
18441 </premiumRate>
18442 </territory>
18443
18444 <!-- Virgin Islands, British -->
18445 <!-- http://www.itu.int/oth/T020200001E/en -->
18446 <territory id="VG" countryCode="1" leadingDigits="284"
18447 nationalPrefix="1" internationalPrefix="011">
18448 <generalDesc>
18449 <!-- NANPA country - uses US formatting rules -->
18450 <nationalNumberPattern>[2589]\d{9}</nationalNumberPattern>
18451 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
18452 </generalDesc>
18453 <fixedLine>
18454 <nationalNumberPattern>
18455 284(?:
18456 (?:
18457 229|
18458 4(?:
18459 46|
18460 9[45]
18461 )|
18462 8(?:
18463 52|
18464 6[459]
18465 )
18466 )\d{4}|
18467 496[0-5]\d{3}
18468 )
18469 </nationalNumberPattern>
18470 <exampleNumber>2842291234</exampleNumber>
18471 </fixedLine>
18472 <mobile>
18473 <nationalNumberPattern>
18474 284(?:
18475 (?:
18476 30[0-3]|
18477 4(?:
18478 4[0-5]|
18479 68|
18480 99
18481 )|
18482 54[0-4]
18483 )\d{4}|
18484 496[6-9]\d{3}
18485 )
18486 </nationalNumberPattern>
18487 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18488 <exampleNumber>2843001234</exampleNumber>
18489 </mobile>
18490 <tollFree>
18491 <nationalNumberPattern>
18492 8(?:
18493 00|
18494 55|
18495 66|
18496 77|
18497 88
18498 )[2-9]\d{6}
18499 </nationalNumberPattern>
18500 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18501 <exampleNumber>8002345678</exampleNumber>
18502 </tollFree>
18503 <premiumRate>
18504 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
18505 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18506 <exampleNumber>9002345678</exampleNumber>
18507 </premiumRate>
18508 <personalNumber>
18509 <!-- http://www.nanpa.com/pdf/PL_416.pdf -->
18510 <nationalNumberPattern>
18511 5(?:
18512 00|
18513 33|
18514 44
18515 )[2-9]\d{6}
18516 </nationalNumberPattern>
18517 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18518 <exampleNumber>5002345678</exampleNumber>
18519 </personalNumber>
18520 </territory>
18521
18522 <!-- Virgin Islands, United States -->
18523 <!-- http://www.itu.int/oth/T02020000DF/en -->
18524 <territory id="VI" countryCode="1" leadingDigits="340"
18525 nationalPrefix="1" internationalPrefix="011">
18526 <generalDesc>
18527 <!-- NANPA country - uses US formatting rules -->
18528 <nationalNumberPattern>[3589]\d{9}</nationalNumberPattern>
18529 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
18530 </generalDesc>
18531 <fixedLine>
18532 <nationalNumberPattern>
18533 340(?:
18534 6[49]2|
18535 7[17]\d
18536 )\d{4}
18537 </nationalNumberPattern>
18538 <exampleNumber>3406421234</exampleNumber>
18539 </fixedLine>
18540 <mobile>
18541 <nationalNumberPattern>
18542 340(?:
18543 6[49]2|
18544 7[17]\d
18545 )\d{4}
18546 </nationalNumberPattern>
18547 <exampleNumber>3406421234</exampleNumber>
18548 </mobile>
18549 <tollFree>
18550 <nationalNumberPattern>
18551 8(?:
18552 00|
18553 55|
18554 66|
18555 77|
18556 88
18557 )[2-9]\d{6}
18558 </nationalNumberPattern>
18559 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18560 <exampleNumber>8002345678</exampleNumber>
18561 </tollFree>
18562 <premiumRate>
18563 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
18564 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18565 <exampleNumber>9002345678</exampleNumber>
18566 </premiumRate>
18567 <personalNumber>
18568 <!-- http://www.nanpa.com/pdf/PL_416.pdf -->
18569 <nationalNumberPattern>
18570 5(?:
18571 00|
18572 33|
18573 44
18574 )[2-9]\d{6}
18575 </nationalNumberPattern>
18576 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18577 <exampleNumber>5002345678</exampleNumber>
18578 </personalNumber>
18579 </territory>
18580
18581 <!-- Viet Nam (Vietnam) -->
18582 <!-- http://www.itu.int/oth/T02020000E4/en -->
18583 <!-- http://en.wikipedia.org/wiki/%2B84 -->
18584 <territory id="VN" countryCode="84" internationalPrefix="00"
18585 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
18586 <availableFormats>
18587 <numberFormat pattern="([48])(\d{4})(\d{4})">
18588 <leadingDigits>[48]</leadingDigits>
18589 <format>$1 $2 $3</format>
18590 </numberFormat>
18591 <numberFormat pattern="([235-7]\d)(\d{4})(\d{3})">
18592 <leadingDigits>
18593 2[025-79]|
18594 3[0136-9]|
18595 5[2-9]|
18596 6[0-46-9]|
18597 7[02-79]
18598 </leadingDigits>
18599 <format>$1 $2 $3</format>
18600 </numberFormat>
18601 <numberFormat pattern="(80)(\d{5})">
18602 <leadingDigits>80</leadingDigits>
18603 <format>$1 $2</format>
18604 </numberFormat>
18605 <numberFormat pattern="(69\d)(\d{4,5})">
18606 <leadingDigits>69</leadingDigits>
18607 <format>$1 $2</format>
18608 </numberFormat>
18609 <numberFormat pattern="([235-7]\d{2})(\d{4})(\d{3})">
18610 <leadingDigits>
18611 2[1348]|
18612 3[25]|
18613 5[01]|
18614 65|
18615 7[18]
18616 </leadingDigits>
18617 <format>$1 $2 $3</format>
18618 </numberFormat>
18619 <numberFormat pattern="(9\d)(\d{3})(\d{2})(\d{2})">
18620 <leadingDigits>9</leadingDigits>
18621 <format>$1 $2 $3 $4</format>
18622 </numberFormat>
18623 <numberFormat pattern="(1[2689]\d)(\d{3})(\d{4})">
18624 <leadingDigits>
18625 1(?:
18626 [26]|
18627 88|
18628 99
18629 )
18630 </leadingDigits>
18631 <format>$1 $2 $3</format>
18632 </numberFormat>
18633 <numberFormat nationalPrefixFormattingRule="$FG"
18634 pattern="(1[89]00)(\d{4,6})">
18635 <leadingDigits>1[89]0</leadingDigits>
18636 <format>$1 $2</format>
18637 </numberFormat>
18638 </availableFormats>
18639 <generalDesc>
18640 <nationalNumberPattern>
18641 8\d{5,8}|
18642 [1-79]\d{7,9}
18643 </nationalNumberPattern>
18644 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
18645 </generalDesc>
18646 <fixedLine>
18647 <nationalNumberPattern>
18648 (?:
18649 2(?:
18650 [025-79]|
18651 1[0189]|
18652 [348][01]
18653 )|
18654 3(?:
18655 [0136-9]|
18656 [25][01]
18657 )|
18658 [48]\d|
18659 5(?:
18660 [01][01]|
18661 [2-9]
18662 )|
18663 6(?:
18664 [0-46-8]|
18665 5[01]
18666 )|
18667 7(?:
18668 [02-79]|
18669 [18][01]
18670 )
18671 )\d{7}|
18672 69\d{5,6}|
18673 80\d{5}
18674 </nationalNumberPattern>
18675 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
18676 <exampleNumber>2101234567</exampleNumber>
18677 </fixedLine>
18678 <mobile>
18679 <nationalNumberPattern>
18680 (?:
18681 9\d|
18682 1(?:
18683 2\d|
18684 6[3-9]|
18685 88|
18686 99
18687 )
18688 )\d{7}
18689 </nationalNumberPattern>
18690 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
18691 <exampleNumber>912345678</exampleNumber>
18692 </mobile>
18693 <tollFree>
18694 <nationalNumberPattern>1800\d{4,6}</nationalNumberPattern>
18695 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
18696 <exampleNumber>1800123456</exampleNumber>
18697 </tollFree>
18698 <premiumRate>
18699 <nationalNumberPattern>1900\d{4,6}</nationalNumberPattern>
18700 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
18701 <exampleNumber>1900123456</exampleNumber>
18702 </premiumRate>
18703 </territory>
18704
18705 <!-- Vanuatu -->
18706 <territory id="VU" countryCode="678" internationalPrefix="00">
18707 </territory>
18708
18709 <!-- Wallis and Futuna (Territoire français d'outre-mer) -->
18710 <territory id="WF" countryCode="681" internationalPrefix="19">
18711 </territory>
18712
18713 <!-- Samoa -->
18714 <!-- http://www.itu.int/oth/T02020000B4/en -->
18715 <territory id="WS" countryCode="685" internationalPrefix="0"
18716 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
18717 <availableFormats>
18718 <!-- Should be formatted in one block, apart from the specific series belo w. For this reason
18719 the leadingDigits is more detailed than would appear necessary. -->
18720 <numberFormat pattern="(8[04]0)(\d{3,4})">
18721 <leadingDigits>8[04]0</leadingDigits>
18722 <format>$1 $2</format>
18723 </numberFormat>
18724 <numberFormat pattern="(7[25-7])(\d{5})">
18725 <leadingDigits>7[25-7]</leadingDigits>
18726 <format>$1 $2</format>
18727 </numberFormat>
18728 </availableFormats>
18729 <generalDesc>
18730 <nationalNumberPattern>[2-8]\d{4,6}</nationalNumberPattern>
18731 <possibleNumberPattern>\d{5,7}</possibleNumberPattern>
18732 </generalDesc>
18733 <fixedLine>
18734 <nationalNumberPattern>
18735 (?:
18736 [2-5]\d|
18737 6[1-9]|
18738 840\d
18739 )\d{3}
18740 </nationalNumberPattern>
18741 <possibleNumberPattern>\d{5,7}</possibleNumberPattern>
18742 <exampleNumber>22123</exampleNumber>
18743 </fixedLine>
18744 <mobile>
18745 <nationalNumberPattern>
18746 (?:
18747 60|
18748 7[25-7]\d
18749 )\d{4}
18750 </nationalNumberPattern>
18751 <possibleNumberPattern>\d{6,7}</possibleNumberPattern>
18752 <exampleNumber>601234</exampleNumber>
18753 </mobile>
18754 <tollFree>
18755 <!-- The 800 number series is new, and is used by companies such as the ANZ bank in Samoa to
18756 provide 24 hour eMerchant support. It is marked as "Customized Serv ices" in the plan
18757 for now, so may be also used for other purposes than toll free, but until we have
18758 further evidence of these we will keep it as toll free. -->
18759 <nationalNumberPattern>800\d{3}</nationalNumberPattern>
18760 <possibleNumberPattern>\d{6}</possibleNumberPattern>
18761 <exampleNumber>800123</exampleNumber>
18762 </tollFree>
18763 <!-- Current research suggests other types of numbers are not used in Samo a. -->
18764 </territory>
18765
18766 <!-- Yemen -->
18767 <!-- http://www.itu.int/oth/T02020000E7/en -->
18768 <territory id="YE" countryCode="967" internationalPrefix="00"
18769 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
18770 <availableFormats>
18771 <numberFormat pattern="([1-7])(\d{3})(\d{3,4})">
18772 <leadingDigits>
18773 [1-6]|
18774 7[24-68]
18775 </leadingDigits>
18776 <format>$1 $2 $3</format>
18777 </numberFormat>
18778 <numberFormat pattern="(7[137]\d)(\d{3})(\d{3})">
18779 <leadingDigits>7[137]</leadingDigits>
18780 <format>$1 $2 $3</format>
18781 </numberFormat>
18782 </availableFormats>
18783 <generalDesc>
18784 <nationalNumberPattern>[1-7]\d{6,8}</nationalNumberPattern>
18785 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
18786 </generalDesc>
18787 <fixedLine>
18788 <nationalNumberPattern>
18789 (?:
18790 1(?:
18791 7\d|
18792 [2-68]
18793 )|
18794 2[2-68]|
18795 3[2358]|
18796 4[2-58]|
18797 5[2-6]|
18798 6[3-58]|
18799 7[24-68]
18800 )\d{5}
18801 </nationalNumberPattern>
18802 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
18803 <exampleNumber>1234567</exampleNumber>
18804 </fixedLine>
18805 <mobile>
18806 <nationalNumberPattern>7[137]\d{7}</nationalNumberPattern>
18807 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18808 <exampleNumber>712345678</exampleNumber>
18809 </mobile>
18810 <!-- No tollFree or premiumRate information can be found. -->
18811 </territory>
18812
18813 <!-- Mayotte -->
18814 <!-- Some information at http://en.wikipedia.org/wiki/Telephone_numbers_in_F rance - most from
18815 collection of internet data. http://www.comores-online.com/mwezinet/in ternet/262.htm
18816 verifies the fixed-line prefixes, but the mobile prefixes listed here s eem out of date.
18817 -->
18818 <territory id="YT" countryCode="262" internationalPrefix="00"
18819 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
18820 leadingDigits="269|63">
18821 <!-- Formatting as per La Réunion. -->
18822 <generalDesc>
18823 <nationalNumberPattern>[268]\d{8}</nationalNumberPattern>
18824 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18825 </generalDesc>
18826 <fixedLine>
18827 <nationalNumberPattern>2696[0-4]\d{4}</nationalNumberPattern>
18828 <exampleNumber>269601234</exampleNumber>
18829 </fixedLine>
18830 <mobile>
18831 <nationalNumberPattern>639\d{6}</nationalNumberPattern>
18832 <exampleNumber>639123456</exampleNumber>
18833 </mobile>
18834 <!-- Same as in France. -->
18835 <tollFree>
18836 <nationalNumberPattern>80\d{7}</nationalNumberPattern>
18837 <exampleNumber>801234567</exampleNumber>
18838 </tollFree>
18839 </territory>
18840
18841 <!-- South Africa -->
18842 <!-- http://www.itu.int/dms_pub/itu-t/oth/02/02/T02020000C10001PDFE.pdf -->
18843 <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_South_Africa -->
18844 <territory id="ZA" countryCode="27" internationalPrefix="00"
18845 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
18846 <availableFormats>
18847 <numberFormat pattern="(860)(\d{3})(\d{3})">
18848 <leadingDigits>860</leadingDigits>
18849 <format>$1 $2 $3</format>
18850 </numberFormat>
18851 <numberFormat pattern="([1-578]\d)(\d{3})(\d{4})">
18852 <leadingDigits>
18853 [1-57]|
18854 8(?:
18855 [0-57-9]|
18856 6[1-9]
18857 )
18858 </leadingDigits>
18859 <format>$1 $2 $3</format>
18860 </numberFormat>
18861 </availableFormats>
18862 <generalDesc>
18863 <nationalNumberPattern>\d{9}</nationalNumberPattern>
18864 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
18865 </generalDesc>
18866 <fixedLine>
18867 <nationalNumberPattern>
18868 (?:
18869 1[0-8]|
18870 2[1-478]|
18871 3[1-69]|
18872 4\d|
18873 5[1346-8]
18874 )\d{7}
18875 </nationalNumberPattern>
18876 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
18877 <exampleNumber>101234567</exampleNumber>
18878 </fixedLine>
18879 <mobile>
18880 <nationalNumberPattern>
18881 (?:
18882 7[1-4689]|
18883 8[1-5789]
18884 )\d{7}
18885 </nationalNumberPattern>
18886 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18887 <exampleNumber>711234567</exampleNumber>
18888 </mobile>
18889 <tollFree>
18890 <nationalNumberPattern>80\d{7}</nationalNumberPattern>
18891 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18892 <exampleNumber>801234567</exampleNumber>
18893 </tollFree>
18894 <premiumRate>
18895 <nationalNumberPattern>86[1-9]\d{6}</nationalNumberPattern>
18896 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18897 <exampleNumber>861234567</exampleNumber>
18898 </premiumRate>
18899 <sharedCost>
18900 <nationalNumberPattern>860\d{6}</nationalNumberPattern>
18901 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18902 <exampleNumber>860123456</exampleNumber>
18903 </sharedCost>
18904 <voip>
18905 <nationalNumberPattern>87\d{7}</nationalNumberPattern>
18906 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18907 <exampleNumber>871234567</exampleNumber>
18908 </voip>
18909 </territory>
18910
18911 <!-- Zambia -->
18912 <!-- http://www.itu.int/oth/T02020000E8/en -->
18913 <territory id="ZM" countryCode="260" internationalPrefix="00"
18914 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
18915 <availableFormats>
18916 <numberFormat pattern="([29]\d)(\d{7})">
18917 <leadingDigits>[29]</leadingDigits>
18918 <format>$1 $2</format>
18919 </numberFormat>
18920 <numberFormat pattern="(800)(\d{3})(\d{3})">
18921 <leadingDigits>8</leadingDigits>
18922 <format>$1 $2 $3</format>
18923 </numberFormat>
18924 </availableFormats>
18925 <generalDesc>
18926 <nationalNumberPattern>[289]\d{8}</nationalNumberPattern>
18927 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18928 </generalDesc>
18929 <fixedLine>
18930 <nationalNumberPattern>21[1-8]\d{6}</nationalNumberPattern>
18931 <exampleNumber>211234567</exampleNumber>
18932 </fixedLine>
18933 <mobile>
18934 <!-- Adding extra prefixes 6[457-9] and 7[4-6] since SMS messages have b een successfully
18935 delivered to these numbers, and numbers like this can be found on t he Internet. -->
18936 <nationalNumberPattern>
18937 9(?:
18938 55|
18939 6[4-9]|
18940 7[4-9]
18941 )\d{6}
18942 </nationalNumberPattern>
18943 <exampleNumber>955123456</exampleNumber>
18944 </mobile>
18945 <tollFree>
18946 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
18947 <exampleNumber>800123456</exampleNumber>
18948 </tollFree>
18949 </territory>
18950
18951 <!-- Zimbabwe -->
18952 <!-- http://www.itu.int/oth/T02020000E9/en -->
18953 <territory id="ZW" countryCode="263" internationalPrefix="00"
18954 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
18955 <availableFormats>
18956 <!-- One-digit area codes -->
18957 <numberFormat pattern="([49])(\d{3})(\d{2,5})">
18958 <leadingDigits>
18959 4|
18960 9[2-9]
18961 </leadingDigits>
18962 <format>$1 $2 $3</format>
18963 </numberFormat>
18964 <!-- Mobile numbers -->
18965 <numberFormat pattern="([179]\d)(\d{3})(\d{3,4})">
18966 <leadingDigits>
18967 [19]1|
18968 7
18969 </leadingDigits>
18970 <format>$1 $2 $3</format>
18971 </numberFormat>
18972 <!-- Two-digit area codes -->
18973 <numberFormat pattern="([1-356]\d)(\d{3,5})">
18974 <leadingDigits>
18975 1[3-9]|
18976 2(?:
18977 [1-469]|
18978 0[0-35-9]|
18979 [45][0-79]
18980 )|
18981 3(?:
18982 0[0-79]|
18983 1[0-689]|
18984 [24-69]|
18985 3[0-69]
18986 )|
18987 5(?:
18988 [02-46-9]|
18989 [15][0-69]
18990 )|
18991 6(?:
18992 [0145]|
18993 [29][0-79]|
18994 3[0-689]|
18995 [68][0-69]
18996 )
18997 </leadingDigits>
18998 <format>$1 $2</format>
18999 </numberFormat>
19000 <numberFormat pattern="([1-356]\d)(\d{3})(\d{3})">
19001 <leadingDigits>
19002 1[3-9]|
19003 2(?:
19004 [1-469]|
19005 0[0-35-9]|
19006 [45][0-79]
19007 )|
19008 3(?:
19009 0[0-79]|
19010 1[0-689]|
19011 [24-69]|
19012 3[0-69]
19013 )|
19014 5(?:
19015 [02-46-9]|
19016 [15][0-69]
19017 )|
19018 6(?:
19019 [0145]|
19020 [29][0-79]|
19021 3[0-689]|
19022 [68][0-69]
19023 )
19024 </leadingDigits>
19025 <format>$1 $2 $3</format>
19026 </numberFormat>
19027 <!-- Three-digit area codes -->
19028 <numberFormat pattern="([2356]\d{2})(\d{3,5})">
19029 <leadingDigits>
19030 2(?:
19031 [278]|
19032 0[45]|
19033 48
19034 )|
19035 3(?:
19036 08|
19037 17|
19038 3[78]|
19039 [78]
19040 )|
19041 5[15][78]|
19042 6(?:
19043 [29]8|
19044 37|
19045 [68][78]
19046 )
19047 </leadingDigits>
19048 <format>$1 $2</format>
19049 </numberFormat>
19050 <numberFormat pattern="([2356]\d{2})(\d{3})(\d{3})">
19051 <leadingDigits>
19052 2(?:
19053 [278]|
19054 0[45]|
19055 48
19056 )|
19057 3(?:
19058 08|
19059 17|
19060 3[78]|
19061 [78]
19062 )|
19063 5[15][78]|
19064 6(?:
19065 [29]8|
19066 37|
19067 [68][78]
19068 )
19069 </leadingDigits>
19070 <format>$1 $2 $3</format>
19071 </numberFormat>
19072 <!-- Four-digit area codes -->
19073 <numberFormat pattern="([25]\d{3})(\d{3,5})">
19074 <leadingDigits>
19075 (?:
19076 25|
19077 54
19078 )8
19079 </leadingDigits>
19080 <leadingDigits>
19081 258[23]|
19082 5483
19083 </leadingDigits>
19084 <format>$1 $2</format>
19085 </numberFormat>
19086 <numberFormat pattern="([25]\d{3})(\d{3})(\d{3})">
19087 <leadingDigits>
19088 (?:
19089 25|
19090 54
19091 )8
19092 </leadingDigits>
19093 <leadingDigits>
19094 258[23]|
19095 5483
19096 </leadingDigits>
19097 <format>$1 $2 $3</format>
19098 </numberFormat>
19099 <!-- VOIP numbers -->
19100 <numberFormat pattern="(8\d{3})(\d{6})">
19101 <leadingDigits>8</leadingDigits>
19102 <format>$1 $2</format>
19103 </numberFormat>
19104 </availableFormats>
19105 <generalDesc>
19106 <!-- A complicated nationalNumberPattern is necessary here, since the nu mbers are extremely
19107 variable in length and the possible prefixes clash with the country code. -->
19108 <nationalNumberPattern>
19109 2(?:
19110 [012457-9]\d{3,8}|
19111 6\d{3,6}
19112 )|
19113 [13-79]\d{4,8}|
19114 86\d{8}
19115 </nationalNumberPattern>
19116 <possibleNumberPattern>\d{3,10}</possibleNumberPattern>
19117 </generalDesc>
19118 <fixedLine>
19119 <!-- Numbering is grouped by subscriber-number length. -->
19120 <nationalNumberPattern>
19121 (?:
19122 1[3-9]|
19123 2(?:
19124 0[45]|
19125 [16]|
19126 2[28]|
19127 [49]8?|
19128 58[23]|
19129 7[246]|
19130 8[1346-9]
19131 )|
19132 3(?:
19133 08?|
19134 17?|
19135 3[78]|
19136 [2456]|
19137 7[1569]|
19138 8[379]
19139 )|
19140 5(?:
19141 [07-9]|
19142 1[78]|
19143 483|
19144 5(?:
19145 7?|
19146 8
19147 )
19148 )|
19149 6(?:
19150 0|
19151 28|
19152 37?|
19153 [45][68][78]|
19154 98?
19155 )|
19156 848
19157 )\d{3,6}|
19158 (?:
19159 2(?:
19160 27|
19161 5|
19162 7[135789]|
19163 8[25]
19164 )|
19165 3[39]|
19166 5[1-46]|
19167 6[126-8]
19168 )\d{4,6}|
19169 2(?:
19170 0|
19171 70
19172 )\d{5,6}|
19173 (?:
19174 4\d|
19175 9[2-8]
19176 )\d{4,7}
19177 </nationalNumberPattern>
19178 <exampleNumber>1312345</exampleNumber>
19179 </fixedLine>
19180 <mobile>
19181 <nationalNumberPattern>7[137]\d{7}</nationalNumberPattern>
19182 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19183 <exampleNumber>711234567</exampleNumber>
19184 </mobile>
19185 <!-- No tollFree or premiumRate information can be found. -->
19186 <voip>
19187 <nationalNumberPattern>
19188 86(?:
19189 1[12]|
19190 22|
19191 30|
19192 44|
19193 8[367]|
19194 99
19195 )\d{6}
19196 </nationalNumberPattern>
19197 <possibleNumberPattern>\d{10}</possibleNumberPattern>
19198 <exampleNumber>8686123456</exampleNumber>
19199 </voip>
19200 </territory>
19201 </territories>
19202 </phoneNumberMetadata>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698