This file is indexed.

/usr/include/opal/asn/h501.h is in libopal-dev 3.10.2~dfsg-0ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   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
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
//
// h501.h
//
// Code automatically generated by asnparse.
//

#include <opal/buildopts.h>

#if ! H323_DISABLE_H501

#ifndef __H501_H
#define __H501_H

#ifdef P_USE_PRAGMA
#pragma interface
#endif

#include <ptclib/asner.h>

#include "h235.h"
#include "h225.h"


//
// MessageBody
//

class H501_ServiceRequest;
class H501_ServiceConfirmation;
class H501_ServiceRejection;
class H501_ServiceRelease;
class H501_DescriptorRequest;
class H501_DescriptorConfirmation;
class H501_DescriptorRejection;
class H501_DescriptorIDRequest;
class H501_DescriptorIDConfirmation;
class H501_DescriptorIDRejection;
class H501_DescriptorUpdate;
class H501_DescriptorUpdateAck;
class H501_AccessRequest;
class H501_AccessConfirmation;
class H501_AccessRejection;
class H501_RequestInProgress;
class H501_NonStandardRequest;
class H501_NonStandardConfirmation;
class H501_NonStandardRejection;
class H501_UnknownMessageResponse;
class H501_UsageRequest;
class H501_UsageConfirmation;
class H501_UsageIndication;
class H501_UsageIndicationConfirmation;
class H501_UsageIndicationRejection;
class H501_UsageRejection;
class H501_ValidationRequest;
class H501_ValidationConfirmation;
class H501_ValidationRejection;
class H501_AuthenticationRequest;
class H501_AuthenticationConfirmation;
class H501_AuthenticationRejection;

class H501_MessageBody : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_MessageBody, PASN_Choice);
#endif
  public:
    H501_MessageBody(unsigned tag = 0, TagClass tagClass = UniversalTagClass);

    enum Choices {
      e_serviceRequest,
      e_serviceConfirmation,
      e_serviceRejection,
      e_serviceRelease,
      e_descriptorRequest,
      e_descriptorConfirmation,
      e_descriptorRejection,
      e_descriptorIDRequest,
      e_descriptorIDConfirmation,
      e_descriptorIDRejection,
      e_descriptorUpdate,
      e_descriptorUpdateAck,
      e_accessRequest,
      e_accessConfirmation,
      e_accessRejection,
      e_requestInProgress,
      e_nonStandardRequest,
      e_nonStandardConfirmation,
      e_nonStandardRejection,
      e_unknownMessageResponse,
      e_usageRequest,
      e_usageConfirmation,
      e_usageIndication,
      e_usageIndicationConfirmation,
      e_usageIndicationRejection,
      e_usageRejection,
      e_validationRequest,
      e_validationConfirmation,
      e_validationRejection,
      e_authenticationRequest,
      e_authenticationConfirmation,
      e_authenticationRejection
    };

#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H501_ServiceRequest &() const;
#else
    operator H501_ServiceRequest &();
    operator const H501_ServiceRequest &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H501_ServiceConfirmation &() const;
#else
    operator H501_ServiceConfirmation &();
    operator const H501_ServiceConfirmation &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H501_ServiceRejection &() const;
#else
    operator H501_ServiceRejection &();
    operator const H501_ServiceRejection &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H501_ServiceRelease &() const;
#else
    operator H501_ServiceRelease &();
    operator const H501_ServiceRelease &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H501_DescriptorRequest &() const;
#else
    operator H501_DescriptorRequest &();
    operator const H501_DescriptorRequest &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H501_DescriptorConfirmation &() const;
#else
    operator H501_DescriptorConfirmation &();
    operator const H501_DescriptorConfirmation &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H501_DescriptorRejection &() const;
#else
    operator H501_DescriptorRejection &();
    operator const H501_DescriptorRejection &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H501_DescriptorIDRequest &() const;
#else
    operator H501_DescriptorIDRequest &();
    operator const H501_DescriptorIDRequest &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H501_DescriptorIDConfirmation &() const;
#else
    operator H501_DescriptorIDConfirmation &();
    operator const H501_DescriptorIDConfirmation &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H501_DescriptorIDRejection &() const;
#else
    operator H501_DescriptorIDRejection &();
    operator const H501_DescriptorIDRejection &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H501_DescriptorUpdate &() const;
#else
    operator H501_DescriptorUpdate &();
    operator const H501_DescriptorUpdate &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H501_DescriptorUpdateAck &() const;
#else
    operator H501_DescriptorUpdateAck &();
    operator const H501_DescriptorUpdateAck &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H501_AccessRequest &() const;
#else
    operator H501_AccessRequest &();
    operator const H501_AccessRequest &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H501_AccessConfirmation &() const;
#else
    operator H501_AccessConfirmation &();
    operator const H501_AccessConfirmation &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H501_AccessRejection &() const;
#else
    operator H501_AccessRejection &();
    operator const H501_AccessRejection &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H501_RequestInProgress &() const;
#else
    operator H501_RequestInProgress &();
    operator const H501_RequestInProgress &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H501_NonStandardRequest &() const;
#else
    operator H501_NonStandardRequest &();
    operator const H501_NonStandardRequest &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H501_NonStandardConfirmation &() const;
#else
    operator H501_NonStandardConfirmation &();
    operator const H501_NonStandardConfirmation &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H501_NonStandardRejection &() const;
#else
    operator H501_NonStandardRejection &();
    operator const H501_NonStandardRejection &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H501_UnknownMessageResponse &() const;
#else
    operator H501_UnknownMessageResponse &();
    operator const H501_UnknownMessageResponse &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H501_UsageRequest &() const;
#else
    operator H501_UsageRequest &();
    operator const H501_UsageRequest &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H501_UsageConfirmation &() const;
#else
    operator H501_UsageConfirmation &();
    operator const H501_UsageConfirmation &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H501_UsageIndication &() const;
#else
    operator H501_UsageIndication &();
    operator const H501_UsageIndication &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H501_UsageIndicationConfirmation &() const;
#else
    operator H501_UsageIndicationConfirmation &();
    operator const H501_UsageIndicationConfirmation &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H501_UsageIndicationRejection &() const;
#else
    operator H501_UsageIndicationRejection &();
    operator const H501_UsageIndicationRejection &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H501_UsageRejection &() const;
#else
    operator H501_UsageRejection &();
    operator const H501_UsageRejection &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H501_ValidationRequest &() const;
