aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-h248_annex_c.c
blob: a871861a19c2378a9327b0aba0d84bbd184b2a74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
/*
 *  packet-h248-annex_c.c
 *  H.248 annex C
 *
 *  (c) 2006, Luis E. Garcia Ontanon <luis@ontanon.org>
 *
 * $Id$
 *
 * Wireshark - Network traffic analyzer
 * By Gerald Combs <gerald@wireshark.org>
 * Copyright 1998 Gerald Combs
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */

#include "packet-h248.h"
#define PNAME  "H.248 Annex C"
#define PSNAME "H248C"
#define PFNAME "h248c"

/* H.248 Annex C */
static int proto_h248_pkg_annexc = -1;

static int hf_h248_pkg_annexc_media = -1;
static int hf_h248_pkg_annexc_ACodec = -1;
static int hf_h248_pkg_annexc_Mediatx = -1;
static int hf_h248_pkg_annexc_NSAP = -1;
static int hf_h248_pkg_annexc_BIR = -1;
static int hf_h248_pkg_annexc_transmission_mode = -1;
static int hf_h248_pkg_annexc_num_of_channels = -1;
static int hf_h248_pkg_annexc_sampling_rate = -1;
static int hf_h248_pkg_annexc_bit_rate = -1;
static int hf_h248_pkg_annexc_samplepp = -1;
static int hf_h248_pkg_annexc_silence_supp = -1;
static int hf_h248_pkg_annexc_encrypt_type = -1;
static int hf_h248_pkg_annexc_encrypt_key = -1;
static int hf_h248_pkg_annexc_gain = -1;
static int hf_h248_pkg_annexc_jitterbuf = -1;
static int hf_h248_pkg_annexc_propdelay = -1;
static int hf_h248_pkg_annexc_rtp_payload = -1;

static int hf_h248_pkg_annexc_h222 = -1;
static int hf_h248_pkg_annexc_h223 = -1;
static int hf_h248_pkg_annexc_v76 = -1;
static int hf_h248_pkg_annexc_h2250 = -1;

static int hf_h248_pkg_annexc_aesa = -1;
static int hf_h248_pkg_annexc_vp = -1;
static int hf_h248_pkg_annexc_vc = -1;
static int hf_h248_pkg_annexc_sc = -1;
static int hf_h248_pkg_annexc_bcob = -1;
static int hf_h248_pkg_annexc_bbtc = -1;
static int hf_h248_pkg_annexc_atc = -1;
static int hf_h248_pkg_annexc_stc = -1;
static int hf_h248_pkg_annexc_uppc = -1;
static int hf_h248_pkg_annexc_pcr0 = -1;
static int hf_h248_pkg_annexc_scr0 = -1;
static int hf_h248_pkg_annexc_mbs0 = -1;
static int hf_h248_pkg_annexc_pcr1 = -1;
static int hf_h248_pkg_annexc_scr1 = -1;
static int hf_h248_pkg_annexc_mbs1 = -1;
static int hf_h248_pkg_annexc_bei = -1;
static int hf_h248_pkg_annexc_ti = -1;
static int hf_h248_pkg_annexc_fd = -1;
static int hf_h248_pkg_annexc_a2pcdv = -1;
static int hf_h248_pkg_annexc_c2pcdv = -1;
static int hf_h248_pkg_annexc_appcdv = -1;
static int hf_h248_pkg_annexc_cppcdv = -1;
static int hf_h248_pkg_annexc_aclr = -1;
static int hf_h248_pkg_annexc_meetd = -1;
static int hf_h248_pkg_annexc_ceetd = -1;
static int hf_h248_pkg_annexc_QosClass = -1;
static int hf_h248_pkg_annexc_AALtype = -1;

static int hf_h248_pkg_annexc_dlci = -1;
static int hf_h248_pkg_annexc_cid = -1;
static int hf_h248_pkg_annexc_sid = -1;
static int hf_h248_pkg_annexc_ppt = -1;

static int hf_h248_pkg_annexc_ipv4 = -1;
static int hf_h248_pkg_annexc_ipv6 = -1;
static int hf_h248_pkg_annexc_port = -1;
static int hf_h248_pkg_annexc_porttype = -1;

static int hf_h248_pkg_annexc_alc = -1;
static int hf_h248_pkg_annexc_sut = -1;
static int hf_h248_pkg_annexc_tci = -1;
static int hf_h248_pkg_annexc_timer_cu = -1;
static int hf_h248_pkg_annexc_maxcpssdu = -1;

static int hf_h248_pkg_annexc_aal1st = -1;
static int hf_h248_pkg_annexc_cbrr = -1;
static int hf_h248_pkg_annexc_scri = -1;
static int hf_h248_pkg_annexc_ecm = -1;
static int hf_h248_pkg_annexc_sdbt = -1;
static int hf_h248_pkg_annexc_pfci = -1;

static int hf_h248_pkg_annexc_tmr = -1;
static int hf_h248_pkg_annexc_tmrsr = -1;
static int hf_h248_pkg_annexc_contcheck = -1;
static int hf_h248_pkg_annexc_itc = -1;
static int hf_h248_pkg_annexc_transmode = -1;
static int hf_h248_pkg_annexc_transrate = -1;
static int hf_h248_pkg_annexc_mult = -1;
static int hf_h248_pkg_annexc_syncasync = -1;
static int hf_h248_pkg_annexc_negotiation = -1;
static int hf_h248_pkg_annexc_userrate = -1;
static int hf_h248_pkg_annexc_intrate = -1;
static int hf_h248_pkg_annexc_nictx = -1;
static int hf_h248_pkg_annexc_nicrx = -1;
static int hf_h248_pkg_annexc_flowconttx = -1;
static int hf_h248_pkg_annexc_flowcontrx = -1;
static int hf_h248_pkg_annexc_rateadapthdr = -1;
static int hf_h248_pkg_annexc_multiframe = -1;
static int hf_h248_pkg_annexc_opmode = -1;
static int hf_h248_pkg_annexc_llidnegot = -1;
static int hf_h248_pkg_annexc_assign = -1;
static int hf_h248_pkg_annexc_inbandneg = -1;
static int hf_h248_pkg_annexc_stopbits = -1;
static int hf_h248_pkg_annexc_databits = -1;
static int hf_h248_pkg_annexc_parity = -1;
static int hf_h248_pkg_annexc_duplexmode = -1;
static int hf_h248_pkg_annexc_modem = -1;
static int hf_h248_pkg_annexc_layer2prot = -1;
static int hf_h248_pkg_annexc_layer3prot = -1;
static int hf_h248_pkg_annexc_addlayer3prot = -1;
static int hf_h248_pkg_annexc_dialedn = -1;
static int hf_h248_pkg_annexc_dialingn = -1;
static int hf_h248_pkg_annexc_echoci = -1;
static int hf_h248_pkg_annexc_nci = -1;
static int hf_h248_pkg_annexc_USI = -1;

static int hf_h248_pkg_annexc_fmsdu = -1;
static int hf_h248_pkg_annexc_bmsdu = -1;
static int hf_h248_pkg_annexc_sscs = -1;

static int hf_h248_pkg_annexc_sdp_v = -1;
static int hf_h248_pkg_annexc_sdp_o = -1;
static int hf_h248_pkg_annexc_sdp_s = -1;
static int hf_h248_pkg_annexc_sdp_i = -1;
static int hf_h248_pkg_annexc_sdp_u = -1;
static int hf_h248_pkg_annexc_sdp_e = -1;
static int hf_h248_pkg_annexc_sdp_p = -1;
static int hf_h248_pkg_annexc_sdp_c = -1;
static int hf_h248_pkg_annexc_sdp_b = -1;
static int hf_h248_pkg_annexc_sdp_z = -1;
static int hf_h248_pkg_annexc_sdp_k = -1;
static int hf_h248_pkg_annexc_sdp_a = -1;
static int hf_h248_pkg_annexc_sdp_t = -1;
static int hf_h248_pkg_annexc_sdp_r = -1;
static int hf_h248_pkg_annexc_sdp_m = -1;

static int hf_h248_pkg_annexc_olc = -1;
static int hf_h248_pkg_annexc_olcack = -1;
static int hf_h248_pkg_annexc_olccnf = -1;
static int hf_h248_pkg_annexc_olcrej = -1;
static int hf_h248_pkg_annexc_clc = -1;
static int hf_h248_pkg_annexc_clcack = -1;



static gint ett_annexc = -1;
static gint ett_vpvc = -1;
static gint ett_codec = -1;

