-
Notifications
You must be signed in to change notification settings - Fork 49
/
Copy pathh225.h
8705 lines (7302 loc) · 216 KB
/
h225.h
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
//
// h225.h
//
// Code automatically generated by asnparse.
//
#if ! H323_DISABLE_H225
#ifndef __H225_H
#define __H225_H
#ifdef P_USE_PRAGMA
#pragma interface
#endif
#include <ptclib/asner.h>
#include "h235.h"
#include "h245.h"
//
// ReleaseCompleteReason
//
class H225_NonStandardParameter;
class H225_ConferenceIdentifier;
class H225_SecurityErrors;
class H225_ReleaseCompleteReason : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
PCLASSINFO(H225_ReleaseCompleteReason, PASN_Choice);
#endif
public:
H225_ReleaseCompleteReason(unsigned tag = 0, TagClass tagClass = UniversalTagClass);
enum Choices {
e_noBandwidth,
e_gatekeeperResources,
e_unreachableDestination,
e_destinationRejection,
e_invalidRevision,
e_noPermission,
e_unreachableGatekeeper,
e_gatewayResources,
e_badFormatAddress,
e_adaptiveBusy,
e_inConf,
e_undefinedReason,
e_facilityCallDeflection,
e_securityDenied,
e_calledPartyNotRegistered,
e_callerNotRegistered,
e_newConnectionNeeded,
e_nonStandardReason,
e_replaceWithConferenceInvite,
e_genericDataReason,
e_neededFeatureNotSupported,
e_tunnelledSignallingRejected,
e_invalidCID,
e_securityError,
e_hopCountExceeded
};
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H225_NonStandardParameter &() const;
#else
operator H225_NonStandardParameter &();
operator const H225_NonStandardParameter &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H225_ConferenceIdentifier &() const;
#else
operator H225_ConferenceIdentifier &();
operator const H225_ConferenceIdentifier &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H225_SecurityErrors &() const;
#else
operator H225_SecurityErrors &();
operator const H225_SecurityErrors &() const;
#endif
PBoolean CreateObject();
PObject * Clone() const;
};
//
// ScnConnectionType
//
class H225_ScnConnectionType : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
PCLASSINFO(H225_ScnConnectionType, PASN_Choice);
#endif
public:
H225_ScnConnectionType(unsigned tag = 0, TagClass tagClass = UniversalTagClass);
enum Choices {
e_unknown,
e_bChannel,
e_hybrid2x64,
e_hybrid384,
e_hybrid1536,
e_hybrid1920,
e_multirate
};
PBoolean CreateObject();
PObject * Clone() const;
};
//
// ScnConnectionAggregation
//
class H225_ScnConnectionAggregation : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
PCLASSINFO(H225_ScnConnectionAggregation, PASN_Choice);
#endif
public:
H225_ScnConnectionAggregation(unsigned tag = 0, TagClass tagClass = UniversalTagClass);
enum Choices {
e_auto,
e_none,
e_h221,
e_bonded_mode1,
e_bonded_mode2,
e_bonded_mode3
};
PBoolean CreateObject();
PObject * Clone() const;
};
//
// PresentationIndicator
//
class H225_PresentationIndicator : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
PCLASSINFO(H225_PresentationIndicator, PASN_Choice);
#endif
public:
H225_PresentationIndicator(unsigned tag = 0, TagClass tagClass = UniversalTagClass);
enum Choices {
e_presentationAllowed,
e_presentationRestricted,
e_addressNotAvailable
};
PBoolean CreateObject();
PObject * Clone() const;
};
//
// ScreeningIndicator
//
class H225_ScreeningIndicator : public PASN_Enumeration
{
#ifndef PASN_LEANANDMEAN
PCLASSINFO(H225_ScreeningIndicator, PASN_Enumeration);
#endif
public:
H225_ScreeningIndicator(unsigned tag = UniversalEnumeration, TagClass tagClass = UniversalTagClass);
enum Enumerations {
e_userProvidedNotScreened,
e_userProvidedVerifiedAndPassed,
e_userProvidedVerifiedAndFailed,
e_networkProvided
};
H225_ScreeningIndicator & operator=(unsigned v);
PObject * Clone() const;
};
//
// FacilityReason
//
class H225_FacilityReason : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
PCLASSINFO(H225_FacilityReason, PASN_Choice);
#endif
public:
H225_FacilityReason(unsigned tag = 0, TagClass tagClass = UniversalTagClass);
enum Choices {
e_routeCallToGatekeeper,
e_callForwarded,
e_routeCallToMC,
e_undefinedReason,
e_conferenceListChoice,
e_startH245,
e_noH245,
e_newTokens,
e_featureSetUpdate,
e_forwardedElements,
e_transportedInformation
};
PBoolean CreateObject();
PObject * Clone() const;
};
//
// TransportAddress
//
class H225_TransportAddress_ipAddress;
class H225_TransportAddress_ipSourceRoute;
class H225_TransportAddress_ipxAddress;
class H225_TransportAddress_ip6Address;
class H225_NonStandardParameter;
class H225_TransportAddress : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
PCLASSINFO(H225_TransportAddress, PASN_Choice);
#endif
public:
H225_TransportAddress(unsigned tag = 0, TagClass tagClass = UniversalTagClass);
enum Choices {
e_ipAddress,
e_ipSourceRoute,
e_ipxAddress,
e_ip6Address,
e_netBios,
e_nsap,
e_nonStandardAddress
};
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H225_TransportAddress_ipAddress &() const;
#else
operator H225_TransportAddress_ipAddress &();
operator const H225_TransportAddress_ipAddress &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H225_TransportAddress_ipSourceRoute &() const;
#else
operator H225_TransportAddress_ipSourceRoute &();
operator const H225_TransportAddress_ipSourceRoute &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H225_TransportAddress_ipxAddress &() const;
#else
operator H225_TransportAddress_ipxAddress &();
operator const H225_TransportAddress_ipxAddress &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H225_TransportAddress_ip6Address &() const;
#else
operator H225_TransportAddress_ip6Address &();
operator const H225_TransportAddress_ip6Address &() const;
#endif
#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;
};
//
// SupportedProtocols
//
class H225_NonStandardParameter;
class H225_H310Caps;
class H225_H320Caps;
class H225_H321Caps;
class H225_H322Caps;
class H225_H323Caps;
class H225_H324Caps;
class H225_VoiceCaps;
class H225_T120OnlyCaps;
class H225_NonStandardProtocol;
class H225_T38FaxAnnexbOnlyCaps;
class H225_SIPCaps;
class H225_SupportedProtocols : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
PCLASSINFO(H225_SupportedProtocols, PASN_Choice);
#endif
public:
H225_SupportedProtocols(unsigned tag = 0, TagClass tagClass = UniversalTagClass);
enum Choices {
e_nonStandardData,
e_h310,
e_h320,
e_h321,
e_h322,
e_h323,
e_h324,
e_voice,
e_t120_only,
e_nonStandardProtocol,
e_t38FaxAnnexbOnly,
e_sip
};
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H225_NonStandardParameter &() const;
#else
operator H225_NonStandardParameter &();
operator const H225_NonStandardParameter &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H225_H310Caps &() const;
#else
operator H225_H310Caps &();
operator const H225_H310Caps &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H225_H320Caps &() const;
#else
operator H225_H320Caps &();
operator const H225_H320Caps &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H225_H321Caps &() const;
#else
operator H225_H321Caps &();
operator const H225_H321Caps &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H225_H322Caps &() const;
#else
operator H225_H322Caps &();
operator const H225_H322Caps &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H225_H323Caps &() const;
#else
operator H225_H323Caps &();
operator const H225_H323Caps &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H225_H324Caps &() const;
#else
operator H225_H324Caps &();
operator const H225_H324Caps &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H225_VoiceCaps &() const;
#else
operator H225_VoiceCaps &();
operator const H225_VoiceCaps &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H225_T120OnlyCaps &() const;
#else
operator H225_T120OnlyCaps &();
operator const H225_T120OnlyCaps &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H225_NonStandardProtocol &() const;
#else
operator H225_NonStandardProtocol &();
operator const H225_NonStandardProtocol &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H225_T38FaxAnnexbOnlyCaps &() const;
#else
operator H225_T38FaxAnnexbOnlyCaps &();
operator const H225_T38FaxAnnexbOnlyCaps &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H225_SIPCaps &() const;
#else
operator H225_SIPCaps &();
operator const H225_SIPCaps &() const;
#endif
PBoolean CreateObject();
PObject * Clone() const;
};
//
// H221NonStandard
//
class H225_H221NonStandard : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
PCLASSINFO(H225_H221NonStandard, PASN_Sequence);
#endif
public:
H225_H221NonStandard(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);
PASN_Integer m_t35CountryCode;
PASN_Integer m_t35Extension;
PASN_Integer m_manufacturerCode;
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;
};
//
// TunnelledProtocolAlternateIdentifier
//
class H225_TunnelledProtocolAlternateIdentifier : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
PCLASSINFO(H225_TunnelledProtocolAlternateIdentifier, PASN_Sequence);
#endif
public:
H225_TunnelledProtocolAlternateIdentifier(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);
enum OptionalFields {
e_protocolVariant
};
PASN_IA5String m_protocolType;
PASN_IA5String m_protocolVariant;
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;
};
//
// NonStandardIdentifier
//
class H225_H221NonStandard;
class H225_NonStandardIdentifier : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
PCLASSINFO(H225_NonStandardIdentifier, PASN_Choice);
#endif
public:
H225_NonStandardIdentifier(unsigned tag = 0, TagClass tagClass = UniversalTagClass);
enum Choices {
e_object,
e_h221NonStandard
};
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H225_H221NonStandard &() const;
#else
operator H225_H221NonStandard &();
operator const H225_H221NonStandard &() const;
#endif
PBoolean CreateObject();
PObject * Clone() const;
};
//
// AliasAddress
//
class H225_TransportAddress;
class H225_PartyNumber;
class H225_MobileUIM;
class H225_IsupNumber;
class H225_AliasAddress : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
PCLASSINFO(H225_AliasAddress, PASN_Choice);
#endif
public:
H225_AliasAddress(unsigned tag = 0, TagClass tagClass = UniversalTagClass);
enum Choices {
e_dialedDigits,
e_h323_ID,
e_url_ID,
e_transportID,
e_email_ID,
e_partyNumber,
e_mobileUIM,
e_isupNumber
};
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H225_TransportAddress &() const;
#else
operator H225_TransportAddress &();
operator const H225_TransportAddress &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H225_PartyNumber &() const;
#else
operator H225_PartyNumber &();
operator const H225_PartyNumber &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H225_MobileUIM &() const;
#else
operator H225_MobileUIM &();
operator const H225_MobileUIM &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H225_IsupNumber &() const;
#else
operator H225_IsupNumber &();
operator const H225_IsupNumber &() const;
#endif
PBoolean CreateObject();
PObject * Clone() const;
};
//
// AddressPattern
//
class H225_AliasAddress;
class H225_AddressPattern_range;
class H225_AddressPattern : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
PCLASSINFO(H225_AddressPattern, PASN_Choice);
#endif
public:
H225_AddressPattern(unsigned tag = 0, TagClass tagClass = UniversalTagClass);
enum Choices {
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 H225_AddressPattern_range &() const;
#else
operator H225_AddressPattern_range &();
operator const H225_AddressPattern_range &() const;
#endif
PBoolean CreateObject();
PObject * Clone() const;
};
//
// PartyNumber
//
class H225_PublicPartyNumber;
class H225_NumberDigits;
class H225_PrivatePartyNumber;
class H225_PartyNumber : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
PCLASSINFO(H225_PartyNumber, PASN_Choice);
#endif
public:
H225_PartyNumber(unsigned tag = 0, TagClass tagClass = UniversalTagClass);
enum Choices {
e_e164Number,
e_dataPartyNumber,
e_telexPartyNumber,
e_privateNumber,
e_nationalStandardPartyNumber
};
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H225_PublicPartyNumber &() const;
#else
operator H225_PublicPartyNumber &();
operator const H225_PublicPartyNumber &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H225_NumberDigits &() const;
#else
operator H225_NumberDigits &();
operator const H225_NumberDigits &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H225_PrivatePartyNumber &() const;
#else
operator H225_PrivatePartyNumber &();
operator const H225_PrivatePartyNumber &() const;
#endif
PBoolean CreateObject();
PObject * Clone() const;
};
//
// NumberDigits
//
class H225_NumberDigits : public PASN_IA5String
{
#ifndef PASN_LEANANDMEAN
PCLASSINFO(H225_NumberDigits, PASN_IA5String);
#endif
public:
H225_NumberDigits(unsigned tag = UniversalIA5String, TagClass tagClass = UniversalTagClass);
H225_NumberDigits & operator=(const char * v);
H225_NumberDigits & operator=(const PString & v);
PObject * Clone() const;
};
//
// DisplayName
//
class H225_DisplayName : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
PCLASSINFO(H225_DisplayName, PASN_Sequence);
#endif
public:
H225_DisplayName(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);
enum OptionalFields {
e_language
};
PASN_IA5String m_language;
PASN_BMPString m_name;
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;
};
//
// PublicTypeOfNumber
//
class H225_PublicTypeOfNumber : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
PCLASSINFO(H225_PublicTypeOfNumber, PASN_Choice);
#endif
public:
H225_PublicTypeOfNumber(unsigned tag = 0, TagClass tagClass = UniversalTagClass);
enum Choices {
e_unknown,
e_internationalNumber,
e_nationalNumber,
e_networkSpecificNumber,
e_subscriberNumber,
e_abbreviatedNumber
};
PBoolean CreateObject();
PObject * Clone() const;
};
//
// PrivateTypeOfNumber
//
class H225_PrivateTypeOfNumber : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
PCLASSINFO(H225_PrivateTypeOfNumber, PASN_Choice);
#endif
public:
H225_PrivateTypeOfNumber(unsigned tag = 0, TagClass tagClass = UniversalTagClass);
enum Choices {
e_unknown,
e_level2RegionalNumber,
e_level1RegionalNumber,
e_pISNSpecificNumber,
e_localNumber,
e_abbreviatedNumber
};
PBoolean CreateObject();
PObject * Clone() const;
};
//
// MobileUIM
//
class H225_ANSI_41_UIM;
class H225_GSM_UIM;
class H225_MobileUIM : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
PCLASSINFO(H225_MobileUIM, PASN_Choice);
#endif
public:
H225_MobileUIM(unsigned tag = 0, TagClass tagClass = UniversalTagClass);
enum Choices {
e_ansi_41_uim,
e_gsm_uim
};
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H225_ANSI_41_UIM &() const;
#else
operator H225_ANSI_41_UIM &();
operator const H225_ANSI_41_UIM &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H225_GSM_UIM &() const;
#else
operator H225_GSM_UIM &();
operator const H225_GSM_UIM &() const;
#endif
PBoolean CreateObject();
PObject * Clone() const;
};
//
// TBCD-STRING
//
class H225_TBCD_STRING : public PASN_IA5String
{
#ifndef PASN_LEANANDMEAN
PCLASSINFO(H225_TBCD_STRING, PASN_IA5String);
#endif
public:
H225_TBCD_STRING(unsigned tag = UniversalIA5String, TagClass tagClass = UniversalTagClass);
H225_TBCD_STRING & operator=(const char * v);
H225_TBCD_STRING & operator=(const PString & v);
PObject * Clone() const;
};
//
// GSM-UIM
//
class H225_GSM_UIM : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
PCLASSINFO(H225_GSM_UIM, PASN_Sequence);
#endif
public:
H225_GSM_UIM(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);
enum OptionalFields {
e_imsi,
e_tmsi,
e_msisdn,
e_imei,
e_hplmn,
e_vplmn
};
PASN_IA5String m_imsi;
PASN_OctetString m_tmsi;
PASN_IA5String m_msisdn;
PASN_IA5String m_imei;
PASN_IA5String m_hplmn;
PASN_IA5String m_vplmn;
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;
};
//
// IsupNumber
//
class H225_IsupPublicPartyNumber;
class H225_IsupDigits;
class H225_IsupPrivatePartyNumber;
class H225_IsupNumber : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
PCLASSINFO(H225_IsupNumber, PASN_Choice);
#endif
public:
H225_IsupNumber(unsigned tag = 0, TagClass tagClass = UniversalTagClass);
enum Choices {
e_e164Number,
e_dataPartyNumber,
e_telexPartyNumber,
e_privateNumber,
e_nationalStandardPartyNumber
};
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H225_IsupPublicPartyNumber &() const;
#else
operator H225_IsupPublicPartyNumber &();
operator const H225_IsupPublicPartyNumber &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H225_IsupDigits &() const;
#else
operator H225_IsupDigits &();
operator const H225_IsupDigits &() const;
#endif
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H225_IsupPrivatePartyNumber &() const;
#else
operator H225_IsupPrivatePartyNumber &();
operator const H225_IsupPrivatePartyNumber &() const;
#endif
PBoolean CreateObject();
PObject * Clone() const;
};
//
// NatureOfAddress
//
class H225_NatureOfAddress : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
PCLASSINFO(H225_NatureOfAddress, PASN_Choice);
#endif
public:
H225_NatureOfAddress(unsigned tag = 0, TagClass tagClass = UniversalTagClass);
enum Choices {
e_unknown,
e_subscriberNumber,
e_nationalNumber,
e_internationalNumber,
e_networkSpecificNumber,
e_routingNumberNationalFormat,
e_routingNumberNetworkSpecificFormat,
e_routingNumberWithCalledDirectoryNumber
};
PBoolean CreateObject();
PObject * Clone() const;
};
//
// IsupDigits
//
class H225_IsupDigits : public PASN_IA5String
{
#ifndef PASN_LEANANDMEAN
PCLASSINFO(H225_IsupDigits, PASN_IA5String);
#endif
public:
H225_IsupDigits(unsigned tag = UniversalIA5String, TagClass tagClass = UniversalTagClass);
H225_IsupDigits & operator=(const char * v);
H225_IsupDigits & operator=(const PString & v);
PObject * Clone() const;
};
//
// ExtendedAliasAddress
//
class H225_ExtendedAliasAddress : public PASN_Sequence
{
#ifndef PASN_LEANANDMEAN
PCLASSINFO(H225_ExtendedAliasAddress, PASN_Sequence);
#endif
public:
H225_ExtendedAliasAddress(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);
enum OptionalFields {
e_presentationIndicator,
e_screeningIndicator
};
H225_AliasAddress m_address;
H225_PresentationIndicator m_presentationIndicator;
H225_ScreeningIndicator m_screeningIndicator;
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;
};
//
// UseSpecifiedTransport
//
class H225_UseSpecifiedTransport : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
PCLASSINFO(H225_UseSpecifiedTransport, PASN_Choice);
#endif
public:
H225_UseSpecifiedTransport(unsigned tag = 0, TagClass tagClass = UniversalTagClass);
enum Choices {
e_tcp,
e_annexE,
e_sctp
};
PBoolean CreateObject();
PObject * Clone() const;
};
//
// SecurityServiceMode
//
class H225_NonStandardParameter;
class H225_SecurityServiceMode : public PASN_Choice
{
#ifndef PASN_LEANANDMEAN
PCLASSINFO(H225_SecurityServiceMode, PASN_Choice);
#endif
public:
H225_SecurityServiceMode(unsigned tag = 0, TagClass tagClass = UniversalTagClass);
enum Choices {
e_nonStandard,
e_none,
e_default
};
#if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
operator H225_NonStandardParameter &() const;