#else
    operator H501_ValidationRequest &();
    operator const H501_ValidationRequest &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H501_ValidationConfirmation &() const;
#else
    operator H501_ValidationConfirmation &();
    operator const H501_ValidationConfirmation &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H501_ValidationRejection &() const;
#else
    operator H501_ValidationRejection &();
    operator const H501_ValidationRejection &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H501_AuthenticationRequest &() const;
#else
    operator H501_AuthenticationRequest &();
    operator const H501_AuthenticationRequest &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H501_AuthenticationConfirmation &() const;
#else
    operator H501_AuthenticationConfirmation &();
    operator const H501_AuthenticationConfirmation &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H501_AuthenticationRejection &() const;
#else
    operator H501_AuthenticationRejection &();
    operator const H501_AuthenticationRejection &() const;
#endif

    PBoolean CreateObject();
    PObject * Clone() const;
};


//
// ServiceRejectionReason
//

class H501_ServiceRejectionReason : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ServiceRejectionReason, PASN_Choice);
#endif
  public:
    H501_ServiceRejectionReason(unsigned tag = 0, TagClass tagClass = UniversalTagClass);

    enum Choices {
      e_serviceUnavailable,
      e_serviceRedirected,
      e_security,
      e_continue,
      e_undefined,
      e_unknownServiceID,
      e_cannotSupportUsageSpec,
      e_neededFeature,
      e_genericDataReason,
      e_usageUnavailable,
      e_unknownUsageSendTo
    };

    PBoolean CreateObject();
    PObject * Clone() const;
};


//
// ServiceReleaseReason
//

class H501_ServiceReleaseReason : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ServiceReleaseReason, PASN_Choice);
#endif
  public:
    H501_ServiceReleaseReason(unsigned tag = 0, TagClass tagClass = UniversalTagClass);

    enum Choices {
      e_outOfService,
      e_maintenance,
      e_terminated,
      e_expired
    };

    PBoolean CreateObject();
    PObject * Clone() const;
};


//
// DescriptorRejectionReason
//

class H501_DescriptorRejectionReason : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_DescriptorRejectionReason, PASN_Choice);
#endif
  public:
    H501_DescriptorRejectionReason(unsigned tag = 0, TagClass tagClass = UniversalTagClass);

    enum Choices {
      e_packetSizeExceeded,
      e_illegalID,
      e_security,
      e_hopCountExceeded,
      e_noServiceRelationship,
      e_undefined,
      e_neededFeature,
      e_genericDataReason,
      e_unknownServiceID
    };

    PBoolean CreateObject();
    PObject * Clone() const;
};


//
// DescriptorIDRequest
//

class H501_DescriptorIDRequest : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_DescriptorIDRequest, PASN_Sequence);
#endif
  public:
    H501_DescriptorIDRequest(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);


    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    PObject * Clone() const;
};


//
// DescriptorIDRejectionReason
//

class H501_DescriptorIDRejectionReason : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_DescriptorIDRejectionReason, PASN_Choice);
#endif
  public:
    H501_DescriptorIDRejectionReason(unsigned tag = 0, TagClass tagClass = UniversalTagClass);

    enum Choices {
      e_noDescriptors,
      e_security,
      e_hopCountExceeded,
      e_noServiceRelationship,
      e_undefined,
      e_neededFeature,
      e_genericDataReason,
      e_unknownServiceID
    };

    PBoolean CreateObject();
    PObject * Clone() const;
};


//
// DescriptorUpdateAck
//

class H501_DescriptorUpdateAck : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_DescriptorUpdateAck, PASN_Sequence);
#endif
  public:
    H501_DescriptorUpdateAck(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);


    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    PObject * Clone() const;
};


//
// AccessRejectionReason
//

class H501_AccessRejectionReason : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_AccessRejectionReason, PASN_Choice);
#endif
  public:
    H501_AccessRejectionReason(unsigned tag = 0, TagClass tagClass = UniversalTagClass);

    enum Choices {
      e_noMatch,
      e_packetSizeExceeded,
      e_security,
      e_hopCountExceeded,
      e_needCallInformation,
      e_noServiceRelationship,
      e_undefined,
      e_neededFeature,
      e_genericDataReason,
      e_destinationUnavailable,
      e_aliasesInconsistent,
      e_resourceUnavailable,
      e_incompleteAddress,
      e_unknownServiceID,
      e_usageUnavailable,
      e_cannotSupportUsageSpec,
      e_unknownUsageSendTo
    };

    PBoolean CreateObject();
    PObject * Clone() const;
};


//
// UsageConfirmation
//

class H501_UsageConfirmation : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_UsageConfirmation, PASN_Sequence);
#endif
  public:
    H501_UsageConfirmation(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);


    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    PObject * Clone() const;
};


//
// UsageField
//

class H501_UsageField : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_UsageField, PASN_Sequence);
#endif
  public:
    H501_UsageField(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    PASN_ObjectId m_id;
    PASN_OctetString m_value;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// UsageRejectReason
//

class H501_UsageRejectReason : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_UsageRejectReason, PASN_Choice);
#endif
  public:
    H501_UsageRejectReason(unsigned tag = 0, TagClass tagClass = UniversalTagClass);

    enum Choices {
      e_invalidCall,
      e_unavailable,
      e_security,
      e_noServiceRelationship,
      e_undefined,
      e_neededFeature,
      e_genericDataReason,
      e_unknownServiceID
    };

    PBoolean CreateObject();
    PObject * Clone() const;
};


//
// UsageIndicationConfirmation
//

class H501_UsageIndicationConfirmation : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_UsageIndicationConfirmation, PASN_Sequence);
#endif
  public:
    H501_UsageIndicationConfirmation(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);


    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    PObject * Clone() const;
};


//
// UsageIndicationRejectionReason
//

class H501_UsageIndicationRejectionReason : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_UsageIndicationRejectionReason, PASN_Choice);
#endif
  public:
    H501_UsageIndicationRejectionReason(unsigned tag = 0, TagClass tagClass = UniversalTagClass);

    enum Choices {
      e_unknownCall,
      e_incomplete,
      e_security,
      e_noServiceRelationship,
      e_undefined,
      e_neededFeature,
      e_genericDataReason,
      e_unknownServiceID
    };

    PBoolean CreateObject();
    PObject * Clone() const;
};


//
// ValidationRejectionReason
//

