8760a300ac398156ab5e90ac1508a2b84cc6a8ee
[obnox/wireshark/wip.git] / asn1 / camel / CAP-datatypes.asn
1 -- $Id$
2 -- 3GPP TS 29.078 7.3.0 (2006-06)
3 -- 5    Common CAP Types
4 -- 5.1  Data types
5 CAP-datatypes {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0) umts-network(1) modules(3) cap-datatypes(52) version5(4)}
6
7 DEFINITIONS IMPLICIT TAGS ::= BEGIN
8
9 IMPORTS
10
11         Duration,
12         Integer4,
13         Interval,
14         LegID,
15         ServiceKey
16 FROM CS1-DataTypes {itu-t(0) identified-organization(4) etsi(0) inDomain(1) in-network(1)
17 modules(0) cs1-datatypes(2) version1(0)}
18
19         BothwayThroughConnectionInd,
20         CriticalityType,
21         MiscCallInfo
22 FROM CS2-datatypes {itu-t(0) identified-organization(4) etsi(0) inDomain(1) in-network(1)
23 cs2(20) modules(0) in-cs2-datatypes(0) version1(0)}
24
25         AddressString,
26         CellGlobalIdOrServiceAreaIdFixedLength,
27         Ext-BasicServiceCode,
28         IMSI,
29         ISDN-AddressString,
30         LAIFixedLength,
31         GSN-Address, -- WS moved to common datatypes in rel 9.0.0
32         NAEA-CIC
33 FROM MAP-CommonDataTypes {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
34 gsm-Network(1) modules(3) map-CommonDataTypes(18) version9(9)}
35
36         Ext-QoS-Subscribed,
37         Ext2-QoS-Subscribed,
38         GeographicalInformation,
39         LocationInformation,
40         LSAIdentity,
41         QoS-Subscribed,
42         RAIdentity,
43         SubscriberState,
44         GPRSChargingID
45 FROM MAP-MS-DataTypes {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
46 gsm-Network(1) modules(3) map-MS-DataTypes(11) version9(9)}
47
48         CallReferenceNumber,
49         SuppressionOfAnnouncement
50 FROM MAP-CH-DataTypes {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
51 gsm-Network(1) modules(3) map-CH-DataTypes(13) version9(9)}
52
53         tc-Messages,
54         classes
55 FROM CAP-object-identifiers {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
56 umts-network(1) modules(3) cap-object-identifiers(100) version5(4)}
57
58         TCInvokeIdSet
59 FROM TCAPMessages tc-Messages
60
61         EXTENSION,
62         PARAMETERS-BOUND,
63         SupportedExtensions
64 FROM CAP-classes classes
65
66         ExtensionContainer
67 FROM MAP-ExtensionDataTypes {itu-t(0) identified-organization(4) etsi(0) mobileDomain(0)
68 gsm-Network(1) modules(3) map-ExtensionDataTypes(21) version9(9)}
69
70 ;
71
72 AccessPointName {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE(
73         bound.&minAccessPointNameLength .. bound.&maxAccessPointNameLength))
74 -- Indicates the AccessPointName, refer to 3GPP TS 24.008 [9] for the encoding.
75 -- It shall be coded as in the value part defined in 3GPP TS 24.008,
76 -- i.e. the 3GPP TS 24.008 IEI and 3GPP TS 24.008 octet length indicator
77 -- shall not be included.
78
79 AChBillingChargingCharacteristics {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE
80         (bound.&minAChBillingChargingLength .. bound.&maxAChBillingChargingLength))
81         (CONSTRAINED BY {-- shall be the result of the BER-encoded value of the type --
82         CAMEL-AChBillingChargingCharacteristics {bound}})
83 -- The AChBillingChargingCharacteristics parameter specifies the charging related information
84 -- to be provided by the gsmSSF and the conditions on which this information has to be reported
85 -- back to the gsmSCF with the ApplyChargingReport operation. The value of the
86 -- AChBillingChargingCharacteristics of type OCTET STRING carries a value of the ASN.1 data type:
87 -- CAMEL-AChBillingChargingCharacteristics. The normal encoding rules are used to encode this
88 -- value.
89 -- The violation of the UserDefinedConstraint shall be handled as an ASN.1 syntax error.
90
91 AChChargingAddress {PARAMETERS-BOUND : bound} ::= CHOICE {
92         legID                           [2] LegID,
93         srfConnection           [50] CallSegmentID {bound}
94         }
95
96 AdditionalCallingPartyNumber {PARAMETERS-BOUND : bound} ::= Digits {bound}
97 -- Indicates the Additional Calling Party Number.
98
99 AlertingPattern ::= OCTET STRING (SIZE(3))
100 -- Indicates a specific pattern that is used to alert a subscriber
101 -- (e.g. distinctive ringing, tones, etc.).
102 -- The encoding of the last octet of this parameter is as defined in 3GPP TS 29.002 [11].
103 -- Only the trailing OCTET is used, the remaining OCTETS shall be sent as NULL (zero)
104 -- The receiving side shall ignore the leading two OCTETS.
105
106 AOCBeforeAnswer ::= SEQUENCE {
107         aOCInitial                                                      [0] CAI-GSM0224,
108         aOCSubsequent                                           [1] AOCSubsequent                                                       OPTIONAL
109         }
110
111 AOCGPRS ::= SEQUENCE {
112         aOCInitial                                                      [0] CAI-GSM0224,
113         aOCSubsequent                                           [1] AOCSubsequent                                                       OPTIONAL
114         }
115
116 AOCSubsequent ::= SEQUENCE {
117         cAI-GSM0224                                                     [0] CAI-GSM0224 ,
118         tariffSwitchInterval                            [1] INTEGER (1..86400)                                          OPTIONAL
119         }
120 -- tariffSwitchInterval is measured in 1 second units
121
122 AppendFreeFormatData ::= ENUMERATED {
123         overwrite       (0),
124         append          (1)
125         }
126
127 ApplicationTimer ::=INTEGER (0..2047)
128 -- Used by the gsmSCF to set a timer in the gsmSSF. The timer is in seconds.
129
130 AssistingSSPIPRoutingAddress {PARAMETERS-BOUND : bound} ::= Digits {bound}
131 -- Indicates the destination address of the gsmSRF for the assist procedure.
132
133 AudibleIndicator ::= CHOICE {
134         tone                                                            BOOLEAN,
135         burstList                                                       [1] BurstList
136         }
137
138 BackwardServiceInteractionInd ::= SEQUENCE {
139         conferenceTreatmentIndicator            [1] OCTET STRING (SIZE(1))                                      OPTIONAL,
140         -- acceptConferenceRequest      'xxxx xx01'B
141         -- rejectConferenceRequest      'xxxx xx10'B
142         -- if absent from Connect or ContinueWithArgument,
143         -- then CAMEL service does not affect conference treatement
144         callCompletionTreatmentIndicator         [2] OCTET STRING (SIZE(1))                                     OPTIONAL,
145         -- acceptCallCompletionServiceRequest   'xxxx xx01'B,
146         -- rejectCallCompletionServiceRequest   'xxxx xx10'B
147         -- if absent from Connect or ContinueWithArgument,
148         -- then CAMEL service does not affect call completion treatment
149         ...
150         }
151
152 BasicGapCriteria {PARAMETERS-BOUND : bound} ::= CHOICE {
153         calledAddressValue                                      [0] Digits {bound},
154         gapOnService                                            [2] GapOnService,
155         calledAddressAndService                         [29] SEQUENCE {
156                 calledAddressValue                                      [0] Digits {bound},
157                 serviceKey                                                      [1] ServiceKey,
158                 ...
159                 },
160         callingAddressAndService                        [30] SEQUENCE {
161                 callingAddressValue                                     [0] Digits {bound},
162                 serviceKey                                                      [1] ServiceKey,
163                 ...
164                 }
165         }
166 -- Both calledAddressValue and callingAddressValue can be
167 -- incomplete numbers, in the sense that a limited amount of digits can be given.
168 -- For the handling of numbers starting with the same digit string refer to the detailed
169 -- procedure of the CallGap operation
170
171 BCSMEvent{PARAMETERS-BOUND : bound} ::= SEQUENCE {
172         eventTypeBCSM                                           [0] EventTypeBCSM,
173         monitorMode                                                     [1] MonitorMode,
174         legID                                                           [2] LegID                                                                       OPTIONAL,
175         dpSpecificCriteria                                      [30] DpSpecificCriteria {bound}                         OPTIONAL,
176         automaticRearm                                          [50] NULL                                                                       OPTIONAL,
177         ...
178         }
179 -- Indicates the BCSM Event information for monitoring.
180
181 BCSM-Failure {PARAMETERS-BOUND : bound} ::= SEQUENCE {
182         legID                                                           [0]     LegID                                                                   OPTIONAL,
183         cause                                                           [2]     Cause {bound}                                                   OPTIONAL,
184         ...
185         }
186
187 BearerCapability {PARAMETERS-BOUND : bound} ::= CHOICE {
188         bearerCap                                                       [0] OCTET STRING (SIZE(2..bound.&maxBearerCapabilityLength))
189         }
190 -- Indicates the type of bearer capability connection to the user. For bearerCap, the ISUP User
191 -- Service Information, ETSI EN 300 356-1 [23]
192 -- encoding shall be used.
193
194 Burst ::= SEQUENCE {
195         numberOfBursts                                          [0]     INTEGER (1..3)          DEFAULT 1,
196         burstInterval                                           [1]     INTEGER (1..1200)       DEFAULT 2,                                              
197         numberOfTonesInBurst                            [2] INTEGER (1..3)              DEFAULT 3,
198         toneDuration                                            [3]     INTEGER (1..20)         DEFAULT 2,
199         toneInterval                                            [4]     INTEGER (1..20)         DEFAULT 2,
200         ...
201         }
202 -- burstInterval, toneDurartion and toneInterval are measured in 100 millisecond units
203
204 BurstList ::= SEQUENCE {
205         warningPeriod                                           [0] INTEGER     (1..1200) DEFAULT 30,
206         bursts                                                          [1] Burst,
207         ...
208         }
209 -- warningPeriod is measured in 1 second units.
210
211 CAI-GSM0224 ::= SEQUENCE {
212         e1                                                                      [0] INTEGER (0..8191)                                           OPTIONAL,
213         e2                                                                      [1] INTEGER (0..8191)                                           OPTIONAL,
214         e3                                                                      [2] INTEGER (0..8191)                                           OPTIONAL,
215         e4                                                                      [3] INTEGER (0..8191)                                           OPTIONAL,
216         e5                                                                      [4] INTEGER (0..8191)                                           OPTIONAL,
217         e6                                                                      [5] INTEGER (0..8191)                                           OPTIONAL,
218         e7                                                                      [6] INTEGER (0..8191)                                           OPTIONAL
219         }
220 -- Indicates Charge Advice Information to the Mobile Station. For information regarding
221 -- parameter usage, refer to 3GPP TS 22.024 [2].
222
223 CalledPartyBCDNumber {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE(
224         bound.&minCalledPartyBCDNumberLength .. bound.&maxCalledPartyBCDNumberLength))
225 -- Indicates the Called Party Number, including service selection information.
226 -- Refer to 3GPP TS 24.008 [9] for encoding.
227 -- This data type carries only the 'type of number', 'numbering plan
228 -- identification' and 'number digit' fields defined in 3GPP TS 24.008 [9];
229 -- it does not carry the 'called party BCD number IEI' or 'length of called
230 -- party BCD number contents'.
231 -- In the context of the DestinationSubscriberNumber field in ConnectSMSArg or 
232 -- InitialDPSMSArg, a CalledPartyBCDNumber may also contain an alphanumeric 
233 -- character string. In this case, type-of-number '101'B is used, in accordance 
234 -- with 3GPP TS 23.040 [6]. The address is coded in accordance with the 
235 -- GSM 7-bit default alphabet definition and the SMS packing rules 
236 -- as specified in 3GPP TS 23.038 [15] in this case.
237
238 CalledPartyNumber {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE(
239         bound.&minCalledPartyNumberLength .. bound.&maxCalledPartyNumberLength))
240 -- Indicates the Called Party Number. Refer to ETS EN 300 356-1 [23] for encoding.
241
242 -- A CalledPartyNumber may contain national-specific values of the Nature Of Address
243 -- indicator. The filling-in of the national-specific Nature Of Address indicator
244 -- values shall be done in accordance with the national ISUP of the gsmSSF country, e.g.
245 -- ANSI T1.113-1995 [92].
246 -- In terms of ETS EN 300 356-1 [23], the Destination Address Field is not present if the
247 -- destination address length is set to zero. This is the case e.g. when the ANSI
248 -- ISUP Nature Of Address indicator indicates no number present, operator requested
249 -- (1110100) or no number present, cut-through call to carrier (1110101).
250 -- See also see 3GPP TS 23.078 [7].
251
252 CallingPartyNumber {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE(
253         bound.&minCallingPartyNumberLength .. bound.&maxCallingPartyNumberLength))
254 -- Indicates the Calling Party Number. Refer to ETSI EN 300 356-1 [23] for encoding.
255
256 CallResult {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE(
257         bound.&minCallResultLength .. bound.&maxCallResultLength))
258         (CONSTRAINED BY {-- shall be the result of the BER-encoded value of type -
259         CAMEL-CallResult {bound}})
260 -- The violation of the UserDefinedConstraint shall be handled as an ASN.1 syntax error.
261
262 -- This parameter provides the gsmSCF with the charging related information previously requested
263 -- using the ApplyCharging operation. This shall include the partyToCharge parameter as
264 -- received in the related ApplyCharging operation to correlate the result to the request
265
266 CallSegmentFailure {PARAMETERS-BOUND : bound} ::= SEQUENCE {
267         callSegmentID                                           [0] CallSegmentID {bound}                                       OPTIONAL,
268         cause                                                           [2]     Cause {bound}                                                   OPTIONAL,
269         ...
270         }
271
272 CallSegmentID {PARAMETERS-BOUND : bound} ::= INTEGER (1..bound.&numOfCSs)
273
274 CallSegmentToCancel {PARAMETERS-BOUND : bound} ::= SEQUENCE {
275         invokeID                                                        [0]     InvokeID                                                                OPTIONAL,
276         callSegmentID                                           [1]     CallSegmentID {bound}                                   OPTIONAL,
277         ...
278         }
279
280 CAMEL-AChBillingChargingCharacteristics {PARAMETERS-BOUND : bound} ::= CHOICE {
281         timeDurationCharging                            [0] SEQUENCE {
282                 maxCallPeriodDuration                           [0] INTEGER (1..864000),
283                 releaseIfdurationExceeded                       [1] BOOLEAN DEFAULT FALSE,
284                 tariffSwitchInterval                            [2] INTEGER (1..86400)                                  OPTIONAL,
285                 audibleIndicator                                        [3] AudibleIndicator DEFAULT tone: FALSE,       
286                 extensions                                                      [4] Extensions {bound}                                  OPTIONAL,
287                 ...
288                 }
289         }
290 -- tariffSwitchInterval is measured in 1 second units.
291 -- maxCallPeriodDuration is measured in 100 millisecond units
292
293 CAMEL-CallResult {PARAMETERS-BOUND : bound} ::= CHOICE {
294         timeDurationChargingResult                      [0] SEQUENCE {
295                 partyToCharge                                           [0] ReceivingSideID,
296                 timeInformation                                         [1] TimeInformation,
297                 legActive                                                       [2] BOOLEAN DEFAULT TRUE,
298                 callLegReleasedAtTcpExpiry                      [3] NULL                                                                OPTIONAL,
299                 extensions                                                      [4] Extensions {bound}                                  OPTIONAL,
300                 aChChargingAddress                                      [5] AChChargingAddress {bound}
301                                                                                                         DEFAULT legID:receivingSideID:leg1,
302                 ...
303                 }
304         }
305
306 CAMEL-FCIBillingChargingCharacteristics {PARAMETERS-BOUND : bound} ::= CHOICE{
307         fCIBCCCAMELsequence1                            [0] SEQUENCE {
308                 freeFormatData                                          [0] OCTET STRING (SIZE(
309                         bound.&minFCIBillingChargingDataLength .. bound.&maxFCIBillingChargingDataLength)),
310                 partyToCharge                                           [1] SendingSideID DEFAULT sendingSideID: leg1,
311                 appendFreeFormatData                            [2] AppendFreeFormatData DEFAULT overwrite,
312                 ...
313                 }
314         }
315
316 CAMEL-FCIGPRSBillingChargingCharacteristics {PARAMETERS-BOUND : bound} ::= SEQUENCE{
317         fCIBCCCAMELsequence1                            [0] SEQUENCE {
318                 freeFormatData                                          [0] OCTET STRING (SIZE(
319                         bound.&minFCIBillingChargingDataLength .. bound.&maxFCIBillingChargingDataLength)),
320                 pDPID                                                           [1] PDPID OPTIONAL,
321                 appendFreeFormatData                            [2] AppendFreeFormatData DEFAULT overwrite,
322                 ...
323                 }
324         }
325
326 CAMEL-FCISMSBillingChargingCharacteristics {PARAMETERS-BOUND : bound} ::= CHOICE{
327         fCIBCCCAMELsequence1                            [0] SEQUENCE {
328                 freeFormatData                                          [0] OCTET STRING (SIZE(
329                         bound.&minFCIBillingChargingDataLength .. bound.&maxFCIBillingChargingDataLength)),
330                 appendFreeFormatData                            [1] AppendFreeFormatData DEFAULT overwrite
331                 }
332         }
333
334 CAMEL-SCIBillingChargingCharacteristics ::= CHOICE {
335         aOCBeforeAnswer                                         [0] AOCBeforeAnswer,
336         aOCAfterAnswer                                          [1] AOCSubsequent,
337         aOC-extension                                           [2]     CAMEL-SCIBillingChargingCharacteristicsAlt
338         }
339
340 CAMEL-SCIBillingChargingCharacteristicsAlt ::= SEQUENCE {
341         ...
342         }
343 --      This datatype is for extension in future releases.
344
345 CAMEL-SCIGPRSBillingChargingCharacteristics ::= SEQUENCE {
346         aOCGPRS                                                         [0] AOCGPRS,
347         pDPID                                                           [1] PDPID                                                                       OPTIONAL,
348         ...
349         }
350
351 Carrier {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE(
352         bound.&minCarrierLength .. bound.&maxCarrierLength))
353 -- This parameter is used for North America (na) only.
354 -- It contains the carrier selection field (first octet) followed by Carrier ID
355 -- information (North America (na)).
356
357 -- The Carrier selection is one octet and is encoded as:
358 -- 00000000             No indication
359 -- 00000001             Selected carrier identification code (CIC) pre subscribed and not
360 --                              input by calling party
361 -- 00000010             Selected carrier identification code (CIC) pre subscribed and input by
362 --                              calling party
363 -- 00000011             Selected carrier identification code (CIC) pre subscribed, no
364 --                              indication of whether input by calling party (undetermined)
365 -- 00000100             Selected carrier identification code (CIC) not pre subscribed and
366 --                              input by calling party
367 -- 00000101
368 --      to                      Spare
369 -- 11111110
370 -- 11111111             Reserved
371
372 -- Refer to ANSI T1.113-1995 [92] for encoding of na carrier ID information (3 octets).
373
374 Cause {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE(
375         bound.&minCauseLength .. bound.&maxCauseLength))
376 -- Indicates the cause for interface related information.
377 -- Refer to ETSI EN 300 356-1 [23] Cause parameter for encoding.
378 -- For the use of cause and location values refer to ITU-T Recommendation Q.850 [47]
379 -- Shall always include the cause value and shall also include the diagnostics field,
380 -- if available.
381
382 CGEncountered ::= ENUMERATED {
383         noCGencountered                                         (0),
384         manualCGencountered                                     (1),
385         scpOverload                                                     (2)
386         }
387 -- Indicates the type of automatic call gapping encountered, if any.
388
389 ChangeOfPositionControlInfo {PARAMETERS-BOUND : bound} ::= SEQUENCE SIZE (1..bound.&numOfChangeOfPositionControlInfo) OF ChangeOfLocation {bound}
390
391 ChangeOfLocation {PARAMETERS-BOUND : bound} ::= CHOICE {
392         cellGlobalId                                            [0] CellGlobalIdOrServiceAreaIdFixedLength,
393         serviceAreaId                                           [1] CellGlobalIdOrServiceAreaIdFixedLength,
394         locationAreaId                                          [2] LAIFixedLength,
395         inter-SystemHandOver                            [3] NULL,
396         inter-PLMNHandOver                                      [4] NULL,
397         inter-MSCHandOver                                       [5] NULL,
398         changeOfLocationAlt                                     [6] ChangeOfLocationAlt {bound}
399 }
400 -- The cellGlobalId shall contain a Cell Global Identification. 
401 -- The serviceAreaId shall contain a Service Area Identification.
402
403 ChangeOfLocationAlt {PARAMETERS-BOUND : bound} ::= SEQUENCE {
404         ...
405         }
406
407 ChargeIndicator ::= OCTET STRING (SIZE (1))
408 --  As specified in ITU-T Recommendation Q.763 as follows:
409 --      no indication   'xxxx xx00'B
410 --      no charge               'xxxx xx01'B
411 --      charge                  'xxxx xx10'B
412 --      spare                   'xxxx xx11'B
413 --  Sending entity shall fill the upper six bits with '0's.
414 --  Receiving entity shall ignore the upper six bits.
415
416 ChargeNumber {PARAMETERS-BOUND : bound} ::= LocationNumber {bound}
417 -- Information sent in either direction indicating the chargeable number for the call and
418 -- consisting of the odd/even indicator, nature of address indicator, numbering plan indicator,
419 -- and address signals.
420
421 -- Uses the LocationNumber format which is based on the Location Number format as defined
422 -- in ITU-T Recommendation Q.763 [45].
423 -- For example, the ChargeNumber may be a third party number to which a call is billed for
424 -- the 3rd party billing service. In this case, the calling party may request operator assistance
425 -- to charge the call to, for example, their home number.
426
427 -- For NA, this parameter uniquely identifies the chargeable number for a call sent into a North
428 -- American long distance carrier. It transports the ChargeNumber Parameter Field as defined in
429 -- ANSI T1.113-1995 [92]. This provides
430 --  - 1 octet for the nature of address indicator field, plus
431 --  - 1 octet for a numbering plan field, plus
432 --  - up to 5 octets for the address signal (up to 10 digits)
433
434 -- The Charge Number in ANSI T1.113-1995 [92] normally contains a 10 digit national number within
435 -- the North American Numbering Plan (NANP); longer (e.g. international) charge numbers are not
436 -- supported in ANSI T1.113-1995 [92].
437
438 ChargingCharacteristics ::= CHOICE {
439         maxTransferredVolume                            [0]     INTEGER (1..4294967295),
440         maxElapsedTime                                          [1] INTEGER (1..86400)
441         }
442 --      maxTransferredVolume is measured in number of bytes
443 --      maxElapsedTime is measured in seconds
444
445 ChargingResult ::= CHOICE {
446         transferredVolume                                       [0] TransferredVolume,
447         elapsedTime                                                     [1]     ElapsedTime
448         }
449
450 ChargingRollOver ::= CHOICE {
451         transferredVolumeRollOver                       [0] TransferredVolumeRollOver,
452         elapsedTimeRollOver                                     [1]     ElapsedTimeRollOver
453         }
454 -- transferredVolumeRollOver shall be reported if ApplyChargingReportGPRS reports volume and
455 -- a roll-over has occurred in one or more volume counters. Otherwise, it shall be absent.
456 -- elapsedTimeRollOver shall be reported if ApplyChargingReportGPRS reports duration and
457 -- a roll-over has occurred in one or more duration counters. Otherwise, it shall be absent.
458
459 CollectedDigits ::= SEQUENCE {
460         minimumNbOfDigits                                       [0] INTEGER (1..30)     DEFAULT 1,
461         maximumNbOfDigits                                       [1] INTEGER (1..30),
462         endOfReplyDigit                                         [2] OCTET STRING (SIZE (1..2))                          OPTIONAL,
463         cancelDigit                                                     [3] OCTET STRING (SIZE (1..2))                          OPTIONAL,
464         startDigit                                                      [4] OCTET STRING (SIZE (1..2))                          OPTIONAL,
465         firstDigitTimeOut                                       [5] INTEGER (1..127)                                            OPTIONAL,
466         interDigitTimeOut                                       [6] INTEGER (1..127)                                            OPTIONAL,
467         errorTreatment                                          [7] ErrorTreatment DEFAULT stdErrorAndInfo,
468         interruptableAnnInd                                     [8] BOOLEAN DEFAULT TRUE,
469         voiceInformation                                        [9] BOOLEAN DEFAULT FALSE,
470         voiceBack                                                       [10] BOOLEAN DEFAULT FALSE
471         }
472 -- The use of voiceBack and the support of voice recognition via voiceInformation
473 -- is network operator specific.
474 -- The endOfReplyDigit, cancelDigit, and startDigit parameters have been
475 -- designated as OCTET STRING, and are to be encoded as BCD, one digit per octet
476 -- only, contained in the four least significant bits of each OCTET. The following encoding shall
477 -- be applied for the non-decimal characters:
478 -- 1011 (*), 1100 (#).
479 -- The usage is service dependent.
480 -- firstDigitTimeOut and interDigitTimeOut are measured in seconds.
481
482 CollectedInfo ::= CHOICE {
483         collectedDigits                                         [0] CollectedDigits
484         }
485
486 ConnectedNumberTreatmentInd ::= ENUMERATED {
487         noINImpact                                                      (0),
488         presentationRestricted                          (1),
489         presentCalledINNumber                           (2),
490         presentCallINNumberRestricted           (3)
491 }
492 -- This parameter is used to suppress or to display the connected number.
493
494 ControlType ::= ENUMERATED {
495         sCPOverloaded                                           (0),
496         manuallyInitiated                                       (1)
497         }
498
499 CompoundCriteria {PARAMETERS-BOUND : bound} ::= SEQUENCE {
500         basicGapCriteria                                        [0] BasicGapCriteria {bound},
501         scfID                                                           [1] ScfID {bound}                                                       OPTIONAL
502         }
503
504 CorrelationID {PARAMETERS-BOUND : bound} ::= Digits {bound}
505 -- used by gsmSCF for correlation with a previous operation.
506
507 DateAndTime ::= OCTET STRING (SIZE(7))
508 --  DateAndTime is BCD encoded. The year digit indicating millenium occupies bits
509 --  0-3 of the first octet, and the year digit indicating century occupies bits
510 --  4-7 of the first octet.
511 --  The year digit indicating decade occupies bits 0-3 of the second octet,
512 --  whilst the digit indicating the year within the decade occupies bits 4-7 of
513 --  the second octet.
514 --  The most significant month digit occupies bits 0-3 of the third octet,
515 --  and the least significant month digit occupies bits 4-7 of the third octet.
516 --  The most significant day digit occupies bits 0-3 of the fourth octet,
517 --  and the least significant day digit occupies bits 4-7 of the fourth octet.
518 --  The most significant hours digit occupies bits 0-3 of the fifth octet,
519 --  and the least significant digit occupies bits 4-7 of the fifth octet.
520 --  The most significant minutes digit occupies bits 0-3 of the sixth octet,
521 --  and the least significant digit occupies bits 4-7 of the sixth octet.
522 --  The most significant seconds digit occupies bits 0-3 of the seventh octet,
523 --  and the least seconds significant digit occupies bits 4-7 of the seventh octet.
524 --  For the encoding of digits in an octet, refer to the timeAndtimezone parameter.
525
526 DestinationRoutingAddress {PARAMETERS-BOUND : bound} ::= SEQUENCE SIZE(1) OF
527                                                                                                         CalledPartyNumber {bound}
528 -- Indicates the Called Party Number.
529
530 Digits {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE(
531         bound.&minDigitsLength .. bound.&maxDigitsLength))
532 -- Indicates the address signalling digits.
533 -- Refer to ETSI EN 300 356-1 [23] Generic Number & Generic Digits parameters for encoding.
534 -- The coding of the subfields 'NumberQualifier' in Generic Number and 'TypeOfDigits' in
535 -- Generic Digits are irrelevant to the CAP;
536 -- the ASN.1 tags are sufficient to identify the parameter.
537 -- The ISUP format does not allow to exclude these subfields,
538 -- therefore the value is network operator specific.
539 --
540 -- The following parameters shall use Generic Number:
541 --  - AdditionalCallingPartyNumber for InitialDP
542 --  - AssistingSSPIPRoutingAddress for EstablishTemporaryConnection
543 --  - CorrelationID for AssistRequestInstructions
544 --  - CalledAddressValue for all occurrences, CallingAddressValue for all occurrences.
545 --
546 -- The following parameters shall use Generic Digits:
547 --  - CorrelationID in EstablishTemporaryConnection
548 --  - number in VariablePart
549 --  - digitsResponse in ReceivedInformationArg
550 --      - midCallEvents in oMidCallSpecificInfo and tMidCallSpecificInfo
551 --
552 -- In the digitsResponse and midCallevents, the digits may also include the '*', '#',
553 -- a, b, c and d digits by using the IA5 character encoding scheme. If the BCD even or
554 -- BCD odd encoding scheme is used, then the following encoding shall be applied for the
555 -- non-decimal characters: 1011 (*), 1100 (#).
556 --
557 -- AssistingSSPIPRoutingAddress in EstablishTemporaryConnection and CorrelationID in
558 -- AssistRequestInstructions may contain a Hex B digit as address signal. Refer to
559 -- Annex A.6 for the usage of the Hex B digit.
560 --
561 -- Note that when CorrelationID is transported in Generic Digits, then the digits shall
562 -- always be BCD encoded.
563
564 DpSpecificCriteria {PARAMETERS-BOUND : bound}::= CHOICE {
565         applicationTimer                                        [1] ApplicationTimer,
566         midCallControlInfo                                      [2]     MidCallControlInfo, 
567         dpSpecificCriteriaAlt                           [3] DpSpecificCriteriaAlt {bound}
568         }
569 --  Exception handling: reception of DpSpecificCriteriaAlt shall be treated like        
570 --  reception of no DpSpecificCriteria.
571 --  The gsmSCF may set a timer in the gsmSSF for the No_Answer event.
572 --  If the user does not answer the call within the allotted time,
573 --  then the gsmSSF reports the event to the gsmSCF.
574 --      The gsmSCF may define a criterion for the detection of DTMF digits during a call.
575 --      The gsmSCF may define other criteria in the dpSpecificCriteriaAlt alternative 
576 --  in future releases.
577
578 DpSpecificCriteriaAlt {PARAMETERS-BOUND : bound} ::= SEQUENCE {
579         ...,
580         changeOfPositionControlInfo                     [0]     ChangeOfPositionControlInfo {bound},
581         numberOfDigits                                  [1]     NumberOfDigits                                  OPTIONAL,
582         interDigitTimeout                               [2]     INTEGER (1..127)                                OPTIONAL
583         }
584 -- interDigitTimeout                            duration in seconds.
585
586 DpSpecificInfoAlt {PARAMETERS-BOUND : bound} ::= SEQUENCE {
587         ...,
588         oServiceChangeSpecificInfo                      [0] SEQUENCE {
589                 ext-basicServiceCode                            [0] Ext-BasicServiceCode                        OPTIONAL,
590                 ...,
591                 initiatorOfServiceChange                        [1] InitiatorOfServiceChange                    OPTIONAL,
592                 natureOfServiceChange                           [2] NatureOfServiceChange                       OPTIONAL
593                 },
594         tServiceChangeSpecificInfo                      [1] SEQUENCE {
595                 ext-basicServiceCode                            [0] Ext-BasicServiceCode                        OPTIONAL,
596                 ...,
597                 initiatorOfServiceChange                        [1] InitiatorOfServiceChange                    OPTIONAL,
598                 natureOfServiceChange                           [2] NatureOfServiceChange                       OPTIONAL
599                 },
600         collectedInfoSpecificInfo                       [2] SEQUENCE {
601                 calledPartyNumber                               [0]     CalledPartyNumber                       OPTIONAL,
602                 ...
603                 }
604         }
605 --      This datatype is for extension in future releases.
606
607 ElapsedTime ::= CHOICE {
608         timeGPRSIfNoTariffSwitch                        [0] INTEGER (0..86400),
609         timeGPRSIfTariffSwitch                          [1] SEQUENCE {
610                 timeGPRSSinceLastTariffSwitch           [0] INTEGER (0..86400),
611                 timeGPRSTariffSwitchInterval            [1] INTEGER (0..86400)                                  OPTIONAL
612                 }
613         }
614 --      timeGPRSIfNoTariffSwitch is measured in seconds
615 --      timeGPRSSinceLastTariffSwitch and timeGPRSTariffSwitchInterval are measured in seconds
616
617 ElapsedTimeRollOver ::= CHOICE {
618         rO-TimeGPRSIfNoTariffSwitch                     [0] INTEGER (0..255),
619         rO-TimeGPRSIfTariffSwitch                       [1] SEQUENCE {
620                 rO-TimeGPRSSinceLastTariffSwitch        [0] INTEGER (0..255)                                    OPTIONAL,
621                 rO-TimeGPRSTariffSwitchInterval         [1] INTEGER (0..255)                                    OPTIONAL
622                 }
623         }
624 --      rO-TimeGPRSIfNoTariffSwitch, rO-TimeGPRSSinceLastTariffSwitch and
625 --      rO-TimeGPRSTariffSwitchInterval
626 --      present counters indicating the number of parameter range rollovers.
627
628 EndUserAddress {PARAMETERS-BOUND: bound} ::= SEQUENCE {
629         pDPTypeOrganization                                     [0] OCTET STRING (SIZE(1)),
630         pDPTypeNumber                                           [1] OCTET STRING (SIZE(1)),
631         pDPAddress                                                      [2] OCTET STRING (SIZE(
632                 bound.&minPDPAddressLength .. bound.&maxPDPAddressLength))                                      OPTIONAL
633         }
634 -- Indicates the EndUserAddress, refer to 3GPP TS 29.060 [12] for the encoding.
635 -- The pDPTypeOrganization shall use the least significant 4 bits of the octet encoded.
636 -- The sender of this parameter shall set the most significant 4 bits of the octet to 1.
637 -- The receiver of this parameter shall ignore the most significant 4 bits of this octet.
638
639 ErrorTreatment ::= ENUMERATED {
640         stdErrorAndInfo                                         (0),
641         help                                                            (1),
642         repeatPrompt                                            (2)
643         }
644 -- stdErrorAndInfomeans returning the 'ImproperCallerResponse' error in the event of an error
645 -- condition during collection of user info.
646
647 EventSpecificInformationBCSM {PARAMETERS-BOUND : bound} ::= CHOICE {
648         routeSelectFailureSpecificInfo          [2] SEQUENCE {
649                 failureCause                                            [0] Cause {bound}                                               OPTIONAL,
650                 ...
651                 },
652         oCalledPartyBusySpecificInfo            [3] SEQUENCE {
653                 busyCause                                                       [0] Cause {bound}                                               OPTIONAL,
654                 ...
655                 },
656         oNoAnswerSpecificInfo                           [4] SEQUENCE {
657                 -- no specific info defined --
658                 ...
659                 },
660         oAnswerSpecificInfo                                     [5] SEQUENCE {
661                 destinationAddress                                      [50] CalledPartyNumber {bound}                  OPTIONAL,
662                 or-Call                                                         [51] NULL                                                               OPTIONAL,
663                 forwardedCall                                           [52] NULL                                                               OPTIONAL,
664                 chargeIndicator                                         [53] ChargeIndicator                                    OPTIONAL,
665                 ext-basicServiceCode                            [54] Ext-BasicServiceCode                               OPTIONAL,
666                 ext-basicServiceCode2                           [55] Ext-BasicServiceCode                               OPTIONAL,
667                 ...
668                 },
669         oMidCallSpecificInfo                            [6] SEQUENCE {
670                 midCallEvents                                           [1] CHOICE {
671                         dTMFDigitsCompleted                                     [3] Digits {bound},
672                         dTMFDigitsTimeOut                                       [4] Digits {bound}
673                         }                                                                                                                                               OPTIONAL,
674                 ...
675                 },
676         oDisconnectSpecificInfo                         [7] SEQUENCE {
677                 releaseCause                                            [0] Cause {bound}                                               OPTIONAL,
678                 ...
679                 },
680         tBusySpecificInfo                                       [8] SEQUENCE {
681                 busyCause                                                       [0] Cause {bound}                                               OPTIONAL,
682                 callForwarded                                           [50] NULL                                                               OPTIONAL,
683                 routeNotPermitted                                       [51] NULL                                                               OPTIONAL,
684                 forwardingDestinationNumber                     [52] CalledPartyNumber {bound}                  OPTIONAL,
685                 ...
686                 },
687         tNoAnswerSpecificInfo                           [9] SEQUENCE {
688                 callForwarded                                           [50] NULL                                                               OPTIONAL,
689                 forwardingDestinationNumber                     [52] CalledPartyNumber {bound}                  OPTIONAL,
690                 ...
691                 },
692         tAnswerSpecificInfo                                     [10] SEQUENCE {
693                 destinationAddress                                      [50] CalledPartyNumber {bound}                  OPTIONAL,
694                 or-Call                                                         [51] NULL                                                               OPTIONAL,
695                 forwardedCall                                           [52] NULL                                                               OPTIONAL,
696                 chargeIndicator                                         [53] ChargeIndicator                                    OPTIONAL,
697                 ext-basicServiceCode                            [54] Ext-BasicServiceCode                               OPTIONAL,
698                 ext-basicServiceCode2                           [55] Ext-BasicServiceCode                               OPTIONAL,
699                 ...
700                 },
701         tMidCallSpecificInfo                            [11] SEQUENCE {
702                 midCallEvents                                           [1] CHOICE {
703                         dTMFDigitsCompleted                                     [3] Digits {bound},
704                         dTMFDigitsTimeOut                                       [4] Digits {bound}
705                         }                                                                                                                                               OPTIONAL,
706                 ...
707                 },
708         tDisconnectSpecificInfo                         [12] SEQUENCE {
709                 releaseCause                                            [0] Cause {bound}                                               OPTIONAL,
710                 ...
711                 },
712         oTermSeizedSpecificInfo                         [13] SEQUENCE {
713                 locationInformation                                     [50] LocationInformation                                OPTIONAL,
714                 ...
715                 },
716         callAcceptedSpecificInfo                        [20] SEQUENCE {
717                 locationInformation                                     [50] LocationInformation                                OPTIONAL,
718                 ...
719                 },
720         oAbandonSpecificInfo                            [21] SEQUENCE {
721                 routeNotPermitted                                       [50] NULL                                                               OPTIONAL,
722                 ...
723                 },
724         oChangeOfPositionSpecificInfo           [50] SEQUENCE {
725                 locationInformation                                     [50] LocationInformation                                OPTIONAL,
726                 ...,
727         metDPCriteriaList                   [51] MetDPCriteriaList {bound}                      OPTIONAL
728                 },
729         tChangeOfPositionSpecificInfo           [51] SEQUENCE {
730                 locationInformation                                     [50] LocationInformation                                OPTIONAL,
731                 ...,
732         metDPCriteriaList                   [51] MetDPCriteriaList {bound}                      OPTIONAL
733                 },
734         dpSpecificInfoAlt                                   [52] DpSpecificInfoAlt {bound}
735         }
736 -- Indicates the call related information specific to the event.
737
738 EventSpecificInformationSMS ::= CHOICE {
739         o-smsFailureSpecificInfo                        [0] SEQUENCE {
740                 failureCause                                            [0] MO-SMSCause                                                 OPTIONAL,
741                 ...
742                 },
743         o-smsSubmissionSpecificInfo                     [1] SEQUENCE {
744                 -- no specific info defined-
745                 ...
746                 },
747         t-smsFailureSpecificInfo                        [2] SEQUENCE {
748                 failureCause                                            [0] MT-SMSCause                                                 OPTIONAL,
749                 ...
750                 },
751         t-smsDeliverySpecificInfo                       [3] SEQUENCE {
752                 -- no specific info defined-
753                 ...
754                 }
755         }
756
757 EventTypeBCSM ::= ENUMERATED {
758         collectedInfo                                           (2),
759         analyzedInformation                                     (3),
760         routeSelectFailure                                      (4),
761         oCalledPartyBusy                                        (5),
762         oNoAnswer                                                       (6),
763         oAnswer                                                         (7),
764         oMidCall                                                        (8),
765         oDisconnect                                                     (9),
766         oAbandon                                                        (10),
767         termAttemptAuthorized                           (12),
768         tBusy                                                           (13),
769         tNoAnswer                                                       (14),
770         tAnswer                                                         (15),
771         tMidCall                                                        (16),
772         tDisconnect                                                     (17),
773         tAbandon                                                        (18),
774         oTermSeized                                                     (19),
775         callAccepted                                            (27),
776         oChangeOfPosition                                       (50),
777         tChangeOfPosition                                       (51),
778         ...,
779         oServiceChange                                          (52),
780         tServiceChange                                          (53)
781         }
782 -- Indicates the BCSM detection point event.
783 -- Values analyzedInformation and termAttemptAuthorized may be used
784 -- for TDPs only.
785 -- Exception handling: reception of an unrecognized value shall be treated
786 -- like reception of no detection point.
787
788 EventTypeSMS ::= ENUMERATED {
789         sms-CollectedInfo                                       (1),
790         o-smsFailure                                            (2),
791         o-smsSubmission                                         (3),
792         sms-DeliveryRequested                           (11),
793         t-smsFailure                                            (12),
794         t-smsDelivery                                           (13)
795         }
796 -- Values sms-CollectedInfo and sms-DeliveryRequested may be used for TDPs only.
797
798 Extensions {PARAMETERS-BOUND : bound} ::= SEQUENCE SIZE (1..bound.&numOfExtensions) OF ExtensionField
799 ExtensionField ::= SEQUENCE {
800         type                                                            EXTENSION.&id ({SupportedExtensions}),
801                                                                                 -- shall identify the value of an EXTENSION type
802         criticality                                                     CriticalityType DEFAULT ignore,
803         value                                                           [1] EXTENSION.&ExtensionType ({SupportedExtensions}{@type}),
804         ...
805         }
806 -- This parameter indicates an extension of an argument data type.
807 -- Its content is network operator specific
808
809 FCIBillingChargingCharacteristics {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE(
810         bound.&minFCIBillingChargingLength .. bound.&maxFCIBillingChargingLength))
811         (CONSTRAINED BY {-- shall be the result of the BER-encoded value of type --
812         CAMEL-FCIBillingChargingCharacteristics {bound}})
813 -- This parameter indicates the billing and/or charging characteristics.
814 -- The violation of the UserDefinedConstraint shall be handled as an ASN.1 syntax error.
815
816 FCIGPRSBillingChargingCharacteristics {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE(
817         bound.&minFCIBillingChargingLength .. bound.&maxFCIBillingChargingLength))
818         (CONSTRAINED BY {-- shall be the result of the BER-encoded value of type -
819         CAMEL-FCIGPRSBillingChargingCharacteristics {bound}})
820 -- This parameter indicates the GPRS billing and/or charging characteristics.
821 -- The violation of the UserDefinedConstraint shall be handled as an ASN.1 syntax error.
822
823 FCISMSBillingChargingCharacteristics {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE(
824         bound.&minFCIBillingChargingLength .. bound.&maxFCIBillingChargingLength))
825         (CONSTRAINED BY {-- shall be the result of the BER-encoded value of type -
826         CAMEL-FCISMSBillingChargingCharacteristics {bound}})
827 -- This parameter indicates the SMS billing and/or charging characteristics.
828 -- The violation of the UserDefinedConstraint shall be handled as an ASN.1 syntax error.
829
830 ForwardServiceInteractionInd ::= SEQUENCE {
831         conferenceTreatmentIndicator            [1] OCTET STRING (SIZE(1))                                      OPTIONAL,
832         -- acceptConferenceRequest      'xxxx xx01'B
833         -- rejectConferenceRequest      'xxxx xx10'B
834         -- if absent from Connect or ContinueWithArgument,
835         -- then CAMEL service does not affect conference treatment
836         callDiversionTreatmentIndicator         [2] OCTET STRING (SIZE(1))                                      OPTIONAL,
837         -- callDiversionAllowed         'xxxx xx01'B
838         -- callDiversionNotAllowed      'xxxx xx10'B
839         -- if absent from Connect or ContinueWithArgument,
840         -- then CAMEL service does not affect call diversion treatment
841         callingPartyRestrictionIndicator        [4] OCTET STRING (SIZE(1))                                      OPTIONAL,
842         -- noINImpact                           'xxxx xx01'B
843         -- presentationRestricted       'xxxx xx10'B
844         -- if absent from Connect or ContinueWithArgument,
845         -- then CAMEL service does not affect calling party restriction treatment
846 ...
847         }
848
849 GapCriteria {PARAMETERS-BOUND : bound}::= CHOICE {
850         basicGapCriteria                                        BasicGapCriteria {bound},
851         compoundGapCriteria                                     CompoundCriteria {bound}
852         }
853
854 GapIndicators ::= SEQUENCE {
855         duration                                                        [0] Duration,
856         gapInterval                                                     [1] Interval,
857         ...
858         }
859 -- Indicates the call gapping characteristics.
860 -- No call gapping when gapInterval equals 0.
861
862 GapOnService ::= SEQUENCE {
863         serviceKey                                                      [0] ServiceKey,
864         ...
865         }
866
867 GapTreatment {PARAMETERS-BOUND : bound} ::= CHOICE {
868         informationToSend                                       [0] InformationToSend {bound},
869         releaseCause                                            [1] Cause {bound}
870         }
871 -- The default value for Cause is the same as in ISUP.
872
873 GenericNumber {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE(
874         bound.&minGenericNumberLength .. bound.&maxGenericNumberLength))
875 -- Indicates a generic number. Refer to ETSI EN 300 356-1 [23] Generic number for encoding.
876
877 GenericNumbers {PARAMETERS-BOUND : bound} ::= SET SIZE(1..bound.&numOfGenericNumbers) OF GenericNumber {bound}
878
879 GPRS-QoS ::= CHOICE {
880         short-QoS-format                                        [0]     QoS-Subscribed,
881         long-QoS-format                                         [1]     Ext-QoS-Subscribed
882         }
883 -- Short-QoS-format shall be sent for QoS in pre GSM release 99 format.
884 -- Long-QoS-format shall be sent for QoS in GSM release 99 (and beyond) format.
885 -- Which of the two QoS formats shall be sent is determined by which QoS
886 -- format is available in the SGSN at the time of sending.
887 -- Refer to 3GPP TS 29.002 [11] for encoding details of QoS-Subscribed and
888 -- Ext-QoS-Subscribed.
889
890 GPRS-QoS-Extension ::= SEQUENCE {
891         supplement-to-long-QoS-format           [0] Ext2-QoS-Subscribed,
892         ...
893         }
894
895 GPRSCause {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE
896                         (bound.&minGPRSCauseLength .. bound.&maxGPRSCauseLength))
897 -- Shall only include the cause value.
898
899 --      00000000   Unspecified
900 --  All other values shall be interpreted as 'Unspecified'.
901 --
902 -- This parameter indicates the cause for CAP interface related information.
903 -- The GPRSCause mapping to/from GTP cause values specified in the 3GPP TS 29.060 [12] and
904 -- to/from 3GPP TS 24.008 [9] GMM cause and SM cause values are outside scope of this document.
905
906 GPRSEvent ::= SEQUENCE {
907         gPRSEventType                                           [0] GPRSEventType,
908         monitorMode                                                     [1] MonitorMode
909         }
910 --  Indicates the GPRS event information for monitoring.
911
912 GPRSEventSpecificInformation {PARAMETERS-BOUND : bound} ::= CHOICE {
913
914         attachChangeOfPositionSpecificInformation
915                                                                                 [0] SEQUENCE {
916                         locationInformationGPRS                 [0] LocationInformationGPRS                             OPTIONAL,
917                         ...
918                         },
919
920         pdp-ContextchangeOfPositionSpecificInformation
921                                                                                 [1] SEQUENCE {
922                         accessPointName                                 [0]     AccessPointName {bound}                         OPTIONAL,
923                         chargingID                                              [1]     GPRSChargingID                                          OPTIONAL,
924                         locationInformationGPRS                 [2] LocationInformationGPRS                     OPTIONAL,
925                         endUserAddress                                  [3]     EndUserAddress {bound}                          OPTIONAL,
926                         qualityOfService                                [4]     QualityOfService                                        OPTIONAL,
927                         timeAndTimeZone                                 [5]     TimeAndTimezone {bound}                         OPTIONAL,
928                         ...,
929                         gGSNAddress                                             [6]     GSN-Address                                                     OPTIONAL
930                         },
931
932         detachSpecificInformation                       [2] SEQUENCE {
933                         initiatingEntity                                [0] InitiatingEntity                                    OPTIONAL,
934                         ...,
935                         routeingAreaUpdate                              [1]     NULL                                                            OPTIONAL
936                         },
937
938         disconnectSpecificInformation           [3] SEQUENCE {
939                         initiatingEntity                                [0] InitiatingEntity                                    OPTIONAL,
940                         ...,
941                         routeingAreaUpdate                              [1]     NULL                                                            OPTIONAL
942                         },
943
944         pDPContextEstablishmentSpecificInformation
945                                                                                 [4]     SEQUENCE {
946                         accessPointName                                 [0]     AccessPointName {bound}                         OPTIONAL,
947                         endUserAddress                                  [1]     EndUserAddress {bound}                          OPTIONAL,
948                         qualityOfService                                [2]     QualityOfService                                        OPTIONAL,
949                         locationInformationGPRS                 [3] LocationInformationGPRS                     OPTIONAL,
950                         timeAndTimeZone                                 [4]     TimeAndTimezone {bound}                         OPTIONAL,
951                         pDPInitiationType                               [5] PDPInitiationType                                   OPTIONAL,
952                         ...,
953                         secondaryPDP-context                    [6] NULL                                                                OPTIONAL
954                         },
955
956         pDPContextEstablishmentAcknowledgementSpecificInformation
957                                                                                 [5]     SEQUENCE {
958                         accessPointName                                 [0]     AccessPointName {bound}                         OPTIONAL,
959                         chargingID                                              [1] GPRSChargingID                                              OPTIONAL,
960                         endUserAddress                                  [2]     EndUserAddress {bound}                          OPTIONAL,
961                         qualityOfService                                [3]     QualityOfService                                        OPTIONAL,
962                         locationInformationGPRS                 [4] LocationInformationGPRS                     OPTIONAL,
963                         timeAndTimeZone                                 [5]     TimeAndTimezone {bound}                         OPTIONAL,
964                         ...,
965                         gGSNAddress                                             [6]     GSN-Address                                                     OPTIONAL
966                         }
967                 }
968
969 GPRSEventType ::= ENUMERATED {
970         attach                                                          (1),
971         attachChangeOfPosition                          (2),
972         detached                                                        (3),
973         pdp-ContextEstablishment                        (11),
974         pdp-ContextEstablishmentAcknowledgement (12),
975         disconnect                                                      (13),
976         pdp-ContextChangeOfPosition                     (14)
977         }
978
979 InbandInfo {PARAMETERS-BOUND : bound} ::= SEQUENCE {
980         messageID                                                       [0] MessageID {bound},
981         numberOfRepetitions                                     [1] INTEGER (1..127)                                            OPTIONAL,
982         duration                                                        [2] INTEGER (0..32767)                                          OPTIONAL,
983         interval                                                        [3] INTEGER (0..32767)                                          OPTIONAL,
984 ...
985         }
986 -- Interval is the time in seconds between each repeated announcement. Duration is the total
987 -- amount of time in seconds, including repetitions and intervals.
988 -- The end of announcement is either the end of duration or numberOfRepetitions,
989 -- whatever comes first.
990 -- duration with value 0 indicates infinite duration
991
992 InformationToSend {PARAMETERS-BOUND : bound} ::= CHOICE {
993         inbandInfo                                                      [0] InbandInfo {bound},
994         tone                                                            [1] Tone
995         }
996
997 InitiatingEntity ::= ENUMERATED {
998         mobileStation                                           (0),
999         sgsn                                                    (1),
1000         hlr                                                     (2),
1001         ggsn                                                    (3)
1002         }
1003
1004 InitiatorOfServiceChange ::= ENUMERATED {
1005         a-side                                                  (0),
1006         b-side                                                  (1)
1007         }
1008
1009 InvokeID ::= TCInvokeIdSet
1010
1011 IPRoutingAddress {PARAMETERS-BOUND : bound} ::= CalledPartyNumber {bound}
1012 -- Indicates the routeing address for the IP.
1013
1014 IPSSPCapabilities {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE(
1015         bound.&minIPSSPCapabilitiesLength .. bound.&maxIPSSPCapabilitiesLength))
1016 --  Indicates the gsmSRF resources available. The parameter has two parts, a standard and a
1017 --  bilateral part. The standard part indicates capabilities defined as optional in CAP
1018 --  that shall be recognised (but not necessarily supported) by a gsmSCF. The bilateral
1019 --  part contains further information that is not specified in this standard, but which is set
1020 --  according to bilateral agreements between network operators and/or equipment vendors.
1021 --  The last octet of the standard part is indicated by bit 7 being set to 0, otherwise Bit 7 of
1022 --  a standard part octet is set to 1 indicating that the standard part continues in the following
1023 --  octet. Coding is as follows:
1024
1025 --  Octet 1                                     Standard Part for CAP
1026 --  Bit Value                           Meaning
1027 --  0   0                                       IPRoutingAddress not supported
1028 --              1                                       IPRoutingAddress supported
1029 --  1   0                                       VoiceBack not supported
1030 --              1                                       VoiceBack supported
1031 --  2   0                                       VoiceInformation not supported, via speech recognition
1032 --              1                                       VoiceInformation supported, via speech recognition
1033 --  3   0                                       VoiceInformation not supported, via voice recognition
1034 --              1                                       VoiceInformation supported, via voice recognition
1035 --  4   0                                       Generation of voice announcements from Text not supported
1036 --              1                                       Generation of voice announcements from Text supported
1037 --  5   -                                       Reserved
1038 --  6   -                                       Reserved
1039 --  7   0                                       End of standard part
1040 --              1                                       This value is reserved in CAP
1041 --
1042 --  Octets 2 to 4                       Bilateral Part: Network operator/equipment vendor specific
1043
1044 LegOrCallSegment {PARAMETERS-BOUND : bound} ::= CHOICE {
1045         callSegmentID                                           [0] CallSegmentID {bound},
1046         legID                                                           [1] LegID
1047         }
1048
1049 LegType ::= OCTET STRING (SIZE(1))
1050 leg1 LegType    ::= '01'H
1051 leg2 LegType    ::= '02'H
1052
1053 LocationInformationGPRS         ::= SEQUENCE {
1054         cellGlobalIdOrServiceAreaIdOrLAI        [0] OCTET STRING (SIZE(5..7))                           OPTIONAL,
1055         routeingAreaIdentity                            [1] RAIdentity                                                          OPTIONAL,
1056         geographicalInformation                         [2] GeographicalInformation                                     OPTIONAL,
1057         sgsn-Number                                                     [3] ISDN-AddressString                                          OPTIONAL,
1058         selectedLSAIdentity                                     [4] LSAIdentity                                                         OPTIONAL,
1059         extensionContainer                                      [5] ExtensionContainer                                          OPTIONAL,
1060         ...,
1061         sai-Present                                                     [6] NULL                                                                        OPTIONAL
1062 }
1063 -- cellGlobalIdOrServiceAreaIdOrLAI shall contain the value part of the
1064 -- CellGlobalIdOrServiceAreaIdFixedLength type or the LAIFixedLength type (i.e. excluding tags
1065 -- and lengths) as defined in 3GPP TS 29.002 [13].
1066 -- sai-Present indicates that the cellGlobalIdOrServiceAreaIdOrLAI parameter contains
1067 -- a Service Area Identity.
1068
1069 LocationNumber {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE (
1070         bound.&minLocationNumberLength .. bound.&maxLocationNumberLength))
1071 -- Indicates the Location Number for the calling party.
1072 -- Refer to ETSI EN 300 356-1 [23] for encoding.
1073
1074 LowLayerCompatibility {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE (
1075         bound.&minLowLayerCompatibilityLength .. bound.&maxLowLayerCompatibilityLength))
1076 -- indicates the LowLayerCompatibility for the calling party.
1077 -- Refer to 3GPP TS 24.008 [9] for encoding.
1078 -- It shall be coded as in the value part defined in 3GPP TS 24.008.
1079 -- i.e. the 3GPP TS 24.008 IEI and 3GPP TS 24.008 octet length indicator
1080 -- shall not be included.
1081
1082 MessageID {PARAMETERS-BOUND : bound} ::= CHOICE {
1083         elementaryMessageID                                     [0] Integer4,
1084         text                                                            [1] SEQUENCE {
1085                 messageContent                                          [0] IA5String (SIZE(
1086                         bound.&minMessageContentLength .. bound.&maxMessageContentLength)),
1087                 attributes                                                      [1] OCTET STRING (SIZE(
1088                         bound.&minAttributesLength .. bound.&maxAttributesLength))                              OPTIONAL
1089         },
1090         elementaryMessageIDs                            [29] SEQUENCE SIZE (1.. bound.&numOfMessageIDs) OF Integer4,
1091         variableMessage                                         [30] SEQUENCE {
1092                 elementaryMessageID                                     [0] Integer4,
1093                 variableParts                                           [1] SEQUENCE SIZE (1..5) OF VariablePart {bound}
1094                 }
1095         }
1096 -- Use of the text parameter is network operator/equipment vendor specific.
1097
1098 MetDPCriteriaList {PARAMETERS-BOUND : bound} ::= SEQUENCE SIZE (1..bound.&numOfChangeOfPositionControlInfo) OF MetDPCriterion {bound}
1099
1100 MetDPCriterion {PARAMETERS-BOUND : bound} ::= CHOICE {
1101         enteringCellGlobalId                            [0] CellGlobalIdOrServiceAreaIdFixedLength,
1102         leavingCellGlobalId                                     [1] CellGlobalIdOrServiceAreaIdFixedLength,
1103         enteringServiceAreaId                           [2] CellGlobalIdOrServiceAreaIdFixedLength,
1104         leavingServiceAreaId                            [3] CellGlobalIdOrServiceAreaIdFixedLength,
1105         enteringLocationAreaId                          [4] LAIFixedLength,
1106         leavingLocationAreaId                           [5] LAIFixedLength,
1107         inter-SystemHandOverToUMTS                      [6] NULL,
1108         inter-SystemHandOverToGSM                       [7] NULL,
1109         inter-PLMNHandOver                                      [8] NULL,
1110         inter-MSCHandOver                                       [9] NULL,
1111         metDPCriterionAlt                                       [10] MetDPCriterionAlt {bound}
1112 }
1113 -- The enteringCellGlobalId and leavingCellGlobalId shall contain a Cell Global Identification. 
1114 -- The enteringServiceAreaId and leavingServiceAreaId shall contain a Service Area Identification.
1115
1116 MetDPCriterionAlt {PARAMETERS-BOUND : bound} ::= SEQUENCE {
1117         ...
1118         }
1119
1120 MidCallControlInfo ::= SEQUENCE {
1121         minimumNumberOfDigits                           [0]     INTEGER (1..30) DEFAULT 1,
1122         maximumNumberOfDigits                           [1]     INTEGER (1..30) DEFAULT 30,
1123         endOfReplyDigit                                         [2]     OCTET STRING (SIZE (1..2))                              OPTIONAL,
1124         cancelDigit                                                     [3]     OCTET STRING (SIZE (1..2))                              OPTIONAL,
1125         startDigit                                                      [4]     OCTET STRING (SIZE (1..2))                              OPTIONAL,
1126         interDigitTimeout                                       [6]     INTEGER (1..127) DEFAULT 10,
1127         ...
1128         }
1129 --
1130 -- - minimumNumberOfDigits                      specifies the minumum number of digits that shall be collected
1131 -- - maximumNumberOfDigits                      specifies the maximum number of digits that shall be collected
1132 -- - endOfReplyDigit                            specifies the digit string that denotes the end of the digits
1133 --                                                                      to be collected.
1134 -- - cancelDigit                                        specifies the digit string that indicates that the input shall
1135 --                                                                      be erased and digit collection shall start afresh.
1136 -- - startDigit                                         specifies the digit string that denotes the start of the digits
1137 --                                                                      to be collected.
1138 -- - interDigitTimeout                          specifies the maximum duration in seconds between successive
1139 --                                                                      digits.
1140 --
1141 -- endOfReplyDigit, cancelDigit and startDigit shall contain digits in the range 0..9, '*' and '#'
1142 -- only. The collected digits string, reported to the gsmSCF, shall include the endOfReplyDigit and
1143 -- the startDigit, if present.
1144 --
1145 -- endOfReplyDigit, cancelDigit and startDigit shall be encoded as BCD digits. Each octet shall
1146 -- contain one BCD digit, in the 4 least significant bits of each octet.
1147 -- The following encoding shall be used for the over-decadic digits: 1011 (*), 1100 (#).
1148
1149 MonitorMode ::= ENUMERATED {
1150         interrupted                                                     (0),
1151         notifyAndContinue                                       (1),
1152         transparent                                                     (2)
1153         }
1154 -- Indicates the event is relayed and/or processed by the SSP.
1155 -- Transparent means that the gsmSSF or gprsSSF does not notify the gsmSCF of the event.
1156 -- For the use of this parameter refer to the procedure descriptions in clause 11.
1157 -- For the RequestNotificationCharging operation, 'interrupted' shall not be used in MonitorMode.
1158
1159 MO-SMSCause ::= ENUMERATED {
1160         systemFailure                                           (0),
1161         unexpectedDataValue                                     (1),
1162         facilityNotSupported                            (2),
1163         sM-DeliveryFailure                                      (3),
1164         releaseFromRadioInterface                       (4)
1165         }
1166 -- MO SMS error values which are reported to gsmSCF.
1167 -- Most of these values are received from the SMSC as a response to
1168 -- MO-ForwardSM operation.
1169
1170 MT-SMSCause ::= OCTET STRING (SIZE (1))
1171 -- This variable is sent to the gsmSCF for a Short Message delivery failure
1172 -- notification.
1173 -- If the delivery failure is due to RP-ERROR RPDU received from the MS,
1174 -- then MT-SMSCause shall be set to the RP-Cause component in the RP-ERROR RPDU.
1175 -- Refer to 3GPP TS 24.011 [10] for the encoding of RP-Cause values.
1176 -- Otherwise, if the delivery failure is due to internal failure in the MSC or SGSN
1177 -- or time-out from the MS, then MT-SMSCause shall be set to 'Protocol error,
1178 -- unspecified', as defined in 3GPP TS 24.011 [10].
1179
1180 NAOliInfo ::= OCTET STRING (SIZE (1))
1181 --  NA Oli information takes the same value as defined in ANSI T1.113-1995 [92]
1182 --  e.g.        '3D'H  - Decimal value 61 - Cellular Service (Type 1)
1183 --                      '3E'H  - Decimal value 62 - Cellular Service (Type 2)
1184 --                      '3F'H  - Decimal value 63 - Cellular Service (roaming)
1185
1186 NatureOfServiceChange ::= ENUMERATED {
1187         userInitiated                                           (0),
1188         networkInitiated                                        (1)
1189         }
1190
1191 NumberOfDigits ::= INTEGER (1..255)
1192 --  Indicates the number of digits to be collected.
1193
1194 OCSIApplicable ::= NULL
1195 --  Indicates that the Originating CAMEL Subscription Information, if present, shall be
1196 --  applied on the outgoing call leg created with a Connect operation. For the use of this
1197 --  parameter see 3GPP TS 23.078 [7].
1198
1199 OriginalCalledPartyID {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE(
1200         bound.&minOriginalCalledPartyIDLength .. bound.&maxOriginalCalledPartyIDLength))
1201 --  Indicates the original called number. Refer to ETSI EN 300 356-1 [23] Original Called Number
1202 --  for encoding.
1203
1204 PDPID ::= OCTET STRING (SIZE (1))
1205 --      PDP Identifier is a counter used to identify a specific PDP Context within a control
1206 --      relationship between gprsSSF and gsmSCF.
1207
1208 PDPInitiationType ::= ENUMERATED {
1209         mSInitiated                                                     (0),
1210         networkInitiated                                        (1)
1211         }
1212
1213 QualityOfService ::= SEQUENCE {
1214         requested-QoS                                           [0]     GPRS-QoS                                                                OPTIONAL,
1215         subscribed-QoS                                          [1]     GPRS-QoS                                                                OPTIONAL,
1216         negotiated-QoS                                          [2]     GPRS-QoS                                                                OPTIONAL,
1217         ...,
1218         requested-QoS-Extension                         [3]     GPRS-QoS-Extension                                              OPTIONAL,
1219         subscribed-QoS-Extension                        [4]     GPRS-QoS-Extension                                              OPTIONAL,
1220         negotiated-QoS-Extension                        [5]     GPRS-QoS-Extension                                              OPTIONAL
1221         }
1222
1223 ReceivingSideID ::= CHOICE {
1224         receivingSideID                                         [1] LegType
1225         }
1226 -- used to identify LegID in operations sent from gsmSSF to gsmSCF
1227
1228 RedirectingPartyID {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE (
1229         bound.&minRedirectingPartyIDLength .. bound.&maxRedirectingPartyIDLength))
1230 -- Indicates redirecting number.
1231 -- Refer to ETSI EN 300 356-1 [23] Redirecting number for encoding.
1232
1233 RequestedInformationList {PARAMETERS-BOUND : bound} ::= SEQUENCE SIZE (1.. numOfInfoItems) OF RequestedInformation {bound}
1234
1235 RequestedInformationTypeList ::= SEQUENCE SIZE (1.. numOfInfoItems) OF RequestedInformationType
1236
1237 RequestedInformation {PARAMETERS-BOUND : bound} ::= SEQUENCE {
1238         requestedInformationType                        [0] RequestedInformationType,
1239         requestedInformationValue                       [1] RequestedInformationValue {bound},
1240 ...
1241         }
1242
1243 RequestedInformationType ::= ENUMERATED {
1244         callAttemptElapsedTime                          (0),
1245         callStopTime                                            (1),
1246         callConnectedElapsedTime                        (2),
1247         releaseCause                                            (30)
1248         }
1249
1250 RequestedInformationValue {PARAMETERS-BOUND : bound} ::= CHOICE {
1251         callAttemptElapsedTimeValue                     [0] INTEGER (0..255),
1252         callStopTimeValue                                       [1] DateAndTime,
1253         callConnectedElapsedTimeValue           [2] Integer4,
1254         releaseCauseValue                                       [30] Cause {bound}
1255         }
1256 -- The callAttemptElapsedTimeValue is specified in seconds. The unit for the
1257 -- callConnectedElapsedTimeValue is 100 milliseconds
1258
1259 RPCause ::= OCTET STRING (SIZE (1))
1260 -- RP cause according to 3GPP TS 24.011 [10] or 3GPP TS 29.002 [11].
1261 -- GsmSCF shall send this cause in the ReleaseSMS operation.
1262 -- For a MO-SMS service, the MSC or SGSN shall send the RP Cause to the originating MS.
1263 -- It shall be used to overwrite the RP-Cause element in the RP-ERROR RPDU.
1264 -- For a MT-SMS service, the MSC or SGSN shall send the RP Cause to the sending SMS-GMSC.
1265 -- It shall be used to overwrite the RP-Cause element in the RP-ERROR RPDU.
1266
1267 ScfID {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE(
1268         bound.&minScfIDLength .. bound.&maxScfIDLength))
1269 -- defined by network operator.
1270 -- Indicates the gsmSCF identity.
1271
1272 SCIBillingChargingCharacteristics {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE (
1273         bound.&minSCIBillingChargingLength .. bound.&maxSCIBillingChargingLength))
1274         (CONSTRAINED BY {-- shall be the result of the BER-encoded value of type --
1275         CAMEL-SCIBillingChargingCharacteristics})
1276 -- Indicates AOC information to be sent to a Mobile Station
1277 -- The violation of the UserDefinedConstraint shall be handled as an ASN.1 syntax error.
1278
1279 SCIGPRSBillingChargingCharacteristics {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE (
1280         bound.&minSCIBillingChargingLength .. bound.&maxSCIBillingChargingLength))
1281         (CONSTRAINED BY {-- shall be the result of the BER-encoded value of type -
1282         CAMEL-SCIGPRSBillingChargingCharacteristics})
1283 -- Indicates AOC information to be sent to a Mobile Station
1284 -- The violation of the UserDefinedConstraint shall be handled as an ASN.1 syntax error.
1285
1286 SendingSideID ::= CHOICE {sendingSideID [0] LegType}
1287 -- used to identify LegID in operations sent from gsmSCF to gsmSSF
1288
1289 ServiceInteractionIndicatorsTwo ::= SEQUENCE {
1290         forwardServiceInteractionInd            [0]     ForwardServiceInteractionInd                    OPTIONAL,
1291         -- applicable to operations InitialDP, Connect and ContinueWithArgument.
1292         backwardServiceInteractionInd           [1]     BackwardServiceInteractionInd                   OPTIONAL,
1293         -- applicable to operations Connect and ContinueWithArgument.
1294         bothwayThroughConnectionInd                     [2] BothwayThroughConnectionInd                         OPTIONAL,
1295         -- applicable to ConnectToResource and EstablishTemporaryConnection
1296         connectedNumberTreatmentInd                     [4]     ConnectedNumberTreatmentInd                             OPTIONAL,
1297         -- applicable to Connect and ContinueWithArgument
1298         nonCUGCall                                                      [13] NULL                                                                       OPTIONAL,
1299         -- applicable to Connect and ContinueWithArgument
1300         -- indicates that no parameters for CUG shall be used for the call (i.e. the call shall
1301         -- be a non-CUG call).
1302         -- If not present, it indicates one of three things:
1303         --  a) continue with modified CUG information (when one or more of either CUG Interlock Code
1304         --     and Outgoing Access Indicator are present), or
1305         --  b) continue with original CUG information (when neither CUG Interlock Code or Outgoing
1306         --     Access Indicator are present), i.e. no IN impact.
1307         --  c) continue with the original non-CUG call.
1308         holdTreatmentIndicator                          [50] OCTET STRING (SIZE(1))                                     OPTIONAL,
1309         -- applicable to InitialDP, Connect and ContinueWithArgument
1310         -- acceptHoldRequest    'xxxx xx01'B
1311         -- rejectHoldRequest    'xxxx xx10'B
1312         -- if absent from Connect or ContinueWithArgument,
1313         -- then CAMEL service does not affect call hold treatment
1314         cwTreatmentIndicator                            [51] OCTET STRING (SIZE(1))                                     OPTIONAL,
1315         -- applicable to InitialDP, Connect and ContinueWithArgument
1316         -- acceptCw     'xxxx xx01'B
1317         -- rejectCw     'xxxx xx10'B
1318         -- if absent from Connect or ContinueWithArgument,
1319         -- then CAMEL service does not affect call waiting treatment
1320         ectTreatmentIndicator                           [52] OCTET STRING (SIZE(1))                                     OPTIONAL,
1321         -- applicable to InitialDP, Connect and ContinueWithArgument
1322         -- acceptEctRequest     'xxxx xx01'B
1323         -- rejectEctRequest     'xxxx xx10'B
1324         -- if absent from Connect or ContinueWithArgument,
1325         -- then CAMEL service does not affect explicit call transfer treatment
1326         ...
1327         }
1328
1329 SGSNCapabilities ::= OCTET STRING (SIZE (1))
1330
1331 --  Indicates the SGSN capabilities. The coding of the parameter is as follows:
1332 --  Bit Value                           Meaning
1333 --  0   0                                       AoC not supported by SGSN
1334 --              1                                       AoC supported by SGSN
1335 --  1   -                                       This bit is reserved in CAP V.3
1336 --  2   -                                       This bit is reserved in CAP V.3
1337 --  3   -                                       This bit is reserved in CAP V.3
1338 --  4   -                                       This bit is reserved in CAP V.3
1339 --  5   -                                       This bit is reserved in CAP V.3
1340 --  6   -                                       This bit is reserved in CAP V.3
1341 --  7   -                                       This bit is reserved in CAP V.3
1342
1343 SMS-AddressString ::= AddressString (SIZE (1 .. maxSMS-AddressStringLength))
1344 -- This data type is used to transport CallingPartyNumber for MT-SMS.
1345 -- If this data type is used for MO-SMS, then the maximum number of digits shall be 16.
1346 -- An SMS-AddressString may contain an alphanumeric character string. In this 
1347 -- case, a nature of address indicator '101'B is used, in accordance with 
1348 -- 3GPP TS 23.040 [6]. The address is coded in accordance with the GSM 7-bit 
1349 -- default alphabet definition and the SMS packing rules as specified in 
1350 -- 3GPP TS 23.038 [15] in this case.
1351
1352 maxSMS-AddressStringLength INTEGER ::= 11
1353
1354 SMSEvent ::= SEQUENCE {
1355         eventTypeSMS                                            [0] EventTypeSMS,
1356         monitorMode                                                     [1] MonitorMode
1357         }
1358
1359 TariffSwitchInterval ::= INTEGER (1 .. 86400)
1360 -- TariffSwitchInterval is measured in 1 second units
1361
1362 TimeAndTimezone {PARAMETERS-BOUND : bound} ::= OCTET STRING (SIZE(
1363         bound.&minTimeAndTimezoneLength .. bound.&maxTimeAndTimezoneLength))
1364 --  Indicates the time and timezone, relative to GMT. This parameter is BCD encoded.
1365 --  The year digit indicating millenium occupies bits 0-3 of the first octet, and the year
1366 --  digit indicating century occupies bits 4-7 of the first octet.
1367 --  The year digit indicating decade occupies bits 0-3 of the second octet, whilst the digit
1368 --  indicating the year within the decade occupies bits 4-7 of the second octet.
1369 --  The most significant month digit occupies bits 0-3 of the third octet, and the least
1370 --  significant month digit occupies bits 4-7 of the third octet.
1371 --  The most significant day digit occupies bits 0-3 of the fourth octet, and the least
1372 --  significant day digit occupies bits 4-7 of the fourth octet.
1373 --  The most significant hours digit occupies bits 0-3 of the fifth octet, and the least
1374 --  significant hours digit occupies bits 4-7 of the fifth octet.
1375 --  The most significant minutes digit occupies bits 0-3 of the sixth octet, and the least
1376 --  significant minutes digit occupies bits 4-7 of the sixth octet.
1377 --  The most significant seconds digit occupies bits 0-3 of the seventh octet, and the least
1378 --  significant seconds digit occupies bits 4-7 of the seventh octet.
1379 --
1380 --  The timezone information occupies the eighth octet. For the encoding of Timezone refer to
1381 --  3GPP TS 23.040 [6].
1382 --
1383 --  The BCD digits are packed and encoded as follows:
1384 --
1385 --  Bit  7  6  5   4  |  3  2  1  0
1386 --       2nd digit    | 1st digit          Octet 1
1387 --       3rd digit    | 4th digit          Octet 2
1388 --                       ..                   ..
1389 --       nth digit    | n-1th digit        Octet m
1390 --
1391 --       0000           digit 0
1392 --       0001           digit 1
1393 --       0010           digit 2
1394 --       0011           digit 3
1395 --       0100           digit 4
1396 --       0101           digit 5
1397 --       0110           digit 6
1398 --       0111           digit 7
1399 --       1000           digit 8
1400 --       1001           digit 9
1401 --       1010           spare
1402 --       1011           spare
1403 --       1100           spare
1404 --       1101           spare
1405 --       1110           spare
1406 --       1101           spare
1407 --
1408 -- where the leftmost bit of the digit is either bit 7 or bit 3 of the octet.
1409
1410 TimeIfNoTariffSwitch ::= INTEGER(0..864000)
1411 -- TimeIfNoTariffSwitch is measured in 100 millisecond intervals
1412
1413 TimeIfTariffSwitch ::= SEQUENCE {
1414         timeSinceTariffSwitch                           [0] INTEGER(0..864000),
1415         tariffSwitchInterval                            [1] INTEGER(1..864000)                                          OPTIONAL
1416         }
1417 -- timeSinceTariffSwitch and tariffSwitchInterval are measured in 100 millisecond intervals
1418
1419 TimeInformation ::= CHOICE {
1420         timeIfNoTariffSwitch                            [0] TimeIfNoTariffSwitch,
1421         timeIfTariffSwitch                                      [1] TimeIfTariffSwitch
1422         }
1423 -- Indicates call duration information
1424
1425 TimerID ::= ENUMERATED {
1426         tssf                                                            (0)
1427         }
1428 -- Indicates the timer to be reset.
1429
1430 TimerValue ::= Integer4
1431 -- Indicates the timer value (in seconds).
1432
1433 Tone ::= SEQUENCE {
1434         toneID                                                          [0] Integer4,
1435         duration                                                        [1] Integer4                                                            OPTIONAL,
1436 ...
1437         }
1438 -- The duration specifies the length of the tone in seconds, value 0 indicates infinite duration.
1439
1440 TPDataCodingScheme ::= OCTET STRING (SIZE (1))
1441 -- TP Data Coding Scheme according to 3GPP TS 23.040 [6]
1442
1443 TPProtocolIdentifier ::= OCTET STRING (SIZE (1))
1444 -- indicates the protocol used above the SM-Transfer Layer as specified in 3GPP TS 23.040 [6].
1445
1446 TPShortMessageSpecificInfo ::= OCTET STRING (SIZE (1))
1447 -- contains the 1st octect of the applicable TPDU or the SMS-COMMAND TPDU as specified in
1448 -- 3GPP TS 23.040 [6].
1449
1450 TPValidityPeriod ::= OCTET STRING (SIZE (1..7))
1451 -- indicates the length of the validity period or the absolute time of the validity
1452 -- period termination as specified in 3GPP TS 23.040 [6].
1453 -- the length of ValidityPeriod is either 1 octet or 7 octets
1454
1455 TransferredVolume ::= CHOICE {
1456         volumeIfNoTariffSwitch                          [0] INTEGER (0..4294967295),
1457         volumeIfTariffSwitch                            [1] SEQUENCE {
1458                 volumeSinceLastTariffSwitch                     [0]     INTEGER (0..4294967295),
1459                 volumeTariffSwitchInterval                      [1]     INTEGER (0..4294967295)                         OPTIONAL
1460                 }
1461         }
1462 --      volumeIfNoTariffSwitch, volumeSinceLastTariffSwitch and volumeTariffSwitchInterval
1463 --      are measured in bytes.
1464
1465 TransferredVolumeRollOver ::= CHOICE {
1466         rO-VolumeIfNoTariffSwitch                       [0] INTEGER (0..255),
1467         rO-VolumeIfTariffSwitch                         [1] SEQUENCE {
1468                 rO-VolumeSinceLastTariffSwitch          [0]     INTEGER (0..255)                                        OPTIONAL,
1469                 rO-VolumeTariffSwitchInterval           [1]     INTEGER (0..255)                                        OPTIONAL
1470                 }
1471         }
1472 --      rO-VolumeIfNoTariffSwitch, rO-VolumeSinceLastTariffSwitch and rO-VolumeTariffSwitchInterval
1473 --      present counters indicating the number of parameter range rollovers.
1474
1475 UnavailableNetworkResource ::= ENUMERATED {
1476         unavailableResources                            (0),
1477         componentFailure                                        (1),
1478         basicCallProcessingException            (2),
1479         resourceStatusFailure                           (3),
1480         endUserFailure                                          (4)
1481         }
1482 -- Indicates the network resource that failed.
1483
1484 VariablePart {PARAMETERS-BOUND : bound} ::= CHOICE {
1485         integer                                                         [0] Integer4,
1486         number                                                          [1] Digits {bound},     -- Generic digits
1487         time                                                            [2] OCTET STRING (SIZE(2)),     -- HH: MM, BCD coded
1488         date                                                            [3] OCTET STRING (SIZE(4)),     -- YYYYMMDD, BCD coded
1489         price                                                           [4] OCTET STRING (SIZE(4))
1490         }
1491 --  Indicates the variable part of the message. Time is BCD encoded.
1492 --  The most significant hours digit occupies bits 0-3 of the first octet, and the least
1493 --  significant digit occupies bits 4-7 of the first octet. The most significant minutes digit
1494 --  occupies bits 0-3 of the second octet, and the least significant digit occupies bits 4-7
1495 --  of the second octet.
1496 --
1497 --  Date is BCD encoded. The year digit indicating millenium occupies bits 0-3 of the first octet,
1498 --  and the year digit indicating century occupies bits 4-7 of the first octet. The year digit
1499 --  indicating decade occupies bits 0-3 of the second octet, whilst the digit indicating the year
1500 --  within the decade occupies bits 4-7 of the second octet.
1501 --  The most significant month digit occupies bits 0-3 of the third octet, and the least
1502 --  significant month digit occupies bits 4-7 of the third octet. The most significant day digit
1503 --  occupies bits 0-3 of the fourth octet, and the least significant day digit occupies bits 4-7
1504 --  of the fourth octet.
1505 --  Price is BCD encoded. The digit indicating hundreds of thousands occupies bits 0-3 of the
1506 --  first octet, and the digit indicating tens of thousands occupies bits 4-7 of the first octet.
1507 --  The digit indicating thousands occupies bits 0-3 of the second octet, whilst the digit
1508 --  indicating hundreds occupies bits 4-7 of the second octet. The digit indicating tens occupies
1509 --  bits 0-3 of the third octet, and the digit indicating 0 to 9 occupies bits 4-7 of the third
1510 --  octet. The tenths digit occupies bits 0-3 of the fourth octet, and the hundredths digit
1511 --  occupies bits 4-7 of the fourth octet.
1512 --
1513 --  For the encoding of digits in an octet, refer to the timeAndtimezone parameter
1514
1515 -- The Definition of range of constants follows
1516 numOfInfoItems INTEGER ::= 4
1517
1518 END