static value_string h248_annexc_package_properties_vals[] = {
	{ 0x1001, "media" },
	{ 0x1002, "transmission mode" },
	{ 0x1003, "num_of_channels" },
	{ 0x1004, "sampling_rate" },
	{ 0x1005, "bit_rate" },
	{ 0x1006, "ACodec" },
	{ 0x1007, "samplepp" },
	{ 0x1008, "silence_supp" },
	{ 0x1009, "encrypt_type" },
	{ 0x100A, "encrypt_key" },
	{ 0x100B, "echo canceller" },
	{ 0x100C, "gain" },
	{ 0x100D, "jitterbuf" },
	{ 0x100E, "propdelay" },
	{ 0x100F, "rtp_payload" },

	{ 0x2001, "h222" },
	{ 0x2002, "h223" },
	{ 0x2003, "v76" },
	{ 0x2004, "h2250" },

	{ 0x3001, "Mediatx" },
	{ 0x3002, "BIR" },
	{ 0x3003, "NSAP" },

	{ 0x4001, "aesa" },
	{ 0x4002, "vp" },
	{ 0x4003, "sc" },
	{ 0x4004, "bcob" },
	{ 0x4005, "bbtc" },
	{ 0x4006, "atc" },
	{ 0x4007, "stc" },
	{ 0x4008, "uppc" },
	{ 0x4009, "pcr0" },
	{ 0x400a, "scr0" },
	{ 0x400b, "mbs0" },
	{ 0x400c, "pcr1" },
	{ 0x400d, "scr1" },
	{ 0x400e, "mbs1" },
	{ 0x400f, "bei" },
	{ 0x4010, "ti" },
	{ 0x4011, "fd" },
	{ 0x4012, "a2pcdv" },
	{ 0x4013, "c2pcdv" },
	{ 0x4014, "appcdv" },
	{ 0x4015, "cppcdv" },
	{ 0x4016, "aclr" },
	{ 0x4017, "meetd" },
	{ 0x4018, "ceetd" },
	{ 0x4019, "QosClass" },
	{ 0x401a, "AALtype" },
	
	{ 0x5001, "DLCI" },
	{ 0x5002, "CID" },
	{ 0x5003, "SID/Noiselevel" },
	{ 0x5004, "PPT" },

	{ 0x6001, "IPv4" },
	{ 0x6002, "IPv6" },
	{ 0x6003, "Port" },
	{ 0x6004, "Porttype" },

	{ 0x7001, "AESA" },
	{ 0x7002, "ALC" },
	{ 0x7003, "SSCS" },
	{ 0x7004, "SUT" },
	{ 0x7005, "TCI" },
	{ 0x7006, "Timer_CU" },
	{ 0x7007, "MaxCPSSDU" },
	{ 0x7008, "CID" },

	{ 0x8001, "AAL1ST" },
	{ 0x8002, "CBRR" },
	{ 0x8003, "SCRI" },
	{ 0x8004, "ECM" },
	{ 0x8005, "SDTB" },
	{ 0x8006, "PFCI" },

	{ 0x9001, "TMR" },
	{ 0x9008, "USI" },
	{ 0x9009, "syncasync" },
	{ 0x900a, "negotiation" },
	{ 0x900b, "userrate" },
	{ 0x900c, "intrate" },
	{ 0x900d, "nictx" },
	{ 0x900e, "nicrx" },
	{ 0x900f, "flowconttx" },
	{ 0x9010, "flowcontrx" },
	{ 0x9011, "rateadapthdr" },
	{ 0x9012, "multiframe" },
	{ 0x9013, "opmode" },
	{ 0x9014, "llnegot" },
	{ 0x9015, "assign" },
	{ 0x9016, "inbandneg" },
	{ 0x9017, "stopbits" },
	{ 0x9018, "databits" },
	{ 0x9019, "parity" },
	{ 0x901a, "duplexmode" },
	{ 0x901b, "modem" },
	{ 0x901c, "layer2prot" },
	{ 0x901d, "layer3prot" },
	{ 0x901e, "addlayer3prot" },
	{ 0x901f, "DialledN" },
	{ 0x9020, "DiallingN" },
	{ 0x9021, "ECHOCI" },
	{ 0x9022, "NCI" },
	{ 0x9023, "USI" },

	{ 0xA001, "FMSDU" },
	{ 0xA002, "BMSDU" },

	{ 0xB001, "SDP_V (Protocol Version)" },
	{ 0xB002, "SDP_O (Owner/creator)" },
	{ 0xB003, "SDP_S (Session Name)" },
	{ 0xB004, "SDP_I (Session Identifier)" },
	{ 0xB005, "SDP_U (URI)" },
	{ 0xB006, "SDP_E (email address)" },
	{ 0xB007, "SDP_P (phone number)" },
	{ 0xB008, "SDP_C (connection)" },
	{ 0xB009, "SDP_B (bandwidth info)" },
	{ 0xB00A, "SDP_Z (TZ adjustement)" },
	{ 0xB00B, "SDP_K (encryption key)" },
	{ 0xB00C, "SDP_A (Session attributes)" },
	{ 0xB00D, "SDP_T (Active Session Time)" },
	{ 0xB00E, "SDP_R (Repeat times)" },
	{ 0xB00F, "SDP_M (Media type, portm transport and format)" },

	{ 0xC001, "OLC" },
	{ 0xC002, "OLCack" },
	{ 0xC003, "OLCcnf" },
	{ 0xC004, "OLCrej" },
	{ 0xC005, "CLC" },
	{ 0xC006, "CLCack" },
	
{ 0, NULL }
};



static const value_string h248_annexc_media_vals[] = {
	{   0, "Audio" },
	{   1, "Video" },
	{   2, "Data" },
	{   0, NULL }
};

static const value_string h248_pkg_annexc_Mediatx_vals[] = {
	{   0x0000, "TDM Circuit" },
	{   0x0001, "ATM" },
	{   0x0002, "FR" },
	{   0x0003, "Ipv4" },
	{   0x0004, "Ipv6" },
	{0,     NULL}
};

static const value_string h248_annexc_transmission_mode[] = {
    {0,"Send"},
    {1,"Receive"},
    {2,"Send&Receive"},
    {0,NULL}
};

static const value_string h248_pkg_annexc_sc[] _U_ = {
    {0,"CBR"},
    {1,"nrt-VBR1"},
    {2,"nrt-VBR2"},
    {3,"nrt-VBR3"},
    {4,"rt-VBR1"},
    {5,"rt-VBR2"},
    {6,"rt-VBR3"},
    {7,"UBR1"},
    {8,"UBR2"},
    {9,"ABR"},
    {0,NULL}
};

static const value_string h248_pkg_annexc_atc_values[] = {
    {0,"DBR"},
    {1,"SBR1"},
    {2,"SBR2"},
    {3,"SBR3"},
    {4,"ABT/IT"},
    {5,"ABT/DT"},
    {6,"ABR"},
    {0,NULL}
};

static const value_string h248_pkg_annexc_stc_values[] = {
    {0,"Not Susceptible to clipping"},
    {1,"Susceptible to clipping"},
    {0,NULL}
};

static const value_string h248_pkg_annexc_uppc_values[] = {
    {0,"point-to-point"},
    {1,"point-to-multipoint"},
    {0,NULL}
};

static const value_string h248_pkg_annexc_syncasync_values[] = {
	{0, "Syncronous Data"},
	{1, "Asyncronous Data"},
    {0,NULL}
};

static const value_string h248_pkg_annexc_negotiation_values[] = {
	{0, "In-Band negotiation possible"},
	{1, "In-Band negotiation not possible"},
    {0,NULL}
};

static const value_string h248_pkg_annexc_userrate_values[] = {
	{0x0,"E-Bit specified I.460 or higher negotiated in-band"},
	{0x1,"0.6 kbps (X.1)"},
	{0x2,"1.2 kbps"},
	{0x3,"2.4 kbps (X.1)"},
	{0x4,"3.6 kbps"},
	{0x5,"4.8 kbps (X.1)"},
	{0x6,"7.2 kbps"},
	{0x7,"8 kbps (I.460)"},
	{0x8,"9.6 kbps (X.1)"},
	{0x9,"14.4 kbps"},
	{0xa,"16 kbps (I.460)"},
	{0xb,"19.2 kbps"},
	{0xc,"32 kbps (I.460)"},
	{0xd,"38.4 kbps (V.110)"},
	{0xe,"48 kbps (X.1)"},
	{0xf,"56 kbps"},
	
	{0x12,"57.6 kbps (V.14 extended)"},
	{0x13,"28.8 kbps (V.110)"},
	{0x14,"24 kbps (V.110)"},
	{0x15,"0.1345 kbps (X.1)"},
	{0x16,"0.100 kbps (X.1)"},
	{0x17,"0.075/1.2 kbps (X.1)"},
	{0x18,"1.2/0.075 kbps (X.1)"},
	{0x19,"0.050 kbps (X.1)"},
	{0x1a,"0.075 kbps (X.1)"},
	{0x1b,"0.110 kbps (X.1)"},
	{0x1c,"0.150 kbps (X.1)"},
	{0x1d,"0.200 kbps (X.1)"},
	{0x1e,"0.300 kbps (X.1)"},
	{0x1f,"12 kbps (X.1)"},
	
    {0,NULL}
};

static const value_string h248_pkg_annexc_intrate_values[] = {
	{0x0,"Not Used"},
	{0x1,"8 kbps"},
	{0x2,"16 kbps"},
	{0x3,"32 kbps"},
    {0,NULL}
};


static const value_string h248_pkg_annexc_nictx_values[] = {
	{0,"Not required to transmit with NIC"},
	{1,"Required to transmit with NIC"},
    {0,NULL}
};

static const value_string h248_pkg_annexc_nicrx_values[] = {
	{0,"Cannot accept data with NIC"},
	{1,"Can accept data with NIC"},
    {0,NULL}
};


static const value_string h248_pkg_annexc_flowconttx_values[] = {
	{0,"Not Required"},
	{1,"Required"},
    {0,NULL}
};

static const value_string h248_pkg_annexc_flowcontrx_values[] = {
	{0,"Cannot accept data with flow control mechanism"},
	{1,"Can accept data with flow control mechanism"},
    {0,NULL}
};

static const value_string h248_pkg_annexc_rateadapthdr_values[] = {
	{0,"not included"},
	{1,"included"},
    {0,NULL}
};

static const value_string h248_pkg_annexc_multiframe_values[] = {
	{0,"not supported"},
	{1,"supported"},
    {0,NULL}
};

static const value_string h248_pkg_annexc_opmode_values[] = {
	{0,"bit transparent"},
	{1,"protocol sensitive"},
    {0,NULL}
};

static const value_string h248_pkg_annexc_llidnegot_values[] = {
	{0,"Default, LLI=256 only"},
	{1,"Full protocol negotiation"},
    {0,NULL}
};

