add resources

This commit is contained in:
Vlasislav Kashin
2025-06-27 10:56:08 +03:00
commit 5f8bdd4b39
1780 changed files with 739214 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
Region ; Label ; Comment
CN ; SC ; "http://www.itu.int/oth/T020200002B/en"
CN ; SC_SHORT_CODE ; "100xx numbers are mainly used for carrier services. They can be dialed nationwide and\nare always routed to the local provider. Note they can also be used with area codes\nwhen one specifically wants to reach an operator in a different region. That case is\nmore like fixed-line and is covered under the fixed-line pattern in\nPhoneNumberMetadata.xml."
CN ; SC_STANDARD_RATE ; "100xx numbers are free if called from a phone by the same carrier, or charged at local\nrate if called from a phone by a different carrier.\n95xxx(x) numbers are covered by the ITU doc, but the following doc contains more info:\nhttp://baike.baidu.com/view/3269670.htm. They can be dialed nationwide and are always\nrouted to the local provider. Note they can also be used with area codes when one\nspecifically wants to reach an operator in a different region. That case is more like\nfixed-line and is covered under the fixed-line pattern in PhoneNumberMetadata.xml."
CN ; XML ; "The international/national prefix patterns must not collide with valid prefixes such\nas 17[0678] and 19[89]. 179XX00 is a valid calling prefix, see: www.chahaoba.com/179"
CN ; XML ; "http://www.itu.int/oth/T020200002B/en"
CN ; XML ; "https://en.wikipedia.org/wiki/Telephone_numbers_in_China"
CN ; XML_FIXED_LINE ; "0432 increased to 8 digits on October 24, 2009. 0791 increased to 8 digits on August\n28, 2011. 0551 increased to 8 digits and 0565 was cancelled on Dec 8, 2012. 0871\nincreased to 8 digits on December 16, 2012. 0475 is the prefix for Tongliao but is not\nin the ITU data.\n10xxx, 123xx and 95xxx(x) numbers with area codes are also included here, as they\nbehave exactly like fixed-line numbers. We don't support them for 4-digit area codes\nthough, as they don't seem to be used there based on making actual phone calls."
CN ; XML_MOBILE ; "170, 176 and 177 prefixes are introduced in early 2014 for 4G networks. ITU mentions 13\ndigit 10647, 1440 and 10 digit 14[68] ranges as ""Non-geographic number, Mobile (IoT\ndedicated)"". Library does not support ""Internet of things (IoT)"" numbers which are\ngenerally used for communication between the devices. So we don't include 146 here at\nthis time."
CN ; XML_SHARED_COST ; "96xxx(x) numbers with area codes are included here. Their costs are not well\ndocumented, but they are thought to be mostly local costs with certain exceptions. We\ndon't support them for 4-digit area codes though, as they don't seem to be used there\nbased on online searches."
CN ; XML_TOLL_FREE ; "Toll free, premium rate, and VoIP numbers are not clearly defined in the official Chinese\nnumber plan, and do not seem to have been standardized. The information below is\ncollected from searching the web. 12 digit 800 numbers with area codes of Shanghai(21)\nand Beijing(10) are toll-free based on online references."
CN ; XML_TOLL_FREE ; "http://en.wikipedia.org/wiki/Toll-free_telephone_number"
1 Region Label Comment
2 CN SC http://www.itu.int/oth/T020200002B/en
3 CN SC_SHORT_CODE 100xx numbers are mainly used for carrier services. They can be dialed nationwide and\nare always routed to the local provider. Note they can also be used with area codes\nwhen one specifically wants to reach an operator in a different region. That case is\nmore like fixed-line and is covered under the fixed-line pattern in\nPhoneNumberMetadata.xml.
4 CN SC_STANDARD_RATE 100xx numbers are free if called from a phone by the same carrier, or charged at local\nrate if called from a phone by a different carrier.\n95xxx(x) numbers are covered by the ITU doc, but the following doc contains more info:\nhttp://baike.baidu.com/view/3269670.htm. They can be dialed nationwide and are always\nrouted to the local provider. Note they can also be used with area codes when one\nspecifically wants to reach an operator in a different region. That case is more like\nfixed-line and is covered under the fixed-line pattern in PhoneNumberMetadata.xml.
5 CN XML The international/national prefix patterns must not collide with valid prefixes such\nas 17[0678] and 19[89]. 179XX00 is a valid calling prefix, see: www.chahaoba.com/179
6 CN XML http://www.itu.int/oth/T020200002B/en
7 CN XML https://en.wikipedia.org/wiki/Telephone_numbers_in_China
8 CN XML_FIXED_LINE 0432 increased to 8 digits on October 24, 2009. 0791 increased to 8 digits on August\n28, 2011. 0551 increased to 8 digits and 0565 was cancelled on Dec 8, 2012. 0871\nincreased to 8 digits on December 16, 2012. 0475 is the prefix for Tongliao but is not\nin the ITU data.\n10xxx, 123xx and 95xxx(x) numbers with area codes are also included here, as they\nbehave exactly like fixed-line numbers. We don't support them for 4-digit area codes\nthough, as they don't seem to be used there based on making actual phone calls.
9 CN XML_MOBILE 170, 176 and 177 prefixes are introduced in early 2014 for 4G networks. ITU mentions 13\ndigit 10647, 1440 and 10 digit 14[68] ranges as "Non-geographic number, Mobile (IoT\ndedicated)". Library does not support "Internet of things (IoT)" numbers which are\ngenerally used for communication between the devices. So we don't include 146 here at\nthis time.
10 CN XML_SHARED_COST 96xxx(x) numbers with area codes are included here. Their costs are not well\ndocumented, but they are thought to be mostly local costs with certain exceptions. We\ndon't support them for 4-digit area codes though, as they don't seem to be used there\nbased on online searches.
11 CN XML_TOLL_FREE Toll free, premium rate, and VoIP numbers are not clearly defined in the official Chinese\nnumber plan, and do not seem to have been standardized. The information below is\ncollected from searching the web. 12 digit 800 numbers with area codes of Shanghai(21)\nand Beijing(10) are toll-free based on online references.
12 CN XML_TOLL_FREE http://en.wikipedia.org/wiki/Toll-free_telephone_number

