Harald Welte | 10adfb5 | 2011-12-10 21:39:43 +0100 | [diff] [blame^] | 1 | TR {joint-iso-itu-t(2) country(16) ca(124) mti(113594) tcap(10) modules(0) itu-t(0) tr(0) version1(1)} |
| 2 | DEFINITIONS IMPLICIT TAGS ::= |
| 3 | BEGIN |
| 4 | |
| 5 | IMPORTS |
| 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 | |
| 14 | TCMessage ::= 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 | |
| 23 | Unidirectional ::= SEQUENCE { |
| 24 | dialoguePortion DialoguePortion OPTIONAL, |
| 25 | components ComponentPortion |
| 26 | } |
| 27 | |
| 28 | Begin ::= SEQUENCE { |
| 29 | otid OrigTransactionID, |
| 30 | dialoguePortion DialoguePortion OPTIONAL, |
| 31 | components ComponentPortion OPTIONAL |
| 32 | } |
| 33 | |
| 34 | End ::= SEQUENCE { |
| 35 | dtid DestTransactionID, |
| 36 | dialoguePortion DialoguePortion OPTIONAL, |
| 37 | components ComponentPortion OPTIONAL |
| 38 | } |
| 39 | |
| 40 | Continue ::= 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 |
| 48 | Unknown ::= SEQUENCE { |
| 49 | otid OrigTransactionID OPTIONAL, |
| 50 | dtid DestTransactionID OPTIONAL, |
| 51 | dialoguePortion DialoguePortion OPTIONAL, |
| 52 | components ComponentPortion OPTIONAL |
| 53 | } |
| 54 | |
| 55 | -- leave this portion undecoded |
| 56 | ComponentPortion ::= TYPE-IDENTIFIER.&Type |
| 57 | |
| 58 | DialoguePortion ::= [APPLICATION 11] EXPLICIT EXTERNAL |
| 59 | |
| 60 | END |