static const value_string h248_pkg_annexc_assign_values[] = {
	{0,"Originatior is default asignee"},
	{1,"Originatior is asignor only"},
    {0,NULL}
};

static const value_string h248_pkg_annexc_inbandneg_values[] = {
	{0,"negotiation on temporary signalling connection"},
	{1,"negotiation in-band"},
    {0,NULL}
};

static const value_string h248_pkg_annexc_stopbits_values[] = {
	{0,"none"},
	{1,"1 bit"},
	{2,"1.5 bits"},
	{3,"2 bits"},
    {0,NULL}
};


static const value_string h248_pkg_annexc_databits_values[] = {
	{0,"Not Used"},
	{1,"5 bits"},
	{2,"7 bits"},
	{3,"8 bits"},
    {0,NULL}
};


static const value_string h248_pkg_annexc_parity_values[] = {
	{0,"Odd"},
	{2,"Even"},
	{3,"None"},
	{4,"Forced to 0"},
	{5,"Forced to 1"},
    {0,NULL}
};


static const value_string h248_pkg_annexc_duplexmode_values[] = {
	{0,"Half Duplex"},
	{1,"Full Duplex"},
    {0,NULL}
};


static const value_string h248_pkg_annexc_modem_values[] = {
	{0x00,"National Use"},
	{0x01,"National Use"},
	{0x02,"National Use"},
	{0x03,"National Use"},
	{0x04,"National Use"},
	{0x05,"National Use"},
	
	{0x11,"V.21"},
	{0x12,"V.22"},
	{0x13,"V.22bis"},
	{0x14,"V.23"},
	{0x15,"V.26"},
	{0x16,"V.26bis"},
	{0x17,"V.26ter"},
	{0x18,"V.27"},
	{0x19,"V.27bis"},
	{0x1A,"V.27ter"},
	{0x1B,"V.29"},
	{0x1D,"V.32"},
	{0x1E,"V.34"},
	
	{0x20,"National Use"},
	{0x21,"National Use"},
	{0x22,"National Use"},
	{0x23,"National Use"},
	{0x24,"National Use"},
	{0x25,"National Use"},
	{0x26,"National Use"},
	{0x27,"National Use"},
	{0x28,"National Use"},
	{0x29,"National Use"},
	{0x2a,"National Use"},
	{0x2b,"National Use"},
	{0x2c,"National Use"},
	{0x2d,"National Use"},
	{0x2e,"National Use"},
	{0x2f,"National Use"},
	
	{0x30,"User Specified"},
	{0x31,"User Specified"},
	{0x32,"User Specified"},
	{0x33,"User Specified"},
	{0x34,"User Specified"},
	{0x35,"User Specified"},
	{0x36,"User Specified"},
	{0x37,"User Specified"},
	{0x38,"User Specified"},
	{0x39,"User Specified"},
	{0x3a,"User Specified"},
	{0x3b,"User Specified"},
	{0x3c,"User Specified"},
	{0x3d,"User Specified"},
	{0x3e,"User Specified"},
	{0x3f,"User Specified"},
	
    {0,NULL}
};


static const value_string h248_pkg_annexc_layer2prot_values[] = {
	{0x2,"Q.921/I.441"},
	{0x6,"X.25, link layer"},
	{0xC,"LLC (ISO/IEC 8802-2)"},
    {0,NULL}
};

static const value_string h248_pkg_annexc_layer3prot_values[] = {
	{0x2,"Q.921/I.441"},
	{0x6,"X.25, packet layer"},
	{0xC,"IP, ISO/IEC TR 9577"},
    {0,NULL}
};

static const value_string h248_pkg_annexc_addlayer3prot_values[] = {
	{0xCC,"IP (RFC 791)"},
	{0xCF,"PPP (RFC 1661)"},
    {0,NULL}
};

static const value_string h248_pkg_annexc_nci_satelite_values[] _U_ = {
	{0x0,"no satelite circuit"},
	{0x1,"one satellite circuit"},
	{0x2,"two satelite circiuts"},
	{0x3,"spare"},
    {0,NULL}
};

static const value_string h248_pkg_annexc_nci_continuity_values[] _U_ = {
	{0x0,"continuity check not required"},
	{0x1,"continuity check required on this circuit"},
	{0x2,"continuity check performed on a previous circuit"},
	{0x3,"spare"},
    {0,NULL}
};

static const value_string h248_pkg_annexc_nci_echoctl_values[] _U_ = {
	{0x0,"outgoing echo control device not included"},
	{0x1,"outgoing echo control device included"},
    {0,NULL}
};


static const value_string h248_pkg_annexc_QosClass_values[] = {
	{0x0,"Default"},
	{0x1,"Stringent"},
	{0x2,"Tolerant"},
	{0x3,"Bi-Level"},
	{0x4,"Unbounded"},
	{0x5,"Stringent Bi-level"},
    {0,NULL}
};

static const value_string h248_pkg_annexc_AALtype_values[] = {
	{0x0,"AAL for Voice"},
	{0x1,"AAL1"},
	{0x2,"AAL2"},
	{0x3,"AAL3/4"},
	{0x5,"AAL5"},
	{0x10,"User Defined"},
    {0,NULL}
};

static const value_string h248_pkg_annexc_porttype_values[] = {
	{0x0,"TCP"},
	{0x1,"UDP"},
	{0x2,"SCTP"},
    {0,NULL}
};

static const value_string h248_pkg_annexc_aal1st_values[] = {
	{0x0,"null"},
	{0x1,"voiceband signall transport on 64kbps"},
	{0x2,"circuit transport"},
	{0x4,"high quality audio signal transport"},
	{0x5,"video signal transport"},
    {0,NULL}
};

static const value_string h248_pkg_annexc_cbrr_values[] = {
	{0x01,"64 kbps"},
	{0x04,"1544 kbps"},
	{0x05,"6312 kbps"},
	{0x06,"32064 kbps"},
	{0x07,"44736 kbps"},
	{0x08,"44736 kbps"},
	{0x10,"2048 kbps"},
	{0x11,"8448 kbps"},
	{0x12,"34368 kbps"},
	{0x13,"139264 kbps"},
	{0x40,"n * 64 kbps"},
	{0x41,"n * 8 kbps"},
    {0,NULL}
};

static const value_string h248_pkg_annexc_scri_values[] = {
	{0x0,"null"},
	{0x1,"SRTS"},
	{0x2,"ACM"},
    {0,NULL}
};


static const value_string h248_pkg_annexc_ecm_values[] = {
	{0x0,"null"},
	{0x1,"FEC - Loss"},
	{0x2,"FEC - Delay"},
    {0,NULL}
};


static const value_string h248_pkg_annexc_tmrsr_values[] = {
	/* TO DO */
    {0,NULL}
};


static const value_string h248_pkg_annexc_contcheck_values[] = {
	/* TO DO */
    {0,NULL}
};

static const value_string h248_pkg_annexc_itc_values[] = {
	/* TO DO */
    {0,NULL}
};


static const value_string h248_pkg_annexc_transmode_values[] = {
	/* TO DO */
    {0,NULL}
};


static const value_string h248_pkg_annexc_transrate_values[] = {
	/* TO DO */
    {0,NULL}
};



static void dissect_h248_annexc_acodec(proto_tree* tree,
										tvbuff_t* tvb,
										packet_info* pinfo,
										int hfid,
										h248_curr_info_t* h248_info _U_,
										void* implicit_p ) {
	int len;
	tvbuff_t* new_tvb;
	asn1_ctx_t asn1_ctx;

	asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
	dissect_ber_octet_string(implicit_p ? *((gboolean*)implicit_p) : FALSE, &asn1_ctx, tree, tvb, 0, hfid, &new_tvb);
	
	tree = proto_item_add_subtree(asn1_ctx.created_item,ett_codec);
	len = tvb_length(new_tvb);
	dissect_codec_mode(tree,new_tvb,0,len);
}

static void dissect_h248_annexc_BIR(proto_tree* tree,
									 tvbuff_t* tvb,
									 packet_info* pinfo,
									 int hfid,
									 h248_curr_info_t* h248_info,
									 void* implicit_p ) {
	tvbuff_t* new_tvb = NULL;
	asn1_ctx_t asn1_ctx;

	asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);	
	dissect_ber_octet_string(implicit_p ? *((gboolean*)implicit_p) : FALSE, &asn1_ctx, tree, tvb, 0, hfid, &new_tvb);
	
	if ( new_tvb && h248_info->term && ! h248_info->term->bir ) {
		h248_info->term->bir = se_strdup(tvb_bytes_to_str(new_tvb,0,tvb_length(new_tvb)));
	}
}

static void dissect_h248_annexc_NSAP(proto_tree* tree,
									  tvbuff_t* tvb,
									  packet_info* pinfo,
									  int hfid,
									  h248_curr_info_t* h248_info,
									  void* implicit_p ) {
	tvbuff_t* new_tvb = NULL;
	asn1_ctx_t asn1_ctx;

	asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
	dissect_ber_octet_string(implicit_p ? *((gboolean*)implicit_p) : FALSE, &asn1_ctx, tree, tvb, 0, hfid, &new_tvb);
	if (new_tvb) {
		dissect_nsap(new_tvb, 0,tvb_length(new_tvb), tree);
		if ( h248_info->term && ! h248_info->term->nsap) {
			h248_info->term->nsap = se_strdup(tvb_bytes_to_str(new_tvb,0,tvb_length(new_tvb)));
		}
	}
}