View File

@@ -0,0 +1,6 @@
Region ; Type ; Number
CN ; FIXED_LINE ; "1012345678"
CN ; MOBILE ; "13123456789"
CN ; TOLL_FREE ; "8001234567"
CN ; PREMIUM_RATE ; "16812345"
CN ; SHARED_COST ; "4001234567"
1 Region Type Number
2 CN FIXED_LINE 1012345678
3 CN MOBILE 13123456789
4 CN TOLL_FREE 8001234567
5 CN PREMIUM_RATE 16812345
6 CN SHARED_COST 4001234567

View File

@@ -0,0 +1,13 @@
Id ; National ; Carrier ; International ; Local ; National Prefix Optional ; Comment
fixed_2/4/4 ; "#XX XXXX XXXX" ; "@ XX XXXX XXXX" ; "XX XXXX XXXX" ; "XXXX XXXX" ; true ; "10 digit fixed line range"
fixed_3/3/4 ; "#XXX XXX XXXX" ; "@ XXX XXX XXXX" ; "XXX XXX XXXX" ; "XXX XXXX" ; true ; "10 digit fixed line range"
fixed_3/4/4 ; "#XXX XXXX XXXX" ; "@ XXX XXXX XXXX" ; "XXX XXXX XXXX" ; "XXXX XXXX" ; true ; "11 digit fixed line range"
fixed_4/3/4 ; "#XXXX XXX XXXX" ; "@ XXXX XXX XXXX" ; "XXXX XXX XXXX" ; "XXX XXXX" ; true ; "11 digit fixed line range"
mobile_3/4/4 ; "XXX XXXX XXXX" ; "@ XXX XXXX XXXX" ; "XXX XXXX XXXX" ; ; ; "Mobile range"
premium_rate_4/4 ; "XXXX XXXX" ; ; ; ; ; "8-digit premium rate numbers."
sharedcost_3/7-8 ; "XXX XXXXXXX*" ; ; "XXX XXXXXXX*" ; ; ; "10-11 digit shared cost range"
shortcode_5-6 ; "XXXXX*" ; ; ; ; ; "5-6 digit short number"
shortcodes_with_prefix_2/5-6 ; "#XX XXXXX*" ; "@ XX XXXXX*" ; "XX XXXXX*" ; "XXXXX*" ; ; "100xx and 9[56]xxx(x) numbers with two-digit area codes."
shortcodes_with_prefix_3/5-6 ; "#XXX XXXXX*" ; "@ XXX XXXXX*" ; "XXX XXXXX*" ; "XXXXX*" ; ; "100xx and 9[56]xxx(x) numbers with three-digit area codes."
tollfree_2/3/3/4 ; "#XX XXX XXX XXXX" ; ; "XX XXX XXX XXXX" ; ; true ; "12 digit toll free range"
varcost_3/3/4 ; "XXX XXX XXXX" ; ; "XXX XXX XXXX" ; ; ; "10 digit toll free or shared cost range"
Can't render this file because it contains an unexpected character in line 2 and column 46.