class H501_ValidationRejectionReason : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ValidationRejectionReason, PASN_Choice);
#endif
  public:
    H501_ValidationRejectionReason(unsigned tag = 0, TagClass tagClass = UniversalTagClass);

    enum Choices {
      e_tokenNotValid,
      e_security,
      e_hopCountExceeded,
      e_missingSourceInfo,
      e_missingDestInfo,
      e_noServiceRelationship,
      e_undefined,
      e_neededFeature,
      e_genericDataReason,
      e_unknownServiceID
    };

    PBoolean CreateObject();
    PObject * Clone() const;
};


//
// NonStandardRequest
//

class H501_NonStandardRequest : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_NonStandardRequest, PASN_Sequence);
#endif
  public:
    H501_NonStandardRequest(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);


    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    PObject * Clone() const;
};


//
// NonStandardConfirmation
//

class H501_NonStandardConfirmation : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_NonStandardConfirmation, PASN_Sequence);
#endif
  public:
    H501_NonStandardConfirmation(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);


    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    PObject * Clone() const;
};


//
// NonStandardRejectionReason
//

class H501_NonStandardRejectionReason : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_NonStandardRejectionReason, PASN_Choice);
#endif
  public:
    H501_NonStandardRejectionReason(unsigned tag = 0, TagClass tagClass = UniversalTagClass);

    enum Choices {
      e_notSupported,
      e_noServiceRelationship,
      e_undefined,
      e_neededFeature,
      e_genericDataReason,
      e_unknownServiceID
    };

    PBoolean CreateObject();
    PObject * Clone() const;
};


//
// UnknownMessageReason
//

class H501_UnknownMessageReason : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_UnknownMessageReason, PASN_Choice);
#endif
  public:
    H501_UnknownMessageReason(unsigned tag = 0, TagClass tagClass = UniversalTagClass);

    enum Choices {
      e_notUnderstood,
      e_undefined
    };

    PBoolean CreateObject();
    PObject * Clone() const;
};


//
// ApplicationMessage
//

class H501_ApplicationMessage : public PASN_OctetString
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ApplicationMessage, PASN_OctetString);
#endif
  public:
    H501_ApplicationMessage(unsigned tag = UniversalOctetString, TagClass tagClass = UniversalTagClass);

    H501_ApplicationMessage(const char * v);
    H501_ApplicationMessage(const PString & v);
    H501_ApplicationMessage(const PBYTEArray & v);

    H501_ApplicationMessage & operator=(const char * v);
    H501_ApplicationMessage & operator=(const PString & v);
    H501_ApplicationMessage & operator=(const PBYTEArray & v);
    PObject * Clone() const;
};


//
// AuthenticationConfirmation
//

class H501_AuthenticationConfirmation : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_AuthenticationConfirmation, PASN_Sequence);
#endif
  public:
    H501_AuthenticationConfirmation(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);


    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    PObject * Clone() const;
};


//
// AuthenticationRejectionReason
//

class H501_AuthenticationRejectionReason : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_AuthenticationRejectionReason, PASN_Choice);
#endif
  public:
    H501_AuthenticationRejectionReason(unsigned tag = 0, TagClass tagClass = UniversalTagClass);

    enum Choices {
      e_security,
      e_hopCountExceeded,
      e_noServiceRelationship,
      e_undefined,
      e_neededFeature,
      e_genericDataReason,
      e_unknownServiceID,
      e_securityWrongSyncTime,
      e_securityReplay,
      e_securityWrongGeneralID,
      e_securityWrongSendersID,
      e_securityIntegrityFailed,
      e_securityWrongOID
    };

    PBoolean CreateObject();
    PObject * Clone() const;
};


//
// Pattern
//

class H225_AliasAddress;
class H501_Pattern_range;

class H501_Pattern : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_Pattern, PASN_Choice);
#endif
  public:
    H501_Pattern(unsigned tag = 0, TagClass tagClass = UniversalTagClass);

    enum Choices {
      e_specific,
      e_wildcard,
      e_range
    };

#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H225_AliasAddress &() const;
#else
    operator H225_AliasAddress &();
    operator const H225_AliasAddress &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H501_Pattern_range &() const;
#else
    operator H501_Pattern_range &();
    operator const H501_Pattern_range &() const;
#endif

    PBoolean CreateObject();
    PObject * Clone() const;
};


//
// AccessToken
//

class H235_ClearToken;
class H225_CryptoH323Token;
class H225_GenericData;

class H501_AccessToken : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_AccessToken, PASN_Choice);
#endif
  public:
    H501_AccessToken(unsigned tag = 0, TagClass tagClass = UniversalTagClass);

    enum Choices {
      e_token,
      e_cryptoToken,
      e_genericData
    };

#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H235_ClearToken &() const;
#else
    operator H235_ClearToken &();
    operator const H235_ClearToken &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H225_CryptoH323Token &() const;
#else
    operator H225_CryptoH323Token &();
    operator const H225_CryptoH323Token &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H225_GenericData &() const;
#else
    operator H225_GenericData &();
    operator const H225_GenericData &() const;
#endif

    PBoolean CreateObject();
    PObject * Clone() const;
};


//
// CallInformation
//

class H501_CallInformation : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_CallInformation, PASN_Sequence);
#endif
  public:
    H501_CallInformation(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    enum OptionalFields {
      e_circuitID
    };

    H225_CallIdentifier m_callIdentifier;
    H225_ConferenceIdentifier m_conferenceID;
    H225_CircuitInfo m_circuitID;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// UsageCallStatus
//

class H501_UsageCallStatus : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_UsageCallStatus, PASN_Choice);
#endif
  public:
    H501_UsageCallStatus(unsigned tag = 0, TagClass tagClass = UniversalTagClass);

    enum Choices {
      e_preConnect,
      e_callInProgress,
      e_callEnded,
      e_registrationLost
    };

    PBoolean CreateObject();
    PObject * Clone() const;
};


//
// Role
//

class H225_NonStandardParameter;

class H501_Role : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_Role, PASN_Choice);
#endif
  public:
    H501_Role(unsigned tag = 0, TagClass tagClass = UniversalTagClass);

    enum Choices {
      e_originator,
      e_destination,
      e_nonStandardData
    };

#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H225_NonStandardParameter &() const;
#else
    operator H225_NonStandardParameter &();
    operator const H225_NonStandardParameter &() const;
#endif

    PBoolean CreateObject();
    PObject * Clone() const;
};


