summaryrefslogtreecommitdiff
path: root/lib/asn1/test/asn1_SUITE_data/SwCDR.py
blob: 1ed9c32abae8df1fef23df7f278b78e6f3740c06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
SwCDR DEFINITIONS
     IMPLICIT TAGS ::= 


BEGIN

EXPORTS
    SwCDR;

SwCDR			::= CHOICE
{
	origSvcCallRecord		[0] OrigSvcCallRecord,
	termSvcCallRecord		[1] TermSvcCallRecord
}

--OrigSvcCallRecord			::= SET
OrigSvcCallRecord			::= SEQUENCE
{
	callCorrelationId	[0] INTEGER ,
	chargingIndicator	[1] ChargingIndicator,
	sequenceNo		[2] INTEGER ,
	callingParty		[3] CallingNumber,
	calledParty		[4] CalledNumber,
	connectedNumber		[5] ConnectedNumber,
	startDate		[6] StartDate,
	startTime		[7] StartTime,
	duration		[8] CallDuration ,
--	bearerClass		[] BearerClass ,
	trafficType		[9] TrafficType ,
	qosFwd			[10] QoSClass ,
	qosBkwd			[11] QoSClass ,
	forwardPcrClp0		[12] CellRate ,
	forwardPcrClp01		[13] CellRate ,
	backwardPcrClp0		[14] CellRate ,
	backwardPcrClp01	[15] CellRate ,
	forwardScrClp0		[16] CellRate ,
	forwardScrClp01		[17] CellRate ,
	backwardScrClp0		[18] CellRate ,
	backwardScrClp01	[19] CellRate ,
	forwardMcrClp0		[20] CellRate ,
	forwardMcrClp01		[21] CellRate ,
	backwardMcrClp0		[22] CellRate ,
	backwardMcrClp01	[23] CellRate ,
	forwardMbsClp0		[24] CellRate ,
	forwardMbsClp01		[25] CellRate ,
	forwardBEI		[26] INTEGER ,
	backwardBEI		[27] INTEGER ,
	forwardTagging		[28] INTEGER ,
	backwardTagging		[29] INTEGER ,
--	egressCellrate0		[] INTEGER,
--	egressCellrate01	[] INTEGER,
	ingressCellrate0	[30] INTEGER ,
--	ingressCellrate01	[] INTEGER ,
	ingressCellrate1	[31] INTEGER ,
	connectionConfig	[32] UserPlaneConnection OPTIONAL
--	causeForTerm		[33] CauseForTerm OPTIONAL
}

--TermSvcCallRecord			::=	SET
TermSvcCallRecord			::= SEQUENCE
{
	callCorrelationId	[0] INTEGER ,
	chargingIndicator	[1] ChargingIndicator,
	sequenceNo		[2] INTEGER ,
	callingParty		[3] CallingNumber,
	calledParty		[4] CalledNumber,
	connectedNumber		[5] ConnectedNumber,
	startDate		[6] StartDate,
	startTime		[7] StartTime,
	duration		[8] CallDuration ,
--	bearerClass		[] BearerClass ,
	trafficType		[9] TrafficType ,
	qosFwd			[10] QoSClass ,
	qosBkwd			[11] QoSClass ,
	forwardPcrClp0		[12] CellRate ,
	forwardPcrClp01		[13] CellRate ,
	backwardPcrClp0		[14] CellRate ,
	backwardPcrClp01	[15] CellRate ,
	forwardScrClp0		[16] CellRate ,
	forwardScrClp01		[17] CellRate ,
	backwardScrClp0		[18] CellRate ,
	backwardScrClp01	[19] CellRate ,
	forwardMcrClp0		[20] CellRate ,
	forwardMcrClp01		[21] CellRate ,
	backwardMcrClp0		[22] CellRate ,
	backwardMcrClp01	[23] CellRate ,
	forwardMbsClp0		[24] CellRate ,
	forwardMbsClp01		[25] CellRate ,
	forwardBEI		[26] INTEGER ,
	backwardBEI		[27] INTEGER ,
	forwardTagging		[28] INTEGER ,
	backwardTagging		[29] INTEGER ,
--	egressCellrate0		[] INTEGER ,
--	egressCellrate01	[] INTEGER ,
	ingressCellrate0	[30] INTEGER ,
--	ingressCellrate01	[] INTEGER ,
	ingressCellrate1	[31] INTEGER ,
	connectionConfig	[32] UserPlaneConnection OPTIONAL
--	causeForTerm		[33] CauseForTerm OPTIONAL
}

