1Nortel DEFINITIONS IMPLICIT TAGS	::=
2
3BEGIN
4
5-- EXPORTS Nortel;
6
7--IMPORTS
8
9-- IMSI, IMEI
10--    FROM MAP-commonDataTypes { iso (1) identified-organization (4) etsi (0) mobileDomain (0) gsm-Network (1) modules (3) map-CommonDataTypes (18) version2 (2) };
11
12--
13-- Note that the syntax of AE-title to be used is from
14-- CCITT Rec. X.227 / ISO 8650 corrigendum and not "ANY"
15--
16------------------------------------------------------------------------------
17--
18--  CALL AND EVENT RECORDS
19--
20------------------------------------------------------------------------------
21
22CellId	::= OCTET STRING (SIZE(2))
23--
24-- Coded according to TS GSM 04.08
25--
26
27RecordingEntity 		::= AddressString
28
29SMSResult			::= Diagnostics
30
31MessageReference		::= OCTET STRING
32
33ManagementExtensions		::= SET OF ManagementExtension
34
35CalledNumber			::= BCDDirectoryNumber
36
37DMI-EXTENSION ::= DMI-TYPE-IDENTIFIER
38
39DMI-TYPE-IDENTIFIER ::= CLASS {&id     OBJECT IDENTIFIER UNIQUE,
40                               &Value
41} WITH SYNTAX {TYPE &Value
42              ID &id
43}
44
45
46-- ManagementExtension ::= OCTET STRING
47
48 ManagementExtension ::= SEQUENCE {
49   identifier    DMI-EXTENSION.&id({ManagementExtensionSet}),
50   significance  [1]  BOOLEAN DEFAULT FALSE,
51   information
52      [2]  DMI-EXTENSION.&Value({ManagementExtensionSet}{@.identifier})
53 }
54
55ManagementExtensionSet DMI-EXTENSION ::= {...}
56
57ServiceKey ::= INTEGER (0..2147483647)
58
59DefaultGPRS-Handling ::= ENUMERATED {
60	continueTransaction (0) ,
61	releaseTransaction (1)
62	}
63-- exception handling:
64-- reception of values in range 2-31 shall be treated as "continueTransaction"
65-- reception of values greater than 31 shall be treated as "releaseTransaction"
66
67AddressString ::= OCTET STRING (SIZE (1..maxAddressLength))
68	-- This type is used to represent a number for addressing
69	-- purposes. It is composed of
70	--	a)	one octet for nature of address, and numbering plan
71	--		indicator.
72	--	b)	digits of an address encoded as TBCD-String.
73
74	-- a)	The first octet includes a one bit extension indicator, a
75	--		3 bits nature of address indicator and a 4 bits numbering
76	--		plan indicator, encoded as follows:
77
78	-- bit 8: 1  (no extension)
79
80	-- bits 765: nature of address indicator
81	--	000  unknown
82	--	001  international number
83	--	010  national significant number
84	--	011  network specific number
85	--	100  subscriber number
86	--	101  reserved
87	--	110  abbreviated number
88	--	111  reserved for extension
89
90	-- bits 4321: numbering plan indicator
91	--	0000  unknown
92	--	0001  ISDN/Telephony Numbering Plan (Rec ITU-T E.164)
93	--	0010  spare
94	--	0011  data numbering plan (ITU-T Rec X.121)
95	--	0100  telex numbering plan (ITU-T Rec F.69)
96	--	0101  spare
97	--	0110  land mobile numbering plan (ITU-T Rec E.212)
98	--	0111  spare
99	--	1000  national numbering plan
100	--	1001  private numbering plan
101	--	1111  reserved for extension
102
103	--	all other values are reserved.
104
105	-- b)	The following octets representing digits of an address
106	--		encoded as a TBCD-STRING.
107
108maxAddressLength  INTEGER ::= 20
109
110ISDN-AddressString ::=
111			AddressString (SIZE (1..maxISDN-AddressLength))
112	-- This type is used to represent ISDN numbers.
113
114maxISDN-AddressLength  INTEGER ::= 9
115
116BCDDirectoryNumber	::= OCTET STRING
117	-- This type contains the binary coded decimal representation of
118	-- a directory number e.g. calling/called/connected/translated number.
119	-- The encoding of the octet string is in accordance with the
120	-- the elements "Calling party BCD number", "Called party BCD number"
121	-- and "Connected number" defined in TS GSM 04.08.
122	-- This encoding includes type of number and number plan information
123	-- together with a BCD encoded digit string.
124	-- It may also contain both a presentation and screening indicator
125	-- (octet 3a).
126	-- For the avoidance of doubt, this field does not include
127	-- octets 1 and 2, the element name and length, as this would be
128	-- redundant.
129
130
131
132Diagnostics	::= CHOICE
133{
134	gsm0408Cause				[0] INTEGER,
135	-- See TS GSM 04.08
136	gsm0902MapErrorValue		[1] INTEGER,
137	-- Note: The value to be stored here corresponds to
138	-- the local values defined in the MAP-Errors and
139	-- MAP-DialogueInformation modules, for full details
140	-- see TS GSM 09.02.
141	ccittQ767Cause				[2] INTEGER,
142	-- See CCITT Q.767
143	networkSpecificCause		[3] ManagementExtension,
144	-- To be defined by network operator
145	manufacturerSpecificCause	[4] ManagementExtension
146	-- To be defined by manufacturer
147}
148
149LocationAreaCode		::= OCTET STRING (SIZE(2))
150	--
151	-- See TS GSM 04.08
152	--
153
154CallEventRecord	::= CHOICE
155{
156-- Record values 0..16 are 3G curcuit switch specifick
157--
158--	sgsnPDPRecord		[20] SGSNPDPRecord,
159	ggsnPDPRecord		[21] GGSNPDPRecord
160--	sgsnMMRecord		[22] SGSNMMRecord,
161--	sgsnSMORecord		[23] SGSNSMORecord,
162--	sgsnSMTRecord		[24] SGSNSMTRecord
163}
164
165CallDuration 			::= INTEGER
166	--
167	-- The call duration in seconds.
168	-- For successful calls this is the chargeable duration.
169	-- For call attempts this is the call holding time.
170
171TimeStamp					::= OCTET STRING (SIZE(9))
172	--
173	-- The contents of this field are a compact form of the UTCTime format
174	-- containing local time plus an offset to universal time. Binary coded
175	-- decimal encoding is employed for the digits to reduce the storage and
176	-- transmission overhead
177	-- e.g. YYMMDDhhmmssShhmm
178	-- where
179	-- YY 	= 	Year 00 to 99		BCD encoded
180	-- MM 	= 	Month 01 to 12 		BCD encoded
181	-- DD	=	Day 01 to 31		BCD encoded
182	-- hh	=	hour 00 to 23		BCD encoded
183	-- mm	=	minute 00 to 59		BCD encoded
184	-- ss	=	second 00 to 59		BCD encoded
185	-- S	=	Sign 0 = "+", "-"	ASCII encoded
186	-- hh	=	hour 00 to 23		BCD encoded
187	-- mm	=	minute 00 to 59		BCD encoded
188	--
189
190MSISDN	::= ISDN-AddressString
191
192IMSI ::= TBCD-STRING (SIZE (3..8))
193	-- digits of MCC, MNC, MSIN are concatenated in this order.
194
195IMEI ::= TBCD-STRING (SIZE (8))
196	--	Refers to International Mobile Station Equipment Identity
197	--	and Software Version Number (SVN) defined in TS 3GPP TS 23.003 [17].
198	--	If the SVN is not present the last octet shall contain the
199	--	digit 0 and a filler.
200	--	If present the SVN shall be included in the last octet.
201
202
203TBCD-STRING ::= OCTET STRING
204	-- This type (Telephony Binary Coded Decimal String) is used to
205	-- represent several digits from 0 through 9, *, #, a, b, c, two
206	-- digits per octet, each digit encoded 0000 to 1001 (0 to 9),
207	-- 1010 (*), 1011 (#), 1100 (a), 1101 (b) or 1110 (c); 1111 used
208	-- as filler when there is an odd number of digits.
209
210	-- bits 8765 of octet n encoding digit 2n
211	-- bits 4321 of octet n encoding digit 2(n-1) +1
212
213GGSNPDPRecord 	::= SET
214{
215	recordType			[0] CallEventRecordType,
216	networkInitiation		[1] NetworkInitiatedPDPContext OPTIONAL,
217	servedIMSI			[3] IMSI,
218	ggsnAddress			[4] GSNAddress,
219	chargingID			[5] ChargingID,
220	sgsnAddress			[6] SEQUENCE OF GSNAddress,
221	accessPointNameNI		[7] AccessPointNameNI,
222	pdpType				[8] PDPType,
223	servedPDPAddress		[9] PDPAddress OPTIONAL,
224	dynamicAddressFlag		[11] DynamicAddressFlag OPTIONAL,
225	listOfTrafficVolumes		[12] SEQUENCE OF ChangeOfCharCondition,
226	recordOpeningTime		[13] TimeStamp,
227	duration			[14] CallDuration,
228	causeForRecClosing		[15] CauseForRecClosing,
229	diagnostics			[16] Diagnostics OPTIONAL,
230	recordSequenceNumber		[17] INTEGER OPTIONAL,
231	nodeID				[18] NodeID OPTIONAL,
232	recordExtensions		[19] ManagementExtensions OPTIONAL,
233	localSequenceNumber		[20] LocalSequenceNumber OPTIONAL,
234	apnSelectionMode		[21] APNSelectionMode OPTIONAL,
235	servedMSISDN			[22] MSISDN OPTIONAL,
236	chargingCharacteristics		[23] ChargingCharacteristics OPTIONAL
237}
238
239--	sgsnPLMNIdentifier		[27] PLMN-Id
240
241
242
243
244------------------------------------------------------------------------------
245--
246--  OBJECT IDENTIFIERS
247--
248------------------------------------------------------------------------------
249
250gsm1205InformationModel	 OBJECT IDENTIFIER	::=
251	{ ccitt (0) identified-organization (4) etsi (0) mobileDomain (0)
252	gsm-Operation-Maintenance (3) gsm-12-05 (5) informationModel (0) }
253
254gsm1205ASN1Module	OBJECT IDENTIFIER	::=
255	{ gsm1205InformationModel asn1Module(2) }
256
257------------------------------------------------------------------------------
258--
259--  COMMON DATA TYPES
260--
261------------------------------------------------------------------------------
262
263AccessPointNameNI	::= IA5String (SIZE(1..63))
264	--
265	-- Network Identifier part of APN in "dot" representation
266	-- For example, if the complete APN is 'apn1a.apn1b.apn1c.mnc022.mcc111.gprs'
267	-- NI is 'apn1a.apn1b.apn1c' and is presented in this form in the CDR.
268
269AccessPointNameOI	::= IA5String (SIZE(1..37))
270	--
271	-- Operator Identifier part of APN in "dot" representation
272	-- In the 'apn1a.apn1b.apn1c.mnc022.mcc111.gprs' example, the OI portion is 'mnc022.mcc111.gprs'
273	-- and is presented in this form in the CDR.
274
275APNSelectionMode::= ENUMERATED
276{
277	--
278	-- See Information Elements TS 29.060
279	--
280	mSorNetworkProvidedSubscriptionVerified		(0),
281	mSProvidedSubscriptionNotVerified			(1),
282	networkProvidedSubscriptionNotVerified		(2)
283}
284
285CAMELAccessPointNameNI	::= AccessPointNameNI
286
287CAMELAccessPointNameOI	::= AccessPointNameOI
288
289CauseForRecClosing	::= INTEGER
290{
291	--
292	-- in GGSN the value sGSNChange should be used for partial record
293	-- generation due to SGSN Address List Overflow
294	--
295	-- cause codes 0 to 15 are defined in TS 32.005 as 'CauseForTerm' (cause for termination)
296	--
297	normalRelease			(0),
298	abnormalRelease			(4),
299	cAMELInitCallRelease	(5),
300	volumeLimit				(16),
301	timeLimit				(17),
302	sGSNChange				(18),
303	maxChangeCond			(19),
304	managementIntervention	(20)
305}
306
307ChangeCondition	::= ENUMERATED
308{
309	qoSChange				(0),
310	tariffTime				(1),
311	recordClosure			(2)
312}
313
314ChangeOfCharCondition	::= SEQUENCE
315{
316	--
317	-- used in PDP context record only
318	--
319	qosRequested			[1] QoSInformation OPTIONAL,
320	qosNegotiated			[2] QoSInformation OPTIONAL,
321	dataVolumeGPRSUplink	[3] DataVolumeGPRS,
322	dataVolumeGPRSDownlink	[4] DataVolumeGPRS,
323	changeCondition			[5] ChangeCondition,
324	changeTime				[6] TimeStamp
325}
326
327ChangeLocation	::= SEQUENCE
328{
329	--
330	-- used in SGSNMMRecord only
331	--
332	locationAreaCode	[0] LocationAreaCode,
333	routingAreaCode		[1] RoutingAreaCode,
334	cellId				[2] CellId OPTIONAL,
335	changeTime			[3] TimeStamp
336}
337
338ChargingCharacteristics	::= OCTET STRING (SIZE(2))
339    --
340	--  Descriptions for the bits of the flag set:
341	--
342	--  Bit 1: H (Hot billing)			:= '00000001'B
343	--  Bit 2: F (Flat rate)			:= '00000010'B
344	--  Bit 3: P (Prepaid service)		:= '00000100'B
345	--	Bit 4: N (Normal billing)		:= '00001000'B
346	--	Bit 5: - (Reserved, set to 0)	:= '00010000'B
347	--	Bit 6: - (Reserved, set to 0)	:= '00100000'B
348	--	Bit 7: - (Reserved, set to 0)	:= '01000000'B
349	--	Bit 8: - (Reserved, set to 0)	:= '10000000'B
350	--
351
352ChargingID	::= INTEGER (0..4294967295)
353	--
354	-- generated in GGSN, part of PDP context, see TS 23.060
355	-- 0..4294967295 is equivalent to 0..2**32-1
356
357DataVolumeGPRS	::= INTEGER
358	--
359	-- The volume of data transferred in octets.
360	--
361
362DynamicAddressFlag	::= BOOLEAN
363
364ETSIAddress	::= AddressString
365	--
366	--first octet for nature of address, and numbering plan indicator (3 for X.121)
367	--other octets TBCD
368	-- See TS 29.002
369	--
370
371FFDAppendIndicator	::= BOOLEAN
372
373FreeFormatData	::=	OCTET STRING (SIZE(1..160))
374	--
375	-- Free formated data as sent in the FurnishChargingInformationGPRS
376	-- see TS 29.078
377	--
378
379GSNAddress	::= IPAddress
380
381GSMQoSInformation	::=SEQUENCE
382{
383	reliability		[0] QoSReliability,
384	delay			[1] QoSDelay,
385	precedence		[2] QoSPrecedence,
386	peakThroughput	[3] QoSPeakThroughput,
387	meanThroughput	[4] QoSMeanThroughput
388}
389
390IPAddress	::= CHOICE
391{
392	iPBinaryAddress	 			IPBinaryAddress,
393	iPTextRepresentedAddress	IPTextRepresentedAddress
394}
395
396IPBinaryAddress	::= CHOICE
397{
398	iPBinV4Address		[0] OCTET STRING (SIZE(4)),
399	iPBinV6Address		[1] OCTET STRING (SIZE(16))
400}
401
402IPTextRepresentedAddress	::= CHOICE
403{	--
404	-- IP address in the familiar "dot" notation
405	--
406	iPTextV4Address		[2] IA5String (SIZE(7..15)),
407	iPTextV6Address		[3] IA5String (SIZE(15..45))
408}
409
410LocalSequenceNumber ::= INTEGER (0..4294967295)
411	--
412	-- Sequence number of the record in this node
413	-- 0.. 4294967295 is equivalent to 0..2**32-1, unsigned integer in four octets
414
415MSNetworkCapability	::= OCTET STRING (SIZE(1..8))
416
417NetworkInitiatedPDPContext	::= BOOLEAN
418	--
419	-- Set to true if PDP context was initiated from network side
420	--
421
422NodeID	::= IA5String (SIZE(1..20))
423
424PDPAddress	::= CHOICE
425{
426	iPAddress		[0] IPAddress,
427	eTSIAddress		[1] ETSIAddress
428}
429
430PDPType		::= OCTET STRING (SIZE(2))
431	--
432	--OCTET 1: PDP Type Organization
433	--OCTET 2: PDP Type Number
434	-- See TS 29.060
435	--
436
437PLMN-Id		::= OCTET STRING (SIZE (3))
438	--	This is a 1:1 copy from the Routing Area Identity (RAI) IE specified in TS 29.060
439	--  as follows:
440	--	OCTET 1 of PLMN-Id = OCTET 2 of RAI
441	--	OCTET 2 of PLMN-Id = OCTET 3 of RAI
442	--	OCTET 3 of PLMN-Id = OCTET 4 of RAI
443
444
445QoSDelay		::= ENUMERATED
446{
447	--
448	-- See Quality of service TS 24.008
449	--
450	delayClass1		(1),
451	delayClass2		(2),
452	delayClass3		(3),
453	delayClass4		(4)
454}
455
456QoSInformation	::= CHOICE
457{
458	gsmQosInformation		[0] GSMQoSInformation,
459	umtsQosInformation		[1] OCTET STRING (SIZE (4..12))
460}
461-- When dealing with a pre R99 QoS profile the GSN may either choose the "GSMQoSInformation" or the
462-- "umtsQoSInformation" encoding. Dealing with R99 QoS profiles the GSN shall apply the
463-- "umtsQoSInformation" encoding. The umtsQosInformation octet string is a 1:1 copy of the contents
464-- (starting with octet 4) of the "Quality of service Profile" information element specified in
465-- 3GPP TS 29.060 [22] for R99 and GSM TS 09.60 for pre R99 cases.
466--}
467
468QoSMeanThroughput	::= ENUMERATED
469{
470	--
471	-- See Quality of service TS 24.008
472	--
473	subscribedMeanThroughput				(0), -- MS to network direction
474	-- Network to MS direction needs not to be covered since value (0) = "reserved"
475	mean100octetPh			(1),
476	mean200octetPh			(2),
477	mean500octetPh			(3),
478	mean1000octetPh			(4),
479	mean2000octetPh			(5),
480	mean5000octetPh			(6),
481	mean10000octetPh		(7),
482	mean20000octetPh		(8),
483	mean50000octetPh		(9),
484	mean100000octetPh		(10),
485	mean200000octetPh		(11),
486	mean500000octetPh		(12),
487	mean1000000octetPh		(13),
488	mean2000000octetPh		(14),
489	mean5000000octetPh		(15),
490	mean10000000octetPh		(16),
491	mean20000000octetPh		(17),
492	mean50000000octetPh		(18),
493	reserved				(30),
494	bestEffort				(31)
495}
496
497QoSPeakThroughput	::= ENUMERATED
498{
499	--
500	-- See Quality of service TS 24.008
501	--
502	unspecified				(0),
503	upTo1000octetPs			(1),
504	upTo2000octetPs			(2),
505	upTo4000octetPs			(3),
506	upTo8000octetPs			(4),
507	upTo16000octetPs		(5),
508	upTo32000octetPs		(6),
509	upTo64000octetPs		(7),
510	upTo128000octetPs		(8),
511	upTo256000octetPs		(9)
512}
513
514QoSPrecedence	::= ENUMERATED
515{
516	--
517	-- See Quality of service TS 24.008
518	--
519	unspecified				(0),
520	highPriority			(1),
521	normalPriority			(2),
522	lowPriority				(3)
523}
524
525QoSReliability	::= ENUMERATED
526{
527	--
528	-- See Quality of service TS 24.008
529	--
530	unspecifiedReliability	(0),
531	acknowledgedGTP			(1),
532	unackGTPAcknowLLC			(2),
533	unackGTPLLCAcknowRLC		(3),
534	unackGTPLLCRLC				(4),
535	unacknowUnprotectedData	(5)
536}
537
538RoutingAreaCode	::= OCTET STRING (SIZE(1))
539	--
540	-- See TS 24.008
541	--
542
543SCFAddress	::= AddressString
544	--
545	-- See TS 29.002
546	--
547
548NumberOfDPEncountered  ::= INTEGER
549
550SGSNChange	::= BOOLEAN
551	--
552	-- present if first record after inter SGSN routing area update
553	-- in new SGSN
554	--
555
556SystemType  ::= ENUMERATED
557{
558	unknown				(0),
559	iuUTRAN				(1),
560	gERAN				(2)
561}
562
563CallEventRecordType 	::= INTEGER
564{
565	moCallRecord		(0),
566	mtCallRecord		(1),
567	roamingRecord		(2),
568	incGatewayRecord	(3),
569	outGatewayRecord	(4),
570	transitCallRecord	(5),
571	moSMSRecord			(6),
572	mtSMSRecord			(7),
573	moSMSIWRecord		(8),
574	mtSMSGWRecord		(9),
575	ssActionRecord		(10),
576	hlrIntRecord		(11),
577	locUpdateHLRRecord	(12),
578	locUpdateVLRRecord	(13),
579	commonEquipRecord	(14),
580	moTraceRecord		(15),
581	mtTraceRecord		(16),
582	termCAMELRecord		(17),
583	sgsnPDPRecord		(18),
584	ggsnPDPRecord		(19),
585	sgsnMMRecord		(20),
586	sgsnSMORecord		(21),
587	sgsnSMTRecord		(22)
588
589}
590
591END
592
593