//
// TimeZone
//

class H501_TimeZone : public PASN_Integer
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_TimeZone, PASN_Integer);
#endif
  public:
    H501_TimeZone(unsigned tag = UniversalInteger, TagClass tagClass = UniversalTagClass);

    H501_TimeZone & operator=(int v);
    H501_TimeZone & operator=(unsigned v);
    PObject * Clone() const;
};


//
// TerminationCause
//

class H501_TerminationCause : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_TerminationCause, PASN_Sequence);
#endif
  public:
    H501_TerminationCause(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    enum OptionalFields {
      e_causeIE,
      e_nonStandardData
    };

    H225_ReleaseCompleteReason m_releaseCompleteReason;
    PASN_Integer m_causeIE;
    H225_NonStandardParameter m_nonStandardData;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// ProtocolVersion
//

class H501_ProtocolVersion : public PASN_ObjectId
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ProtocolVersion, PASN_ObjectId);
#endif
  public:
    H501_ProtocolVersion(unsigned tag = UniversalObjectId, TagClass tagClass = UniversalTagClass);

    PObject * Clone() const;
};


//
// ElementIdentifier
//

class H501_ElementIdentifier : public PASN_BMPString
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ElementIdentifier, PASN_BMPString);
#endif
  public:
    H501_ElementIdentifier(unsigned tag = UniversalBMPString, TagClass tagClass = UniversalTagClass);

    H501_ElementIdentifier & operator=(const char * v);
    H501_ElementIdentifier & operator=(const PString & v);
    H501_ElementIdentifier & operator=(const PWCharArray & v);
    H501_ElementIdentifier & operator=(const PASN_BMPString & v);
    PObject * Clone() const;
};


//
// GlobalTimeStamp
//

class H501_GlobalTimeStamp : public PASN_IA5String
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_GlobalTimeStamp, PASN_IA5String);
#endif
  public:
    H501_GlobalTimeStamp(unsigned tag = UniversalIA5String, TagClass tagClass = UniversalTagClass);

    H501_GlobalTimeStamp & operator=(const char * v);
    H501_GlobalTimeStamp & operator=(const PString & v);
    PObject * Clone() const;
};


//
// ArrayOf_TransportAddress
//

class H225_TransportAddress;

class H501_ArrayOf_TransportAddress : public PASN_Array
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ArrayOf_TransportAddress, PASN_Array);
#endif
  public:
    H501_ArrayOf_TransportAddress(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    PASN_Object * CreateObject() const;
    H225_TransportAddress & operator[](PINDEX i) const;
    PObject * Clone() const;
};


//
// ArrayOf_ClearToken
//

class H235_ClearToken;

class H501_ArrayOf_ClearToken : public PASN_Array
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ArrayOf_ClearToken, PASN_Array);
#endif
  public:
    H501_ArrayOf_ClearToken(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    PASN_Object * CreateObject() const;
    H235_ClearToken & operator[](PINDEX i) const;
    PObject * Clone() const;
};


//
// ArrayOf_CryptoH323Token
//

class H225_CryptoH323Token;

class H501_ArrayOf_CryptoH323Token : public PASN_Array
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ArrayOf_CryptoH323Token, PASN_Array);
#endif
  public:
    H501_ArrayOf_CryptoH323Token(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    PASN_Object * CreateObject() const;
    H225_CryptoH323Token & operator[](PINDEX i) const;
    PObject * Clone() const;
};


//
// ArrayOf_NonStandardParameter
//

class H225_NonStandardParameter;

class H501_ArrayOf_NonStandardParameter : public PASN_Array
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ArrayOf_NonStandardParameter, PASN_Array);
#endif
  public:
    H501_ArrayOf_NonStandardParameter(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    PASN_Object * CreateObject() const;
    H225_NonStandardParameter & operator[](PINDEX i) const;
    PObject * Clone() const;
};


//
// ArrayOf_GenericData
//

class H225_GenericData;

class H501_ArrayOf_GenericData : public PASN_Array
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ArrayOf_GenericData, PASN_Array);
#endif
  public:
    H501_ArrayOf_GenericData(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    PASN_Object * CreateObject() const;
    H225_GenericData & operator[](PINDEX i) const;
    PObject * Clone() const;
};


//
// ArrayOf_SecurityMode
//

class H501_SecurityMode;

class H501_ArrayOf_SecurityMode : public PASN_Array
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ArrayOf_SecurityMode, PASN_Array);
#endif
  public:
    H501_ArrayOf_SecurityMode(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    PASN_Object * CreateObject() const;
    H501_SecurityMode & operator[](PINDEX i) const;
    PObject * Clone() const;
};


//
// ArrayOf_PASN_ObjectId
//

class H501_ArrayOf_PASN_ObjectId : public PASN_Array
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ArrayOf_PASN_ObjectId, PASN_Array);
#endif
  public:
    H501_ArrayOf_PASN_ObjectId(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    PASN_Object * CreateObject() const;
    PASN_ObjectId & operator[](PINDEX i) const;
    PObject * Clone() const;
};


//
// ArrayOf_GloballyUniqueID
//

class H225_GloballyUniqueID;

class H501_ArrayOf_GloballyUniqueID : public PASN_Array
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ArrayOf_GloballyUniqueID, PASN_Array);
#endif
  public:
    H501_ArrayOf_GloballyUniqueID(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    PASN_Object * CreateObject() const;
    H225_GloballyUniqueID & operator[](PINDEX i) const;
    PObject * Clone() const;
};


//
// ArrayOf_Descriptor
//

class H501_Descriptor;

class H501_ArrayOf_Descriptor : public PASN_Array
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ArrayOf_Descriptor, PASN_Array);
#endif
  public:
    H501_ArrayOf_Descriptor(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    PASN_Object * CreateObject() const;
    H501_Descriptor & operator[](PINDEX i) const;
    PObject * Clone() const;
};


//
// ArrayOf_DescriptorInfo
//

class H501_DescriptorInfo;

class H501_ArrayOf_DescriptorInfo : public PASN_Array
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ArrayOf_DescriptorInfo, PASN_Array);
#endif
  public:
    H501_ArrayOf_DescriptorInfo(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    PASN_Object * CreateObject() const;
    H501_DescriptorInfo & operator[](PINDEX i) const;
    PObject * Clone() const;
};


//
// ArrayOf_UpdateInformation
//

class H501_UpdateInformation;

