Move /asn1 to /epan/dissectors
[metze/wireshark/wip.git] / epan / dissectors / asn1 / gprscdr / GPRSChargingDataTypesV1260.asn
1 --
2 -- 3GPP TS 32.298
3 --
4 GPRSChargingDataTypesV1260 {itu-t (0) identified-organization (4) etsi (0) mobileDomain (0) charging (5) gprsChargingDataTypes (2) asn1Module (0) version1 (0)}
5 DEFINITIONS IMPLICIT TAGS       ::=
6
7 BEGIN
8
9 -- EXPORTS everything 
10
11 IMPORTS 
12
13 -- AddressString,
14 CallDuration,
15 CallingNumber,
16 CellId,
17 Diagnostics, 
18 DiameterIdentity,
19 -- GSNAddress,
20 IPAddress,
21 LCSCause,
22 LCSClientIdentity,
23 LCSQoSInfo,
24 LevelOfCAMELService,
25 LocalSequenceNumber,
26 LocationAreaAndCell,
27 LocationAreaCode,
28 ManagementExtensions,
29 MBMSInformation,
30 MessageReference, 
31 MSISDN,
32 MSTimeZone,
33 PositioningData,
34 RecordingEntity,
35 RecordType,
36 RoutingAreaCode,
37 ServiceSpecificInfo,
38 SMSResult,
39 SmsTpDestinationNumber,
40 SubscriptionID,
41 TimeStamp
42 FROM GenericChargingDataTypes {itu-t (0) identified-organization (4) etsi(0) mobileDomain (0) charging (5) genericChargingDataTypes (0) asn1Module (0) version1 (0)}
43
44 DefaultGPRS-Handling,
45 DefaultSMS-Handling,
46 NotificationToMSUser,
47 ServiceKey
48 FROM MAP-MS-DataTypes {itu-t identified-organization (4) etsi (0) mobileDomain (0) gsm-Network (1) modules (3) map-MS-DataTypes (11) version15 (15)}
49 -- from TS 29.002 [214]
50
51 IMEI,
52 IMSI,
53 ISDN-AddressString,
54 RAIdentity
55 FROM MAP-CommonDataTypes {itu-t identified-organization (4) etsi (0) mobileDomain (0)gsm-Network (1) modules (3) map-CommonDataTypes (18) version15 (15)}
56 -- from TS 29.002 [214]
57
58 CallReferenceNumber
59 FROM MAP-CH-DataTypes {itu-t identified-organization (4) etsi (0) mobileDomain (0)gsm-Network (1) modules (3) map-CH-DataTypes (13) version15 (15)}
60 -- from TS 29.002 [214]
61
62 Ext-GeographicalInformation,
63 LCSClientType,
64 LCS-Priority,
65 LocationType
66 FROM MAP-LCS-DataTypes {itu-t identified-organization (4) etsi (0) mobileDomain (0) gsm-Network (1) modules (3) map-LCS-DataTypes (25) version15 (15) }
67 -- from TS 29.002 [214]
68
69 LocationMethod
70 FROM SS-DataTypes {itu-t identified-organization (4) etsi (0) mobileDomain (0) gsm-Access (2) modules (3) ss-DataTypes (2) version15 (15)}
71 -- from TS 24.080 [209] 
72
73 ;
74
75 --
76 --  GPRS RECORDS
77 --
78
79 GPRSRecord      ::= CHOICE 
80 --
81 -- Record values 20, 22..27 are specific
82 -- Record values 76, 77, 86 are MBMS specific
83 -- Record values 78,79 and 92, 95, 96 are EPC specific 
84 --
85 {
86         sgsnPDPRecord                   [20] SGSNPDPRecord,
87 -- WS bacward compabillity addition
88         ggsnPDPRecord                   [21] GGSNPDPRecordV750,
89 -- WS mod END
90         sgsnMMRecord                    [22] SGSNMMRecord,
91         sgsnSMORecord                   [23] SGSNSMORecord,
92         sgsnSMTRecord                   [24] SGSNSMTRecord,
93 --      sgsnMTLCSRecord                 [25] SGSNMTLCSRecord,
94 --      sgsnMOLCSRecord                 [26] SGSNMOLCSRecord,
95 --      sgsnNILCSRecord                 [27] SGSNNILCSRecord,
96 -- WS bacward compabillity addition
97         egsnPDPRecord                   [70] EGSNPDPRecordV750,
98 -- WS mod END
99 --      sgsnMBMSRecord                  [76] SGSNMBMSRecord,
100 --      ggsnMBMSRecord                  [77] GGSNMBMSRecord,
101         sGWRecord                               [78] SGWRecord,
102         pGWRecord                               [79] PGWRecord,
103
104 --      gwMBMSRecord                    [86] GWMBMSRecord,
105
106         tDFRecord                               [92] TDFRecord,
107
108         iPERecord                               [95] IPERecord,
109         ePDGRecord                              [96] EPDGRecord
110 }
111
112 SGWRecord       ::= SET
113 {
114         recordType                                      [0] RecordType,
115         servedIMSI                                      [3] IMSI OPTIONAL,
116         s-GWAddress                                     [4] GSNAddress,
117         chargingID                                      [5] ChargingID,
118         servingNodeAddress                      [6] SEQUENCE OF GSNAddress,
119         accessPointNameNI                       [7] AccessPointNameNI OPTIONAL,
120         pdpPDNType                                      [8] PDPType OPTIONAL,
121         servedPDPPDNAddress                     [9] PDPAddress OPTIONAL,
122         dynamicAddressFlag                      [11] DynamicAddressFlag OPTIONAL,
123         listOfTrafficVolumes            [12] SEQUENCE OF ChangeOfCharCondition OPTIONAL,
124         recordOpeningTime                       [13] TimeStamp,
125         duration                                        [14] CallDuration,
126         causeForRecClosing                      [15] CauseForRecClosing,
127         diagnostics                                     [16] Diagnostics OPTIONAL,
128         recordSequenceNumber            [17] INTEGER OPTIONAL,
129         nodeID                                          [18] NodeID OPTIONAL,
130         recordExtensions                        [19] ManagementExtensions OPTIONAL,
131         localSequenceNumber                     [20] LocalSequenceNumber OPTIONAL,
132         apnSelectionMode                        [21] APNSelectionMode OPTIONAL,
133         servedMSISDN                            [22] MSISDN OPTIONAL,
134         chargingCharacteristics         [23] ChargingCharacteristics,
135         chChSelectionMode                       [24] ChChSelectionMode OPTIONAL,
136         iMSsignalingContext                     [25] NULL OPTIONAL,
137         servingNodePLMNIdentifier       [27] PLMN-Id OPTIONAL,
138         servedIMEI                                      [29] IMEI OPTIONAL,
139         rATType                                         [30] RATType OPTIONAL,
140         mSTimeZone                                      [31] MSTimeZone OPTIONAL,
141         userLocationInformation         [32] OCTET STRING OPTIONAL,
142         sGWChange                                       [34] SGWChange OPTIONAL,
143         servingNodeType                         [35] SEQUENCE OF ServingNodeType,
144         p-GWAddressUsed                         [36] GSNAddress OPTIONAL,
145         p-GWPLMNIdentifier                      [37] PLMN-Id OPTIONAL,
146         startTime                                       [38] TimeStamp OPTIONAL,
147         stopTime                                        [39] TimeStamp OPTIONAL,
148         pDNConnectionChargingID         [40] ChargingID OPTIONAL,
149         iMSIunauthenticatedFlag         [41] NULL OPTIONAL,
150         userCSGInformation                      [42] UserCSGInformation OPTIONAL,
151         servedPDPPDNAddressExt          [43] PDPAddress OPTIONAL,
152         lowPriorityIndicator            [44] NULL OPTIONAL,
153         dynamicAddressFlagExt           [47] DynamicAddressFlag OPTIONAL,
154         s-GWiPv6Address                         [48] GSNAddress OPTIONAL,
155         servingNodeiPv6Address          [49] SEQUENCE OF GSNAddress OPTIONAL,
156         p-GWiPv6AddressUsed                     [50] GSNAddress OPTIONAL,
157         retransmission                          [51] NULL OPTIONAL,
158         userLocationInfoTime            [52] TimeStamp OPTIONAL,
159         cNOperatorSelectionEnt          [53] CNOperatorSelectionEntity OPTIONAL,
160         presenceReportingAreaInfo       [54] PresenceReportingAreaInfo OPTIONAL,
161         lastUserLocationInformation     [55] OCTET STRING OPTIONAL,
162         lastMSTimeZone                          [56] MSTimeZone OPTIONAL
163 }
164
165 PGWRecord       ::= SET
166 --
167 --      List of traffic volumes is only applicable when Charging per IP-CAN session is active and
168 --      IP-CAN bearer charging is being performed for the session.
169 --
170 --      EPC QoS Information is only applicable when Charging per IP-CAN session is active.
171 --
172 {
173         recordType                                              [0] RecordType,
174         servedIMSI                                              [3] IMSI OPTIONAL,
175         p-GWAddress                                             [4] GSNAddress,
176         chargingID                                              [5] ChargingID,
177         servingNodeAddress                              [6] SEQUENCE OF GSNAddress,
178         accessPointNameNI                               [7] AccessPointNameNI OPTIONAL,
179         pdpPDNType                                              [8] PDPType OPTIONAL,
180         servedPDPPDNAddress                             [9] PDPAddress OPTIONAL,
181         dynamicAddressFlag                              [11] DynamicAddressFlag OPTIONAL,
182         listOfTrafficVolumes                    [12] SEQUENCE OF ChangeOfCharCondition OPTIONAL,
183         recordOpeningTime                               [13] TimeStamp,
184         duration                                                [14] CallDuration,
185         causeForRecClosing                              [15] CauseForRecClosing,
186         diagnostics                                             [16] Diagnostics OPTIONAL,
187         recordSequenceNumber                    [17] INTEGER OPTIONAL,
188         nodeID                                                  [18] NodeID OPTIONAL,
189         recordExtensions                                [19] ManagementExtensions OPTIONAL,
190         localSequenceNumber                             [20] LocalSequenceNumber OPTIONAL,
191         apnSelectionMode                                [21] APNSelectionMode OPTIONAL,
192         servedMSISDN                                    [22] MSISDN OPTIONAL,
193         chargingCharacteristics                 [23] ChargingCharacteristics,
194         chChSelectionMode                               [24] ChChSelectionMode OPTIONAL,
195         iMSsignalingContext                             [25] NULL OPTIONAL,
196         servingNodePLMNIdentifier               [27] PLMN-Id OPTIONAL,
197         pSFurnishChargingInformation    [28] PSFurnishChargingInformation OPTIONAL,
198         servedIMEI                                              [29] IMEI OPTIONAL,
199         rATType                                                 [30] RATType OPTIONAL,
200         mSTimeZone                                              [31] MSTimeZone OPTIONAL,
201         userLocationInformation                 [32] OCTET STRING OPTIONAL,
202         cAMELChargingInformation                [33] OCTET STRING OPTIONAL,
203         listOfServiceData                               [34] SEQUENCE OF ChangeOfServiceCondition OPTIONAL,
204         servingNodeType                                 [35] SEQUENCE OF ServingNodeType,
205         servedMNNAI                                             [36] SubscriptionID OPTIONAL,
206         p-GWPLMNIdentifier                              [37] PLMN-Id OPTIONAL,
207         startTime                                               [38] TimeStamp OPTIONAL,
208         stopTime                                                [39] TimeStamp OPTIONAL,
209         served3gpp2MEID                                 [40] OCTET STRING OPTIONAL,
210         pDNConnectionChargingID                 [41] ChargingID OPTIONAL,
211         iMSIunauthenticatedFlag                 [42] NULL OPTIONAL,
212         userCSGInformation                              [43] UserCSGInformation OPTIONAL,
213         threeGPP2UserLocationInformation        [44] OCTET STRING OPTIONAL,
214         servedPDPPDNAddressExt                          [45] PDPAddress OPTIONAL,
215         lowPriorityIndicator                            [46] NULL OPTIONAL,
216         dynamicAddressFlagExt                           [47] DynamicAddressFlag OPTIONAL,
217         servingNodeiPv6Address                          [49] SEQUENCE OF GSNAddress OPTIONAL,
218         p-GWiPv6AddressUsed                                     [50] GSNAddress OPTIONAL,
219         tWANUserLocationInformation                     [51] TWANUserLocationInfo OPTIONAL,
220         retransmission                                          [52] NULL OPTIONAL,
221         userLocationInfoTime                            [53] TimeStamp OPTIONAL,
222         cNOperatorSelectionEnt                  [54] CNOperatorSelectionEntity OPTIONAL,
223         ePCQoSInformation                                       [55] EPCQoSInformation OPTIONAL,
224         presenceReportingAreaInfo                       [56] PresenceReportingAreaInfo OPTIONAL,
225         lastUserLocationInformation                     [57] OCTET STRING OPTIONAL,
226         lastMSTimeZone                                          [58] MSTimeZone OPTIONAL
227 }
228
229 TDFRecord       ::= SET
230 {
231         recordType                                              [0] RecordType,
232         servedIMSI                                              [3] IMSI OPTIONAL,
233         p-GWAddress                                             [4] GSNAddress,
234         servingNodeAddress                              [6] SEQUENCE OF GSNAddress,
235         accessPointNameNI                               [7] AccessPointNameNI OPTIONAL,
236         pdpPDNType                                              [8] PDPType OPTIONAL,
237         servedPDPPDNAddress                             [9] PDPAddress OPTIONAL,
238         dynamicAddressFlag                              [11] DynamicAddressFlag OPTIONAL,
239         recordOpeningTime                               [13] TimeStamp,
240         duration                                                [14] CallDuration,
241         causeForRecClosing                              [15] CauseForRecClosing,
242         diagnostics                                             [16] Diagnostics OPTIONAL,
243         recordSequenceNumber                    [17] INTEGER OPTIONAL,
244         nodeID                                                  [18] NodeID OPTIONAL,
245         recordExtensions                                [19] ManagementExtensions OPTIONAL,
246         localSequenceNumber                             [20] LocalSequenceNumber OPTIONAL,
247         apnSelectionMode                                [21] APNSelectionMode OPTIONAL,
248         servedMSISDN                                    [22] MSISDN OPTIONAL,
249         chargingCharacteristics                 [23] ChargingCharacteristics,
250         chChSelectionMode                               [24] ChChSelectionMode OPTIONAL,
251         servingNodePLMNIdentifier               [27] PLMN-Id OPTIONAL,
252         pSFurnishChargingInformation    [28] PSFurnishChargingInformation OPTIONAL,
253         servedIMEI                                              [29] IMEI OPTIONAL,
254         rATType                                                 [30] RATType OPTIONAL,
255         mSTimeZone                                              [31] MSTimeZone OPTIONAL,
256         userLocationInformation                 [32] OCTET STRING OPTIONAL,
257         listOfServiceData                               [34] SEQUENCE OF ChangeOfServiceCondition OPTIONAL,
258         servingNodeType                                 [35] SEQUENCE OF ServingNodeType,
259         servedMNNAI                                             [36] SubscriptionID OPTIONAL,
260         p-GWPLMNIdentifier                              [37] PLMN-Id OPTIONAL,
261         startTime                                               [38] TimeStamp OPTIONAL,
262         stopTime                                                [39] TimeStamp OPTIONAL,
263         served3gpp2MEID                                 [40] OCTET STRING OPTIONAL,
264         pDNConnectionChargingID                 [41] ChargingID,
265         userCSGInformation                              [43] UserCSGInformation OPTIONAL,
266         threeGPP2UserLocationInformation        [44] OCTET STRING OPTIONAL,
267         servedPDPPDNAddressExt                          [45] PDPAddress OPTIONAL,
268         dynamicAddressFlagExt                           [47] DynamicAddressFlag OPTIONAL,
269         servingNodeiPv6Address                          [49] SEQUENCE OF GSNAddress OPTIONAL,
270         p-GWiPv6AddressUsed                                     [50] GSNAddress OPTIONAL,
271         tWANUserLocationInformation                     [51] TWANUserLocationInfo OPTIONAL,
272         retransmission                                          [52] NULL OPTIONAL,
273         tDFAddress                                                      [53] GSNAddress,
274         tDFiPv6AddressUsed                                      [54] GSNAddress OPTIONAL,
275         tDFPLMNIdentifier                                       [55] PLMN-Id OPTIONAL,
276         servedFixedSubsID                                       [56] FixedSubsID OPTIONAL,
277         accessLineIdentifier                            [57] AccessLineIdentifier OPTIONAL,
278         presenceReportingAreaInfo                       [58] PresenceReportingAreaInfo OPTIONAL,        fixedUserLocationInformation            [59] FixedUserLocationInformation OPTIONAL
279
280 }
281
282 IPERecord       ::= SET
283 {
284         recordType                                              [0] RecordType,
285         servedIMSI                                              [3] IMSI OPTIONAL,
286         iPEdgeAddress                                   [4] GSNAddress,
287         chargingID                                              [5] ChargingID,
288         accessPointNameNI                               [7] AccessPointNameNI OPTIONAL,
289         iPCANsessionType                                [8] PDPType OPTIONAL,
290         servedIPCANsessionAddress               [9] PDPAddress OPTIONAL,
291         dynamicAddressFlag                              [11] DynamicAddressFlag OPTIONAL, 
292         listOfTrafficVolumes                    [12] SEQUENCE OF ChangeOfCharCondition OPTIONAL,
293         recordOpeningTime                               [13] TimeStamp,
294         duration                                                [14] CallDuration,
295         causeForRecClosing                              [15] CauseForRecClosing,
296         diagnostics                                             [16] Diagnostics OPTIONAL,
297         recordSequenceNumber                    [17] INTEGER OPTIONAL,
298         nodeID                                                  [18] NodeID OPTIONAL,
299         recordExtensions                                [19] ManagementExtensions OPTIONAL,
300         localSequenceNumber                             [20] LocalSequenceNumber OPTIONAL,
301         servedMSISDN                                    [22] MSISDN OPTIONAL,
302         chargingCharacteristics                 [23] ChargingCharacteristics,
303         chChSelectionMode                               [24] ChChSelectionMode OPTIONAL,
304         pSFurnishChargingInformation    [28] PSFurnishChargingInformation OPTIONAL,
305         servedIMEI                                              [29] IMEI OPTIONAL,
306         listOfServiceData                               [34] SEQUENCE OF ChangeOfServiceCondition OPTIONAL,
307         servedMNNAI                                             [36] SubscriptionID OPTIONAL,
308         iPEdgeOperatorIdentifier                [37] PLMN-Id OPTIONAL,
309         startTime                                               [38] TimeStamp OPTIONAL,
310         stopTime                                                [39] TimeStamp OPTIONAL,
311         servedIPCANsessionAddressExt    [45] PDPAddress OPTIONAL,
312         dynamicAddressFlagExt                   [47] DynamicAddressFlag OPTIONAL,
313         iPEdgeiPv6AddressUsed                   [50] GSNAddress OPTIONAL,
314         retransmission                                  [52] NULL OPTIONAL,
315         servedFixedSubsID                               [55] FixedSubsID OPTIONAL,
316         accessLineIdentifier                    [56] AccessLineIdentifier OPTIONAL,
317         fixedUserLocationInformation    [57] FixedUserLocationInformation OPTIONAL
318 }
319
320 EPDGRecord      ::= SET
321 {
322         recordType                                      [0] RecordType,
323         servedIMSI                                      [3] IMSI OPTIONAL,
324         ePDGAddressUsed                         [4] GSNAddress,
325         chargingID                                      [5] ChargingID,
326         accessPointNameNI                       [7] AccessPointNameNI OPTIONAL,
327         pdpPDNType                                      [8] PDPType OPTIONAL,
328         servedPDPPDNAddress                     [9] PDPAddress OPTIONAL,
329         dynamicAddressFlag                      [11] DynamicAddressFlag OPTIONAL,
330         listOfTrafficVolumes            [12] SEQUENCE OF ChangeOfCharCondition OPTIONAL,
331         recordOpeningTime                       [13] TimeStamp,
332         duration                                        [14] CallDuration,
333         causeForRecClosing                      [15] CauseForRecClosing,
334         diagnostics                                     [16] Diagnostics OPTIONAL,
335         recordSequenceNumber            [17] INTEGER OPTIONAL,
336         nodeID                                          [18] NodeID OPTIONAL,
337         recordExtensions                        [19] ManagementExtensions OPTIONAL,
338         localSequenceNumber                     [20] LocalSequenceNumber OPTIONAL,
339         apnSelectionMode                        [21] APNSelectionMode OPTIONAL,
340         servedMSISDN                            [22] MSISDN OPTIONAL,
341         chargingCharacteristics         [23] ChargingCharacteristics,
342         chChSelectionMode                       [24] ChChSelectionMode OPTIONAL,
343         iMSsignalingContext                     [25] NULL OPTIONAL,
344         servedIMEI                                      [29] IMEI OPTIONAL,
345         rATType                                         [30] RATType OPTIONAL, 
346         sGWChange                                       [34] SGWChange OPTIONAL,
347         p-GWAddressUsed                         [36] GSNAddress OPTIONAL,
348         p-GWPLMNIdentifier                      [37] PLMN-Id OPTIONAL,
349         startTime                                       [38] TimeStamp OPTIONAL,
350         stopTime                                        [39] TimeStamp OPTIONAL,
351         pDNConnectionChargingID         [40] ChargingID OPTIONAL,
352         servedPDPPDNAddressExt          [43] PDPAddress OPTIONAL,
353         dynamicAddressFlagExt           [47] DynamicAddressFlag OPTIONAL,
354         ePDGiPv6AddressUsed                     [48] GSNAddress OPTIONAL,
355         p-GWiPv6AddressUsed                     [50] GSNAddress OPTIONAL,
356         retransmission                          [51] NULL OPTIONAL
357 }
358
359
360 SGSNMMRecord    ::= SET
361 {
362         recordType                                      [0] RecordType,
363         servedIMSI                                      [1] IMSI,
364         servedIMEI                                      [2] IMEI OPTIONAL,
365         sgsnAddress                                     [3] GSNAddress OPTIONAL,
366         msNetworkCapability                     [4] MSNetworkCapability OPTIONAL,
367         routingArea                                     [5] RoutingAreaCode OPTIONAL,
368         locationAreaCode                        [6] LocationAreaCode OPTIONAL,
369         cellIdentifier                          [7] CellId OPTIONAL,
370         changeLocation                          [8] SEQUENCE OF ChangeLocation OPTIONAL,
371         recordOpeningTime                       [9] TimeStamp,
372         duration                                        [10] CallDuration OPTIONAL, 
373         sgsnChange                                      [11] SGSNChange OPTIONAL,
374         causeForRecClosing                      [12] CauseForRecClosing,
375         diagnostics                                     [13] Diagnostics OPTIONAL,
376         recordSequenceNumber            [14] INTEGER OPTIONAL,
377         nodeID                                          [15] NodeID OPTIONAL,
378         recordExtensions                        [16] ManagementExtensions OPTIONAL,
379         localSequenceNumber                     [17] LocalSequenceNumber OPTIONAL,
380         servedMSISDN                            [18] MSISDN OPTIONAL,
381         chargingCharacteristics         [19] ChargingCharacteristics,   
382         cAMELInformationMM                      [20] CAMELInformationMM OPTIONAL,
383         rATType                                         [21] RATType OPTIONAL,
384         chChSelectionMode                       [22] ChChSelectionMode OPTIONAL,
385         cellPLMNId                                      [23] PLMN-Id OPTIONAL,
386         servingNodePLMNIdentifier       [24] PLMN-Id OPTIONAL,
387         cNOperatorSelectionEnt          [25] CNOperatorSelectionEntity OPTIONAL
388 }
389
390 SGSNPDPRecord   ::= SET
391 {
392         recordType                                      [0] RecordType,
393         networkInitiation                       [1] NetworkInitiatedPDPContext OPTIONAL,
394         servedIMSI                                      [3] IMSI OPTIONAL,
395         servedIMEI                                      [4] IMEI OPTIONAL,
396         sgsnAddress                                     [5] GSNAddress OPTIONAL,
397         msNetworkCapability                     [6] MSNetworkCapability OPTIONAL,
398         routingArea                                     [7] RoutingAreaCode OPTIONAL,
399         locationAreaCode                        [8] LocationAreaCode OPTIONAL,
400         cellIdentifier                          [9] CellId OPTIONAL,
401         chargingID                                      [10] ChargingID,
402         ggsnAddressUsed                         [11] GSNAddress,
403         accessPointNameNI                       [12] AccessPointNameNI OPTIONAL,
404         pdpType                                         [13] PDPType OPTIONAL,
405         servedPDPAddress                        [14] PDPAddress OPTIONAL,
406         listOfTrafficVolumes            [15] SEQUENCE OF ChangeOfCharCondition OPTIONAL,
407         recordOpeningTime                       [16] TimeStamp,
408         duration                                        [17] CallDuration,
409         sgsnChange                                      [18] SGSNChange OPTIONAL,
410         causeForRecClosing                      [19] CauseForRecClosing,
411         diagnostics                                     [20] Diagnostics OPTIONAL,
412         recordSequenceNumber            [21] INTEGER OPTIONAL,
413         nodeID                                          [22] NodeID OPTIONAL,
414         recordExtensions                        [23] ManagementExtensions OPTIONAL,
415         localSequenceNumber                     [24] LocalSequenceNumber OPTIONAL,
416         apnSelectionMode                        [25] APNSelectionMode OPTIONAL,
417         accessPointNameOI                       [26] AccessPointNameOI OPTIONAL,
418         servedMSISDN                            [27] MSISDN OPTIONAL,
419         chargingCharacteristics         [28] ChargingCharacteristics,
420         rATType                                         [29] RATType OPTIONAL,
421         cAMELInformationPDP             [30] CAMELInformationPDP OPTIONAL,
422         rNCUnsentDownlinkVolume         [31] DataVolumeGPRS OPTIONAL,
423         chChSelectionMode                       [32] ChChSelectionMode OPTIONAL,
424         dynamicAddressFlag                      [33] DynamicAddressFlag OPTIONAL,
425         iMSIunauthenticatedFlag         [34] NULL OPTIONAL,
426         userCSGInformation                      [35] UserCSGInformation OPTIONAL,
427         servedPDPPDNAddressExt          [36] PDPAddress OPTIONAL,
428         lowPriorityIndicator            [37] NULL OPTIONAL,
429         servingNodePLMNIdentifier       [38] PLMN-Id OPTIONAL,
430         cNOperatorSelectionEnt          [39] CNOperatorSelectionEntity OPTIONAL
431 }
432
433 SGSNSMORecord   ::= SET
434 --
435 --   also for MME UE originated SMS record
436 --
437 {
438         recordType                                      [0] RecordType,
439         servedIMSI                                      [1] IMSI,
440         servedIMEI                                      [2] IMEI OPTIONAL,
441         servedMSISDN                            [3] MSISDN OPTIONAL,
442         msNetworkCapability                     [4] MSNetworkCapability OPTIONAL,
443         serviceCentre                           [5] AddressString OPTIONAL,
444         recordingEntity                         [6] RecordingEntity OPTIONAL,
445         locationArea                            [7] LocationAreaCode OPTIONAL,
446         routingArea                                     [8] RoutingAreaCode OPTIONAL,
447         cellIdentifier                          [9] CellId OPTIONAL,
448         messageReference                        [10] MessageReference,
449         eventTimeStamp                          [11] TimeStamp,
450         smsResult                                       [12] SMSResult OPTIONAL,
451         recordExtensions                        [13] ManagementExtensions OPTIONAL,
452         nodeID                                          [14] NodeID OPTIONAL,
453         localSequenceNumber                     [15] LocalSequenceNumber OPTIONAL,
454         chargingCharacteristics         [16] ChargingCharacteristics,
455         rATType                                         [17] RATType OPTIONAL,
456         destinationNumber                       [18] SmsTpDestinationNumber OPTIONAL,
457         cAMELInformationSMS                     [19] CAMELInformationSMS OPTIONAL,
458         chChSelectionMode                       [20] ChChSelectionMode OPTIONAL,
459         servingNodeType                         [21] ServingNodeType,
460         servingNodeAddress                      [22] GSNAddress OPTIONAL,
461         servingNodeiPv6Address          [23] GSNAddress OPTIONAL,
462         mMEName                                         [24] DiameterIdentity OPTIONAL,
463         mMERealm                                        [25] DiameterIdentity OPTIONAL,
464         userLocationInformation         [26] OCTET STRING OPTIONAL,
465         retransmission                          [27] NULL OPTIONAL,
466         servingNodePLMNIdentifier       [28] PLMN-Id OPTIONAL,
467         userLocationInfoTime            [29] TimeStamp OPTIONAL,
468         cNOperatorSelectionEnt          [30] CNOperatorSelectionEntity OPTIONAL
469 }
470
471 SGSNSMTRecord   ::= SET
472 --
473 --   also for MME UE terminated SMS record
474 --
475 {
476         recordType                                       [0] RecordType,
477         servedIMSI                                       [1] IMSI,
478         servedIMEI                                       [2] IMEI OPTIONAL,
479         servedMSISDN                             [3] MSISDN OPTIONAL,
480         msNetworkCapability                      [4] MSNetworkCapability OPTIONAL,
481         serviceCentre                            [5] AddressString OPTIONAL,
482         recordingEntity                          [6] RecordingEntity OPTIONAL,
483         locationArea                             [7] LocationAreaCode OPTIONAL,
484         routingArea                                      [8] RoutingAreaCode OPTIONAL,
485         cellIdentifier                           [9] CellId OPTIONAL,
486         eventTimeStamp                           [10] TimeStamp,
487         smsResult                                        [11] SMSResult OPTIONAL,
488         recordExtensions                         [12] ManagementExtensions OPTIONAL,
489         nodeID                                           [13] NodeID OPTIONAL,
490         localSequenceNumber                      [14] LocalSequenceNumber OPTIONAL,
491         chargingCharacteristics          [15] ChargingCharacteristics,
492         rATType                                          [16] RATType OPTIONAL,
493         chChSelectionMode                        [17] ChChSelectionMode OPTIONAL,
494         cAMELInformationSMS                      [18] CAMELInformationSMS OPTIONAL,
495         originatingAddress                       [19] AddressString OPTIONAL,
496         servingNodeType                          [20] ServingNodeType,
497         servingNodeAddress                       [21] GSNAddress OPTIONAL,
498         servingNodeiPv6Address           [22] GSNAddress OPTIONAL,
499         mMEName                                          [23] DiameterIdentity OPTIONAL,
500         mMERealm                                         [24] DiameterIdentity OPTIONAL,
501         userLocationInformation          [25] OCTET STRING OPTIONAL,
502         retransmission                           [26] NULL OPTIONAL,
503         servingNodePLMNIdentifier        [27] PLMN-Id OPTIONAL,
504         userLocationInfoTime             [28] TimeStamp OPTIONAL,
505         cNOperatorSelectionEnt           [29] CNOperatorSelectionEntity OPTIONAL
506 }
507
508 SGSNMTLCSRecord                 ::= SET
509 {
510         recordType                                       [0] RecordType,
511         recordingEntity                          [1] RecordingEntity,
512         lcsClientType                            [2] LCSClientType,
513         lcsClientIdentity                        [3] LCSClientIdentity,
514         servedIMSI                                       [4] IMSI,
515         servedMSISDN                             [5] MSISDN OPTIONAL,
516         sgsnAddress                                      [6] GSNAddress OPTIONAL,
517         locationType                             [7] LocationType,
518         lcsQos                                           [8] LCSQoSInfo OPTIONAL,
519         lcsPriority                                      [9] LCS-Priority OPTIONAL,
520         mlcNumber                                        [10] ISDN-AddressString,
521         eventTimeStamp                           [11] TimeStamp,
522         measurementDuration                      [12] CallDuration OPTIONAL,
523         notificationToMSUser             [13] NotificationToMSUser OPTIONAL,
524         privacyOverride                          [14] NULL OPTIONAL,
525         location                                         [15] LocationAreaAndCell OPTIONAL,
526         routingArea                                      [16] RoutingAreaCode OPTIONAL,
527         locationEstimate                         [17] Ext-GeographicalInformation OPTIONAL,
528         positioningData                          [18] PositioningData OPTIONAL,
529         lcsCause                                         [19] LCSCause OPTIONAL,
530         diagnostics                                      [20] Diagnostics OPTIONAL,
531         nodeID                                           [21] NodeID OPTIONAL,
532         localSequenceNumber                      [22] LocalSequenceNumber OPTIONAL,
533         chargingCharacteristics          [23] ChargingCharacteristics,
534         chChSelectionMode                        [24] ChChSelectionMode OPTIONAL,
535         rATType                                          [25] RATType OPTIONAL,
536         recordExtensions                         [26] ManagementExtensions OPTIONAL,
537         causeForRecClosing                       [27] CauseForRecClosing,
538         servingNodePLMNIdentifier        [28] PLMN-Id OPTIONAL,
539         cNOperatorSelectionEnt           [29] CNOperatorSelectionEntity OPTIONAL
540 }
541
542 SGSNMOLCSRecord                 ::= SET
543 {
544         recordType                                       [0] RecordType,
545         recordingEntity                          [1] RecordingEntity,
546         lcsClientType                            [2] LCSClientType OPTIONAL,
547         lcsClientIdentity                        [3] LCSClientIdentity OPTIONAL,
548         servedIMSI                                       [4] IMSI,
549         servedMSISDN                             [5] MSISDN OPTIONAL,
550         sgsnAddress                                      [6] GSNAddress OPTIONAL,
551         locationMethod                           [7] LocationMethod,
552         lcsQos                                           [8] LCSQoSInfo OPTIONAL,
553         lcsPriority                                      [9] LCS-Priority OPTIONAL,
554         mlcNumber                                        [10] ISDN-AddressString OPTIONAL,
555         eventTimeStamp                           [11] TimeStamp,
556         measurementDuration                      [12] CallDuration OPTIONAL,
557         location                                         [13] LocationAreaAndCell OPTIONAL,
558         routingArea                                      [14] RoutingAreaCode OPTIONAL,
559         locationEstimate                         [15] Ext-GeographicalInformation OPTIONAL,
560         positioningData                          [16] PositioningData OPTIONAL,
561         lcsCause                                         [17] LCSCause OPTIONAL,
562         diagnostics                                      [18] Diagnostics OPTIONAL,
563         nodeID                                           [19] NodeID OPTIONAL,
564         localSequenceNumber                      [20] LocalSequenceNumber OPTIONAL,
565         chargingCharacteristics          [21] ChargingCharacteristics,
566         chChSelectionMode                        [22] ChChSelectionMode OPTIONAL,
567         rATType                                          [23] RATType OPTIONAL,
568         recordExtensions                         [24] ManagementExtensions OPTIONAL,
569         causeForRecClosing                       [25] CauseForRecClosing,
570         servingNodePLMNIdentifier        [26] PLMN-Id OPTIONAL,
571         cNOperatorSelectionEnt           [27] CNOperatorSelectionEntity OPTIONAL
572 }
573
574 SGSNNILCSRecord                 ::= SET
575 {
576         recordType                                       [0] RecordType,
577         recordingEntity                          [1] RecordingEntity,
578         lcsClientType                            [2] LCSClientType OPTIONAL,
579         lcsClientIdentity                        [3] LCSClientIdentity OPTIONAL,
580         servedIMSI                                       [4] IMSI OPTIONAL,
581         servedMSISDN                             [5] MSISDN OPTIONAL,
582         sgsnAddress                                      [6] GSNAddress OPTIONAL,
583         servedIMEI                                       [7] IMEI OPTIONAL,
584         lcsQos                                           [8] LCSQoSInfo OPTIONAL,
585         lcsPriority                                      [9] LCS-Priority OPTIONAL,
586         mlcNumber                                        [10] ISDN-AddressString OPTIONAL,
587         eventTimeStamp                           [11] TimeStamp,
588         measurementDuration                      [12] CallDuration OPTIONAL,
589         location                                         [13] LocationAreaAndCell OPTIONAL,
590         routingArea                                      [14] RoutingAreaCode OPTIONAL,
591         locationEstimate                         [15] Ext-GeographicalInformation OPTIONAL,
592         positioningData                          [16] PositioningData OPTIONAL,
593         lcsCause                                         [17] LCSCause OPTIONAL,
594         diagnostics                                      [18] Diagnostics OPTIONAL,
595         nodeID                                           [19] NodeID OPTIONAL,
596         localSequenceNumber                      [20] LocalSequenceNumber OPTIONAL,
597         chargingCharacteristics          [21] ChargingCharacteristics,
598         chChSelectionMode                        [22] ChChSelectionMode OPTIONAL,
599         rATType                                          [23] RATType OPTIONAL,
600         recordExtensions                         [24] ManagementExtensions OPTIONAL,
601         causeForRecClosing                       [25] CauseForRecClosing,
602         servingNodePLMNIdentifier        [26] PLMN-Id OPTIONAL,
603         cNOperatorSelectionEnt           [27] CNOperatorSelectionEntity OPTIONAL
604 }
605
606 SGSNMBMSRecord  ::= SET
607 {
608         recordType                                      [0] RecordType,
609         ggsnAddress                                     [1] GSNAddress,
610         chargingID                                      [2] ChargingID,
611         listofRAs                                       [3] SEQUENCE OF RAIdentity OPTIONAL,
612         accessPointNameNI                       [4] AccessPointNameNI OPTIONAL,
613         servedPDPAddress                        [5] PDPAddress OPTIONAL,
614         listOfTrafficVolumes            [6] SEQUENCE OF ChangeOfMBMSCondition OPTIONAL,
615         recordOpeningTime                       [7] TimeStamp,
616         duration                                        [8] CallDuration,
617         causeForRecClosing                      [9] CauseForRecClosing,
618         diagnostics                                     [10] Diagnostics OPTIONAL,
619         recordSequenceNumber            [11] INTEGER OPTIONAL,
620         nodeID                                          [12] NodeID OPTIONAL,
621         recordExtensions                        [13] ManagementExtensions OPTIONAL,
622         localSequenceNumber                     [14] LocalSequenceNumber OPTIONAL,
623         sgsnPLMNIdentifier                      [15] PLMN-Id OPTIONAL,
624         numberofReceivingUE                     [16] INTEGER OPTIONAL,
625         mbmsInformation                         [17] MBMSInformation OPTIONAL
626 }
627
628 GGSNMBMSRecord  ::= SET
629 {
630         recordType                                      [0] RecordType,
631         ggsnAddress                                     [1] GSNAddress,
632         chargingID                                      [2] ChargingID,
633         listofDownstreamNodes           [3] SEQUENCE OF GSNAddress,
634         accessPointNameNI                       [4] AccessPointNameNI OPTIONAL,
635         servedPDPAddress                        [5] PDPAddress OPTIONAL,
636         listOfTrafficVolumes            [6] SEQUENCE OF ChangeOfMBMSCondition OPTIONAL,
637         recordOpeningTime                       [7] TimeStamp,
638         duration                                        [8] CallDuration,
639         causeForRecClosing                      [9] CauseForRecClosing,
640         diagnostics                                     [10] Diagnostics OPTIONAL,
641         recordSequenceNumber            [11] INTEGER OPTIONAL,
642         nodeID                                          [12] NodeID OPTIONAL,
643         recordExtensions                        [13] ManagementExtensions OPTIONAL,
644         localSequenceNumber                     [14] LocalSequenceNumber OPTIONAL,
645         mbmsInformation                         [15] MBMSInformation OPTIONAL
646 }
647
648 GWMBMSRecord    ::= SET
649 {
650         recordType                                      [0] RecordType,
651         mbmsGWAddress                           [1] GSNAddress,
652         chargingID                                      [2] ChargingID,
653         listofDownstreamNodes           [3] SEQUENCE OF GSNAddress,
654         accessPointNameNI                       [4] AccessPointNameNI OPTIONAL,
655         pdpPDNType                                      [5] PDPType OPTIONAL,
656         servedPDPPDNAddress                     [6] PDPAddress OPTIONAL,
657         listOfTrafficVolumes            [7] SEQUENCE OF ChangeOfMBMSCondition OPTIONAL,
658         recordOpeningTime                       [8] TimeStamp,
659         duration                                        [9] CallDuration,
660         causeForRecClosing                      [10] CauseForRecClosing,
661         diagnostics                                     [11] Diagnostics OPTIONAL,
662         recordSequenceNumber            [12] INTEGER OPTIONAL,
663         nodeID                                          [13] NodeID OPTIONAL,
664         recordExtensions                        [14] ManagementExtensions OPTIONAL,
665         localSequenceNumber                     [15] LocalSequenceNumber OPTIONAL,
666         mbmsInformation                         [16] MBMSInformation OPTIONAL,
667         commonTeid                              [17] CTEID OPTIONAL,
668         iPMulticastSourceAddress        [18] PDPAddress OPTIONAL
669 }
670
671 --
672 --  PS DATA TYPES
673 --
674
675 AccessLineIdentifier    ::= SEQUENCE
676 --
677 -- "Physical Access Id" includes a port identifier and the identity of the access node where the 
678 --  port resides. "logical Access Id" contains a Circuit ID. Both are defined ETSI TS 283 034 [314]   
679 --
680 {
681         physicalAccessID        [0] UTF8String OPTIONAL,
682         logicalAccessID         [1] OCTET STRING OPTIONAL
683 }
684
685 AccessPointNameNI       ::= IA5String (SIZE(1..63))
686 --
687 -- Network Identifier part of APN in  dot representation.
688 -- For example, if the complete APN is 'apn1a.apn1b.apn1c.mnc022.mcc111.gprs'
689 -- NI is 'apn1a.apn1b.apn1c' and is presented in this form in the CDR.
690 --
691
692 AccessPointNameOI       ::= IA5String (SIZE(1..37))
693 --
694 -- Operator Identifier part of APN in dot representation.
695 -- In the 'apn1a.apn1b.apn1c.mnc022.mcc111.gprs' example, the OI portion is 'mnc022.mcc111.gprs'
696 -- and is presented in this form in the CDR.
697 --
698
699 ADCRuleBaseName         ::= IA5String
700 -- 
701 -- identifier for the group of charging rules
702 -- see ADC-Rule-Base-Name AVP as desined in TS 29.212 [220]
703 --
704
705 AFChargingIdentifier    ::= OCTET STRING
706 --
707 -- see AF-Charging-Identifier AVP as defined in TS 29.214[221]
708 --
709 AFRecordInformation     ::= SEQUENCE
710 {
711         aFChargingIdentifier            [1] AFChargingIdentifier,
712         flows                                           [2] Flows OPTIONAL
713 }
714
715 APNSelectionMode        ::= ENUMERATED
716 --
717 -- See Information Elements TS 29.060 [215], TS 29.274 [223] or TS 29.275 [224]
718 --
719 {
720         mSorNetworkProvidedSubscriptionVerified                         (0),
721         mSProvidedSubscriptionNotVerified                                       (1),
722         networkProvidedSubscriptionNotVerified                          (2)
723 }
724
725 CAMELAccessPointNameNI  ::= AccessPointNameNI
726
727 CAMELAccessPointNameOI  ::= AccessPointNameOI
728
729 CAMELInformationMM              ::= SET
730 {
731         sCFAddress                                              [1] SCFAddress OPTIONAL,
732         serviceKey                                              [2] ServiceKey OPTIONAL,
733         defaultTransactionHandling              [3] DefaultGPRS-Handling OPTIONAL,
734         numberOfDPEncountered                   [4] NumberOfDPEncountered OPTIONAL,
735         levelOfCAMELService                             [5] LevelOfCAMELService OPTIONAL,
736         freeFormatData                                  [6] FreeFormatData OPTIONAL,
737         fFDAppendIndicator                              [7] FFDAppendIndicator OPTIONAL
738 }
739
740 CAMELInformationPDP     ::= SET
741 {
742         sCFAddress                                              [1] SCFAddress OPTIONAL,
743         serviceKey                                              [2] ServiceKey OPTIONAL,
744         defaultTransactionHandling              [3] DefaultGPRS-Handling OPTIONAL,
745         cAMELAccessPointNameNI                  [4] CAMELAccessPointNameNI OPTIONAL,
746         cAMELAccessPointNameOI                  [5] CAMELAccessPointNameOI OPTIONAL,
747         numberOfDPEncountered                   [6] NumberOfDPEncountered OPTIONAL,
748         levelOfCAMELService                             [7] LevelOfCAMELService OPTIONAL,
749         freeFormatData                                  [8] FreeFormatData OPTIONAL,
750         fFDAppendIndicator                              [9] FFDAppendIndicator OPTIONAL
751 }
752
753 CAMELInformationSMS             ::= SET 
754 {
755         sCFAddress                                                              [1] SCFAddress OPTIONAL,
756         serviceKey                                                              [2] ServiceKey OPTIONAL,
757         defaultSMSHandling                                              [3] DefaultSMS-Handling OPTIONAL,
758         cAMELCallingPartyNumber                                 [4] CallingNumber OPTIONAL,
759         cAMELDestinationSubscriberNumber                [5] SmsTpDestinationNumber OPTIONAL,
760         cAMELSMSCAddress                                                [6] AddressString OPTIONAL,
761         freeFormatData                                                  [7] FreeFormatData OPTIONAL,
762         smsReferenceNumber                                              [8] CallReferenceNumber OPTIONAL
763 }
764
765 CauseForRecClosing      ::= INTEGER
766 --
767 -- In PGW-CDR and SGW-CDR the value servingNodeChange is used for partial record
768 -- generation due to Serving Node Address list Overflow
769 -- In SGSN servingNodeChange indicates the SGSN change
770 -- 
771 -- sWGChange value is used in both the S-GW and ePDG for inter serving node change
772 -- 
773 -- LCS related causes belong to the MAP error causes acc. TS 29.002 [214]
774 --
775 -- cause codes 0 to 15 are defined 'CauseForTerm' (cause for termination)
776 --
777 {
778         normalRelease                                   (0),
779         abnormalRelease                                 (4),
780         cAMELInitCallRelease                    (5),
781         volumeLimit                                             (16),
782         timeLimit                                               (17),
783         servingNodeChange                               (18),
784         maxChangeCond                                   (19),
785         managementIntervention                  (20),
786         intraSGSNIntersystemChange              (21),
787         rATChange                                               (22),
788         mSTimeZoneChange                                (23),
789         sGSNPLMNIDChange                                (24),
790         sGWChange                                               (25),
791         aPNAMBRChange                                   (26),
792         unauthorizedRequestingNetwork   (52),
793         unauthorizedLCSClient                   (53),
794         positionMethodFailure                   (54),
795         unknownOrUnreachableLCSClient   (58),
796         listofDownstreamNodeChange              (59)
797 }
798
799 ChangeCondition ::= ENUMERATED
800 {
801         qoSChange                                                               (0),
802         tariffTime                                                              (1),
803         recordClosure                                                   (2),
804         cGI-SAICHange                                                   (6),    -- bearer modification. "CGI-SAI Change"
805         rAIChange                                                               (7),    -- bearer modification. "RAI Change"
806         dT-Establishment                                                (8),
807         dT-Removal                                                              (9),
808         eCGIChange                                                              (10),   -- bearer modification. "ECGI Change"
809         tAIChange                                                               (11),   -- bearer modification. "TAI Change"
810         userLocationChange                                              (12),   -- bearer modification. "User Location Change"
811         userCSGInformationChange                                (13)    -- bearer modification. "User CSG info Change"
812 }
813
814 ChangeOfCharCondition   ::= SEQUENCE
815 --
816 -- qosRequested and qosNegotiated are used in S-CDR only
817 -- ePCQoSInformation used in SGW-CDR ,PGW-CDR, IPE-CDR and ePDG only
818 -- userLocationInformation is used only in S-CDR, SGW-CDR and PGW-CDR
819 -- chargingID used in PGW-CDR only when Charging per IP-CAN session is active
820 --
821 {
822         qosRequested                            [1] QoSInformation OPTIONAL,
823         qosNegotiated                           [2] QoSInformation OPTIONAL,
824         dataVolumeGPRSUplink            [3] DataVolumeGPRS OPTIONAL,
825         dataVolumeGPRSDownlink          [4] DataVolumeGPRS OPTIONAL,
826         changeCondition                         [5] ChangeCondition,
827         changeTime                                      [6] TimeStamp,
828         userLocationInformation         [8] OCTET STRING OPTIONAL,
829         ePCQoSInformation                       [9] EPCQoSInformation OPTIONAL,
830         chargingID                                      [10] ChargingID OPTIONAL,
831         presenceReportingAreaStatus [11] PresenceReportingAreaStatus OPTIONAL,
832         userCSGInformation                      [12] UserCSGInformation OPTIONAL
833 }
834
835 ChangeOfMBMSCondition   ::= SEQUENCE
836 --
837 -- Used in MBMS record
838 --
839 {
840         qosRequested                            [1] QoSInformation OPTIONAL,
841         qosNegotiated                           [2] QoSInformation OPTIONAL,
842         dataVolumeMBMSUplink            [3] DataVolumeMBMS OPTIONAL,
843         dataVolumeMBMSDownlink          [4] DataVolumeMBMS,
844         changeCondition                         [5] ChangeCondition,
845         changeTime                                      [6] TimeStamp,
846         failureHandlingContinue         [7] FailureHandlingContinue OPTIONAL
847 }
848
849 ChangeOfServiceCondition        ::= SEQUENCE
850 --
851 -- Used for Flow based Charging and Application based Charging service data container
852 --
853 {
854         ratingGroup                                             [1] RatingGroupId,
855         chargingRuleBaseName                            [2] ChargingRuleBaseName OPTIONAL,
856         resultCode                                                      [3] ResultCode OPTIONAL,
857         localSequenceNumber                                     [4] LocalSequenceNumber OPTIONAL,
858         timeOfFirstUsage                                        [5] TimeStamp OPTIONAL,
859         timeOfLastUsage                                         [6] TimeStamp OPTIONAL,
860         timeUsage                                                       [7] CallDuration OPTIONAL,
861         serviceConditionChange                          [8] ServiceConditionChange,
862         qoSInformationNeg                                       [9] EPCQoSInformation OPTIONAL,
863         servingNodeAddress                                      [10] GSNAddress OPTIONAL,
864         datavolumeFBCUplink                                     [12] DataVolumeGPRS OPTIONAL,
865         datavolumeFBCDownlink                           [13] DataVolumeGPRS OPTIONAL,
866         timeOfReport                                            [14] TimeStamp,
867         failureHandlingContinue                         [16] FailureHandlingContinue OPTIONAL,
868         serviceIdentifier                                       [17] ServiceIdentifier OPTIONAL,
869         pSFurnishChargingInformation            [18] PSFurnishChargingInformation OPTIONAL,
870         aFRecordInformation                                     [19] SEQUENCE OF AFRecordInformation OPTIONAL,
871         userLocationInformation                         [20] OCTET STRING OPTIONAL,
872         eventBasedChargingInformation           [21] EventBasedChargingInformation OPTIONAL,
873         timeQuotaMechanism                                      [22] TimeQuotaMechanism OPTIONAL,
874         serviceSpecificInfo                                     [23] SEQUENCE OF ServiceSpecificInfo OPTIONAL,
875         threeGPP2UserLocationInformation        [24] OCTET STRING OPTIONAL,
876         sponsorIdentity                                         [25] OCTET STRING OPTIONAL,
877         applicationServiceProviderIdentity      [26] OCTET STRING OPTIONAL,
878         aDCRuleBaseName                                         [27] ADCRuleBaseName OPTIONAL,
879         presenceReportingAreaStatus             [28] PresenceReportingAreaStatus OPTIONAL,
880         userCSGInformation                                      [29] UserCSGInformation OPTIONAL
881 }
882
883 ChangeLocation  ::= SEQUENCE
884 --
885 -- used in SGSNMMRecord only
886 --
887 {
888         locationAreaCode                [0] LocationAreaCode,
889         routingAreaCode                 [1] RoutingAreaCode,
890         cellId                                  [2] CellId OPTIONAL,
891         changeTime                              [3] TimeStamp,
892         mCC-MNC                                 [4] PLMN-Id OPTIONAL
893 }
894
895 ChargingCharacteristics ::= OCTET STRING (SIZE(2))
896
897 ChargingID      ::= INTEGER (0..4294967295)
898 --
899 -- Generated in P-GW, part of IP-CAN bearer
900 -- 0..4294967295 is equivalent to 0..2**32-1
901 --
902
903 ChargingRuleBaseName    ::= IA5String
904 -- 
905 -- identifier for the group of charging rules
906 -- see Charging-Rule-Base-Name AVP as desined in TS 29.212 [220]
907 --
908
909 ChChSelectionMode               ::= ENUMERATED
910 {
911         servingNodeSupplied                     (0),    -- For S-GW/P-GW
912         subscriptionSpecific            (1),    -- For SGSN only
913         aPNSpecific                                     (2),    -- For SGSN only
914         homeDefault                                     (3),    -- For SGSN, S-GW, P-GW, TDF and IP-Edge
915         roamingDefault                          (4),    -- For SGSN, S-GW, P-GW, TDF and IP-Edge
916         visitingDefault                         (5),    -- For SGSN, S-GW, P-GW, TDF and IP-Edge
917         fixedDefault                            (6)             -- For TDF and IP-Edge 
918 }
919
920 CNOperatorSelectionEntity       ::= ENUMERATED
921 {
922         servCNSelectedbyUE              (0),
923         servCNSelectedbyNtw             (1)
924 }
925
926 CSGAccessMode           ::= ENUMERATED 
927 {
928         closedMode  (0),
929         hybridMode  (1)
930 }
931
932 CSGId           ::= OCTET STRING (SIZE(4))
933 --
934 -- Defined in TS 23.003 [200]. Coded according to TS 29.060 [215] for GTP, and
935 -- in TS 29.274 [223] for eGTP.  
936 --
937
938 CTEID           ::= OCTET STRING (SIZE(4))
939 --
940 -- Defined in TS 32.251[11] for MBMS-GW-CDR. Common Tunnel Endpoint Identifier
941 -- of MBMS GW for user plane, defined in TS 23.246 [207].
942 --
943
944 DataVolumeGPRS          ::= INTEGER
945 --
946 -- The volume of data transferred in octets.
947 --
948
949 DataVolumeMBMS ::= INTEGER
950 --
951 -- The volume of data transferred in octets.
952 --
953
954 DynamicAddressFlag      ::= BOOLEAN
955
956 EPCQoSInformation       ::= SEQUENCE
957 --
958 -- See TS 29.212 [220] for more information
959 -- 
960 {
961         qCI                                                     [1] INTEGER,
962         maxRequestedBandwithUL          [2] INTEGER OPTIONAL,
963         maxRequestedBandwithDL          [3] INTEGER OPTIONAL,
964         guaranteedBitrateUL                     [4] INTEGER OPTIONAL,
965         guaranteedBitrateDL                     [5] INTEGER OPTIONAL,
966         aRP                                                     [6] INTEGER OPTIONAL,
967         aPNAggregateMaxBitrateUL        [7] INTEGER OPTIONAL,
968         aPNAggregateMaxBitrateDL        [8] INTEGER OPTIONAL
969 }
970
971 EventBasedChargingInformation           ::= SEQUENCE
972 {
973         numberOfEvents          [1] INTEGER,
974         eventTimeStamps         [2] SEQUENCE OF TimeStamp OPTIONAL
975 }
976
977 FailureHandlingContinue         ::= BOOLEAN
978 --
979 -- This parameter is included when the failure handling procedure has been executed and new 
980 -- containers are opened. This parameter shall be included in the first and subsequent 
981 -- containers opened after the failure handling execution.
982 --
983
984 FFDAppendIndicator      ::= BOOLEAN
985
986
987 FixedSubsID     ::= OCTET STRING
988 --
989 -- The fixed subscriber Id identifier is defined in Broadband Forum TR 134 [601].
990 --
991
992
993 FixedUserLocationInformation    ::= SEQUENCE
994 --
995 -- See format in IEEE Std 802.11-2012 [408] for "SSID" and "BSSID".
996 --
997 {
998         sSID                                    [0] OCTET STRING OPTIONAL ,
999         bSSID                                   [1] OCTET STRING OPTIONAL,
1000         accessLineIdentifier    [2] AccessLineIdentifier OPTIONAL
1001 }
1002
1003 Flows           ::=     SEQUENCE
1004 --
1005 -- See Flows AVP as defined in TS 29.214 [221]
1006 --
1007 {
1008         mediaComponentNumber    [1] INTEGER,
1009         flowNumber                      [2] SEQUENCE OF INTEGER OPTIONAL
1010 }
1011
1012 FreeFormatData          ::=     OCTET STRING (SIZE(1..160))
1013 --
1014 -- Free formatted data as sent in the FurnishChargingInformationGPRS 
1015 -- see TS 29.078 [217]
1016 --
1017
1018 -- GSNAddress           ::= IPAddress
1019
1020 MSNetworkCapability     ::= OCTET STRING (SIZE(1..8))
1021 --
1022 -- see TS 24.008 [208]
1023 --
1024
1025 NetworkInitiatedPDPContext              ::= BOOLEAN
1026 --
1027 -- Set to true if PDP context was initiated from network side
1028 --
1029
1030 NodeID          ::= IA5String (SIZE(1..20))
1031
1032 NumberOfDPEncountered  ::= INTEGER
1033
1034 PDPAddress              ::= CHOICE
1035 {
1036         iPAddress                               [0] IPAddress
1037 --      eTSIAddress                             [1] ETSIAddress
1038 --                                                              has only been used in earlier releases for X.121 format
1039 }
1040
1041 PDPType         ::= OCTET STRING (SIZE(2))
1042 --
1043 -- OCTET 1: PDP Type Organization
1044 -- OCTET 2: PDP/PDN Type Number
1045 -- See TS 29.060 [215] for encoding details.
1046 --
1047
1048 PLMN-Id         ::= OCTET STRING (SIZE (3))
1049 --
1050 --      This is in the same format as octets 2,3,and 4 of the Routing Area Identity (RAI) IE specified
1051 --      in TS 29.060 [215]
1052 --
1053
1054 PresenceReportingAreaInfo       ::= SEQUENCE
1055 {
1056         presenceReportingAreaIdentifier [0] OCTET STRING,
1057         presenceReportingAreaStatus             [1] PresenceReportingAreaStatus OPTIONAL
1058 }
1059
1060 PresenceReportingAreaStatus ::= ENUMERATED 
1061 {
1062         insideArea   (0),
1063         outsideArea  (1)
1064 }
1065
1066 PSFurnishChargingInformation            ::= SEQUENCE
1067 {
1068         pSFreeFormatData                [1] FreeFormatData,
1069         pSFFDAppendIndicator    [2] FFDAppendIndicator OPTIONAL
1070 }
1071
1072 QoSInformation  ::= OCTET STRING (SIZE (4..255))
1073 --
1074 -- This  octet string
1075 -- is a 1:1 copy of the contents (i.e. starting with octet 5) of the "Bearer Quality of
1076 -- Service" information element specified in TS 29.274 [223].
1077 --
1078
1079 RatingGroupId           ::= INTEGER
1080 -- 
1081 -- IP service flow identity (DCCA), range of 4 byte (0... 4294967295)
1082 -- see Rating-Group AVP as used in TS 32.299 [50]
1083 --
1084
1085 RATType         ::= INTEGER (0..255)
1086 --
1087 -- Ihis integer is 1:1 copy of the RAT type value as defined in TS 29.061 [215].
1088 --
1089
1090 ResultCode              ::= INTEGER
1091 -- 
1092 -- charging protocol return value, range of 4 byte (0... 4294967295)
1093 -- see Result-Code AVP as used in 32.299 [40]
1094 --
1095
1096 ServiceConditionChange  ::= BIT STRING
1097 {
1098         qoSChange                                                                (0),   -- bearer modification
1099         sGSNChange                                                               (1),   -- bearer modification:
1100                                                                                                         -- apply to Gn-SGSN /SGW Change
1101         sGSNPLMNIDChange                                                 (2),   -- bearer modification
1102         tariffTimeSwitch                                                 (3),   -- tariff time change
1103         pDPContextRelease                                                (4),   -- bearer release
1104         rATChange                                                                (5),   -- bearer modification
1105         serviceIdledOut                                                  (6),   -- IP flow idle out, DCCA QHT expiry
1106         reserved                                                                 (7),   -- old: QCTexpiry is no report event
1107         configurationChange                                      (8),   -- configuration change
1108         serviceStop                                                      (9),   -- IP flow termination.From "Service Stop" in
1109                                                                                                         -- Change-Condition AVP
1110         dCCATimeThresholdReached                                (10),   -- DCCA quota reauthorization
1111         dCCAVolumeThresholdReached                              (11),   -- DCCA quota reauthorization
1112         dCCAServiceSpecificUnitThresholdReached (12),   -- DCCA quota reauthorization
1113         dCCATimeExhausted                                               (13),   -- DCCA quota reauthorization
1114         dCCAVolumeExhausted                                     (14),   -- DCCA quota reauthorization
1115         dCCAValidityTimeout                                     (15),   -- DCCA quota validity time (QVT expiry)
1116         reserved1                                                               (16),   -- reserved due to no use case,
1117                                                                                                         -- old: return Requested is covered by (17),(18)
1118         dCCAReauthorisationRequest                              (17),   -- DCCA quota reauthorization request by OCS
1119         dCCAContinueOngoingSession                              (18),   -- DCCA failure handling (CCFH),
1120                                                                                                         -- continue IP flow
1121         dCCARetryAndTerminateOngoingSession             (19),   -- DCCA failure handling (CCFH),
1122                                                                                                         -- terminate IP flow after DCCA retry
1123         dCCATerminateOngoingSession                     (20),   -- DCCA failure handling,
1124                                                                                                         -- terminate IP flow
1125         cGI-SAIChange                                                   (21),   -- bearer modification. "CGI-SAI Change"
1126         rAIChange                                                               (22),   -- bearer modification. "RAI Change"
1127         dCCAServiceSpecificUnitExhausted                (23),   -- DCCA quota reauthorization
1128         recordClosure                                                   (24),   -- PGW-CDR closure
1129         timeLimit                                                               (25),   -- intermediate recording. From "Service Data
1130                                                                                                         --Time Limit" Change-Condition AVP value
1131         volumeLimit                                                             (26),   -- intermediate recording.From "Service Data
1132                                                                                                         --Volume Limit" Change-Condition AVP value
1133         serviceSpecificUnitLimit                                (27),   -- intermediate recording
1134         envelopeClosure                                                 (28),   
1135         eCGIChange                                                              (29),   -- bearer modification. "ECGI Change"
1136         tAIChange                                                               (30),   -- bearer modification. "TAI Change"
1137         userLocationChange                                              (31),   -- bearer modification. "User Location Change"
1138         userCSGInformationChange                                (32)    -- bearer modification. "User CSG info Change"
1139 }
1140 --
1141 -- Trigger and cause values for IP flow level recording are defined for support of independent
1142 -- online and offline charging and also for tight interworking between online and offline charging.
1143 -- Unused bits will always be zero.
1144 -- Some of the values are non-exclusive (e.g. bearer modification reasons).
1145 --
1146
1147 SCFAddress      ::= AddressString
1148 --
1149 -- See TS 29.002 [214]
1150 --
1151
1152 ServiceIdentifier       ::= INTEGER (0..4294967295)
1153 --
1154 -- The service identifier is used to identify the service or the service component
1155 -- the service data flow relates to. See Service-Identifier AVP as defined in TS 29.212 [220]
1156 --
1157
1158 ServingNodeType ::= ENUMERATED
1159 {
1160         sGSN            (0),
1161         pMIPSGW         (1),
1162         gTPSGW          (2),
1163         ePDG            (3),
1164         hSGW            (4),
1165         mME                     (5),
1166         tWAN            (6)
1167 }
1168
1169 SGSNChange      ::= BOOLEAN
1170 --
1171 -- present if first record after inter SGSN routing area update in new SGSN
1172 --
1173
1174 SGWChange               ::= BOOLEAN
1175 --
1176 -- present if first record after inter serving node change (SGW, ePDG, HSGW)
1177 --
1178
1179 TimeQuotaMechanism              ::= SEQUENCE
1180 {
1181         timeQuotaType                                   [1] TimeQuotaType,
1182         baseTimeInterval                                [2] INTEGER
1183 }
1184
1185 TimeQuotaType           ::= ENUMERATED
1186 {
1187         dISCRETETIMEPERIOD                      (0),
1188         cONTINUOUSTIMEPERIOD            (1)
1189 }
1190
1191 TWANUserLocationInfo            ::= SEQUENCE
1192 {
1193         sSID            [0] OCTET STRING,                                       -- see format in IEEE Std 802.11-2012 [408]
1194         bSSID           [1] OCTET STRING OPTIONAL                       -- see format in IEEE Std 802.11-2012 [408]
1195 }
1196
1197 UserCSGInformation              ::= SEQUENCE
1198 {
1199         cSGId                                           [0] CSGId,
1200         cSGAccessMode                           [1] CSGAccessMode,
1201         cSGMembershipIndication         [2] NULL OPTIONAL
1202 }
1203
1204 END