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
|
-- H501-MESSAGES.asn
--
-- Taken from ITU ASN.1 database
-- http://www.itu.int/ITU-T/asn1/database/itu-t/h/h501/2002/H501-MESSAGES.asn
--
-- $Id$
--
-- Module H501-MESSAGES (H.501:03/2002)
H501-MESSAGES DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
IMPORTS
AuthenticationMechanism, TimeStamp, ClearToken
FROM H235-SECURITY-MESSAGES
AliasAddress, TransportAddress, ReleaseCompleteReason, ConferenceIdentifier,
CallIdentifier, CryptoH323Token, CryptoToken, EndpointType,
GatekeeperIdentifier, GloballyUniqueID, NonStandardParameter, NumberDigits,
PartyNumber, SupportedProtocols, TransportQOS, VendorIdentifier,
IntegrityMechanism, ICV, FeatureSet, GenericData, EnumeratedParameter,
ServiceControlSession, CircuitInfo, CircuitIdentifier
FROM H323-MESSAGES;
Message ::= SEQUENCE {body MessageBody,
common MessageCommonInfo,
...
}
MessageBody ::= CHOICE {
serviceRequest ServiceRequest,
serviceConfirmation ServiceConfirmation,
serviceRejection ServiceRejection,
serviceRelease ServiceRelease,
descriptorRequest DescriptorRequest,
descriptorConfirmation DescriptorConfirmation,
descriptorRejection DescriptorRejection,
descriptorIDRequest DescriptorIDRequest,
descriptorIDConfirmation DescriptorIDConfirmation,
descriptorIDRejection DescriptorIDRejection,
descriptorUpdate DescriptorUpdate,
descriptorUpdateAck DescriptorUpdateAck,
accessRequest AccessRequest,
accessConfirmation AccessConfirmation,
accessRejection AccessRejection,
requestInProgress RequestInProgress,
nonStandardRequest NonStandardRequest,
nonStandardConfirmation NonStandardConfirmation,
nonStandardRejection NonStandardRejection,
unknownMessageResponse UnknownMessageResponse,
usageRequest UsageRequest,
usageConfirmation UsageConfirmation,
usageIndication UsageIndication,
usageIndicationConfirmation UsageIndicationConfirmation,
usageIndicationRejection UsageIndicationRejection,
usageRejection UsageRejection,
validationRequest ValidationRequest,
validationConfirmation ValidationConfirmation,
validationRejection ValidationRejection,
...,
authenticationRequest AuthenticationRequest,
authenticationConfirmation AuthenticationConfirmation,
authenticationRejection AuthenticationRejection
}
MessageCommonInfo ::= SEQUENCE {
sequenceNumber INTEGER(0..65535),
annexGversion ProtocolVersion, -- set to "H.225.0 Annex G V2"
hopCount INTEGER(1..255),
replyAddress SEQUENCE OF TransportAddress OPTIONAL,
-- Must be present in request
integrityCheckValue ICV OPTIONAL,
tokens SEQUENCE OF ClearToken OPTIONAL,
cryptoTokens SEQUENCE OF CryptoH323Token OPTIONAL,
nonStandard SEQUENCE OF NonStandardParameter OPTIONAL,
...,
serviceID ServiceID OPTIONAL,
genericData SEQUENCE OF GenericData OPTIONAL,
featureSet FeatureSet OPTIONAL,
version ProtocolVersion -- current H.501 protocol version
}
ServiceID ::= GloballyUniqueID
--
-- H.501 messages
--
ServiceRequest ::= SEQUENCE {
elementIdentifier ElementIdentifier OPTIONAL,
domainIdentifier AliasAddress OPTIONAL,
securityMode SEQUENCE OF SecurityMode OPTIONAL,
timeToLive INTEGER(1..4294967295) OPTIONAL,
...,
usageSpec UsageSpecification OPTIONAL
}
SecurityMode ::= SEQUENCE {
authentication AuthenticationMechanism OPTIONAL,
integrity IntegrityMechanism OPTIONAL,
algorithmOIDs SEQUENCE OF OBJECT IDENTIFIER OPTIONAL,
...
}
ServiceConfirmation ::= SEQUENCE {
elementIdentifier ElementIdentifier,
domainIdentifier AliasAddress,
alternates AlternatePEInfo OPTIONAL,
securityMode SecurityMode OPTIONAL,
timeToLive INTEGER(1..4294967295) OPTIONAL,
...,
usageSpec UsageSpecification OPTIONAL
}
ServiceRejection ::= SEQUENCE {
reason ServiceRejectionReason,
alternates AlternatePEInfo OPTIONAL,
...
}
ServiceRejectionReason ::= CHOICE {
serviceUnavailable NULL,
serviceRedirected NULL,
security NULL,
continue NULL,
undefined NULL,
...,
unknownServiceID NULL,
cannotSupportUsageSpec NULL, -- Cannot comply with proposed spec
neededFeature NULL,
genericDataReason NULL,
usageUnavailable NULL, -- Usage reporting not supported
unknownUsageSendTo NULL -- Usage sendTo could not be resolved
}
ServiceRelease ::= SEQUENCE {
reason ServiceReleaseReason,
alternates AlternatePEInfo OPTIONAL,
...
}
ServiceReleaseReason ::= CHOICE {
outOfService NULL,
maintenance NULL,
terminated NULL,
expired NULL,
...
}
DescriptorRequest ::= SEQUENCE {descriptorID SEQUENCE OF DescriptorID,
...
}
DescriptorConfirmation ::= SEQUENCE {descriptor SEQUENCE OF Descriptor,
...
}
DescriptorRejection ::= SEQUENCE {
reason DescriptorRejectionReason,
descriptorID DescriptorID OPTIONAL,
...
}
DescriptorRejectionReason ::= CHOICE {
packetSizeExceeded NULL, -- use other transport type
illegalID NULL, -- no descriptor for provided descriptorID
security NULL, -- request did not meet security requirements
hopCountExceeded NULL,
noServiceRelationship NULL,
undefined NULL,
...,
neededFeature NULL,
genericDataReason NULL,
unknownServiceID NULL-- The serviceID is not recognized by--
-- the peer element
}
DescriptorIDRequest ::= SEQUENCE {...
}
DescriptorIDConfirmation ::= SEQUENCE {
descriptorInfo SEQUENCE OF DescriptorInfo,
...
}
DescriptorIDRejection ::= SEQUENCE {reason DescriptorIDRejectionReason,
...
}
DescriptorIDRejectionReason ::= CHOICE {
noDescriptors NULL, -- no descriptors to report
security NULL, -- request did not meet security requirements
hopCountExceeded NULL,
noServiceRelationship NULL,
undefined NULL,
...,
neededFeature NULL,
genericDataReason NULL,
unknownServiceID NULL-- The serviceID is not recognized by--
-- the peer element
}
DescriptorUpdate ::= SEQUENCE {
sender AliasAddress,
updateInfo SEQUENCE OF UpdateInformation,
...
}
UpdateInformation ::= SEQUENCE {
descriptorInfo
CHOICE {descriptorID DescriptorID,
descriptor Descriptor,
...},
updateType CHOICE {added NULL,
deleted NULL,
changed NULL,
...},
...
}
DescriptorUpdateAck ::= SEQUENCE {...
}
AccessRequest ::= SEQUENCE {
destinationInfo PartyInformation,
sourceInfo PartyInformation OPTIONAL,
callInfo CallInformation OPTIONAL,
usageSpec UsageSpecification OPTIONAL,
...,
desiredProtocols SEQUENCE OF SupportedProtocols OPTIONAL
}
AccessConfirmation ::= SEQUENCE {
templates SEQUENCE OF AddressTemplate,
partialResponse BOOLEAN,
...,
supportedProtocols SEQUENCE OF SupportedProtocols OPTIONAL,
serviceControl SEQUENCE OF ServiceControlSession OPTIONAL
}
AccessRejection ::= SEQUENCE {
reason AccessRejectionReason,
...,
serviceControl SEQUENCE OF ServiceControlSession OPTIONAL
}
AccessRejectionReason ::= CHOICE {
noMatch NULL, -- no template matched the destinationInfo
packetSizeExceeded NULL, -- use other transport type
security NULL, -- request did not meet security requirements
hopCountExceeded NULL,
needCallInformation NULL, -- Call Information must be specified
noServiceRelationship NULL,
undefined NULL,
...,
neededFeature NULL,
genericDataReason NULL,
destinationUnavailable NULL, -- Destination was resolved but is
-- unavailable
aliasesInconsistent NULL, -- Multiple aliases identify distinct
-- destinations
resourceUnavailable NULL, -- One or more required resources are
-- unavailable
incompleteAddress NULL, -- Destination cannot be distinctly
-- identified
unknownServiceID NULL, -- The serviceID is not recognized by
-- the peer element
usageUnavailable NULL, -- Usage reporting not supported
cannotSupportUsageSpec NULL, -- Cannot comply with proposed spec
unknownUsageSendTo NULL -- Usage sendTo could not be resolved
}
UsageRequest ::= SEQUENCE {
callInfo CallInformation,
usageSpec UsageSpecification,
...
}
UsageConfirmation ::= SEQUENCE {...
}
UsageRejection ::= SEQUENCE {reason UsageRejectReason,
...
}
UsageIndication ::= SEQUENCE {
callInfo CallInformation,
accessTokens SEQUENCE OF AccessToken OPTIONAL,
senderRole Role,
usageCallStatus UsageCallStatus,
srcInfo PartyInformation OPTIONAL,
destAddress PartyInformation,
startTime TimeStamp OPTIONAL,
endTime TimeStamp OPTIONAL,
terminationCause TerminationCause OPTIONAL,
usageFields SEQUENCE OF UsageField,
...
}
UsageField ::= SEQUENCE {id OBJECT IDENTIFIER,
value OCTET STRING,
...
}
UsageRejectReason ::= CHOICE {
invalidCall NULL,
unavailable NULL,
security NULL,
noServiceRelationship NULL,
undefined NULL,
...,
neededFeature NULL,
genericDataReason NULL,
unknownServiceID NULL-- The serviceID is not recognized by--
-- the peer element
}
UsageIndicationConfirmation ::= SEQUENCE {...
}
UsageIndicationRejection ::= SEQUENCE {
reason UsageIndicationRejectionReason,
...
}
UsageIndicationRejectionReason ::= CHOICE {
unknownCall NULL,
incomplete NULL,
security NULL,
noServiceRelationship NULL,
undefined NULL,
...,
neededFeature NULL,
genericDataReason NULL,
unknownServiceID NULL-- The serviceID is not recognized by--
-- the peer element
}
ValidationRequest ::= SEQUENCE {
accessToken SEQUENCE OF AccessToken OPTIONAL,
destinationInfo PartyInformation OPTIONAL,
sourceInfo PartyInformation OPTIONAL,
callInfo CallInformation,
usageSpec UsageSpecification OPTIONAL,
...
}
ValidationConfirmation ::= SEQUENCE {
destinationInfo PartyInformation OPTIONAL,
usageSpec UsageSpecification OPTIONAL,
...
}
ValidationRejection ::= SEQUENCE {reason ValidationRejectionReason,
...
}
ValidationRejectionReason ::= CHOICE {
tokenNotValid NULL,
security NULL, -- request did not meet security requirements
hopCountExceeded NULL,
missingSourceInfo NULL,
missingDestInfo NULL,
noServiceRelationship NULL,
undefined NULL,
...,
neededFeature NULL,
genericDataReason NULL,
unknownServiceID NULL-- The serviceID is not recognized by--
-- the peer element
}
RequestInProgress ::= SEQUENCE {
delay INTEGER(1..65535),
...,
serviceControl SEQUENCE OF ServiceControlSession OPTIONAL
}
NonStandardRequest ::= SEQUENCE {...
}
NonStandardConfirmation ::= SEQUENCE {...
}
NonStandardRejection ::= SEQUENCE {reason NonStandardRejectionReason,
...
}
NonStandardRejectionReason ::= CHOICE {
notSupported NULL,
noServiceRelationship NULL,
undefined NULL,
...,
neededFeature NULL,
genericDataReason NULL,
unknownServiceID NULL-- The serviceID is not recognized by--
-- the peer element
}
UnknownMessageResponse ::= SEQUENCE {
unknownMessage OCTET STRING,
reason UnknownMessageReason,
...
}
UnknownMessageReason ::= CHOICE {notUnderstood NULL,
undefined NULL,
...
}
AuthenticationRequest ::= SEQUENCE {
applicationMessage ApplicationMessage, -- e.g. RAS message in
-- ITU-T Rec. H.323
...
}
ApplicationMessage ::= OCTET STRING
AuthenticationConfirmation ::= SEQUENCE {...
}
AuthenticationRejection ::= SEQUENCE {
reason AuthenticationRejectionReason,
...
}
AuthenticationRejectionReason ::= CHOICE {
security NULL,
hopCountExceeded NULL,
noServiceRelationship NULL,
undefined NULL,
neededFeature NULL,
genericDataReason NULL,
unknownServiceID NULL,
securityWrongSyncTime NULL, -- time server problem or network delay
securityReplay NULL, -- replay attack encountered
securityWrongGeneralID NULL, -- wrong general ID
securityWrongSendersID NULL, -- wrong senders ID
securityIntegrityFailed NULL, -- integrity check failed
securityWrongOID NULL, -- wrong token OIDs or crypto alg OIDs
...
}
--
-- structures common to multiple messages
--
AddressTemplate ::= SEQUENCE {
pattern SEQUENCE OF Pattern,
routeInfo SEQUENCE OF RouteInformation,
timeToLive INTEGER(1..4294967295),
...,
supportedProtocols SEQUENCE OF SupportedProtocols OPTIONAL,
featureSet FeatureSet OPTIONAL
}
Pattern ::= CHOICE {
specific AliasAddress,
wildcard AliasAddress,
range SEQUENCE {startOfRange PartyNumber,
endOfRange PartyNumber},
...
}
RouteInformation ::= SEQUENCE {
messageType
CHOICE {sendAccessRequest NULL,
sendSetup NULL,
nonExistent NULL,
...},
callSpecific BOOLEAN,
usageSpec UsageSpecification OPTIONAL,
priceInfo SEQUENCE OF PriceInfoSpec OPTIONAL,
contacts SEQUENCE OF ContactInformation,
type EndpointType OPTIONAL,
-- must be present if messageType = sendSetup
...,
featureSet FeatureSet OPTIONAL,
circuitID CircuitInfo OPTIONAL,
supportedCircuits SEQUENCE OF CircuitIdentifier OPTIONAL
}
ContactInformation ::= SEQUENCE {
transportAddress AliasAddress,
priority INTEGER(0..127),
transportQoS TransportQOS OPTIONAL,
security SEQUENCE OF SecurityMode OPTIONAL,
accessTokens SEQUENCE OF AccessToken OPTIONAL,
...,
multipleCalls BOOLEAN OPTIONAL,
featureSet FeatureSet OPTIONAL,
circuitID CircuitInfo OPTIONAL,
supportedCircuits SEQUENCE OF CircuitIdentifier OPTIONAL
}
PriceInfoSpec ::= SEQUENCE {
currency IA5String(SIZE (3)), -- e.g. "USD"
currencyScale INTEGER(-127..127),
validFrom GlobalTimeStamp OPTIONAL,
validUntil GlobalTimeStamp OPTIONAL,
hoursFrom IA5String(SIZE (6)) OPTIONAL, -- "HHMMSS" UTC
hoursUntil IA5String(SIZE (6)) OPTIONAL, -- "HHMMSS" UTC
priceElement SEQUENCE OF PriceElement OPTIONAL,
priceFormula IA5String(SIZE (1..2048)) OPTIONAL,
...
}
PriceElement ::= SEQUENCE {
amount INTEGER(0..4294967295), -- meter increment
quantum INTEGER(0..4294967295), -- each or part thereof
units
CHOICE {seconds NULL,
packets NULL,
bytes NULL,
initial NULL,
minimum NULL,
maximum NULL,
...},
...
}
Descriptor ::= SEQUENCE {
descriptorInfo DescriptorInfo,
templates SEQUENCE OF AddressTemplate,
gatekeeperID GatekeeperIdentifier OPTIONAL,
...
}
DescriptorInfo ::= SEQUENCE {
descriptorID DescriptorID,
lastChanged GlobalTimeStamp,
...
}
AlternatePEInfo ::= SEQUENCE {
alternatePE SEQUENCE OF AlternatePE,
alternateIsPermanent BOOLEAN,
...
}
AlternatePE ::= SEQUENCE {
contactAddress AliasAddress,
priority INTEGER(1..127),
elementIdentifier ElementIdentifier OPTIONAL,
...
}
AccessToken ::= CHOICE {
token ClearToken,
cryptoToken CryptoH323Token,
...,
genericData GenericData
}
CallInformation ::= SEQUENCE {
callIdentifier CallIdentifier,
conferenceID ConferenceIdentifier,
...,
circuitID CircuitInfo OPTIONAL
}
UsageCallStatus ::= CHOICE {
preConnect NULL, -- Call has not started
callInProgress NULL, -- Call is in progress
callEnded NULL, -- Call ended
...,
registrationLost NULL -- Uncertain if call ended or not
}
UserInformation ::= SEQUENCE {
userIdentifier AliasAddress,
userAuthenticator SEQUENCE OF CryptoH323Token OPTIONAL,
...
}
UsageSpecification ::= SEQUENCE {
sendTo ElementIdentifier,
when
SEQUENCE {never NULL OPTIONAL,
start NULL OPTIONAL,
end NULL OPTIONAL,
period INTEGER(1..65535) OPTIONAL, -- in seconds--
failures NULL OPTIONAL,
...},
required SEQUENCE OF OBJECT IDENTIFIER,
preferred SEQUENCE OF OBJECT IDENTIFIER,
...,
sendToPEAddress AliasAddress OPTIONAL
}
PartyInformation ::= SEQUENCE {
logicalAddresses SEQUENCE OF AliasAddress,
domainIdentifier AliasAddress OPTIONAL,
transportAddress AliasAddress OPTIONAL,
endpointType EndpointType OPTIONAL,
userInfo UserInformation OPTIONAL,
timeZone TimeZone OPTIONAL,
...
}
Role ::= CHOICE {
originator NULL,
destination NULL,
nonStandardData NonStandardParameter,
...
}
TimeZone ::= INTEGER(-43200..43200) -- number of seconds relative to UTC
-- including DST if appropriate
TerminationCause ::= SEQUENCE {
releaseCompleteReason ReleaseCompleteReason,
causeIE INTEGER(1..65535) OPTIONAL,
nonStandardData NonStandardParameter OPTIONAL,
...
}
ProtocolVersion ::= OBJECT IDENTIFIER
-- shall be set to
-- {itu-t(0) recommendation(0) h(8) h-225-0(2250) annex(1) g(7)
-- version(0) 2} in field annexGversion;
-- {itu-t(0) recommendation(0) h(8) 501 version(0) 1}
-- in field version
DescriptorID ::=
GloballyUniqueID
ElementIdentifier ::= BMPString(SIZE (1..128))
GlobalTimeStamp ::= IA5String(SIZE (14))
-- UTC, in the form YYYYMMDDHHmmSS
-- where YYYY = year, MM = month, DD = day,
-- HH = hour, mm = minute, SS = second
-- (for example, 19981219120000 for noon
-- 19 December 1998)
--
-- REPOSITORY FOR APPLICATION SPECIFIC DATA
--
-- H.225.0 Annex-G profile data
--
idAnnexGProfiles INTEGER ::=
0
idAnnexGProfileA INTEGER ::= 1
--annexGProfileA EnumeratedParameter ::=
--{
-- id standard:idAnnexGProfileA
--}
END -- of H501-MESSAGES
-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D
|