class H501_ArrayOf_UpdateInformation : public PASN_Array
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ArrayOf_UpdateInformation, PASN_Array);
#endif
  public:
    H501_ArrayOf_UpdateInformation(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    PASN_Object * CreateObject() const;
    H501_UpdateInformation & operator[](PINDEX i) const;
    PObject * Clone() const;
};


//
// UpdateInformation_descriptorInfo
//

class H225_GloballyUniqueID;
class H501_Descriptor;

class H501_UpdateInformation_descriptorInfo : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_UpdateInformation_descriptorInfo, PASN_Choice);
#endif
  public:
    H501_UpdateInformation_descriptorInfo(unsigned tag = 0, TagClass tagClass = UniversalTagClass);

    enum Choices {
      e_descriptorID,
      e_descriptor
    };

#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H225_GloballyUniqueID &() const;
#else
    operator H225_GloballyUniqueID &();
    operator const H225_GloballyUniqueID &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
    operator H501_Descriptor &() const;
#else
    operator H501_Descriptor &();
    operator const H501_Descriptor &() const;
#endif

    PBoolean CreateObject();
    PObject * Clone() const;
};


//
// UpdateInformation_updateType
//

class H501_UpdateInformation_updateType : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_UpdateInformation_updateType, PASN_Choice);
#endif
  public:
    H501_UpdateInformation_updateType(unsigned tag = 0, TagClass tagClass = UniversalTagClass);

    enum Choices {
      e_added,
      e_deleted,
      e_changed
    };

    PBoolean CreateObject();
    PObject * Clone() const;
};


//
// ArrayOf_SupportedProtocols
//

class H225_SupportedProtocols;

class H501_ArrayOf_SupportedProtocols : public PASN_Array
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ArrayOf_SupportedProtocols, PASN_Array);
#endif
  public:
    H501_ArrayOf_SupportedProtocols(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    PASN_Object * CreateObject() const;
    H225_SupportedProtocols & operator[](PINDEX i) const;
    PObject * Clone() const;
};


//
// ArrayOf_AddressTemplate
//

class H501_AddressTemplate;

class H501_ArrayOf_AddressTemplate : public PASN_Array
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ArrayOf_AddressTemplate, PASN_Array);
#endif
  public:
    H501_ArrayOf_AddressTemplate(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    PASN_Object * CreateObject() const;
    H501_AddressTemplate & operator[](PINDEX i) const;
    PObject * Clone() const;
};


//
// ArrayOf_ServiceControlSession
//

class H225_ServiceControlSession;

class H501_ArrayOf_ServiceControlSession : public PASN_Array
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ArrayOf_ServiceControlSession, PASN_Array);
#endif
  public:
    H501_ArrayOf_ServiceControlSession(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    PASN_Object * CreateObject() const;
    H225_ServiceControlSession & operator[](PINDEX i) const;
    PObject * Clone() const;
};


//
// ArrayOf_AccessToken
//

class H501_AccessToken;

class H501_ArrayOf_AccessToken : public PASN_Array
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ArrayOf_AccessToken, PASN_Array);
#endif
  public:
    H501_ArrayOf_AccessToken(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    PASN_Object * CreateObject() const;
    H501_AccessToken & operator[](PINDEX i) const;
    PObject * Clone() const;
};


//
// ArrayOf_UsageField
//

class H501_UsageField;

class H501_ArrayOf_UsageField : public PASN_Array
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ArrayOf_UsageField, PASN_Array);
#endif
  public:
    H501_ArrayOf_UsageField(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    PASN_Object * CreateObject() const;
    H501_UsageField & operator[](PINDEX i) const;
    PObject * Clone() const;
};


//
// ArrayOf_Pattern
//

class H501_Pattern;

class H501_ArrayOf_Pattern : public PASN_Array
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ArrayOf_Pattern, PASN_Array);
#endif
  public:
    H501_ArrayOf_Pattern(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    PASN_Object * CreateObject() const;
    H501_Pattern & operator[](PINDEX i) const;
    PObject * Clone() const;
};


//
// ArrayOf_RouteInformation
//

class H501_RouteInformation;

class H501_ArrayOf_RouteInformation : public PASN_Array
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ArrayOf_RouteInformation, PASN_Array);
#endif
  public:
    H501_ArrayOf_RouteInformation(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    PASN_Object * CreateObject() const;
    H501_RouteInformation & operator[](PINDEX i) const;
    PObject * Clone() const;
};


//
// Pattern_range
//

class H501_Pattern_range : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_Pattern_range, PASN_Sequence);
#endif
  public:
    H501_Pattern_range(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    H225_PartyNumber m_startOfRange;
    H225_PartyNumber m_endOfRange;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// RouteInformation_messageType
//

class H501_RouteInformation_messageType : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_RouteInformation_messageType, PASN_Choice);
#endif
  public:
    H501_RouteInformation_messageType(unsigned tag = 0, TagClass tagClass = UniversalTagClass);

    enum Choices {
      e_sendAccessRequest,
      e_sendSetup,
      e_nonExistent
    };

    PBoolean CreateObject();
    PObject * Clone() const;
};


//
// ArrayOf_PriceInfoSpec
//

class H501_PriceInfoSpec;

class H501_ArrayOf_PriceInfoSpec : public PASN_Array
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ArrayOf_PriceInfoSpec, PASN_Array);
#endif
  public:
    H501_ArrayOf_PriceInfoSpec(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    PASN_Object * CreateObject() const;
    H501_PriceInfoSpec & operator[](PINDEX i) const;
    PObject * Clone() const;
};


//
// ArrayOf_ContactInformation
//

class H501_ContactInformation;

class H501_ArrayOf_ContactInformation : public PASN_Array
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ArrayOf_ContactInformation, PASN_Array);
#endif
  public:
    H501_ArrayOf_ContactInformation(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    PASN_Object * CreateObject() const;
    H501_ContactInformation & operator[](PINDEX i) const;
    PObject * Clone() const;
};


//
// ArrayOf_CircuitIdentifier
//

class H225_CircuitIdentifier;

class H501_ArrayOf_CircuitIdentifier : public PASN_Array
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ArrayOf_CircuitIdentifier, PASN_Array);
#endif
  public:
    H501_ArrayOf_CircuitIdentifier(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    PASN_Object * CreateObject() const;
    H225_CircuitIdentifier & operator[](PINDEX i) const;
    PObject * Clone() const;
};