View File

@@ -0,0 +1,6 @@
Id ; Domestic Selection Codes ; International Dialling Codes ; Name:en ; Name:zh ; Name:zh-Hant
__unknown ; "1[12]xxx" ; "1[12]xxx00"
cbn ; ; ; "CBN" ; "CBN" ; "CBN"
china_mobile ; "179xx" ; "179xx00" ; "China Mobile" ; "中国移动" ; "中國移動"
china_telecom ; ; ; "China Telecom" ; "中国电信" ; "中國電信"
china_unicom ; ; ; "China Unicom" ; "中国联通" ; "中國聯通"
Can't render this file because it contains an unexpected character in line 2 and column 26.

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,17 @@
Region ; Prefix ; Length ; Type ; Tariff ; Sms ; Format ; Provenance ; Comment
CN ; 100 ; 3 ; COMMERCIAL ; STANDARD_RATE
CN ; 100 ; 5 ; COMMERCIAL ; STANDARD_RATE ; ; "shortcode_5-6"
CN ; 10[126] ; 5 ; COMMERCIAL ; STANDARD_RATE
CN ; 108 ; 4 ; COMMERCIAL ; STANDARD_RATE
CN ; 11[09] ; 3 ; EMERGENCY ; TOLL_FREE
CN ; 112 ; 3 ; COMMERCIAL ; STANDARD_RATE ; ; ; TELECOMS ; "As of 2017"
CN ; 114 ; 3 ; COMMERCIAL ; STANDARD_RATE
CN ; 120 ; 3 ; EMERGENCY ; TOLL_FREE
CN ; 121[02-9] ; 5 ; EXPANDED_EMERGENCY ; TOLL_FREE ; ; "shortcode_5-6"
CN ; 12110 ; 5 ; EXPANDED_EMERGENCY ; TOLL_FREE ; true ; "shortcode_5-6"
CN ; 1211[1-9] ; 5 ; EXPANDED_EMERGENCY ; TOLL_FREE ; ; "shortcode_5-6"
CN ; 122 ; 3 ; EXPANDED_EMERGENCY ; TOLL_FREE
CN ; 123 ; 3 ; COMMERCIAL ; STANDARD_RATE
CN ; 12395 ; 5 ; EXPANDED_EMERGENCY ; TOLL_FREE ; ; "shortcode_5-6"
CN ; 16[08] ; 3 ; COMMERCIAL ; STANDARD_RATE
CN ; 9[56] ; 5,6 ; COMMERCIAL ; STANDARD_RATE ; ; "shortcode_5-6"
1 Region Prefix Length Type Tariff Sms Format Provenance Comment
2 CN 100 3 COMMERCIAL STANDARD_RATE
3 CN 100 5 COMMERCIAL STANDARD_RATE shortcode_5-6
4 CN 10[126] 5 COMMERCIAL STANDARD_RATE
5 CN 108 4 COMMERCIAL STANDARD_RATE
6 CN 11[09] 3 EMERGENCY TOLL_FREE
7 CN 112 3 COMMERCIAL STANDARD_RATE TELECOMS As of 2017
8 CN 114 3 COMMERCIAL STANDARD_RATE
9 CN 120 3 EMERGENCY TOLL_FREE
10 CN 121[02-9] 5 EXPANDED_EMERGENCY TOLL_FREE shortcode_5-6
11 CN 12110 5 EXPANDED_EMERGENCY TOLL_FREE true shortcode_5-6
12 CN 1211[1-9] 5 EXPANDED_EMERGENCY TOLL_FREE shortcode_5-6
13 CN 122 3 EXPANDED_EMERGENCY TOLL_FREE
14 CN 123 3 COMMERCIAL STANDARD_RATE
15 CN 12395 5 EXPANDED_EMERGENCY TOLL_FREE shortcode_5-6
16 CN 16[08] 3 COMMERCIAL STANDARD_RATE
17 CN 9[56] 5,6 COMMERCIAL STANDARD_RATE shortcode_5-6