static void dissect_h248_annexc_vpvc(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo _U_, int hfid, h248_curr_info_t* h248_info _U_, void* unused _U_) {
	proto_item* pi = proto_tree_add_item(tree,hfid,tvb,0,2,FALSE);
	proto_tree* pt = proto_item_add_subtree(pi,ett_vpvc);
	proto_tree_add_item(pt,hf_h248_pkg_annexc_vp,tvb,0,2,FALSE);
	proto_tree_add_item(pt,hf_h248_pkg_annexc_vc,tvb,2,2,FALSE);
}

static void dissect_h248_annexc_USI(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, int hfid, h248_curr_info_t* h248_info _U_, void* implicit_p) {
	tvbuff_t* new_tvb = NULL;
	asn1_ctx_t asn1_ctx;

	asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
	dissect_ber_octet_string(implicit_p ? *((gboolean*)implicit_p) : FALSE, &asn1_ctx, tree, tvb, 0, hfid, &new_tvb);
	if (new_tvb)
		dissect_q931_bearer_capability_ie(new_tvb, 0, tvb_length(new_tvb), tree);
}

gboolean h248_c_implicit = TRUE;

static h248_pkg_param_t h248_annexc_package_properties[] = {
	{ 0x1001, &hf_h248_pkg_annexc_media, h248_param_ber_integer, NULL },
	{ 0x1002, &hf_h248_pkg_annexc_transmission_mode, h248_param_ber_integer, NULL },
	{ 0x1003, &hf_h248_pkg_annexc_num_of_channels, h248_param_ber_integer, NULL },
	{ 0x1004, &hf_h248_pkg_annexc_sampling_rate, h248_param_ber_integer, NULL },
	{ 0x1005, &hf_h248_pkg_annexc_bit_rate, h248_param_ber_integer, NULL },
	{ 0x1006, &hf_h248_pkg_annexc_ACodec, dissect_h248_annexc_acodec, NULL },
	{ 0x1007, &hf_h248_pkg_annexc_samplepp, h248_param_ber_integer, NULL },
	{ 0x1008, &hf_h248_pkg_annexc_silence_supp, h248_param_ber_boolean, NULL },
	{ 0x1009, &hf_h248_pkg_annexc_encrypt_type, h248_param_ber_octetstring, NULL }, /* XXX Hand over to what in H.245? */
	{ 0x100A, &hf_h248_pkg_annexc_encrypt_key, h248_param_ber_integer, NULL },
	{ 0x100C, &hf_h248_pkg_annexc_gain, h248_param_ber_integer, NULL },
	{ 0x100D, &hf_h248_pkg_annexc_jitterbuf, h248_param_ber_integer, NULL },
	{ 0x100E, &hf_h248_pkg_annexc_propdelay, h248_param_ber_integer, NULL },
	{ 0x100F, &hf_h248_pkg_annexc_rtp_payload, h248_param_ber_integer, NULL },
	
	{ 0x2001, &hf_h248_pkg_annexc_h222, h248_param_ber_octetstring, NULL },
	{ 0x2002, &hf_h248_pkg_annexc_h223, h248_param_ber_octetstring, NULL },
	{ 0x2003, &hf_h248_pkg_annexc_v76, h248_param_ber_octetstring, NULL },
	{ 0x2004, &hf_h248_pkg_annexc_h2250, h248_param_ber_octetstring, NULL },
	
	{ 0x3001, &hf_h248_pkg_annexc_Mediatx, h248_param_ber_integer, NULL },
	{ 0x3002, &hf_h248_pkg_annexc_BIR, dissect_h248_annexc_BIR, NULL },
	{ 0x3003, &hf_h248_pkg_annexc_NSAP, dissect_h248_annexc_NSAP, NULL },
	
	{ 0x4001, &hf_h248_pkg_annexc_aesa, h248_param_ber_octetstring, NULL },
	{ 0x4002, &hf_h248_pkg_annexc_vp, dissect_h248_annexc_vpvc, NULL },
	{ 0x4003, &hf_h248_pkg_annexc_sc, h248_param_ber_integer, NULL },
	{ 0x4004, &hf_h248_pkg_annexc_bcob, h248_param_ber_integer, NULL },
	{ 0x4005, &hf_h248_pkg_annexc_bbtc, h248_param_ber_integer, NULL },
	{ 0x4006, &hf_h248_pkg_annexc_atc, h248_param_ber_integer, NULL },
	{ 0x4007, &hf_h248_pkg_annexc_stc, h248_param_ber_integer, NULL },
	{ 0x4008, &hf_h248_pkg_annexc_uppc, h248_param_ber_integer, NULL },
	{ 0x4009, &hf_h248_pkg_annexc_pcr0, h248_param_ber_octetstring, NULL },
	{ 0x400a, &hf_h248_pkg_annexc_scr0, h248_param_ber_octetstring, NULL },
	{ 0x400b, &hf_h248_pkg_annexc_mbs0, h248_param_ber_octetstring, NULL },
	{ 0x400c, &hf_h248_pkg_annexc_pcr1, h248_param_ber_octetstring, NULL },
	{ 0x400d, &hf_h248_pkg_annexc_scr1, h248_param_ber_octetstring, NULL },
	{ 0x400e, &hf_h248_pkg_annexc_mbs1, h248_param_ber_octetstring, NULL },
	{ 0x400f, &hf_h248_pkg_annexc_bei, h248_param_ber_boolean, NULL },
	{ 0x4010, &hf_h248_pkg_annexc_ti, h248_param_ber_boolean, NULL },
	{ 0x4011, &hf_h248_pkg_annexc_fd, h248_param_ber_boolean, NULL },
	{ 0x4012, &hf_h248_pkg_annexc_a2pcdv, h248_param_ber_octetstring, NULL },
	{ 0x4013, &hf_h248_pkg_annexc_c2pcdv, h248_param_ber_octetstring, NULL },
	{ 0x4014, &hf_h248_pkg_annexc_appcdv, h248_param_ber_octetstring, NULL },
	{ 0x4015, &hf_h248_pkg_annexc_cppcdv, h248_param_ber_octetstring, NULL },
	{ 0x4016, &hf_h248_pkg_annexc_aclr, h248_param_ber_integer, NULL },
	{ 0x4017, &hf_h248_pkg_annexc_meetd, h248_param_ber_octetstring,NULL },
	{ 0x4018, &hf_h248_pkg_annexc_ceetd, h248_param_ber_octetstring,NULL },
	{ 0x4019, &hf_h248_pkg_annexc_QosClass, h248_param_ber_integer, NULL },
	{ 0x401A, &hf_h248_pkg_annexc_AALtype, h248_param_ber_integer, NULL },

	{ 0x5001, &hf_h248_pkg_annexc_dlci, h248_param_ber_integer, NULL },
	{ 0x5002, &hf_h248_pkg_annexc_cid, h248_param_ber_integer, NULL },
	{ 0x5003, &hf_h248_pkg_annexc_sid, h248_param_ber_integer, NULL },
	{ 0x5004, &hf_h248_pkg_annexc_ppt, h248_param_ber_integer, NULL },
	
	{ 0x6001, &hf_h248_pkg_annexc_ipv4, h248_param_ber_octetstring, NULL },
	{ 0x6002, &hf_h248_pkg_annexc_ipv6, h248_param_ber_octetstring,NULL },
	{ 0x6003, &hf_h248_pkg_annexc_port, h248_param_ber_integer, NULL },
	{ 0x6004, &hf_h248_pkg_annexc_porttype, h248_param_ber_integer, NULL },
	
	{ 0x7001, &hf_h248_pkg_annexc_aesa, h248_param_ber_octetstring, NULL },
	{ 0x7002, &hf_h248_pkg_annexc_alc, h248_param_ber_octetstring,NULL }, /* from ALCAP */
	{ 0x7003, &hf_h248_pkg_annexc_sscs, h248_param_ber_octetstring, NULL }, 
	{ 0x7004, &hf_h248_pkg_annexc_sut, h248_param_ber_octetstring, NULL }, 
	{ 0x7005, &hf_h248_pkg_annexc_tci, h248_param_ber_boolean, NULL }, 
	{ 0x7006, &hf_h248_pkg_annexc_timer_cu, h248_param_ber_octetstring, NULL }, 
	{ 0x7007, &hf_h248_pkg_annexc_maxcpssdu, h248_param_ber_integer, NULL }, 
	{ 0x7008, &hf_h248_pkg_annexc_cid, h248_param_ber_integer, NULL }, 
	
	{ 0x8001, &hf_h248_pkg_annexc_aal1st, h248_param_ber_integer, NULL },
	{ 0x8002, &hf_h248_pkg_annexc_cbrr, h248_param_ber_integer, NULL },
	{ 0x8003, &hf_h248_pkg_annexc_scri, h248_param_ber_integer, NULL }, 
	{ 0x8004, &hf_h248_pkg_annexc_ecm, h248_param_ber_integer, NULL }, 
	{ 0x8005, &hf_h248_pkg_annexc_sdbt, h248_param_ber_octetstring,NULL }, 
	{ 0x8006, &hf_h248_pkg_annexc_pfci, h248_param_ber_integer, NULL }, 

	{ 0x9001, &hf_h248_pkg_annexc_tmr, h248_param_ber_integer, NULL },
	{ 0x9002, &hf_h248_pkg_annexc_tmrsr, h248_param_ber_integer, NULL },
	{ 0x9003, &hf_h248_pkg_annexc_contcheck, h248_param_ber_integer, NULL },
	{ 0x9004, &hf_h248_pkg_annexc_itc, h248_param_ber_integer, NULL },
	{ 0x9005, &hf_h248_pkg_annexc_transmode, h248_param_ber_integer, NULL },
	{ 0x9006, &hf_h248_pkg_annexc_transrate, h248_param_ber_integer, NULL },
	{ 0x9007, &hf_h248_pkg_annexc_mult, h248_param_ber_integer, NULL },
	{ 0x9008, &hf_h248_pkg_annexc_USI, dissect_h248_annexc_USI, NULL },
	{ 0x9009, &hf_h248_pkg_annexc_syncasync, h248_param_ber_integer, NULL },
	{ 0x900A, &hf_h248_pkg_annexc_negotiation, h248_param_ber_integer, NULL },
	{ 0x900B, &hf_h248_pkg_annexc_userrate, h248_param_ber_integer, NULL },
	{ 0x900C, &hf_h248_pkg_annexc_intrate, h248_param_ber_integer, NULL },
	{ 0x900D, &hf_h248_pkg_annexc_nictx, h248_param_ber_boolean, NULL },
	{ 0x900E, &hf_h248_pkg_annexc_nicrx, h248_param_ber_boolean, NULL },
	{ 0x900F, &hf_h248_pkg_annexc_flowconttx, h248_param_ber_boolean, NULL },
	{ 0x9010, &hf_h248_pkg_annexc_flowcontrx, h248_param_ber_boolean, NULL },
	{ 0x9011, &hf_h248_pkg_annexc_rateadapthdr, h248_param_ber_boolean, NULL },
	{ 0x9012, &hf_h248_pkg_annexc_multiframe, h248_param_ber_boolean, NULL },
	{ 0x9013, &hf_h248_pkg_annexc_opmode, h248_param_ber_boolean, NULL },
	{ 0x9014, &hf_h248_pkg_annexc_llidnegot, h248_param_ber_boolean, NULL },
	{ 0x9015, &hf_h248_pkg_annexc_assign, h248_param_ber_boolean, NULL },
	{ 0x9016, &hf_h248_pkg_annexc_inbandneg, h248_param_ber_boolean, NULL },
	{ 0x9017, &hf_h248_pkg_annexc_stopbits, h248_param_ber_integer, NULL },
	{ 0x9018, &hf_h248_pkg_annexc_databits, h248_param_ber_integer, NULL },
	{ 0x9019, &hf_h248_pkg_annexc_parity, h248_param_ber_integer, NULL },
	{ 0x901a, &hf_h248_pkg_annexc_duplexmode, h248_param_ber_integer, NULL },
	{ 0x901b, &hf_h248_pkg_annexc_modem, h248_param_ber_integer, NULL },
	{ 0x901c, &hf_h248_pkg_annexc_layer2prot, h248_param_ber_integer, NULL },
	{ 0x901d, &hf_h248_pkg_annexc_layer3prot, h248_param_ber_integer, NULL },
	{ 0x901e, &hf_h248_pkg_annexc_addlayer3prot, h248_param_ber_integer, NULL },
	{ 0x901f, &hf_h248_pkg_annexc_dialedn, h248_param_ber_octetstring, NULL },
	{ 0x9020, &hf_h248_pkg_annexc_dialingn, h248_param_ber_octetstring, NULL },
	{ 0x9021, &hf_h248_pkg_annexc_echoci, h248_param_ber_integer, NULL },
	{ 0x9022, &hf_h248_pkg_annexc_nci, h248_param_ber_integer, NULL },
	{ 0x9023, &hf_h248_pkg_annexc_USI, dissect_h248_annexc_USI, NULL },
	
	{ 0xA001, &hf_h248_pkg_annexc_fmsdu, h248_param_ber_octetstring, NULL },
	{ 0xA002, &hf_h248_pkg_annexc_bmsdu, h248_param_ber_octetstring, NULL },
	{ 0xA003, &hf_h248_pkg_annexc_sscs, NULL, NULL },

	{ 0xB001, &hf_h248_pkg_annexc_sdp_v, h248_param_ber_octetstring, &h248_c_implicit },
	{ 0xB002, &hf_h248_pkg_annexc_sdp_o, h248_param_ber_octetstring, &h248_c_implicit },
	{ 0xB003, &hf_h248_pkg_annexc_sdp_s, h248_param_ber_octetstring, &h248_c_implicit },
	{ 0xB004, &hf_h248_pkg_annexc_sdp_i, h248_param_ber_octetstring, &h248_c_implicit },
	{ 0xB005, &hf_h248_pkg_annexc_sdp_u, h248_param_ber_octetstring, &h248_c_implicit },
	{ 0xB006, &hf_h248_pkg_annexc_sdp_e, h248_param_ber_octetstring, &h248_c_implicit },
	{ 0xB007, &hf_h248_pkg_annexc_sdp_p, h248_param_ber_octetstring, &h248_c_implicit },
	{ 0xB008, &hf_h248_pkg_annexc_sdp_c, h248_param_ber_octetstring, &h248_c_implicit },
	{ 0xB009, &hf_h248_pkg_annexc_sdp_b, h248_param_ber_octetstring, &h248_c_implicit },
	{ 0xB00a, &hf_h248_pkg_annexc_sdp_z, h248_param_ber_octetstring, &h248_c_implicit },
	{ 0xB00b, &hf_h248_pkg_annexc_sdp_k, h248_param_ber_octetstring, &h248_c_implicit },
	{ 0xB00c, &hf_h248_pkg_annexc_sdp_a, h248_param_ber_octetstring, &h248_c_implicit },
	{ 0xB00d, &hf_h248_pkg_annexc_sdp_t, h248_param_ber_octetstring, &h248_c_implicit },
	{ 0xB00e, &hf_h248_pkg_annexc_sdp_r, h248_param_ber_octetstring, &h248_c_implicit },
	{ 0xB00f, &hf_h248_pkg_annexc_sdp_m, h248_param_ber_octetstring, &h248_c_implicit },
	
	{ 0xC001, &hf_h248_pkg_annexc_olc, h248_param_ber_octetstring, NULL },
	{ 0xC002, &hf_h248_pkg_annexc_olcack, h248_param_ber_octetstring, NULL },
	{ 0xC003, &hf_h248_pkg_annexc_olccnf, h248_param_ber_octetstring, NULL },
	{ 0xC004, &hf_h248_pkg_annexc_olcrej, h248_param_ber_octetstring, NULL },
	{ 0xC005, &hf_h248_pkg_annexc_clc, h248_param_ber_octetstring, NULL },
	{ 0xC006, &hf_h248_pkg_annexc_clcack, h248_param_ber_octetstring, NULL },
	
	{ 0, NULL, NULL, NULL }
};

