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