blob: df230999a6c7ecbe7f1b84c3170e3e2e2f616000 [file] [log] [blame]
Harald Welte10adfb52011-12-10 21:39:43 +01001TR {joint-iso-itu-t(2) country(16) ca(124) mti(113594) tcap(10) modules(0) itu-t(0) tr(0) version1(1)}
2DEFINITIONS IMPLICIT TAGS ::=
3BEGIN
4
5IMPORTS
6 Abort, DialoguePortion, OrigTransactionID, DestTransactionID
7 FROM TCAPMessages {itu-t recommendation q 773 modules(2) messages(1) version3(3)};
8
9-- The Transaction sub-layer ignores the content of the ComponentPortion
10-- so we have redefined these Types without parameterization and defined
11-- ComponentPortion as an OCTET STRING so that it can be passed to the
12-- Component sub-layer for decoding there
13
14TCMessage ::= CHOICE {
15 unidirectional [APPLICATION 1] Unidirectional,
16 begin [APPLICATION 2] Begin,
17 end [APPLICATION 4] End,
18 continue [APPLICATION 5] Continue,
19 abort [APPLICATION 7] Abort,
20 ...
21}
22
23Unidirectional ::= SEQUENCE {
24 dialoguePortion DialoguePortion OPTIONAL,
25 components ComponentPortion
26}
27
28Begin ::= SEQUENCE {
29 otid OrigTransactionID,
30 dialoguePortion DialoguePortion OPTIONAL,
31 components ComponentPortion OPTIONAL
32}
33
34End ::= SEQUENCE {
35 dtid DestTransactionID,
36 dialoguePortion DialoguePortion OPTIONAL,
37 components ComponentPortion OPTIONAL
38}
39
40Continue ::= SEQUENCE {
41 otid OrigTransactionID,
42 dtid DestTransactionID,
43 dialoguePortion DialoguePortion OPTIONAL,
44 components ComponentPortion OPTIONAL
45}
46
47-- used to derive otid/dtid from unknown message type
48Unknown ::= SEQUENCE {
49 otid OrigTransactionID OPTIONAL,
50 dtid DestTransactionID OPTIONAL,
51 dialoguePortion DialoguePortion OPTIONAL,
52 components ComponentPortion OPTIONAL
53}
54
55-- leave this portion undecoded
56ComponentPortion ::= TYPE-IDENTIFIER.&Type
57
58DialoguePortion ::= [APPLICATION 11] EXPLICIT EXTERNAL
59
60END