//
// ArrayOf_PriceElement
//

class H501_PriceElement;

class H501_ArrayOf_PriceElement : public PASN_Array
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ArrayOf_PriceElement, PASN_Array);
#endif
  public:
    H501_ArrayOf_PriceElement(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    PASN_Object * CreateObject() const;
    H501_PriceElement & operator[](PINDEX i) const;
    PObject * Clone() const;
};


//
// PriceElement_units
//

class H501_PriceElement_units : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_PriceElement_units, PASN_Choice);
#endif
  public:
    H501_PriceElement_units(unsigned tag = 0, TagClass tagClass = UniversalTagClass);

    enum Choices {
      e_seconds,
      e_packets,
      e_bytes,
      e_initial,
      e_minimum,
      e_maximum
    };

    PBoolean CreateObject();
    PObject * Clone() const;
};


//
// ArrayOf_AlternatePE
//

class H501_AlternatePE;

class H501_ArrayOf_AlternatePE : public PASN_Array
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ArrayOf_AlternatePE, PASN_Array);
#endif
  public:
    H501_ArrayOf_AlternatePE(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    PASN_Object * CreateObject() const;
    H501_AlternatePE & operator[](PINDEX i) const;
    PObject * Clone() const;
};


//
// UsageSpecification_when
//

class H501_UsageSpecification_when : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_UsageSpecification_when, PASN_Sequence);
#endif
  public:
    H501_UsageSpecification_when(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    enum OptionalFields {
      e_never,
      e_start,
      e_end,
      e_period,
      e_failures
    };

    PASN_Null m_never;
    PASN_Null m_start;
    PASN_Null m_end;
    PASN_Integer m_period;
    PASN_Null m_failures;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// ArrayOf_AliasAddress
//

class H225_AliasAddress;

class H501_ArrayOf_AliasAddress : public PASN_Array
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ArrayOf_AliasAddress, PASN_Array);
#endif
  public:
    H501_ArrayOf_AliasAddress(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    PASN_Object * CreateObject() const;
    H225_AliasAddress & operator[](PINDEX i) const;
    PObject * Clone() const;
};


//
// MessageCommonInfo
//

