~ubuntu-branches/ubuntu/trusty/erlang/trusty

« back to all changes in this revision

Viewing changes to lib/asn1/test/asn1_SUITE_data/tcapsystem/TCAPMessages.asn

  • Committer: Bazaar Package Importer
  • Author(s): Clint Byrum
  • Date: 2011-05-05 15:48:43 UTC
  • mfrom: (3.5.13 sid)
  • Revision ID: james.westby@ubuntu.com-20110505154843-0om6ekzg6m7ugj27
Tags: 1:14.b.2-dfsg-3ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Drop libwxgtk2.8-dev build dependency. Wx isn't in main, and not
    supposed to.
  - Drop erlang-wx binary.
  - Drop erlang-wx dependency from -megaco, -common-test, and -reltool, they
    do not really need wx. Also drop it from -debugger; the GUI needs wx,
    but it apparently has CLI bits as well, and is also needed by -megaco,
    so let's keep the package for now.
  - debian/patches/series: Do what I meant, and enable build-options.patch
    instead.
* Additional changes:
  - Drop erlang-wx from -et
* Dropped Changes:
  - patches/pcre-crash.patch: CVE-2008-2371: outer level option with
    alternatives caused crash. (Applied Upstream)
  - fix for ssl certificate verification in newSSL: 
    ssl_cacertfile_fix.patch (Applied Upstream)
  - debian/patches/series: Enable native.patch again, to get stripped beam
    files and reduce the package size again. (build-options is what
    actually accomplished this)
  - Remove build-options.patch on advice from upstream and because it caused
    odd build failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
