You can't return from inside a TRY/CATCH/ENDTRY block (see
[metze/wireshark/wip.git] / asn1 / gprscdr / GPRSChargingDataTypes.asn
1 -- $Id$
2 -- 3GPP TS 32.298 V6.1.0 (2005-09)
3 --GPRSChargingDataTypes {itu-t identified-organization (4) etsi (0) mobileDomain (0) gsmUmtsNetwork (x) charging (5) asn1Module (z) gprsChargingDataTypes (2) version1 (1)}
4 GPRSChargingDataTypes {itu-t (0) identified-organization (4) etsi (0) mobileDomain (0) charging (5) gprsChargingDataTypes (2) asn1Module (0) version1 (0)}
5
6 DEFINITIONS IMPLICIT TAGS       ::=
7
8 BEGIN
9
10 -- EXPORTS everything 
11
12 IMPORTS 
13
14 --CallDuration, CalledNumber, CallEventRecordType, CallingNumber, CallReferenceNumber, CellId, DefaultSMS-Handling, Diagnostics, Ext-GeographicalInformation, IMSI, IMEI, IPAddress, ISDN-AddressString, LCSCause, LCSClientExternalID, LCSClientIdentity, LCSClientInternalID, LCSClientType, LCS-Priority, LCSQoSInfo, LevelOfCAMELService, LocalSequenceNumber, LocationAreaAndCell, LocationAreaCode, LocationType, ManagementExtensions, MessageReference, MSISDN, NotificationToMSUser, PositioningData, RecordingEntity, ServiceKey, SMSResult, SmsTpDestinationNumber, TimeStamp
15 --
16 --FROM 3GPPGenericChargingDataTypes {itu-t identified-organization (4) etsi(0) mobileDomain (0) gsmUmtsNetwork (x) charging (y) asn1Module (z) genericChargingDataTypes (0) version1 (1)}
17
18
19 DefaultGPRS-Handling
20 FROM MAP-MS-DataTypes    { itu-t identified-organization (4) etsi (0) mobileDomain (0)
21 gsm-Network (1) modules (3) map-MS-DataTypes (11) version6 (6)  }
22 -- from TS 29.002 [60]
23
24
25 LocationMethod
26 FROM SS-DataTypes { itu-t identified-organization (4) etsi (0) mobileDomain (0) gsm-Access (2) modules (3) ss-DataTypes (2) version7 (7)}
27
28 -- from TS 24.080 [61] (editor\92s note: correct reference?)
29
30 --MBMS2G3GIndicator, FileRepairSupported, MBMSServiceType, MBMSUserServiceType, RequiredMBMSBearerCapabilities, MBMSSessionIdentity, TMGI, MBMSInformation
31
32
33 --FROM MBMSChargingDataTypes {itu-t identified-organization (4) etsi(0) mobileDomain (0) gsm-Network (1) charging (y)  asn1Module (z) mbmsChargingDataTypes (6) version1 (1)}
34 --FROM MBMSChargingDataTypes {itu-t (0) identified-organization (4) etsi(0) mobileDomain (0) charging (5) mbmsChargingDataTypes (8) asn1Module (0) version1 (0)}
35
36 -- Editor\92s note:  consider moving the above 2 items also into the generic module in order to avoid again copying from external sources.
37 ;
38
39 ------------------------------------------------------------------------------
40 --
41 --  GPRS CALL AND EVENT RECORDS
42 --
43 ------------------------------------------------------------------------------
44
45 GPRSCallEventRecord     ::= CHOICE 
46 --
47 -- Record values 20..27 are GPRS specific
48 -- Record values 29..30 are GPRS and MBMS specific
49 {
50         sgsnPDPRecord                   [20] SGSNPDPRecord,
51         ggsnPDPRecord                   [21] GGSNPDPRecord,
52         sgsnMMRecord                    [22] SGSNMMRecord,
53         sgsnSMORecord                   [23] SGSNSMORecord,
54         sgsnSMTRecord                   [24] SGSNSMTRecord,
55 --      sgsnLCTRecord                   [25] SGSNLCTRecord,
56 --      sgsnLCORecord                   [26] SGSNLCORecord,
57 --      sgsnLCNRecord                   [27] SGSNLCNRecord,
58         egsnPDPRecord                   [28] EGSNPDPRecord,
59         sgsnMBMSRecord                  [29] SGSNMBMSRecord,
60         ggsnMBMSRecord                  [30] GGSNMBMSRecord
61 }
62 -- Editor\92s note:  the acronyms for the LCS record types are not consistent with CS and the \93call event record type\94 notation.  They also contradict to the record type definitons below, so alignment is needed.
63
64 GGSNPDPRecord   ::= SET
65 {
66         recordType                                       [0] CallEventRecordType,
67         networkInitiation                        [1] NetworkInitiatedPDPContext OPTIONAL,
68         servedIMSI                                       [3] IMSI,
69         ggsnAddress                                      [4] GSNAddress,
70         chargingID                                       [5] ChargingID,
71         sgsnAddress                                      [6] SEQUENCE OF GSNAddress,
72         accessPointNameNI                        [7] AccessPointNameNI OPTIONAL,
73         pdpType                                          [8] PDPType OPTIONAL,
74         servedPDPAddress                         [9] PDPAddress OPTIONAL,
75         dynamicAddressFlag                       [11] DynamicAddressFlag OPTIONAL,
76         listOfTrafficVolumes             [12] SEQUENCE OF ChangeOfCharCondition OPTIONAL,
77         recordOpeningTime                        [13] TimeStamp,
78         duration                                         [14] CallDuration,
79         causeForRecClosing                       [15] CauseForRecClosing,
80         diagnostics                                      [16] Diagnostics OPTIONAL,
81         recordSequenceNumber             [17] INTEGER OPTIONAL,
82         nodeID                                           [18] NodeID OPTIONAL,
83         recordExtensions                         [19] ManagementExtensions OPTIONAL,
84         localSequenceNumber                      [20] LocalSequenceNumber OPTIONAL,
85         apnSelectionMode                         [21] APNSelectionMode OPTIONAL,
86         servedMSISDN                             [22] MSISDN OPTIONAL,
87         chargingCharacteristics          [23] ChargingCharacteristics,
88         chChSelectionMode                        [24] ChChSelectionMode OPTIONAL,
89         iMSsignalingContext                      [25] NULL OPTIONAL,
90         externalChargingID                       [26] OCTET STRING OPTIONAL,
91         sgsnPLMNIdentifier                       [27] PLMN-Id OPTIONAL,
92         pSFurnishChargingInformation [28] PSFurnishChargingInformation OPTIONAL,
93         servedIMEISV                             [29] IMEI OPTIONAL,
94         rATType                                          [30] RATType OPTIONAL,
95         mSTimeZone                                       [31] MSTimeZone OPTIONAL,
96         userLocationInformation          [32] OCTET STRING OPTIONAL,
97         cAMELChargingInformation         [33] OCTET STRING OPTIONAL
98         
99 }
100
101 EGSNPDPRecord   ::= SET
102 {
103         recordType                                       [0] CallEventRecordType,
104         networkInitiation                        [1] NetworkInitiatedPDPContext OPTIONAL,
105         servedIMSI                                       [3] IMSI,
106         ggsnAddress                                      [4] GSNAddress,
107         chargingID                                       [5] ChargingID,
108         sgsnAddress                                      [6] SEQUENCE OF GSNAddress,
109         accessPointNameNI                        [7] AccessPointNameNI OPTIONAL,
110         pdpType                                          [8] PDPType OPTIONAL,
111         servedPDPAddress                         [9] PDPAddress OPTIONAL,
112         dynamicAddressFlag                       [11] DynamicAddressFlag OPTIONAL,
113         listOfTrafficVolumes             [12] SEQUENCE OF ChangeOfCharCondition OPTIONAL,
114         recordOpeningTime                        [13] TimeStamp,
115         duration                                         [14] CallDuration,
116         causeForRecClosing                       [15] CauseForRecClosing,
117         diagnostics                                      [16] Diagnostics OPTIONAL,
118         recordSequenceNumber             [17] INTEGER OPTIONAL,
119         nodeID                                           [18] NodeID OPTIONAL,
120         recordExtensions                         [19] ManagementExtensions OPTIONAL,
121         localSequenceNumber                      [20] LocalSequenceNumber OPTIONAL,
122         apnSelectionMode                         [21] APNSelectionMode OPTIONAL,
123         servedMSISDN                             [22] MSISDN OPTIONAL,
124         chargingCharacteristics          [23] ChargingCharacteristics,
125         chChSelectionMode                        [24] ChChSelectionMode OPTIONAL,
126         iMSsignalingContext                      [25] NULL OPTIONAL,
127         externalChargingID                       [26] OCTET STRING OPTIONAL,
128         sgsnPLMNIdentifier                       [27] PLMN-Id OPTIONAL,
129         pSFurnishChargingInformation [28] PSFurnishChargingInformation OPTIONAL,
130         servedIMEISV                             [29] IMEI OPTIONAL,
131         rATType                                          [30] RATType OPTIONAL,
132         mSTimeZone                                       [31] MSTimeZone OPTIONAL,
133         userLocationInformation          [32] OCTET STRING OPTIONAL,
134         cAMELChargingInformation         [33] OCTET STRING OPTIONAL,
135         listOfServiceData                        [34] SEQUENCE OF ChangeOfServiceCondition OPTIONAL
136 }
137
138
139 SGSNMMRecord    ::= SET
140 {
141         recordType                                      [0] CallEventRecordType,
142         servedIMSI                                      [1] IMSI,
143         servedIMEI                                      [2] IMEI OPTIONAL,
144         sgsnAddress                                 [3] GSNAddress OPTIONAL,
145         msNetworkCapability                 [4] MSNetworkCapability OPTIONAL,
146         routingArea                                 [5] RoutingAreaCode OPTIONAL,
147         locationAreaCode                        [6] LocationAreaCode OPTIONAL,
148         cellIdentifier                          [7] CellId OPTIONAL,
149         changeLocation                          [8] SEQUENCE OF ChangeLocation OPTIONAL,
150         recordOpeningTime                       [9] TimeStamp,
151         duration                                        [10] CallDuration OPTIONAL, 
152         sgsnChange                                      [11] SGSNChange OPTIONAL,
153         causeForRecClosing                      [12] CauseForRecClosing,
154         diagnostics                                 [13] Diagnostics OPTIONAL,
155         recordSequenceNumber            [14] INTEGER OPTIONAL,
156         nodeID                                          [15] NodeID OPTIONAL,
157         recordExtensions                        [16] ManagementExtensions OPTIONAL,
158         localSequenceNumber                 [17] LocalSequenceNumber OPTIONAL,
159         servedMSISDN                            [18] MSISDN OPTIONAL,
160         chargingCharacteristics     [19] ChargingCharacteristics,       
161         cAMELInformationMM                  [20] CAMELInformationMM OPTIONAL,
162         rATType                                         [21] RATType OPTIONAL,
163         chChSelectionMode                       [22] ChChSelectionMode OPTIONAL
164 }
165
166 SGSNPDPRecord   ::= SET
167 {
168         recordType                                      [0] CallEventRecordType,
169         networkInitiation                       [1] NetworkInitiatedPDPContext OPTIONAL,
170         servedIMSI                                      [3] IMSI,
171         servedIMEI                                      [4] IMEI OPTIONAL,
172         sgsnAddress                                 [5] GSNAddress OPTIONAL,
173         msNetworkCapability                 [6] MSNetworkCapability OPTIONAL,
174         routingArea                                 [7] RoutingAreaCode OPTIONAL,
175         locationAreaCode                        [8] LocationAreaCode OPTIONAL,
176         cellIdentifier                          [9] CellId OPTIONAL,
177         chargingID                                      [10] ChargingID,
178         ggsnAddressUsed                     [11] GSNAddress,
179         accessPointNameNI                       [12] AccessPointNameNI OPTIONAL,
180         pdpType                                         [13] PDPType OPTIONAL,
181         servedPDPAddress                        [14] PDPAddress OPTIONAL,
182         listOfTrafficVolumes            [15] SEQUENCE OF ChangeOfCharCondition OPTIONAL,
183         recordOpeningTime                       [16] TimeStamp,
184         duration                                        [17] CallDuration,
185         sgsnChange                                      [18] SGSNChange OPTIONAL,
186         causeForRecClosing                      [19] CauseForRecClosing,
187         diagnostics                                 [20] Diagnostics OPTIONAL,
188         recordSequenceNumber            [21] INTEGER OPTIONAL,
189         nodeID                                          [22] NodeID OPTIONAL,
190         recordExtensions                        [23] ManagementExtensions OPTIONAL,
191         localSequenceNumber                 [24] LocalSequenceNumber OPTIONAL,
192         apnSelectionMode                        [25] APNSelectionMode OPTIONAL,
193         accessPointNameOI                       [26] AccessPointNameOI OPTIONAL,
194         servedMSISDN                            [27] MSISDN OPTIONAL,
195         chargingCharacteristics     [28] ChargingCharacteristics,
196         rATType                                         [29] RATType OPTIONAL,
197         cAMELInformationPDP             [30] CAMELInformationPDP OPTIONAL,
198         rNCUnsentDownlinkVolume     [31] DataVolumeGPRS OPTIONAL,
199         chChSelectionMode                       [32] ChChSelectionMode OPTIONAL,
200         dynamicAddressFlag                      [33] DynamicAddressFlag OPTIONAL
201 }
202
203 SGSNSMORecord   ::= SET
204 {
205         recordType                                      [0] CallEventRecordType,
206         servedIMSI                                      [1] IMSI,
207         servedIMEI                                      [2] IMEI OPTIONAL,
208         servedMSISDN                            [3] MSISDN OPTIONAL,
209         msNetworkCapability                 [4] MSNetworkCapability OPTIONAL,
210         serviceCentre                           [5] AddressString OPTIONAL,
211         recordingEntity                     [6] RecordingEntity OPTIONAL,
212         locationArea                            [7] LocationAreaCode OPTIONAL,
213         routingArea                                 [8] RoutingAreaCode OPTIONAL,
214         cellIdentifier                          [9] CellId OPTIONAL,
215         messageReference                        [10] MessageReference,
216         eventTimeStamp                  [11] TimeStamp, 
217         smsResult                                       [12] SMSResult OPTIONAL,
218         recordExtensions                        [13] ManagementExtensions OPTIONAL, 
219         nodeID                                          [14] NodeID OPTIONAL,
220         localSequenceNumber                 [15] LocalSequenceNumber OPTIONAL,
221         chargingCharacteristics     [16] ChargingCharacteristics,
222         rATType                                         [17] RATType OPTIONAL,
223         destinationNumber                       [18] SmsTpDestinationNumber OPTIONAL,
224         cAMELInformationSMS                 [19] CAMELInformationSMS OPTIONAL,
225         chChSelectionMode                       [20] ChChSelectionMode OPTIONAL
226 }
227
228 SGSNSMTRecord   ::= SET
229 {
230         recordType                              [0] CallEventRecordType,
231         servedIMSI                              [1] IMSI,
232         servedIMEI                              [2] IMEI OPTIONAL,
233         servedMSISDN                    [3] MSISDN OPTIONAL,
234         msNetworkCapability         [4] MSNetworkCapability OPTIONAL,
235         serviceCentre                   [5] AddressString OPTIONAL,
236         recordingEntity             [6] RecordingEntity OPTIONAL,
237         locationArea                    [7] LocationAreaCode OPTIONAL,
238         routingArea                         [8] RoutingAreaCode OPTIONAL,
239         cellIdentifier                  [9] CellId OPTIONAL,
240         eventTimeStamp              [10] TimeStamp,     
241         smsResult                               [11] SMSResult OPTIONAL,
242         recordExtensions                [12] ManagementExtensions OPTIONAL,
243         nodeID                                  [13] NodeID OPTIONAL,
244         localSequenceNumber         [14] LocalSequenceNumber OPTIONAL,
245         chargingCharacteristics [15] ChargingCharacteristics,
246         rATType                                 [16] RATType OPTIONAL,
247         chChSelectionMode               [17] ChChSelectionMode OPTIONAL,
248         cAMELInformationSMS             [18] CAMELInformationSMS OPTIONAL
249 }
250
251 SGSNMTLCSRecord                 ::= SET
252 {
253         recordType                              [0] CallEventRecordType,
254         recordingEntity                 [1] RecordingEntity,
255         lcsClientType                   [2] LCSClientType,
256         lcsClientIdentity               [3] LCSClientIdentity,
257         servedIMSI                              [4] IMSI,
258         servedMSISDN                    [5] MSISDN OPTIONAL,
259         sgsnAddress                             [6] GSNAddress OPTIONAL,
260         locationType                    [7] LocationType,
261         lcsQos                                  [8] LCSQoSInfo OPTIONAL,
262         lcsPriority                             [9] LCS-Priority OPTIONAL,
263         mlcNumber                               [10] ISDN-AddressString,
264         eventTimeStamp                  [11] TimeStamp,
265         measurementDuration             [12] CallDuration OPTIONAL,
266         notificationToMSUser    [13] NotificationToMSUser OPTIONAL,
267         privacyOverride                 [14] NULL OPTIONAL,
268         location                                [15] LocationAreaAndCell OPTIONAL,
269         routingArea                         [16] RoutingAreaCode OPTIONAL,
270         locationEstimate                [17] Ext-GeographicalInformation OPTIONAL,
271         positioningData                 [18] PositioningData OPTIONAL,
272         lcsCause                                [19] LCSCause OPTIONAL,
273         diagnostics                             [20] Diagnostics OPTIONAL,
274         nodeID                                  [21] NodeID OPTIONAL,
275         localSequenceNumber         [22] LocalSequenceNumber OPTIONAL,
276         chargingCharacteristics [23] ChargingCharacteristics,
277         chChSelectionMode               [24] ChChSelectionMode OPTIONAL,
278         rATType                                 [25] RATType OPTIONAL,
279         recordExtensions                [26] ManagementExtensions OPTIONAL,
280         causeForRecClosing              [27] CauseForRecClosing
281 }
282
283 SGSNMOLCSRecord                 ::= SET
284 {
285         recordType                              [0] CallEventRecordType,
286         recordingEntity                 [1] RecordingEntity,
287         lcsClientType                   [2] LCSClientType OPTIONAL,
288         lcsClientIdentity               [3] LCSClientIdentity OPTIONAL,
289         servedIMSI                              [4] IMSI,
290         servedMSISDN                    [5] MSISDN OPTIONAL,
291         sgsnAddress                             [6] GSNAddress OPTIONAL,
292         locationMethod                  [7] LocationMethod,
293         lcsQos                                  [8] LCSQoSInfo OPTIONAL,
294         lcsPriority                             [9] LCS-Priority OPTIONAL,
295         mlcNumber                               [10] ISDN-AddressString OPTIONAL,
296         eventTimeStamp                  [11] TimeStamp,
297         measurementDuration             [12] CallDuration OPTIONAL,
298         location                                [13] LocationAreaAndCell OPTIONAL,
299         routingArea                         [14] RoutingAreaCode OPTIONAL,
300         locationEstimate                [15] Ext-GeographicalInformation OPTIONAL,
301         positioningData                 [16] PositioningData OPTIONAL,
302         lcsCause                                [17] LCSCause OPTIONAL,
303         diagnostics                             [18] Diagnostics OPTIONAL,
304         nodeID                                  [19] NodeID OPTIONAL,
305         localSequenceNumber         [20] LocalSequenceNumber OPTIONAL,
306         chargingCharacteristics [21] ChargingCharacteristics,
307         chChSelectionMode               [22] ChChSelectionMode OPTIONAL,
308         rATType                                 [23] RATType OPTIONAL,
309         recordExtensions                [24] ManagementExtensions OPTIONAL,
310         causeForRecClosing              [25] CauseForRecClosing
311 }
312
313 SGSNNILCSRecord                 ::= SET
314 {
315         recordType                              [0] CallEventRecordType,
316         recordingEntity                 [1] RecordingEntity,
317         lcsClientType                   [2] LCSClientType OPTIONAL,
318         lcsClientIdentity               [3] LCSClientIdentity OPTIONAL,
319         servedIMSI                              [4] IMSI OPTIONAL,
320         servedMSISDN                    [5] MSISDN OPTIONAL,
321         sgsnAddress                             [6] GSNAddress OPTIONAL,
322         servedIMEI                              [7] IMEI OPTIONAL,
323         lcsQos                                  [8] LCSQoSInfo OPTIONAL,
324         lcsPriority                             [9] LCS-Priority OPTIONAL,
325         mlcNumber                               [10] ISDN-AddressString OPTIONAL,
326         eventTimeStamp                  [11] TimeStamp,
327         measurementDuration             [12] CallDuration OPTIONAL,
328         location                                [13] LocationAreaAndCell OPTIONAL,
329         routingArea                         [14] RoutingAreaCode OPTIONAL,
330         locationEstimate                [15] Ext-GeographicalInformation OPTIONAL,
331         positioningData                 [16] PositioningData OPTIONAL,
332         lcsCause                                [17] LCSCause OPTIONAL,
333         diagnostics                             [18] Diagnostics OPTIONAL,
334         nodeID                                  [19] NodeID OPTIONAL,
335         localSequenceNumber         [20] LocalSequenceNumber OPTIONAL,
336         chargingCharacteristics [21] ChargingCharacteristics,
337         chChSelectionMode               [22] ChChSelectionMode OPTIONAL,
338         rATType                                 [23] RATType OPTIONAL,
339         recordExtensions                [24] ManagementExtensions OPTIONAL,
340         causeForRecClosing              [25] CauseForRecClosing 
341 }
342
343 SGSNMBMSRecord  ::= SET
344 {
345         recordType                                       [0] CallEventRecordType,
346         ggsnAddress                                      [1] GSNAddress,
347         chargingID                                       [2] ChargingID,
348         listofDownstreamNodes            [3] SEQUENCE OF RouteingAreaCode,
349         accessPointNameNI                        [4] AccessPointNameNI OPTIONAL,
350         servedPDPAddress                         [5] PDPAddress OPTIONAL,
351         listOfTrafficVolumes             [6] SEQUENCE OF ChangeOfCharCondition OPTIONAL,
352         recordOpeningTime                        [7] TimeStamp,
353         duration                                         [8] CallDuration,
354         causeForRecClosing                       [9] CauseForRecClosing,
355         diagnostics                                      [10] Diagnostics OPTIONAL,
356         recordSequenceNumber             [11] INTEGER OPTIONAL,
357         nodeID                                           [12] NodeID OPTIONAL,
358         recordExtensions                         [13] ManagementExtensions OPTIONAL,
359         localSequenceNumber                      [14] LocalSequenceNumber OPTIONAL,
360         sgsnPLMNIdentifier                       [15] PLMN-Id OPTIONAL,
361         numberofReceivingUE                      [16] INTEGER OPTIONAL,
362         mbmsInformation                          [17] MBMSInformation OPTIONAL
363
364 }
365 -- WS no def found
366 RouteingAreaCode ::= OCTET STRING
367
368 GGSNMBMSRecord  ::= SET
369 {
370         recordType                                       [0] CallEventRecordType,
371         ggsnAddress                                      [1] GSNAddress,
372         chargingID                                       [2] ChargingID,
373         listofDownstreamNodes            [3] SEQUENCE OF GSNAddress,
374         accessPointNameNI                        [4] AccessPointNameNI OPTIONAL,
375         servedPDPAddress                         [5] PDPAddress OPTIONAL,
376         listOfTrafficVolumes             [6] SEQUENCE OF ChangeOfCharCondition OPTIONAL,
377         recordOpeningTime                        [7] TimeStamp,
378         duration                                         [8] CallDuration,
379         causeForRecClosing                       [9] CauseForRecClosing,
380         diagnostics                                      [10] Diagnostics OPTIONAL,
381         recordSequenceNumber             [11] INTEGER OPTIONAL,
382         nodeID                                           [12] NodeID OPTIONAL,
383         recordExtensions                         [13] ManagementExtensions OPTIONAL,
384         localSequenceNumber                      [14] LocalSequenceNumber OPTIONAL,
385         mbmsInformation                          [15] MBMSInformation OPTIONAL
386 }
387
388 ------------------------------------------------------------------------------
389 --
390 --  COMMON DATA TYPES
391 --
392 ------------------------------------------------------------------------------
393
394 AccessPointNameNI       ::= IA5String (SIZE(1..63))
395         --
396         -- Network Identifier part of APN in  dot representation.
397         -- For example, if the complete APN is 'apn1a.apn1b.apn1c.mnc022.mcc111.gprs'
398         -- NI is 'apn1a.apn1b.apn1c' and is presented in this form in the CDR..
399         --
400
401 AccessPointNameOI       ::= IA5String (SIZE(1..37))
402         --
403         -- Operator Identifier part of APN in dot representation.
404         -- In the 'apn1a.apn1b.apn1c.mnc022.mcc111.gprs' example, the OI portion is 'mnc022.mcc111.gprs'
405         -- and is presented in this form in the CDR.
406         --
407
408 APNSelectionMode::= ENUMERATED
409 {
410         --
411         -- See Information Elements TS 29.060 [75]
412         --
413         mSorNetworkProvidedSubscriptionVerified                         (0),
414         mSProvidedSubscriptionNotVerified                                       (1),
415         networkProvidedSubscriptionNotVerified                          (2)
416 }
417
418 CAMELAccessPointNameNI  ::= AccessPointNameNI
419
420 CAMELAccessPointNameOI  ::= AccessPointNameOI
421
422 CAMELInformationMM              ::= SET 
423 {
424         sCFAddress                                              [1] SCFAddress OPTIONAL,
425         serviceKey                                              [2]     ServiceKey OPTIONAL,
426         defaultTransactionHandling          [3] DefaultGPRS-Handling OPTIONAL,
427         numberOfDPEncountered               [4] NumberOfDPEncountered OPTIONAL,
428         levelOfCAMELService                         [5] LevelOfCAMELService OPTIONAL,
429         freeFormatData                                  [6] FreeFormatData OPTIONAL,
430         fFDAppendIndicator                      [7]     FFDAppendIndicator OPTIONAL
431 }
432
433 CAMELInformationPDP     ::= SET
434 {
435         sCFAddress                                              [1] SCFAddress OPTIONAL,
436         serviceKey                                              [2]     ServiceKey OPTIONAL,
437         defaultTransactionHandling          [3] DefaultGPRS-Handling OPTIONAL,
438         cAMELAccessPointNameNI              [4] CAMELAccessPointNameNI OPTIONAL,
439         cAMELAccessPointNameOI              [5] CAMELAccessPointNameOI OPTIONAL,
440         numberOfDPEncountered               [6] NumberOfDPEncountered OPTIONAL,
441         levelOfCAMELService                         [7] LevelOfCAMELService OPTIONAL,
442         freeFormatData                                  [8]     FreeFormatData OPTIONAL,
443         fFDAppendIndicator                      [9]     FFDAppendIndicator OPTIONAL
444 }
445
446 CAMELInformationSMS             ::= SET 
447 {
448         sCFAddress                                                              [1] SCFAddress OPTIONAL,
449         serviceKey                                                              [2]     ServiceKey OPTIONAL,
450         defaultSMSHandling                                              [3]     DefaultSMS-Handling OPTIONAL,
451         cAMELCallingPartyNumber                             [4] CallingNumber OPTIONAL,
452         cAMELDestinationSubscriberNumber                [5] SmsTpDestinationNumber OPTIONAL,
453         cAMELSMSCAddress                                                [6] AddressString OPTIONAL,
454         freeFormatData                                                  [7]     FreeFormatData OPTIONAL,
455         smsReferenceNumber                                              [8] CallReferenceNumber OPTIONAL
456 }
457
458 CategoryId ::= INTEGER
459 -- IP service flow identity (DCCA)
460 -- range of 4 byte (0..4294967259)
461
462 CauseForRecClosing      ::= INTEGER
463 {
464         --
465         -- In GGSN the value sGSNChange should be used for partial record
466         -- generation due to SGSN Address List Overflow
467         -- 
468         -- LCS related causes belong to the MAP error causes acc. TS 29.002
469         --
470         -- cause codes 0 to 15 are defined in TS 32.205 as 'CauseForTerm' (cause for termination)
471         --
472         normalRelease                                   (0),
473         abnormalRelease                         (4),
474         cAMELInitCallRelease                    (5),
475         volumeLimit                                     (16),
476         timeLimit                                               (17),
477         sGSNChange                                              (18),
478         maxChangeCond                                   (19),
479         managementIntervention          (20),
480     intraSGSNIntersystemChange          (21),
481         rATChange                                               (22),
482         unauthorizedRequestingNetwork   (52),
483         unauthorizedLCSClient                   (53),
484         positionMethodFailure                   (54),
485         unknownOrUnreachableLCSClient   (58),
486         listofDownstreamNodeChange              (59)
487 }
488
489 ChangeCondition ::= ENUMERATED
490 {
491         qoSChange                               (0),
492         tariffTime                              (1),
493         recordClosure                   (2)
494 }
495
496 ChangeOfCharCondition   ::= SEQUENCE
497 {
498         --
499         -- Used in PDP context record only
500         --
501         qosRequested                            [1] QoSInformation OPTIONAL,
502         qosNegotiated                           [2] QoSInformation OPTIONAL,
503         dataVolumeGPRSUplink            [3] DataVolumeGPRS,
504         dataVolumeGPRSDownlink      [4] DataVolumeGPRS,
505         changeCondition                     [5] ChangeCondition,
506         changeTime                                      [6] TimeStamp
507 }
508
509 ChangeOfServiceCondition        ::= SEQUENCE
510 {
511         --
512         -- Used for Flow based Charging service data container
513         --
514         categoryId                  [1] CategoryId,
515         ratingGroupId               [2] RatingGroupId,
516         localSequenceNumber                     [3] LocalSequenceNumber OPTIONAL,
517         timeOfFirstUsage            [4] TimeStamp,
518         timeOfLastUsage             [5] TimeStamp,
519         timeUsage                   [6] CallDuration,
520         serviceChangeCause              [7] ServiceChangeCause,
521         qoSInformationNeg           [8] QoSInformation OPTIONAL,
522         sgsn-Address                [9] GSNAddress OPTIONAL,
523         sGSNPLMNIdentifier          [10] SGSNPLMNIdentifier OPTIONAL,
524         datavolumeFBCUplink         [11] DataVolumeGPRS,
525         datavolumeFBCDownlink       [12] DataVolumeGPRS,
526         timeOfReport                            [13] TimeStamp,
527         rATType                                         [14] RATType OPTIONAL
528 }
529
530 -- WS No def. found
531 SGSNPLMNIdentifier ::= OCTET STRING
532 ChangeLocation  ::= SEQUENCE
533 {
534         --
535         -- used in SGSNMMRecord only
536         --
537         locationAreaCode                [0] LocationAreaCode,
538         routingAreaCode             [1] RoutingAreaCode,
539         cellId                                  [2] CellId OPTIONAL,
540         changeTime                              [3] TimeStamp
541 }
542
543 ChargingCharacteristics ::= OCTET STRING (SIZE(2))
544     --
545         --      Bit 0-3: Profile Index
546         --      Bit 4-15: For Behavior
547         --
548
549 ChargingID      ::= INTEGER (0..4294967295)
550         --
551         -- Generated in GGSN, part of PDP context, see TS 23.060
552         -- 0..4294967295 is equivalent to 0..2**32-1
553         --
554
555 ChChSelectionMode               ::= ENUMERATED
556 {
557         sGSNSupplied                            (0),    -- For GGSN only
558         subscriptionSpecific            (1),    -- For SGSN only
559         aPNSpecific                                     (2),    -- For SGSN only
560         homeDefault                                     (3),    -- For SGSN and GGSN
561         roamingDefault                          (4),    -- For SGSN and GGSN
562         visitingDefault                         (5)             -- For SGSN and GGSN
563 }
564
565
566 DataVolumeGPRS  ::= INTEGER
567         --
568         -- The volume of data transferred in octets.
569         --
570
571 DynamicAddressFlag      ::= BOOLEAN
572
573 ETSIAddress     ::= AddressString
574         --
575         -- First octet for nature of address, and numbering plan indicator (3 for X.121)
576         -- Other octets TBCD
577         -- See TS 29.002
578         --
579
580 FFDAppendIndicator      ::= BOOLEAN
581
582 FreeFormatData  ::=     OCTET STRING (SIZE(1..160))
583         --
584         -- Free formated data as sent in the FurnishChargingInformationGPRS 
585         -- see TS 29.078
586         --
587
588 GSNAddress      ::= IPAddress
589
590 MSNetworkCapability     ::= OCTET STRING (SIZE(1..8))
591         -- see 3G TS 24.008
592
593 NetworkInitiatedPDPContext      ::= BOOLEAN
594         --
595         -- Set to true if PDP context was initiated from network side
596         --
597
598 NodeID  ::= IA5String (SIZE(1..20))
599
600 NumberOfDPEncountered  ::= INTEGER
601
602 PDPAddress      ::= CHOICE
603 {
604         iPAddress                               [0] IPAddress,
605         eTSIAddress                         [1] ETSIAddress
606 }
607
608 PDPType         ::= OCTET STRING (SIZE(2))
609         --
610         -- OCTET 1: PDP Type Organization
611         -- OCTET 2: PDP Type Number
612         -- See TS 29.060 [75]
613         --
614
615 PLMN-Id         ::= OCTET STRING (SIZE (3))
616         --      This is a 1:1 copy from the Routing Area Identity (RAI) IE specified in TS 29.060 [75]
617         --  as follows:
618         --      OCTET 1 of PLMN-Id = OCTET 2 of RAI  
619         --      OCTET 2 of PLMN-Id = OCTET 3 of RAI  
620         --      OCTET 3 of PLMN-Id = OCTET 4 of RAI  
621
622
623
624
625 PSFurnishChargingInformation  ::= SEQUENCE
626
627 {
628         pSFreeFormatData                        [1] FreeFormatData,
629         pSFFDAppendIndicator        [2] FFDAppendIndicator OPTIONAL
630 }
631
632
633 QoSInformation  ::= OCTET STRING (SIZE (4..12))
634
635         --
636         -- This  octet string 
637         -- is a 1:1 copy of the contents (i.e. starting with octet 4) of the "Quality of 
638         -- service Profile" information element specified in 3GPP TS 29.060 [75].
639
640 --RATType       ::= INTEGER (0..255)
641 RATType ::= INTEGER 
642         --
643         -- Ihis integer is 1:1 copy of the RAT type value as defined in 3GPP TS 29.060 [75].
644         --
645 -- WS Extension
646 {
647         reserved                        (0),
648         utran                           (1),
649         geran                           (2),
650         wlan                            (3),
651         gan                                     (4),
652         hspa-evolution          (5)
653 }(0..255)
654
655 RoutingAreaCode ::= OCTET STRING (SIZE(1))
656         --
657         -- See TS 24.008        --
658         --
659
660 RatingGroupId ::= IA5String (SIZE(1..16))
661 -- DCC rule base identifier
662
663 ServiceChangeCause      ::= OCTET STRING (SIZE(4))
664         --
665 -- service container closure reason
666 -- (some of the values are non-exclusive)
667 --
668 -- cause values for Gn update/release and TTS 
669 --  H'00000001 (Bit  1): QoS change
670 --  H'00000002 (Bit  2): SGSN change
671 --  H'00000004 (Bit  3): SGSN PLMN ID change
672 --  H'00000008 (Bit  4): tariff time switch 
673 --  H'00000010 (Bit  5): PDP context release
674 --  H'00000020 (Bit  6): RAT change
675 --
676 -- cause values for service stop: 
677 --  H'00000040 (Bit  7): service idled out (= service release by QHT)
678 --  H'00000080 (Bit  8): not used
679 --  H'00000100 (Bit  9): configuration change
680 --  H'00000200 (Bit 10): service stop
681 --
682 -- cause values for service reauthorization request:
683 --  H'00000400 (Bit 11): time threshold reached
684 --  H'00000800 (Bit 12): volume threshold reached
685 --  H'00001000 (Bit 13): time exhausted
686 --  H'00002000 (Bit 14): volume exhausted
687 --
688 -- cause values for quota return:
689 --  H'00004000 (Bit 15): timeout 
690 --  H'00008000 (Bit 16): return requested 
691 --  H'00010000 (Bit 17): reauthorisation request
692 --                      Bit 18-32: are unused and will always be zero
693
694 SCFAddress      ::= AddressString
695         --
696         -- See TS 29.002        --
697         --
698
699 SGSNChange      ::= BOOLEAN
700         --
701         -- present if first record after inter SGSN routing area update
702         -- in new SGSN
703         --
704
705 -- WS Loacly imported MBMS structs
706
707 MBMSInformation                 ::= SET
708 {
709         tMGI                                            [1] TMGI OPTIONAL,
710         mBMSSessionIdentity                     [2] MBMSSessionIdentity OPTIONAL,
711         mBMSServiceType                         [3] MBMSServiceType OPTIONAL,
712         mBMSUserServiceType                     [4] MBMSUserServiceType OPTIONAL, -- only supported in the BM-SC
713         mBMS2G3GIndicator                       [5] MBMS2G3GIndicator OPTIONAL,
714         fileRepairSupported                     [6] BOOLEAN OPTIONAL,                     -- only supported in the BM-SC
715         rAI                                                     [7] RoutingAreaCode OPTIONAL,     -- only supported in the BM-SC
716         mBMSServiceArea                         [8] MBMSServiceArea OPTIONAL,
717         requiredMBMSBearerCaps          [9] RequiredMBMSBearerCapabilities OPTIONAL,
718         mBMSGWAddress                           [10] GSNAddress OPTIONAL,
719         cNIPMulticastDistribution       [11] CNIPMulticastDistribution OPTIONAL
720 }
721
722 MBMS2G3GIndicator               ::= ENUMERATED
723 {
724         t2G                             (0),    -- For GERAN access only
725         t3G                             (1),    -- For UTRAN access only
726         t2G-AND-3G              (2)     -- For both UTRAN and GERAN access
727 }
728
729
730 MBMSServiceType         ::= ENUMERATED
731 {
732         mULTICAST               (0),
733         bROADCAST               (1)
734 }
735
736 MBMSUserServiceType             ::= ENUMERATED
737 {
738         dOWNLOAD                (0),
739         sTREAMING               (1)
740 }
741
742 RequiredMBMSBearerCapabilities          ::= OCTET STRING (SIZE (3..14))
743
744 --
745 -- This  octet string 
746 -- is a 1:1 copy of the contents (i.e. starting with octet 5) of the "Quality of 
747 -- service Profile" information element specified in 3GPP TS 29.060 [75].
748 --
749
750
751 MBMSSessionIdentity             ::= OCTET STRING (SIZE (1))
752
753 --
754 -- This octet string is a 1:1 copy of the contents of the MBMS-Session-Identity
755 -- AVP specified in 3GPP TS 29.061 [82]
756 --
757
758 TMGI            ::= OCTET STRING
759 --
760 -- This  octet string 
761 -- is a 1:1 copy of the contents (i.e. starting with octet 4) of the "TMGI" 
762 -- information element specified in 3GPP TS 29.060 [75].
763 --
764
765 MBMSServiceArea         ::= OCTET STRING
766
767 CNIPMulticastDistribution               ::= ENUMERATED
768 {
769         nO-IP-MULTICAST                         (0),    
770         iP-MULTICAST                            (1)
771 }
772
773 END