static h248_package_t h248_annexc_package = {
	0x0000,
	&proto_h248_pkg_annexc,
	&ett_annexc,
	h248_annexc_package_properties_vals,
	NULL,
	NULL,
	NULL,
	h248_annexc_package_properties, /* properties */
	NULL,							/* signals */
	NULL,							/* events */
	NULL							/* statistics */
};


void proto_register_h248_annex_c(void) {
	static hf_register_info hf[] = {
		{ &hf_h248_pkg_annexc_media,
			{ "Media", "h248.pkg.annexc.media", FT_UINT32, BASE_HEX, VALS(h248_annexc_media_vals), 0, "Media Type", HFILL }},
		{ &hf_h248_pkg_annexc_ACodec,
		{ "ACodec", "h248.pkg.annexc.ACodec",
			FT_BYTES, BASE_HEX, NULL, 0,
			"ACodec", HFILL }},
		{ &hf_h248_pkg_annexc_Mediatx,
		{ "Mediatx", "h248.pkg.annexc.Mediatx",
			FT_UINT32, BASE_DEC, VALS(h248_pkg_annexc_Mediatx_vals), 0,
			"Mediatx", HFILL }},
		{ &hf_h248_pkg_annexc_BIR,
		{ "BIR", "h248.pkg.annexc.BIR",
			FT_BYTES, BASE_HEX, NULL, 0,
			"BIR", HFILL }},
		{ &hf_h248_pkg_annexc_NSAP,
		{ "NSAP", "h248.pkg.annexc.NSAP",
			FT_BYTES, BASE_HEX, NULL, 0,
			"NSAP", HFILL }},
		{ &hf_h248_pkg_annexc_transmission_mode,
		{ "Transmission Mode", "h248.pkg.annexc.transmission_mode",
			FT_UINT32, BASE_DEC, VALS(h248_annexc_transmission_mode), 0,
			"Transmission Mode", HFILL }},
		{ &hf_h248_pkg_annexc_num_of_channels,
		{ "Number of Channels", "h248.pkg.annexc.num_of_channels",
			FT_UINT32, BASE_DEC, NULL, 0,
			"Number of Channels", HFILL }},
		{ &hf_h248_pkg_annexc_sampling_rate,
		{ "Sampling Rate", "h248.pkg.annexc.sampling_rate",
			FT_UINT32, BASE_DEC, NULL, 0,
			"Sampling Rate", HFILL }},
		{ &hf_h248_pkg_annexc_bit_rate,
		{ "Bit Rate", "h248.pkg.annexc.bit_rate",
			FT_UINT32, BASE_DEC, NULL, 0,
			"Bit Rate", HFILL }},
		{ &hf_h248_pkg_annexc_samplepp,
		{ "Samplepp", "h248.pkg.annexc.samplepp",
			FT_UINT32, BASE_DEC, NULL, 0,
			"Samplepp", HFILL }},
		{ &hf_h248_pkg_annexc_silence_supp,
		{ "SilenceSupp", "h248.pkg.annexc.silence_supp",
			FT_BOOLEAN, BASE_NONE, NULL, 0,
			"Silence Suppression", HFILL }},
		{ &hf_h248_pkg_annexc_encrypt_type,
		{ "Encrypttype", "h248.pkg.annexc.encrypt_type",
			FT_BYTES, BASE_NONE, NULL, 0,
			"Encryption Type", HFILL }},
		{ &hf_h248_pkg_annexc_encrypt_key,
		{ "Encrypt Key", "h248.pkg.annexc.encrypt_key",
			FT_UINT32, BASE_DEC, NULL, 0,
			"Encryption Key", HFILL }},
		{ &hf_h248_pkg_annexc_gain,
		{ "Gain", "h248.pkg.annexc.gain",
			FT_UINT32, BASE_DEC, NULL, 0,
			"Gain (dB)", HFILL }},
		{ &hf_h248_pkg_annexc_jitterbuf,
		{ "JitterBuff", "h248.pkg.annexc.jitterbuf",
			FT_UINT32, BASE_DEC, NULL, 0,
			"Jitter Buffer Size (ms)", HFILL }},
		{ &hf_h248_pkg_annexc_propdelay,
		{ "Propagation Delay", "h248.pkg.annexc.encrypt_type",
			FT_UINT32, BASE_DEC, NULL, 0,
			"Propagation Delay (ms)", HFILL }},
		{ &hf_h248_pkg_annexc_rtp_payload,
		{ "RTP Payload type", "h248.pkg.annexc.rtp_payload",
			FT_UINT32, BASE_DEC, NULL, 0,
			"Payload type in RTP Profile", HFILL }},
		{ &hf_h248_pkg_annexc_h222,
		{ "H222LogicalChannelParameters", "h248.pkg.annexc.h222",
			FT_BYTES, BASE_NONE, NULL, 0,
			"H222LogicalChannelParameters", HFILL }},
		{ &hf_h248_pkg_annexc_h223,
		{ "H223LogicalChannelParameters", "h248.pkg.annexc.h223",
			FT_BYTES, BASE_NONE, NULL, 0,
			"H223LogicalChannelParameters", HFILL }},
		{ &hf_h248_pkg_annexc_v76,
		{ "V76LogicalChannelParameters", "h248.pkg.annexc.v76",
			FT_BYTES, BASE_NONE, NULL, 0,
			"V76LogicalChannelParameters", HFILL }},
		{ &hf_h248_pkg_annexc_h2250,
		{ "H2250LogicalChannelParameters", "h248.pkg.annexc.h2250",
			FT_BYTES, BASE_NONE, NULL, 0,
			"H2250LogicalChannelParameters", HFILL }},
		{ &hf_h248_pkg_annexc_aesa,
		{ "AESA", "h248.pkg.annexc.aesa",
			FT_BYTES, BASE_NONE, NULL, 0,
			"ATM End System Address", HFILL }},
		{ &hf_h248_pkg_annexc_vp,
		{ "VPI", "h248.pkg.annexc.vpi",
			FT_UINT16, BASE_DEC, NULL, 0,
			"Virtual Path Identifier", HFILL }},
		{ &hf_h248_pkg_annexc_vc,
		{ "VCI", "h248.pkg.annexc.vci",
			FT_UINT16, BASE_DEC, NULL, 0,
			"Virtual Circuit Identifier", HFILL }},
		{ &hf_h248_pkg_annexc_sc,
		{ "Service Class", "h248.pkg.annexc.sc",
			FT_UINT32, BASE_DEC, NULL, 0,
			"Service Class", HFILL }},
		{ &hf_h248_pkg_annexc_bcob,
		{ "BCOB", "h248.pkg.annexc.bcob",
			FT_UINT8, BASE_DEC, NULL, 0x1F,
			"Broadband Bearer Class", HFILL }},
		{ &hf_h248_pkg_annexc_bbtc,
		{ "BBTC", "h248.pkg.annexc.bbtc",
			FT_UINT8, BASE_DEC, NULL, 0x3F,
			"Broadband Transfer Capability", HFILL }},
		{ &hf_h248_pkg_annexc_atc,
		{ "ATC", "h248.pkg.annexc.atc",
			FT_UINT32, BASE_DEC, VALS(h248_pkg_annexc_atc_values), 0x0,
			"ATM Traffic Capability", HFILL }},
		{ &hf_h248_pkg_annexc_stc,
		{ "STC", "h248.pkg.annexc.stc",
			FT_UINT8, BASE_DEC, VALS(h248_pkg_annexc_stc_values), 0x03,
			"Susceptibility to Clipping", HFILL }},
		{ &hf_h248_pkg_annexc_uppc,
		{ "UPPC", "h248.pkg.annexc.uppc",
			FT_UINT8, BASE_DEC, VALS(h248_pkg_annexc_uppc_values), 0x03,
			"User Plane Connection Configuration", HFILL }},
			
		{ &hf_h248_pkg_annexc_pcr0,
		{ "PCR0", "h248.pkg.annexc.pcr0",
			FT_UINT24, BASE_DEC, NULL, 0,
			"Peak Cell Rate for CLP=0", HFILL }},
		{ &hf_h248_pkg_annexc_scr0,
		{ "SCR0", "h248.pkg.annexc.scr0",
			FT_UINT24, BASE_DEC, NULL, 0,
			"Sustained Cell Rate for CLP=0", HFILL }},
		{ &hf_h248_pkg_annexc_mbs0,
		{ "MBS0", "h248.pkg.annexc.mbs0",
			FT_UINT24, BASE_DEC, NULL, 0,
			"Maximum Burst Size for CLP=0", HFILL }},
			
		{ &hf_h248_pkg_annexc_pcr1,
		{ "PCR1", "h248.pkg.annexc.pcr1",
			FT_UINT24, BASE_DEC, NULL, 0,
			"Peak Cell Rate for CLP=1", HFILL }},
		{ &hf_h248_pkg_annexc_scr1,
		{ "SCR1", "h248.pkg.annexc.scr1",
			FT_UINT24, BASE_DEC, NULL, 0,
			"Sustained Cell Rate for CLP=1", HFILL }},
		{ &hf_h248_pkg_annexc_mbs1,
		{ "MBS1", "h248.pkg.annexc.mbs1",
			FT_UINT24, BASE_DEC, NULL, 0,
			"Maximum Burst Size for CLP=1", HFILL }},
			
		{ &hf_h248_pkg_annexc_bei,
		{ "BEI", "h248.pkg.annexc.bei",
			FT_BOOLEAN, BASE_NONE, NULL, 0,
			"Best Effort Indicator", HFILL }},
		{ &hf_h248_pkg_annexc_ti,
		{ "TI", "h248.pkg.annexc.ti",
			FT_BOOLEAN, BASE_NONE, NULL, 0,
			"Tagging Indicator", HFILL }},
		{ &hf_h248_pkg_annexc_fd,
		{ "FD", "h248.pkg.annexc.fd",
			FT_BOOLEAN, BASE_NONE, NULL, 0,
			"Frame Discard", HFILL }},
			
		{ &hf_h248_pkg_annexc_a2pcdv,
		{ "A2PCDV", "h248.pkg.annexc.a2pcdv",
			FT_UINT24, BASE_DEC, NULL, 0,
			"Acceptable 2 point CDV", HFILL }},
		{ &hf_h248_pkg_annexc_c2pcdv,
		{ "C2PCDV", "h248.pkg.annexc.c2pcdv",
			FT_UINT24, BASE_DEC, NULL, 0,
			"Cummulative 2 point CDV", HFILL }},
		{ &hf_h248_pkg_annexc_appcdv,
		{ "APPCDV", "h248.pkg.annexc.appcdv",
			FT_UINT24, BASE_DEC, NULL, 0,
			"Acceptable Point to Point CDV", HFILL }},
		{ &hf_h248_pkg_annexc_cppcdv,
		{ "CPPCDV", "h248.pkg.annexc.cppcdv",
			FT_UINT24, BASE_DEC, NULL, 0,
			"Cummulative Point to Point CDV", HFILL }},
		{ &hf_h248_pkg_annexc_aclr,
		{ "ACLR", "h248.pkg.annexc.aclr",
			FT_UINT8, BASE_DEC, NULL, 0,
			"Acceptable Cell Loss Ratio (Q.2965.2 ATMF UNI 4.0)", HFILL }},
			
		{ &hf_h248_pkg_annexc_meetd,
		{ "MEETD", "h248.pkg.annexc.meetd",
			FT_UINT16, BASE_DEC, NULL, 0,
			"Maximum End-to-End Transit Delay (Q.2965.2 ATMF UNI 4.0)", HFILL }},
		{ &hf_h248_pkg_annexc_ceetd,
		{ "CEETD", "h248.pkg.annexc.ceetd",
			FT_UINT16, BASE_DEC, NULL, 0,
			"Cummulative End-to-End Transit Delay (Q.2965.2 ATMF UNI 4.0)", HFILL }},
		{ &hf_h248_pkg_annexc_QosClass,
		{ "QosClass", "h248.pkg.annexc.qosclass",
			FT_UINT16, BASE_DEC, VALS(h248_pkg_annexc_QosClass_values), 0,
			"QoS Class (Q.2965.1)", HFILL }},
		{ &hf_h248_pkg_annexc_AALtype,
		{ "AALtype", "h248.pkg.annexc.aaltype",
			FT_UINT8, BASE_DEC, VALS(h248_pkg_annexc_AALtype_values), 0,
			"AAL Type", HFILL }},
			
		{ &hf_h248_pkg_annexc_dlci,
		{ "DLCI", "h248.pkg.annexc.dlci",
			FT_UINT32, BASE_DEC, NULL, 0,
			"Data Link Connection ID (FR)", HFILL }},
		{ &hf_h248_pkg_annexc_cid,
		{ "CID", "h248.pkg.annexc.cid",
			FT_UINT32, BASE_DEC, NULL, 0,
			"Channel-Id", HFILL }},
		{ &hf_h248_pkg_annexc_sid,
		{ "SID", "h248.pkg.annexc.sid",
			FT_UINT32, BASE_DEC, NULL, 0,
			"Silence Insertion Descriptor", HFILL }},
		{ &hf_h248_pkg_annexc_ppt,
		{ "PPT", "h248.pkg.annexc.ppt",
			FT_UINT32, BASE_DEC, NULL, 0,
			"Primary Payload Type", HFILL }},
			
		{ &hf_h248_pkg_annexc_ipv4,
		{ "IPv4", "h248.pkg.annexc.ipv4",
			FT_IPv4, BASE_NONE, NULL, 0,
			"IPv4 Address", HFILL }},
		{ &hf_h248_pkg_annexc_ipv6,
		{ "IPv6", "h248.pkg.annexc.ipv6",
			FT_IPv6, BASE_NONE, NULL, 0,
			"IPv6 Address", HFILL }},
		{ &hf_h248_pkg_annexc_port,
		{ "Port", "h248.pkg.annexc.port",
			FT_UINT16, BASE_DEC, NULL, 0,
			"Port", HFILL }},
		{ &hf_h248_pkg_annexc_porttype,
		{ "PortType", "h248.pkg.annexc.porttype",
			FT_UINT32, BASE_DEC, VALS(h248_pkg_annexc_porttype_values), 0,
			"Port Type", HFILL }},
					
		{ &hf_h248_pkg_annexc_alc,
		{ "ALC", "h248.pkg.annexc.alc",
			FT_BYTES, BASE_NONE, NULL, 0,
			"AAL2 Link Characteristics", HFILL }},
		{ &hf_h248_pkg_annexc_sut,
		{ "SUT", "h248.pkg.annexc.sut",
			FT_BYTES, BASE_NONE, NULL, 0,
			"Served User Transport", HFILL }},
		{ &hf_h248_pkg_annexc_tci,
		{ "TCI", "h248.pkg.annexc.tci",
			FT_BOOLEAN, BASE_DEC, NULL, 0,
			"Test Connection Indicator", HFILL }},
		{ &hf_h248_pkg_annexc_timer_cu,
		{ "Timer CU", "h248.pkg.annexc.timer_cu",
			FT_UINT32, BASE_DEC, NULL, 0,
			"Milliseconds to hold the  patially filled cell before sending", HFILL }},
		{ &hf_h248_pkg_annexc_maxcpssdu,
		{ "Max CPS SDU", "h248.pkg.annexc.maxcpssdu",
			FT_UINT8, BASE_DEC, NULL, 0,
			"Maximum Common Part Sublayer Service Data Unit size", HFILL }},

		{ &hf_h248_pkg_annexc_aal1st,
		{ "AAL1ST", "h248.pkg.annexc.aal1st",
			FT_UINT8, BASE_DEC, VALS(h248_pkg_annexc_aal1st_values), 0,
			"AAL1 subtype", HFILL }},
		{ &hf_h248_pkg_annexc_cbrr,
		{ "CBRR", "h248.pkg.annexc.cbrr",
			FT_UINT8, BASE_DEC, VALS(h248_pkg_annexc_cbrr_values), 0,
			"CBR rate", HFILL }},
		{ &hf_h248_pkg_annexc_scri,
		{ "SCRI", "h248.pkg.annexc.scri",
			FT_UINT8, BASE_DEC, VALS(h248_pkg_annexc_scri_values), 0,
			"Source Clock frequency Recovery method", HFILL }},
		{ &hf_h248_pkg_annexc_ecm,
		{ "ECM", "h248.pkg.annexc.ecm",
			FT_UINT8, BASE_DEC, VALS(h248_pkg_annexc_ecm_values), 0,
			"Error Correction Method", HFILL }},
		{ &hf_h248_pkg_annexc_sdbt,
		{ "SDBT", "h248.pkg.annexc.sdbt",
			FT_UINT16, BASE_DEC, NULL, 0,
			"Structured Data Transfer Blocksize", HFILL }},
		{ &hf_h248_pkg_annexc_pfci,
		{ "PFCI", "h248.pkg.annexc.pfci",
			FT_UINT8, BASE_DEC, NULL, 0,
			"Partially Filled Cells Identifier", HFILL }},

		{ &hf_h248_pkg_annexc_tmr,
		{ "TMR", "h248.pkg.annexc.tmr",
			FT_UINT8, BASE_HEX, VALS(isup_transmission_medium_requirement_value), 0,
			"Transmission Medium Requirement", HFILL }},
		{ &hf_h248_pkg_annexc_tmrsr,
		{ "TMSR", "h248.pkg.annexc.tmsr",
			FT_UINT8, BASE_HEX, VALS(h248_pkg_annexc_tmrsr_values), 0,
			"Transmission Medium Requirement Subrate", HFILL }},
		{ &hf_h248_pkg_annexc_contcheck,
		{ "Continuity Check", "h248.pkg.annexc.tmsr",
			FT_UINT8, BASE_DEC, VALS(h248_pkg_annexc_contcheck_values), 0x0C,
			"", HFILL }},
		
		{ &hf_h248_pkg_annexc_itc,
		{ "ITC", "h248.pkg.annexc.itc",
			FT_UINT8, BASE_DEC, VALS(h248_pkg_annexc_itc_values), 0x1f,
			"Information Transfer Capability", HFILL }},
		{ &hf_h248_pkg_annexc_transmode,
		{ "TransMode", "h248.pkg.annexc.transmode",
			FT_UINT8, BASE_DEC, VALS(h248_pkg_annexc_transmode_values), 0x60,
			"Transfer Mode", HFILL }},
		{ &hf_h248_pkg_annexc_transrate,
		{ "TransRate", "h248.pkg.annexc.transrate",
			FT_UINT8, BASE_DEC, VALS(h248_pkg_annexc_transrate_values), 0x1f,
			"Transfer Rate", HFILL }},
		{ &hf_h248_pkg_annexc_mult,
		{ "Rate Multiplier", "h248.pkg.annexc.mult",
			FT_UINT8, BASE_DEC, NULL, 0,
			"Rate Multiplier", HFILL }},
		{ &hf_h248_pkg_annexc_syncasync,
		{ "SyncAsync", "h248.pkg.annexc.syncasync",
			FT_UINT8, BASE_DEC, VALS(h248_pkg_annexc_syncasync_values), 0x80,
			"Syncronous/Asyncronous", HFILL }},
		{ &hf_h248_pkg_annexc_negotiation,
		{ "UPPC", "h248.pkg.annexc.negotiation",
			FT_UINT8, BASE_DEC, VALS(h248_pkg_annexc_negotiation_values), 0x40,
			"Negotiation", HFILL }},
		
		{ &hf_h248_pkg_annexc_userrate,
		{ "Userrate", "h248.pkg.annexc.userrate",
			FT_UINT8, BASE_HEX, VALS(h248_pkg_annexc_userrate_values), 0x1f,
			"User Rate", HFILL }},
		{ &hf_h248_pkg_annexc_intrate,
		{ "UPPC", "h248.pkg.annexc.intrate",
			FT_UINT8, BASE_HEX, VALS(h248_pkg_annexc_intrate_values), 0xc0,
			"Intermediare Rate", HFILL }},
		{ &hf_h248_pkg_annexc_nictx,
		{ "nictx", "h248.pkg.annexc.nictx",
			FT_UINT8, BASE_HEX, VALS(h248_pkg_annexc_nictx_values), 0xc0,
			"Intermediare Network indipendent clock in transmission", HFILL }},
		{ &hf_h248_pkg_annexc_nicrx,
		{ "nicrx", "h248.pkg.annexc.nicrx",
			FT_UINT8, BASE_HEX, VALS(h248_pkg_annexc_nicrx_values), 0xc0,
			"Intermediare Rate", HFILL }},
		{ &hf_h248_pkg_annexc_flowconttx,
		{ "flowconttx", "h248.pkg.annexc.flowconttx",
			FT_UINT8, BASE_HEX, VALS(h248_pkg_annexc_flowconttx_values), 0xc0,
			"Flow Control on Transmission", HFILL }},
		{ &hf_h248_pkg_annexc_flowcontrx,
		{ "flowcontrx", "h248.pkg.annexc.flowcontrx",
			FT_UINT8, BASE_HEX, VALS(h248_pkg_annexc_flowcontrx_values), 0xc0,
			"Flow Control on Reception", HFILL }},
		{ &hf_h248_pkg_annexc_rateadapthdr,
		{ "rateadapthdr", "h248.pkg.annexc.rateadapthdr",
			FT_UINT8, BASE_HEX, VALS(h248_pkg_annexc_rateadapthdr_values), 0xc0,
			"Rate Adaptation Header/No-Header", HFILL }},
		{ &hf_h248_pkg_annexc_multiframe,
		{ "multiframe", "h248.pkg.annexc.multiframe",
			FT_UINT8, BASE_HEX, VALS(h248_pkg_annexc_multiframe_values), 0xc0,
			"Multiple Frame establishment support in datalink", HFILL }},
		{ &hf_h248_pkg_annexc_opmode,
		{ "OPMODE", "h248.pkg.annexc.opmode",
			FT_UINT8, BASE_HEX, VALS(h248_pkg_annexc_opmode_values), 0xc0,
			"Mode of operation", HFILL }},
		{ &hf_h248_pkg_annexc_llidnegot,
		{ "llidnegot", "h248.pkg.annexc.llidnegot",
			FT_UINT8, BASE_HEX, VALS(h248_pkg_annexc_llidnegot_values), 0xc0,
			"Intermediare Rate", HFILL }},
			
		{ &hf_h248_pkg_annexc_assign,
		{ "llidnegot", "h248.pkg.annexc.assign",
			FT_UINT8, BASE_HEX, VALS(h248_pkg_annexc_assign_values), 0xc0,
			"Assignor/Asignee", HFILL }},
		{ &hf_h248_pkg_annexc_inbandneg,
		{ "inbandneg", "h248.pkg.annexc.inbandneg",
			FT_UINT8, BASE_HEX, VALS(h248_pkg_annexc_inbandneg_values), 0xc0,
			"In-band/Out-band negotiation", HFILL }},
		{ &hf_h248_pkg_annexc_stopbits,
		{ "stopbits", "h248.pkg.annexc.stopbits",
			FT_UINT8, BASE_HEX, VALS(h248_pkg_annexc_stopbits_values), 0xc0,
			"Number of stop bits", HFILL }},
		{ &hf_h248_pkg_annexc_databits,
		{ "databits", "h248.pkg.annexc.databits",
			FT_UINT8, BASE_HEX, VALS(h248_pkg_annexc_databits_values), 0xc0,
			"Number of stop bits", HFILL }},
		{ &hf_h248_pkg_annexc_parity,
		{ "parity", "h248.pkg.annexc.parity",
			FT_UINT8, BASE_HEX, VALS(h248_pkg_annexc_parity_values), 0xe0,
			"Parity Information Bits", HFILL }},
		{ &hf_h248_pkg_annexc_duplexmode,
		{ "duplexmode", "h248.pkg.annexc.duplexmode",
			FT_UINT8, BASE_HEX, VALS(h248_pkg_annexc_duplexmode_values), 0x80,
			"Mode Duplex", HFILL }},

		{ &hf_h248_pkg_annexc_modem,
		{ "modem", "h248.pkg.annexc.modem",
			FT_UINT8, BASE_HEX, VALS(h248_pkg_annexc_modem_values), 0xfc,
			"Modem Type", HFILL }},
		{ &hf_h248_pkg_annexc_layer2prot,
		{ "layer2prot", "h248.pkg.annexc.layer2prot",
			FT_UINT8, BASE_HEX, VALS(h248_pkg_annexc_layer2prot_values), 0x80,
			"Layer 2 protocol", HFILL }},
		{ &hf_h248_pkg_annexc_layer3prot,
		{ "layer3prot", "h248.pkg.annexc.layer3prot",
			FT_UINT8, BASE_HEX, VALS(h248_pkg_annexc_layer3prot_values), 0x80,
			"Layer 3 protocol", HFILL }},
		{ &hf_h248_pkg_annexc_addlayer3prot,
		{ "addlayer3prot", "h248.pkg.annexc.addlayer3prot",
			FT_UINT8, BASE_HEX, VALS(h248_pkg_annexc_addlayer3prot_values), 0x80,
			"Additional User Information Layer 3 protocol", HFILL }},
		{ &hf_h248_pkg_annexc_dialedn,
		{ "Dialed Number", "h248.pkg.annexc.dialedn",
			FT_BYTES, BASE_HEX, NULL, 0,
			"Dialed Number", HFILL }},
		{ &hf_h248_pkg_annexc_dialingn,
		{ "Dialing Number", "h248.pkg.annexc.dialingn",
			FT_BYTES, BASE_HEX, NULL, 0,
			"Dialing Number", HFILL }},
		{ &hf_h248_pkg_annexc_echoci,
		{ "ECHOCI", "h248.pkg.annexc.echoci",
			FT_BYTES, BASE_HEX, NULL, 0,
			"Not used", HFILL }},
		{ &hf_h248_pkg_annexc_nci,
		{ "NCI", "h248.pkg.annexc.nci",
			FT_UINT8, BASE_HEX, NULL, 0xff,
			"Nature of Connection Indicator", HFILL }},
			
			
		{ &hf_h248_pkg_annexc_USI,
		{ "USI", "h248.pkg.annexc.USI",
			FT_BYTES, BASE_HEX, NULL, 0,
			"User Service Information", HFILL }},
			

		{ &hf_h248_pkg_annexc_fmsdu,
		{ "fmsdu", "h248.pkg.annexc.fmsdu",
			FT_BYTES, BASE_HEX, NULL, 0,
			"FMSDU", HFILL }},
		{ &hf_h248_pkg_annexc_bmsdu,
		{ "bmsdu", "h248.pkg.annexc.bmsdu",
			FT_BYTES, BASE_HEX, NULL, 0,
			"bmsdu", HFILL }},
		{ &hf_h248_pkg_annexc_sscs,
		{ "sscs", "h248.pkg.annexc.sscs",
			FT_BYTES, BASE_HEX, NULL, 0,
			"sscs", HFILL }},
			
			
		{ &hf_h248_pkg_annexc_sdp_v,
		{ "sdp_v", "h248.pkg.annexc.sdp_v",
			FT_STRING, BASE_HEX, NULL, 0,
			"SDP V", HFILL }},
		{ &hf_h248_pkg_annexc_sdp_o,
		{ "sdp_o", "h248.pkg.annexc.sdp_o",
			FT_STRING, BASE_HEX, NULL, 0,
			"SDP O", HFILL }},
		{ &hf_h248_pkg_annexc_sdp_s,
		{ "sdp_s", "h248.pkg.annexc.sdp_s",
			FT_STRING, BASE_HEX, NULL, 0,
			"SDP S", HFILL }},
		{ &hf_h248_pkg_annexc_sdp_i,
		{ "sdp_i", "h248.pkg.annexc.sdp_i",
			FT_STRING, BASE_HEX, NULL, 0,
			"SDP I", HFILL }},
		{ &hf_h248_pkg_annexc_sdp_u,
		{ "sdp_u", "h248.pkg.annexc.sdp_u",
			FT_STRING, BASE_HEX, NULL, 0,
			"SDP U", HFILL }},
		{ &hf_h248_pkg_annexc_sdp_e,
		{ "sdp_e", "h248.pkg.annexc.sdp_e",
			FT_STRING, BASE_HEX, NULL, 0,
			"SDP E", HFILL }},
		{ &hf_h248_pkg_annexc_sdp_p,
		{ "sdp_p", "h248.pkg.annexc.sdp_p",
			FT_STRING, BASE_HEX, NULL, 0,
			"SDP P", HFILL }},
		{ &hf_h248_pkg_annexc_sdp_c,
		{ "sdp_c", "h248.pkg.annexc.sdp_c",
			FT_STRING, BASE_HEX, NULL, 0,
			"SDP C", HFILL }},
		{ &hf_h248_pkg_annexc_sdp_b,
		{ "sdp_b", "h248.pkg.annexc.sdp_b",
			FT_STRING, BASE_HEX, NULL, 0,
			"SDP B", HFILL }},
		{ &hf_h248_pkg_annexc_sdp_z,
		{ "sdp_z", "h248.pkg.annexc.sdp_z",
			FT_STRING, BASE_HEX, NULL, 0,
			"SDP Z", HFILL }},
		{ &hf_h248_pkg_annexc_sdp_k,
		{ "sdp_k", "h248.pkg.annexc.sdp_k",
			FT_STRING, BASE_HEX, NULL, 0,
			"SDP K", HFILL }},
		{ &hf_h248_pkg_annexc_sdp_a,
		{ "sdp_a", "h248.pkg.annexc.sdp_a",
			FT_STRING, BASE_HEX, NULL, 0,
			"SDP A", HFILL }},
		{ &hf_h248_pkg_annexc_sdp_t,
		{ "sdp_t", "h248.pkg.annexc.sdp_t",
			FT_STRING, BASE_HEX, NULL, 0,
			"SDP T", HFILL }},
		{ &hf_h248_pkg_annexc_sdp_r,
		{ "sdp_r", "h248.pkg.annexc.sdp_r",
			FT_STRING, BASE_HEX, NULL, 0,
			"SDP R", HFILL }},
		{ &hf_h248_pkg_annexc_sdp_m,
		{ "sdp_m", "h248.pkg.annexc.sdp_m",
			FT_STRING, BASE_HEX, NULL, 0,
			"SDP M", HFILL }},
			
		{ &hf_h248_pkg_annexc_olc,
		{ "OLC", "h248.pkg.annexc.olc",
			FT_BYTES, BASE_HEX, NULL, 0,
			"Open Logical Channel", HFILL }},
		{ &hf_h248_pkg_annexc_olcack,
		{ "OLCack", "h248.pkg.annexc.olcack",
			FT_BYTES, BASE_HEX, NULL, 0,
			"Open Logical Channel Acknowledge", HFILL }},
		{ &hf_h248_pkg_annexc_olccnf,
		{ "OLCcnf", "h248.pkg.annexc.olccnf",
			FT_BYTES, BASE_HEX, NULL, 0,
			"Open Logical Channel CNF", HFILL }},
		{ &hf_h248_pkg_annexc_olcrej,
		{ "OLCrej", "h248.pkg.annexc.olcrej",
			FT_BYTES, BASE_HEX, NULL, 0,
			"Open Logical Channel Reject", HFILL }},
		{ &hf_h248_pkg_annexc_clc,
		{ "CLC", "h248.pkg.annexc.clc",
			FT_BYTES, BASE_HEX, NULL, 0,
			"Close Logical Channel", HFILL }},
		{ &hf_h248_pkg_annexc_clcack,
		{ "CLCack", "h248.pkg.annexc.clcack",
			FT_BYTES, BASE_HEX, NULL, 0,
			"Close Logical Channel Acknowledge", HFILL }},
		
	};
	
	static gint *ett[] = {
		&ett_annexc,
		&ett_vpvc,
		&ett_codec
	};
	
	proto_h248_pkg_annexc = proto_register_protocol(PNAME, PSNAME, PFNAME);
	
	proto_register_field_array(proto_h248_pkg_annexc, hf, array_length(hf));
	
	proto_register_subtree_array(ett, array_length(ett));
	
	h248_register_package(&h248_annexc_package);
	
}