-- Generated by Asnp, the pretty-printer of France Telecom R&D (http://asn1.elibel.tm.fr/asnp/)
 
2
-- Module TCAPMessages (Q.773:06/1997)
 
3
-- asn1ct:compile("TCAPMessages",[ber_bin]).
 
4
TCAPMessages {itu-t recommendation q 773 modules(2) messages(1) version3(3)}
 
5
 
 
6
DEFINITIONS IMPLICIT TAGS
 
7
 
 
8
::=
 
9
 
 
10
BEGIN
 
11
 
 
12
-- EXPORTS everything
 
13
-- Transaction Portion fields.
 
14
IMPORTS
 
15
  ROS{}, InvokeId
 
16
    FROM Remote-Operations-Generic-ROS-PDUs {joint-iso-itu-t
 
17
      remote-operations(4) generic-ROS-PDUs(6) version1(0)}
 
18
  OPERATION
 
19
    FROM Remote-Operations-Information-Objects {joint-iso-itu-t
 
20
      remote-operations(4) informationObjects(5) version1(0)}
 
21
  Supported-MAP-Operations
 
22
    FROM MAP-Protocol {itu-t identified-organization (4) etsi (0) mobileDomain (0)
 
23
         gsm-Network (1) modules (3) map-Protocol (4) version9 (9)}
 
24
-- Start - Added by Eranga
 
25
  dialogue-as-id
 
26
    FROM DialoguePDUs {itu-t recommendation q 773 modules(2) dialoguePDUs(2)
 
27
      version1(1)}
 
28
  sendRoutingInfoForSM,
 
29
  mo-ForwardSM,
 
30
  mt-ForwardSM,
 
31
  reportSM-DeliveryStatus,
 
32
  alertServiceCentre,
 
33
  informServiceCentre,
 
34
  readyForSM
 
35
        FROM MAP-ShortMessageServiceOperations {
 
36
           itu-t identified-organization (4) etsi (0) mobileDomain (0)
 
37
           gsm-Network (1) modules (3) map-ShortMessageServiceOperations (9)
 
38
           version9 (9)}
 
39
  gsm-MessagingId
 
40
        FROM MobileDomainDefinitions {
 
41
           itu-t identified-organization (4) etsi (0) mobileDomain (0)
 
42
           mobileDomainDefinitions (0) version1 (1)}
 
43
  Supported-MAP-Operations
 
44
        FROM MAP-Protocol {
 
45
           itu-t identified-organization (4) etsi (0) mobileDomain (0)
 
46
           gsm-Network (1) modules (3) map-Protocol (4) version9 (9)}
 
47
-- End - Added by Eranga
 
48
;
 
49
 
 
50
-- Start - Added by Eranga
 
51
 
 
52
mapSpecificAS ABSTRACT-SYNTAX ::= {
 
53
  MapSpecificPDUs
 
54
  IDENTIFIED BY  gsm-MessagingId
 
55
}
 
56
 
 
57
MapSpecificPDUs ::=
 
58
  TCMessage{{MAPOperations-Invokable}, {MAPOperations-Returnable}}
 
59
 
 
60
 
 
61
MAPOperations-Invokable OPERATION ::= 
 
62
        {sendRoutingInfoForSM | mo-ForwardSM | mt-ForwardSM} 
 
63
MAPOperations-Returnable OPERATION ::= 
 
64
        {reportSM-DeliveryStatus | alertServiceCentre | informServiceCentre | readyForSM} 
 
65
 
 
66
-- End - Added by Eranga
 
67
 
 
68
 
 
69
TCMessage{OPERATION:Invokable, OPERATION:Returnable} ::= CHOICE {
 
70
  unidirectional  [APPLICATION 1]  Unidirectional{{Invokable}, {Returnable}},
 
71
  begin           [APPLICATION 2]  Begin{{Invokable}, {Returnable}},
 
72
  end             [APPLICATION 4]  End{{Invokable}, {Returnable}},
 
73
  continue        [APPLICATION 5]  Continue{{Invokable}, {Returnable}},
 
74
  abort           [APPLICATION 7]  Abort
 
75
}
 
76
 
 
77
Unidirectional{OPERATION:Invokable, OPERATION:Returnable} ::= SEQUENCE {
 
78
  dialoguePortion  DialoguePortion OPTIONAL,
 
79
  components       ComponentPortion{{Invokable}, {Returnable}}
 
80
}
 
81
 
 
82
Begin{OPERATION:Invokable, OPERATION:Returnable} ::= SEQUENCE {
 
83
  otid             OrigTransactionID,
 
84
  dialoguePortion  DialoguePortion OPTIONAL,
 
85
  components       ComponentPortion{{Invokable}, {Returnable}} OPTIONAL
 
86
}
 
87
 
 
88
End{OPERATION:Invokable, OPERATION:Returnable} ::= SEQUENCE {
 
89
  dtid             DestTransactionID,
 
90
  dialoguePortion  DialoguePortion OPTIONAL,
 
91
  components       ComponentPortion{{Invokable}, {Returnable}} OPTIONAL
 
92
}
 
93
 
 
94
Continue{OPERATION:Invokable, OPERATION:Returnable} ::= SEQUENCE {
 
95
  otid             OrigTransactionID,
 
96
  dtid             DestTransactionID,
 
97
  dialoguePortion  DialoguePortion OPTIONAL,
 
98
  components       ComponentPortion{{Invokable}, {Returnable}} OPTIONAL
 
99
}
 
100
 
 
101
Abort ::= SEQUENCE {
 
102
  dtid    DestTransactionID,
 
103
  reason  CHOICE {p-abortCause  P-AbortCause,
 
104
                  u-abortCause  DialoguePortion} OPTIONAL
 
105
}
 
106
 
 
107
-- NOTE - When the Abort Message is generated by the Transaction sublayer, a p-Abort Cause may be 
 
108
-- present. The u-abortCause may be generated by the component sublayer in which case it is an ABRT 
 
109
-- APDU, or by the TC-User in which case it could be either an ABRT APDU or data in some user-defined
 
110
-- abstract syntax.
 
111
DialoguePortion ::= [APPLICATION 11] EXPLICIT EXTERNAL
 
112
 
 
113
-- The dialogue portion carries the dialogue control PDUs as value of the external data type. The direct 
 
114
-- reference should be set to {itu-t recommendation q 773 as(1) dialogue-as(1) version1(1)} if structured 
 
115
-- dialogue is used and to {itu-t recommendation q 773 as(1) unidialogue-as(2) version1(1)} if unstructured 
 
116
-- dialogue is used.
 
117
OrigTransactionID ::= [APPLICATION 8]  OCTET STRING(SIZE (1..4))
 
118
 
 
119
DestTransactionID ::= [APPLICATION 9]  OCTET STRING(SIZE (1..4))
 
120
 
 
121
P-AbortCause ::= [APPLICATION 10]  INTEGER {
 
122
  unrecognizedMessageType(0), unrecognizedTransactionID(1),
 
123
  badlyFormattedTransactionPortion(2), incorrectTransactionPortion(3),
 
124
  resourceLimitation(4)}(0..127)
 
125
 
 
126
-- COMPONENT PORTION. The last field in the transaction portion of the TCAP message is the 
 
127
-- component portion. The component portion may be absent.
 
128
ComponentPortion{OPERATION:Invokable, OPERATION:Returnable} ::=
 
129
  [APPLICATION 12] 
 
130
    SEQUENCE SIZE (1..MAX) OF Component{{Invokable}, {Returnable}}
 
131
 
 
132
-- Component Portion fields
 
133
-- Recommendation X.880 defines four Application Protocol Data Units (APDUs) for invoking
 
134
-- operations, returning results or error, and for the rejection of invalid PDUs.
 
135
-- TCAP adds returnResultNotLast to allow for the segmentation of a result.
 
136
Component{OPERATION:Invokable, OPERATION:Returnable} ::= CHOICE {
 
137
  basicROS             ROS{{TCInvokeIdSet}, {Invokable}, {Returnable}},
 
138
  returnResultNotLast
 
139
    [7]  returnResult < ROS{{TCInvokeIdSet}, {Invokable}, {Returnable}}
 
140
}
 
141
 
 
142
TCInvokeIdSet ::= InvokeId(WITH COMPONENTS {
 
143
                             present  (-128..127)
 
144
                           })
 
145
 
 
146
END -- TCAPMessages
 
147
 
 
148
-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D
 
149