ChargingIndicator		::=	INTEGER
{
	origCallRecord		(0),
	termCallRecord		(1)
}

CallingNumber			::=	OCTET STRING (SIZE (12))
	-- BCD encoded representation of the number.
	-- Contains: TypeOfNumber, NumberingPlanInformation
	-- and either an E.164 number or a NSAP style of number,
	-- including a possible subaddress.
CalledNumber			::=	OCTET STRING (SIZE (20))
	-- BCD encoded representation of the number.
	-- Contains: TypeOfNumber, NumberingPlanInformation,
	-- PresentationIndicator, ScreeningIndicator
	-- and either an E.164 number or a NSAP style of number,
	-- including a possible subaddress.

ConnectedNumber			::=	OCTET STRING (SIZE (12))
	-- BCD encoded representation of the number.
	-- Contains: TypeOfNumber, NumberingPlanInformation,
	-- PresentationIndicator, ScreeningIndicator
	-- and either an E.164 number or a NSAP style of number,
	-- including a possible subaddress.


QoSClass			::= INTEGER
	-- Explicit values ToBeDefined,
	-- until then: value received in SETUP-msg

--BearerClass			::=	INTEGER
--{
--	bcobA			(0),
--	bcobC			(1),
--	bcobX			(2)
--}
TrafficType			::=	INTEGER
{
	noIndication		(0),
	abr			(1),
	cbr			(2),
	vbr			(3),
	vbrrt			(4),
	vbrnrt			(5),
	ubr			(6)
}

--TimingRequirements		::=	INTEGER
--{
--	noIndication		(0),
--	endToEndRequired	(1),
--	endToEndNotRequired	(2)
--}

--ClippingSusceptibility		::=	INTEGER
--{
--	notSusceptible		(0),
--	susceptible		(1)
--}
UserPlaneConnection		::=	 INTEGER
{
	pointToPoint		(0),
	pointToMultipoint	(1)
}

--AALParameters			::=	INTEGER		AAL Type only
--{
--	userDefined		(0),
--	aal1			(1),
--	aal2			(2),
--	aal34			(3),
--	aal5			(5)
--}

CellRate			::=	INTEGER
	-- Value range not less than 2^24.

-- BurstSize			::= ToBeDefined

-- TaggingRequest		::= ToBeDefined
--Timestamp			::=	OCTET STRING (SIZE (11))
	-- The contents of this field is a compact form of 
	-- the UTCTime format, containing local time plus
	-- an offset to universal time.
	-- The compact format is YYMMDDhhmmssdddShhmm, where:
	-- YY		= year,			00-99, BCD encoded
	-- MM		= month,		01-12, BCD encoded
	-- DD		= day,			01-31, BCD encoded
	-- hh		= hour,			00-23, BCD encoded
	-- mm		= minute,		00-59, BCD encoded
	-- ss		= second, 		00-59, BCD encoded
	-- ddd		= millisecond, 000-999, BCD encoded
	--    		  and rightjustified as "0ddd"
	-- S		= sign, 		"+"/"-", ASCII encoded

StartDate			::=	OCTET STRING (SIZE (8))

StartTime			::=	OCTET STRING (SIZE (6))

CallDuration			::=	INTEGER
--	Expressed as number of milliseconds

Cellrate			::=	INTEGER
--	Value range 0-2^64
CauseForTerm			::=	INTEGER
{
	unsuccessfulCallAttempt	(0),
	abnormalTermination	(1)
}

END