class H501_MessageCommonInfo : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_MessageCommonInfo, PASN_Sequence);
#endif
  public:
    H501_MessageCommonInfo(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    enum OptionalFields {
      e_replyAddress,
      e_integrityCheckValue,
      e_tokens,
      e_cryptoTokens,
      e_nonStandard,
      e_serviceID,
      e_genericData,
      e_featureSet,
      e_version
    };

    PASN_Integer m_sequenceNumber;
    H501_ProtocolVersion m_annexGversion;
    PASN_Integer m_hopCount;
    H501_ArrayOf_TransportAddress m_replyAddress;
    H225_ICV m_integrityCheckValue;
    H501_ArrayOf_ClearToken m_tokens;
    H501_ArrayOf_CryptoH323Token m_cryptoTokens;
    H501_ArrayOf_NonStandardParameter m_nonStandard;
    H225_GloballyUniqueID m_serviceID;
    H501_ArrayOf_GenericData m_genericData;
    H225_FeatureSet m_featureSet;
    H501_ProtocolVersion m_version;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// SecurityMode
//

class H501_SecurityMode : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_SecurityMode, PASN_Sequence);
#endif
  public:
    H501_SecurityMode(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    enum OptionalFields {
      e_authentication,
      e_integrity,
      e_algorithmOIDs
    };

    H235_AuthenticationMechanism m_authentication;
    H225_IntegrityMechanism m_integrity;
    H501_ArrayOf_PASN_ObjectId m_algorithmOIDs;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// DescriptorRequest
//

class H501_DescriptorRequest : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_DescriptorRequest, PASN_Sequence);
#endif
  public:
    H501_DescriptorRequest(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    H501_ArrayOf_GloballyUniqueID m_descriptorID;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// DescriptorConfirmation
//

class H501_DescriptorConfirmation : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_DescriptorConfirmation, PASN_Sequence);
#endif
  public:
    H501_DescriptorConfirmation(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    H501_ArrayOf_Descriptor m_descriptor;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// DescriptorRejection
//

class H501_DescriptorRejection : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_DescriptorRejection, PASN_Sequence);
#endif
  public:
    H501_DescriptorRejection(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    enum OptionalFields {
      e_descriptorID
    };

    H501_DescriptorRejectionReason m_reason;
    H225_GloballyUniqueID m_descriptorID;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// DescriptorIDConfirmation
//

class H501_DescriptorIDConfirmation : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_DescriptorIDConfirmation, PASN_Sequence);
#endif
  public:
    H501_DescriptorIDConfirmation(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    H501_ArrayOf_DescriptorInfo m_descriptorInfo;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// DescriptorIDRejection
//

class H501_DescriptorIDRejection : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_DescriptorIDRejection, PASN_Sequence);
#endif
  public:
    H501_DescriptorIDRejection(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    H501_DescriptorIDRejectionReason m_reason;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// DescriptorUpdate
//

class H501_DescriptorUpdate : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_DescriptorUpdate, PASN_Sequence);
#endif
  public:
    H501_DescriptorUpdate(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    H225_AliasAddress m_sender;
    H501_ArrayOf_UpdateInformation m_updateInfo;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// UpdateInformation
//

class H501_UpdateInformation : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_UpdateInformation, PASN_Sequence);
#endif
  public:
    H501_UpdateInformation(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    H501_UpdateInformation_descriptorInfo m_descriptorInfo;
    H501_UpdateInformation_updateType m_updateType;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// AccessConfirmation
//

class H501_AccessConfirmation : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_AccessConfirmation, PASN_Sequence);
#endif
  public:
    H501_AccessConfirmation(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    enum OptionalFields {
      e_supportedProtocols,
      e_serviceControl
    };

    H501_ArrayOf_AddressTemplate m_templates;
    PASN_Boolean m_partialResponse;
    H501_ArrayOf_SupportedProtocols m_supportedProtocols;
    H501_ArrayOf_ServiceControlSession m_serviceControl;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// AccessRejection
//

class H501_AccessRejection : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_AccessRejection, PASN_Sequence);
#endif
  public:
    H501_AccessRejection(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    enum OptionalFields {
      e_serviceControl
    };

    H501_AccessRejectionReason m_reason;
    H501_ArrayOf_ServiceControlSession m_serviceControl;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// UsageRejection
//

class H501_UsageRejection : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_UsageRejection, PASN_Sequence);
#endif
  public:
    H501_UsageRejection(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    H501_UsageRejectReason m_reason;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// UsageIndicationRejection
//

class H501_UsageIndicationRejection : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_UsageIndicationRejection, PASN_Sequence);
#endif
  public:
    H501_UsageIndicationRejection(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    H501_UsageIndicationRejectionReason m_reason;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// ValidationRejection
//

class H501_ValidationRejection : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ValidationRejection, PASN_Sequence);
#endif
  public:
    H501_ValidationRejection(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    H501_ValidationRejectionReason m_reason;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// RequestInProgress
//

class H501_RequestInProgress : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_RequestInProgress, PASN_Sequence);
#endif
  public:
    H501_RequestInProgress(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    enum OptionalFields {
      e_serviceControl
    };

    PASN_Integer m_delay;
    H501_ArrayOf_ServiceControlSession m_serviceControl;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// NonStandardRejection
//

class H501_NonStandardRejection : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_NonStandardRejection, PASN_Sequence);
#endif
  public:
    H501_NonStandardRejection(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    H501_NonStandardRejectionReason m_reason;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// UnknownMessageResponse
//

class H501_UnknownMessageResponse : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_UnknownMessageResponse, PASN_Sequence);
#endif
  public:
    H501_UnknownMessageResponse(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    PASN_OctetString m_unknownMessage;
    H501_UnknownMessageReason m_reason;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// AuthenticationRequest
//

class H501_AuthenticationRequest : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_AuthenticationRequest, PASN_Sequence);
#endif
  public:
    H501_AuthenticationRequest(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    H501_ApplicationMessage m_applicationMessage;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// AuthenticationRejection
//

class H501_AuthenticationRejection : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_AuthenticationRejection, PASN_Sequence);
#endif
  public:
    H501_AuthenticationRejection(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    H501_AuthenticationRejectionReason m_reason;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// AddressTemplate
//

class H501_AddressTemplate : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_AddressTemplate, PASN_Sequence);
#endif
  public:
    H501_AddressTemplate(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    enum OptionalFields {
      e_supportedProtocols,
      e_featureSet
    };

    H501_ArrayOf_Pattern m_pattern;
    H501_ArrayOf_RouteInformation m_routeInfo;
    PASN_Integer m_timeToLive;
    H501_ArrayOf_SupportedProtocols m_supportedProtocols;
    H225_FeatureSet m_featureSet;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// ContactInformation
//

class H501_ContactInformation : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ContactInformation, PASN_Sequence);
#endif
  public:
    H501_ContactInformation(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    enum OptionalFields {
      e_transportQoS,
      e_security,
      e_accessTokens,
      e_multipleCalls,
      e_featureSet,
      e_circuitID,
      e_supportedCircuits
    };

    H225_AliasAddress m_transportAddress;
    PASN_Integer m_priority;
    H225_TransportQOS m_transportQoS;
    H501_ArrayOf_SecurityMode m_security;
    H501_ArrayOf_AccessToken m_accessTokens;
    PASN_Boolean m_multipleCalls;
    H225_FeatureSet m_featureSet;
    H225_CircuitInfo m_circuitID;
    H501_ArrayOf_CircuitIdentifier m_supportedCircuits;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// PriceInfoSpec
//

class H501_PriceInfoSpec : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_PriceInfoSpec, PASN_Sequence);
#endif
  public:
    H501_PriceInfoSpec(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    enum OptionalFields {
      e_validFrom,
      e_validUntil,
      e_hoursFrom,
      e_hoursUntil,
      e_priceElement,
      e_priceFormula
    };

    PASN_IA5String m_currency;
    PASN_Integer m_currencyScale;
    H501_GlobalTimeStamp m_validFrom;
    H501_GlobalTimeStamp m_validUntil;
    PASN_IA5String m_hoursFrom;
    PASN_IA5String m_hoursUntil;
    H501_ArrayOf_PriceElement m_priceElement;
    PASN_IA5String m_priceFormula;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// PriceElement
//

class H501_PriceElement : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_PriceElement, PASN_Sequence);
#endif
  public:
    H501_PriceElement(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    PASN_Integer m_amount;
    PASN_Integer m_quantum;
    H501_PriceElement_units m_units;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// DescriptorInfo
//

class H501_DescriptorInfo : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_DescriptorInfo, PASN_Sequence);
#endif
  public:
    H501_DescriptorInfo(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    H225_GloballyUniqueID m_descriptorID;
    H501_GlobalTimeStamp m_lastChanged;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// AlternatePEInfo
//

class H501_AlternatePEInfo : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_AlternatePEInfo, PASN_Sequence);
#endif
  public:
    H501_AlternatePEInfo(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    H501_ArrayOf_AlternatePE m_alternatePE;
    PASN_Boolean m_alternateIsPermanent;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// AlternatePE
//

class H501_AlternatePE : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_AlternatePE, PASN_Sequence);
#endif
  public:
    H501_AlternatePE(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    enum OptionalFields {
      e_elementIdentifier
    };

    H225_AliasAddress m_contactAddress;
    PASN_Integer m_priority;
    H501_ElementIdentifier m_elementIdentifier;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// UserInformation
//

class H501_UserInformation : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_UserInformation, PASN_Sequence);
#endif
  public:
    H501_UserInformation(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    enum OptionalFields {
      e_userAuthenticator
    };

    H225_AliasAddress m_userIdentifier;
    H501_ArrayOf_CryptoH323Token m_userAuthenticator;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// UsageSpecification
//

class H501_UsageSpecification : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_UsageSpecification, PASN_Sequence);
#endif
  public:
    H501_UsageSpecification(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    enum OptionalFields {
      e_sendToPEAddress
    };

    H501_ElementIdentifier m_sendTo;
    H501_UsageSpecification_when m_when;
    H501_ArrayOf_PASN_ObjectId m_required;
    H501_ArrayOf_PASN_ObjectId m_preferred;
    H225_AliasAddress m_sendToPEAddress;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// PartyInformation
//

class H501_PartyInformation : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_PartyInformation, PASN_Sequence);
#endif
  public:
    H501_PartyInformation(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    enum OptionalFields {
      e_domainIdentifier,
      e_transportAddress,
      e_endpointType,
      e_userInfo,
      e_timeZone
    };

    H501_ArrayOf_AliasAddress m_logicalAddresses;
    H225_AliasAddress m_domainIdentifier;
    H225_AliasAddress m_transportAddress;
    H225_EndpointType m_endpointType;
    H501_UserInformation m_userInfo;
    H501_TimeZone m_timeZone;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// Message
//

class H501_Message : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_Message, PASN_Sequence);
#endif
  public:
    H501_Message(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    H501_MessageBody m_body;
    H501_MessageCommonInfo m_common;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// ServiceRequest
//

class H501_ServiceRequest : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ServiceRequest, PASN_Sequence);
#endif
  public:
    H501_ServiceRequest(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    enum OptionalFields {
      e_elementIdentifier,
      e_domainIdentifier,
      e_securityMode,
      e_timeToLive,
      e_usageSpec
    };

    H501_ElementIdentifier m_elementIdentifier;
    H225_AliasAddress m_domainIdentifier;
    H501_ArrayOf_SecurityMode m_securityMode;
    PASN_Integer m_timeToLive;
    H501_UsageSpecification m_usageSpec;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// ServiceConfirmation
//

class H501_ServiceConfirmation : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ServiceConfirmation, PASN_Sequence);
#endif
  public:
    H501_ServiceConfirmation(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    enum OptionalFields {
      e_alternates,
      e_securityMode,
      e_timeToLive,
      e_usageSpec
    };

    H501_ElementIdentifier m_elementIdentifier;
    H225_AliasAddress m_domainIdentifier;
    H501_AlternatePEInfo m_alternates;
    H501_SecurityMode m_securityMode;
    PASN_Integer m_timeToLive;
    H501_UsageSpecification m_usageSpec;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// ServiceRejection
//

class H501_ServiceRejection : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ServiceRejection, PASN_Sequence);
#endif
  public:
    H501_ServiceRejection(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    enum OptionalFields {
      e_alternates
    };

    H501_ServiceRejectionReason m_reason;
    H501_AlternatePEInfo m_alternates;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// ServiceRelease
//

class H501_ServiceRelease : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ServiceRelease, PASN_Sequence);
#endif
  public:
    H501_ServiceRelease(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    enum OptionalFields {
      e_alternates
    };

    H501_ServiceReleaseReason m_reason;
    H501_AlternatePEInfo m_alternates;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// AccessRequest
//

class H501_AccessRequest : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_AccessRequest, PASN_Sequence);
#endif
  public:
    H501_AccessRequest(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    enum OptionalFields {
      e_sourceInfo,
      e_callInfo,
      e_usageSpec,
      e_desiredProtocols
    };

    H501_PartyInformation m_destinationInfo;
    H501_PartyInformation m_sourceInfo;
    H501_CallInformation m_callInfo;
    H501_UsageSpecification m_usageSpec;
    H501_ArrayOf_SupportedProtocols m_desiredProtocols;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// UsageRequest
//

class H501_UsageRequest : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_UsageRequest, PASN_Sequence);
#endif
  public:
    H501_UsageRequest(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    H501_CallInformation m_callInfo;
    H501_UsageSpecification m_usageSpec;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// UsageIndication
//

class H501_UsageIndication : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_UsageIndication, PASN_Sequence);
#endif
  public:
    H501_UsageIndication(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    enum OptionalFields {
      e_accessTokens,
      e_srcInfo,
      e_startTime,
      e_endTime,
      e_terminationCause
    };

    H501_CallInformation m_callInfo;
    H501_ArrayOf_AccessToken m_accessTokens;
    H501_Role m_senderRole;
    H501_UsageCallStatus m_usageCallStatus;
    H501_PartyInformation m_srcInfo;
    H501_PartyInformation m_destAddress;
    H235_TimeStamp m_startTime;
    H235_TimeStamp m_endTime;
    H501_TerminationCause m_terminationCause;
    H501_ArrayOf_UsageField m_usageFields;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// ValidationRequest
//

class H501_ValidationRequest : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ValidationRequest, PASN_Sequence);
#endif
  public:
    H501_ValidationRequest(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    enum OptionalFields {
      e_accessToken,
      e_destinationInfo,
      e_sourceInfo,
      e_usageSpec
    };

    H501_ArrayOf_AccessToken m_accessToken;
    H501_PartyInformation m_destinationInfo;
    H501_PartyInformation m_sourceInfo;
    H501_CallInformation m_callInfo;
    H501_UsageSpecification m_usageSpec;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// ValidationConfirmation
//

class H501_ValidationConfirmation : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_ValidationConfirmation, PASN_Sequence);
#endif
  public:
    H501_ValidationConfirmation(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    enum OptionalFields {
      e_destinationInfo,
      e_usageSpec
    };

    H501_PartyInformation m_destinationInfo;
    H501_UsageSpecification m_usageSpec;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// RouteInformation
//

class H501_RouteInformation : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_RouteInformation, PASN_Sequence);
#endif
  public:
    H501_RouteInformation(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    enum OptionalFields {
      e_usageSpec,
      e_priceInfo,
      e_type,
      e_featureSet,
      e_circuitID,
      e_supportedCircuits
    };

    H501_RouteInformation_messageType m_messageType;
    PASN_Boolean m_callSpecific;
    H501_UsageSpecification m_usageSpec;
    H501_ArrayOf_PriceInfoSpec m_priceInfo;
    H501_ArrayOf_ContactInformation m_contacts;
    H225_EndpointType m_type;
    H225_FeatureSet m_featureSet;
    H225_CircuitInfo m_circuitID;
    H501_ArrayOf_CircuitIdentifier m_supportedCircuits;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


//
// Descriptor
//

class H501_Descriptor : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
    PCLASSINFO(H501_Descriptor, PASN_Sequence);
#endif
  public:
    H501_Descriptor(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);

    enum OptionalFields {
      e_gatekeeperID
    };

    H501_DescriptorInfo m_descriptorInfo;
    H501_ArrayOf_AddressTemplate m_templates;
    H225_GatekeeperIdentifier m_gatekeeperID;

    PINDEX GetDataLength() const;
    PBoolean Decode(PASN_Stream & strm);
    void Encode(PASN_Stream & strm) const;
#ifndef PASN_NOPRINTON
    void PrintOn(ostream & strm) const;
#endif
    Comparison Compare(const PObject & obj) const;
    PObject * Clone() const;
};


#endif // __H501_H

#endif // if ! H323_DISABLE_H501


// End of h501.h