1 /* t35.c
2  * T.35 and H.221 tables
3  * 2003  Tomas Kukosa
4  *
5  * Wireshark - Network traffic analyzer
6  * By Gerald Combs <gerald@wireshark.org>
7  * Copyright 1998 Gerald Combs
8  *
9  * SPDX-License-Identifier: GPL-2.0-or-later
10  */
11 
12 #include <epan/t35.h>
13 
14 /* Recommendation T.35 (02/2000) */
15 /* Annex to ITU Operational Bulletin No. 766 - 15.VI.2002 */
16 const value_string T35CountryCode_vals[] = {
17 	{ 0x00, "Japan"},
18 	{ 0x01, "Albania"},
19 	{ 0x02, "Algeria"},
20 	{ 0x03, "American Samoa"},
21 	{ 0x04, "Germany"},
22 	{ 0x05, "Anguilla"},
23 	{ 0x06, "Antigua and Barbuda"},
24 	{ 0x07, "Argentina"},
25 	{ 0x08, "Ascension (see S. Helena)"},
26 	{ 0x09, "Australia"},
27 	{ 0x0a, "Austria"},
28 	{ 0x0b, "Bahamas"},
29 	{ 0x0c, "Bahrain"},
30 	{ 0x0d, "Bangladesh"},
31 	{ 0x0e, "Barbados"},
32 	{ 0x0f, "Belgium"},
33 	{ 0x10, "Belize"},
34 	{ 0x11, "Benin"},
35 	{ 0x12, "Bermuda"},
36 	{ 0x13, "Bhutan"},
37 	{ 0x14, "Bolivia"},
38 	{ 0x15, "Botswana"},
39 	{ 0x16, "Brazil"},
40 	{ 0x17, "British Antarctic Territory"},
41 	{ 0x18, "British Indian Ocean Territory"},
42 	{ 0x19, "British Virgin Islands"},
43 	{ 0x1a, "Brunei Darussalam"},
44 	{ 0x1b, "Bulgaria"},
45 	{ 0x1c, "Myanmar"},
46 	{ 0x1d, "Burundi"},
47 	{ 0x1e, "Belarus"},
48 	{ 0x1f, "Cameroon"},
49 	{ 0x20, "Canada"},
50 	{ 0x21, "Cape Verde"},
51 	{ 0x22, "Cayman Islands"},
52 	{ 0x23, "Central African Rep."},
53 	{ 0x24, "Chad"},
54 	{ 0x25, "Chile"},
55 	{ 0x26, "China"},
56 	{ 0x27, "Colombia"},
57 	{ 0x28, "Comoros"},
58 	{ 0x29, "Congo"},
59 	{ 0x2a, "Cook Islands"},
60 	{ 0x2b, "Costa Rica"},
61 	{ 0x2c, "Cuba"},
62 	{ 0x2d, "Cyprus"},
63 	{ 0x2e, "Czech Rep."},
64 	{ 0x2f, "Cambodia"},
65 	{ 0x30, "Dem. People's Rep. of Korea"},
66 	{ 0x31, "Denmark"},
67 	{ 0x32, "Djibouti"},
68 	{ 0x33, "Dominican Rep."},
69 	{ 0x34, "Dominica"},
70 	{ 0x35, "Ecuador"},
71 	{ 0x36, "Egypt"},
72 	{ 0x37, "El Salvador"},
73 	{ 0x38, "Equatorial Guinea"},
74 	{ 0x39, "Ethiopia"},
75 	{ 0x3a, "Falkland Islands (Malvinas)"},
76 	{ 0x3b, "Fiji"},
77 	{ 0x3c, "Finland"},
78 	{ 0x3d, "France"},
79 	{ 0x3e, "French Polynesia"},
80 	/* { 0x3f, "(Available)"}, */
81 	{ 0x40, "Gabon"},
82 	{ 0x41, "Gambia"},
83 	{ 0x42, "Germany"},
84 	{ 0x43, "Angola"},
85 	{ 0x44, "Ghana"},
86 	{ 0x45, "Gibraltar"},
87 	{ 0x46, "Greece"},
88 	{ 0x47, "Grenada"},
89 	{ 0x48, "Guam"},
90 	{ 0x49, "Guatemala"},
91 	{ 0x4a, "Guernsey"},
92 	{ 0x4b, "Guinea"},
93 	{ 0x4c, "Guinea-Bissau"},
94 	{ 0x4d, "Guayana"},
95 	{ 0x4e, "Haiti"},
96 	{ 0x4f, "Honduras"},
97 	{ 0x50, "Hong Kong, China"},
98 	{ 0x51, "Hungary"},
99 	{ 0x52, "Iceland"},
100 	{ 0x53, "India"},
101 	{ 0x54, "Indonesia"},
102 	{ 0x55, "Iran (Islamic Republic of)"},
103 	{ 0x56, "Iraq"},
104 	{ 0x57, "Ireland"},
105 	{ 0x58, "Israel"},
106 	{ 0x59, "Italy"},
107 	{ 0x5a, "Cote d'Ivoire"},
108 	{ 0x5b, "Jamaica"},
109 	{ 0x5c, "Afghanistan"},
110 	{ 0x5d, "Jersey"},
111 	{ 0x5e, "Jordan"},
112 	{ 0x5f, "Kenya"},
113 	{ 0x60, "Kiribati"},
114 	{ 0x61, "Korea (Rep. of)"},
115 	{ 0x62, "Kuwait"},
116 	{ 0x63, "Lao P.D.R."},
117 	{ 0x64, "Lebanon"},
118 	{ 0x65, "Lesotho"},
119 	{ 0x66, "Liberia"},
120 	{ 0x67, "Libya"},
121 	{ 0x68, "Liechtenstein"},
122 	{ 0x69, "Luxembourg"},
123 	{ 0x6a, "Macao, China"},
124 	{ 0x6b, "Madagascar"},
125 	{ 0x6c, "Malaysia"},
126 	{ 0x6d, "Malawi"},
127 	{ 0x6e, "Maldives"},
128 	{ 0x6f, "Mali"},
129 	{ 0x70, "Malta"},
130 	{ 0x71, "Mauritania"},
131 	{ 0x72, "Mauritius"},
132 	{ 0x73, "Mexico"},
133 	{ 0x74, "Monaco"},
134 	{ 0x75, "Mongolia"},
135 	{ 0x76, "Montserrat"},
136 	{ 0x77, "Morocco"},
137 	{ 0x78, "Mozambique"},
138 	{ 0x79, "Nauru"},
139 	{ 0x7a, "Nepal"},
140 	{ 0x7b, "Netherlands"},
141 	{ 0x7c, "Netherlands Antilles"},
142 	{ 0x7d, "New Caledonia"},
143 	{ 0x7e, "New Zealand"},
144 	{ 0x7f, "Nicaragua"},
145 	{ 0x80, "Niger"},
146 	{ 0x81, "Nigeria"},
147 	{ 0x82, "Norway"},
148 	{ 0x83, "Oman"},
149 	{ 0x84, "Pakistan"},
150 	{ 0x85, "Panama"},
151 	{ 0x86, "Papua New Guinea"},
152 	{ 0x87, "Paraguay"},
153 	{ 0x88, "Peru"},
154 	{ 0x89, "Philippines"},
155 	{ 0x8a, "Poland"},
156 	{ 0x8b, "Portugal"},
157 	{ 0x8c, "Puerto Rico"},
158 	{ 0x8d, "Qatar"},
159 	{ 0x8e, "Romania"},
160 	{ 0x8f, "Rwanda"},
161 	{ 0x90, "Saint Kitts and Nevis"},
162 	{ 0x91, "Saint Croix"},
163 	{ 0x92, "Saint Helena and Ascension"},
164 	{ 0x93, "Saint Lucia"},
165 	{ 0x94, "San Marino"},
166 	{ 0x95, "Saint Thomas"},
167 	{ 0x96, "Sao Tome and Principe"},
168 	{ 0x97, "Saint Vincent and the Grenadines"},
169 	{ 0x98, "Saudi Arabia"},
170 	{ 0x99, "Senegal"},
171 	{ 0x9a, "Seychelles"},
172 	{ 0x9b, "Sierra Leone"},
173 	{ 0x9c, "Singapore"},
174 	{ 0x9d, "Solomon"},
175 	{ 0x9e, "Somalia"},
176 	{ 0x9f, "South Africa"},
177 	{ 0xa0, "Spain"},
178 	{ 0xa1, "Sri Lanka"},
179 	{ 0xa2, "Sudan"},
180 	{ 0xa3, "Suriname"},
181 	{ 0xa4, "Swaziland"},
182 	{ 0xa5, "Sweden"},
183 	{ 0xa6, "Switzerland"},
184 	{ 0xa7, "Syria"},
185 	{ 0xa8, "Tanzania"},
186 	{ 0xa9, "Thailand"},
187 	{ 0xaa, "Togo"},
188 	{ 0xab, "Tonga"},
189 	{ 0xac, "Trinidad and Tobago"},
190 	{ 0xad, "Tunisia"},
191 	{ 0xae, "Turkey"},
192 	{ 0xaf, "Turks and Caicos Islands"},
193 	{ 0xb0, "Tuvalu"},
194 	{ 0xb1, "Uganda"},
195 	{ 0xb2, "Ukraine"},
196 	{ 0xb3, "United Arab Emirates"},
197 	{ 0xb4, "United Kingdom"},
198 	{ 0xb5, "United States"},
199 	{ 0xb6, "Burkina Faso"},
200 	{ 0xb7, "Uruguay"},
201 	{ 0xb8, "Russia"},
202 	{ 0xb9, "Vanuatu"},
203 	{ 0xba, "Vatican"},
204 	{ 0xbb, "Venezuela"},
205 	{ 0xbc, "Viet Nam"},
206 	{ 0xbd, "Wallis and Futuna"},
207 	{ 0xbe, "Samoa"},
208 	{ 0xbf, "Yemen"},
209 	{ 0xc0, "Yemen"},
210 	{ 0xc1, "Yugoslavia"},
211 	{ 0xc2, "Dem. Rep. of the Congo"},
212 	{ 0xc3, "Zambia"},
213 	{ 0xc4, "Zimbabwe"},
214 	{ 0xc5, "Slovakia"},
215 	{ 0xc6, "Slovenia"},
216 	{  0, NULL }
217 };
218 
219 
220 const value_string T35Extension_vals[] = {
221 	{  0, NULL }
222 };
223 
224 const value_string H221ManufacturerCode_vals[] = {
225 	{  0x000b2d00, "Sony"}					,                           /* From captures */
226 	{  0x04000042, "Deutsche Telekom AG" },                             /* From Ref. 3 */
227 	{  0x04000043, "Deutsche Telekom AG" },                             /* From Ref. 3 */
228 	{  0x04000082, "Siemens AG" },                                      /* From Ref. 3 */
229 	{  0x04000084, "ITO Communication" },                               /* From Ref. 3 */
230 	{  0x04000086, "Hauni Elektronik" },                                /* From Ref. 3 */
231 	{  0x04000088, "Dr.Neuhaus Mikroelektronik" },                      /* From Ref. 3 */
232 	{  0x0400008a, "mps Software" },                                    /* From Ref. 3 */
233 	{  0x0400008b, "Ferrari electronik GmbH" },                         /* From Ref. 3 */
234 	{  0x0400008c, "mbp Kommunikationssysteme GmbH" },                  /* From Ref. 3 */
235 	{  0x0400008d, "Schneider Rundfunkwerke AG" },                      /* From Ref. 3 */
236 	{  0x0400008e, "Digitronic computersysteme GmbH" },                 /* From Ref. 3 */
237 	{  0x0400008f, "DeTeWe - Deutsche Telephonwerke AG &Co" },          /* From Ref. 3 */
238 	{  0x0900003D, "Equivalence (OpenH323)" },                          /* From captures */
239 	{  0x20000081, "Mediatrix Telecom" },                               /* From Ref. 1 */
240 	{  0x3c000000, "Nokia" },											/* From captures */
241 	{  0x3d000310, "Swissvoice" },
242 	{  0x3d000311, "Swissvoice" },
243 	{  0x3d000312, "Swissvoice" },
244 	{  0x3d000313, "Swissvoice" },
245 	{  0x3d000314, "Swissvoice" },
246 	{  0x3d000315, "Swissvoice" },
247 	{  0x3d000316, "Swissvoice" },
248 	{  0x3d000317, "Swissvoice" },
249 	{  0x3d000318, "Swissvoice" },
250 	{  0x3d000319, "Swissvoice" },
251 	{  0x3d00031a, "Swissvoice" },
252 	{  0x3d00031b, "Swissvoice" },
253 	{  0x3d00031c, "Swissvoice" },
254 	{  0x3d00031d, "Swissvoice" },
255 	{  0x3d00031e, "Swissvoice" },
256 	{  0x3d00031f, "Swissvoice" },
257 	{  0x82000002, "Ericsson" },                                        /* From captures */
258 	{  0x8a000003, "Teldat H. Kruszynski, M. Cichocki Sp. J." } ,		/* By email		 */
259 	{  0xa5000001, "Ericsson" },                                        /* From captures */
260 	{  0xb4000000, "British Telecommunications" },                      /* From Ref. 2 */
261 	{  0xb4000100, "British Telecommunications" },                      /* From Ref. 2 */
262 	{  0xb4000200, "British Telecommunications" },                      /* From Ref. 2 */
263 	{  0xb4000300, "British Telecommunications" },                      /* From Ref. 2 */
264 	{  0xb4000400, "British Telecommunications" },                      /* From Ref. 2 */
265 	{  0xb4000500, "British Telecommunications" },                      /* From Ref. 2 */
266 	{  0xb4000600, "British Telecommunications" },                      /* From Ref. 2 */
267 	{  0xb4000700, "British Telecommunications" },                      /* From Ref. 2 */
268 	{  0xb4000800, "British Telecommunications" },                      /* From Ref. 2 */
269 	{  0xb4000900, "British Telecommunications" },                      /* From Ref. 2 */
270 	{  0xb4000a00, "British Telecommunications" },                      /* From Ref. 2 */
271 	{  0xb4000b00, "British Telecommunications" },                      /* From Ref. 2 */
272 	{  0xb4000c00, "British Telecommunications" },                      /* From Ref. 2 */
273 	{  0xb4000d00, "British Telecommunications" },                      /* From Ref. 2 */
274 	{  0xb4000e00, "British Telecommunications" },                      /* From Ref. 2 */
275 	{  0xb4000f00, "British Telecommunications" },                      /* From Ref. 2 */
276 	{  0xb4001000, "GPT Video Systems" },                               /* From Ref. 2 */
277 	{  0xb4001100, "GPT Video Systems" },                               /* From Ref. 2 */
278 	{  0xb4001200, "GPT Video Systems" },                               /* From Ref. 2 */
279 	{  0xb4001300, "GPT Video Systems" },                               /* From Ref. 2 */
280 	{  0xb4001400, "GPT Video Systems" },                               /* From Ref. 2 */
281 	{  0xb4001500, "GPT Video Systems" },                               /* From Ref. 2 */
282 	{  0xb4001600, "GPT Video Systems" },                               /* From Ref. 2 */
283 	{  0xb4001700, "GPT Video Systems" },                               /* From Ref. 2 */
284 	{  0xb4001800, "GPT Video Systems" },                               /* From Ref. 2 */
285 	{  0xb4001900, "GPT Video Systems" },                               /* From Ref. 2 */
286 	{  0xb4001a00, "GPT Video Systems" },                               /* From Ref. 2 */
287 	{  0xb4001b00, "GPT Video Systems" },                               /* From Ref. 2 */
288 	{  0xb4001c00, "GPT Video Systems" },                               /* From Ref. 2 */
289 	{  0xb4001d00, "GPT Video Systems" },                               /* From Ref. 2 */
290 	{  0xb4001e00, "GPT Video Systems" },                               /* From Ref. 2 */
291 	{  0xb4001f00, "GPT Video Systems" },                               /* From Ref. 2 */
292 	{  0xb4002000, "Marconi Communications" },                          /* From Ref. 2 */
293 	{  0xb4002100, "Indigo Active Vision Systems" },                    /* From Ref. 2 */
294 	{  0xb4002200, "LiveWorks Limited" },                               /* From Ref. 2 */
295 	{  0xb4002300, "ATL Telecom Limited" },                             /* From Ref. 2 */
296 	{  0xb4002a00, "Network Alchemy Limited" },                         /* From Ref. 2 */
297 	{  0xb4004200, "Motion Media Technology" },                         /* From Ref. 2 */
298 	{  0xb4004400, "Data Connection" },                                 /* From Ref. 2 */
299 	{  0xb4004500, "Westbay Engineers" },                               /* From Ref. 2 */
300 	{  0xb4004600, "FarSite Communications" },                               /* From Ref. 2 */
301 	{  0xb4004900, "ImageCom" },                                        /* From Ref. 2 */
302 	{  0xb4004d00, "Madge Networks" },                                  /* From Ref. 2 */
303 	{  0xb4005200, "Ridgeway Systems and Software" },                   /* From Ref. 2 */
304 	{  0xb4005300, "SpliceCom" },                                       /* From Ref. 2 */
305 	{  0xb4005400, "TeleWare" },                                        /* From Ref. 2 */
306 	{  0xb4005600, "Vegastream" },                                      /* From Ref. 2 */
307 	{  0xb4006600, "Westell" },                                         /* From Ref. 2 */
308 	{  0xb4006900, "ISDN Communications" },                             /* From Ref. 2 */
309 	{  0xb400c000, "Codian" },                                          /* From Ref. 2 */
310 
311 	{  0xb5000000, "Compression Labs" },                                /* From Ref. 1 */
312 	{  0xb5000001, "PictureTel" },                                      /* From Ref. 1 */
313 	{  0xb5000002, "Compression Labs" },                                /* From Ref. 1 */
314 	{  0xb5000003, "VTEL" },                                            /* From Ref. 1 */
315 	{  0xb5000005, "ERIS" },                                            /* From Ref. 1 */
316 	{  0xb5000007, "AT&T Worldworx" },                                  /* From Ref. 1 */
317 	{  0xb5000009, "VideoServer" },                                     /* From Ref. 1 */
318 	{  0xb500000b, "3Com Corporation" },                                /* From Ref. 1 */
319 	{  0xb500000c, "Clarent Corporation" },                             /* From Ref. 1 */
320 	{  0xb500000d, "Genesys Telecommunications Labs Inc" },             /* From Ref. 1 */
321 	{  0xb500000e, "C-Phone Corporation." },                            /* From Ref. 1 */
322 	{  0xb500000f, "Science Dynamics Corporation" },                    /* From Ref. 1 */
323 	{  0xb5000010, "AT&T Starpoint" },                                  /* From Ref. 1 */
324 	{  0xb5000011, "Netscape Conference" },                             /* From Ref. 1 */
325 	{  0xb5000012, "Cisco" },                                           /* From Ref. 1 */
326 	{  0xb5000013, "Cirilium, Inc." },                                  /* From Ref. 1 */
327 	{  0xb5000014, "Ascend Communications, Inc." },                     /* From Ref. 1 */
328 	{  0xb5000015, "RADVision, Inc." },                                 /* From Ref. 1 */
329 	{  0xb5000016, "Objective Communications" },                        /* From Ref. 1 */
330 	{  0xb5000017, "VocalTec Communications, Inc." },                   /* From Ref. 1 */
331 	{  0xb5000018, "Serome Technology, Inc." },                         /* From Ref. 1 */
332 	{  0xb5000019, "Aspect Communications" },                           /* From Ref. 1 */
333 	{  0xb500001a, "Cintech Tele-Management" },                         /* From Ref. 1 */
334 	{  0xb500001b, "Philips Video Conferencing Systems" },              /* From Ref. 1 */
335 	{  0xb500001c, "Vertical Networks, Inc." },                         /* From Ref. 1 */
336 	{  0xb500001d, "Syndeo Corp." },                                    /* From Ref. 1 */
337 	{  0xb500001e, "Telxon Corporation" },                              /* From Ref. 1 */
338 	{  0xb500001f, "Network Equipment Technologies" },                  /* From Ref. 1 */
339 	{  0xb5000020, "Pagoo, Inc." },                                     /* From Ref. 1 */
340 	{  0xb5000021, "General Dynamics" },                                /* From Ref. 1 */
341 	{  0xb5000022, "Vanguard Managed Solutions" },                      /* From Ref. 1 */
342 	{  0xb5000023, "TeleStream Technologies, Inc." },                   /* From Ref. 1 */
343 	{  0xb5000024, "Spirent Communications" },                          /* From Ref. 1 */
344 	{  0xb5000025, "CrystalVoice Communications" },                     /* From Ref. 1 */
345 	{  0xb5000026, "Xiph.org" },                                        /* From Ref. 1 */
346 	{  0xb5000027, "NACT Telecommunications" },                         /* From Ref. 1 */
347 	{  0xb5000028, "AudioCodes, Inc." },                                /* From Ref. 1 */
348 	{  0xb5000120, "AT&T - GBCS" },                                     /* From Ref. 1 */
349 	{  0xb5000168, "Leadtek Research Inc." },                           /* From Ref. 1 */
350 	{  0xb5000247, "Lucent Technologies" },                             /* From Ref. 1 */
351 	{  0xb500029a, "Symbol Technologies Inc." },                        /* From Ref. 1 */
352 	{  0xb5000378, "StarVox, Inc." },                                   /* From Ref. 1 */
353 	{  0xb50003f7, "Inari Inc." },                                      /* From Ref. 1 */
354 	{  0xb5000727, "Quintum Technologies, Inc." },                      /* From Ref. 1 */
355 	{  0xb5000918, "Netrix Corporation" },                              /* From Ref. 1 */
356 	{  0xb500101e, "SysMaster Corporation" },                           /* From Ref. 1 */
357 	{  0xb5001a1a, "Alpha Telecom, Inc. U.S.A." },                      /* From Ref. 1 */
358 	{  0xb5002331, "ViaVideo" },                                        /* From Ref. 1 */
359 	{  0xb500301c, "Congruency, Inc." },                                /* From Ref. 1 */
360 	{  0xb5003039, "MiBridge Inc." },                                   /* From Ref. 1 */
361 	{  0xb5003838, "8x8 Inc." },                                        /* From Ref. 1 */
362 	{  0xb5004147, "Agere Systems" },                                   /* From Ref. 1 */
363 	{  0xb5004153, "Artisoft Inc." },                                   /* From Ref. 1 */
364 	{  0xb5004156, "Avaya" },                                           /* From Ref. 1 */
365 	{  0xb5004242, "IBM." },                                            /* From Ref. 1 */
366 	{  0xb5004257, "StreamComm" },                                      /* From Ref. 1 */
367 
368 	{  0xb5004c54, "Lucent Technologies" },                             /* From Ref. 1 */
369 	{  0xb5004d47, "MediaGate" },                                       /* From Ref. 1 */
370 	{  0xb5004e54, "Nortel Networks" },                                 /* From Ref. 1 */
371 
372 	{  0xb5005243, "Siemens Business Communication Systems" },          /* From Ref. 1 */
373 	{  0xb500534c, "Microsoft" },                                       /* From Ref. 1 */
374 
375 	{  0xb500600d, "Lucent Technologies" },                             /* From Ref. 1 */
376 
377 	{  0xb5008080, "Intel" },                                           /* From Ref. 1 */
378 	{  0xa5000001, "Ericsson" },                                        /* From captures */
379 	{  0, NULL }
380 };
381 /* Ref 1 http://www.delta-info.com/Protocol_Test/Manufacturer_codes.html 	*/
382 /* Ref 2 http://www.cix.co.uk/~bpechey/H221/h221code.htm			*/
383 /* Ref 3 http://www.regtp.de/reg_tele/start/in_05-06-03-11-00_m/index.html 	*/
384 
385 /*
386  * Editor modelines  -  https://www.wireshark.org/tools/modelines.html
387  *
388  * Local variables:
389  * c-basic-offset: 8
390  * tab-width: 8
391  * indent-tabs-mode: t
392  * End:
393  *
394  * vi: set shiftwidth=8 tabstop=8 noexpandtab:
395  * :indentSize=8:tabSize=8:noTabs=false:
396  */
397