1
-- module(Mvrasn-18-6).
2
-- vsn('%CCaseRev: %').
3
-- date('%CCaseDate: %').
5
-- =============================================================================
7
-- =============================================================================
9
-- Title : "Common data types".
11
-- ASN.1 module: "MAP-CommonDataTypes".
13
-- =============================================================================
15
-- ==============================================================
17
-- ==============================================================
19
-- .... ....... ....... ........................................
20
-- PA1 010813 etord First draft, based on GSM 29.002 v. 3.8.0.
21
-- ..............................................................
35
-- general data types and values
38
maxISDN-AddressLength,
40
ISDN-SubaddressString,
42
Ext-ExternalSignalInfo,
43
AccessNetworkSignalInfo,
48
-- data types for numbering and identification
63
-- data types for CAMEL
64
CellGlobalIdOrServiceAreaIdOrLAI,
66
-- data types for subscriber management
76
-- data types for geographic location
77
AgeOfLocationInformation,
101
TBCD-STRING ::= OCTET STRING
102
-- This type (Telephony Binary Coded Decimal String) is used to
103
-- represent several digits from 0 through 9, *, #, a, b, c, two
104
-- digits per octet, each digit encoded 0000 to 1001 (0 to 9),
105
-- 1010 (*), 1011 (#), 1100 (a), 1101 (b) or 1110 (c); 1111 used
106
-- as filler when there is an odd number of digits.
108
-- bits 8765 of octet n encoding digit 2n
109
-- bits 4321 of octet n encoding digit 2(n-1) +1
111
AddressString ::= OCTET STRING (SIZE (1..maxAddressLength))
112
-- This type is used to represent a number for addressing
113
-- purposes. It is composed of
114
-- a) one octet for nature of address, and numbering plan
116
-- b) digits of an address encoded as TBCD-String.
118
-- a) The first octet includes a one bit extension indicator, a
119
-- 3 bits nature of address indicator and a 4 bits numbering
120
-- plan indicator, encoded as follows:
122
-- bit 8: 1 (no extension)
124
-- bits 765: nature of address indicator
126
-- 001 international number
127
-- 010 national significant number
128
-- 011 network specific number
129
-- 100 subscriber number
131
-- 110 abbreviated number
132
-- 111 reserved for extension
134
-- bits 4321: numbering plan indicator
136
-- 0001 ISDN/Telephony Numbering Plan (Rec CCITT E.164)
138
-- 0011 data numbering plan (CCITT Rec X.121)
139
-- 0100 telex numbering plan (CCITT Rec F.69)
141
-- 0110 land mobile numbering plan (CCITT Rec E.212)
143
-- 1000 national numbering plan
144
-- 1001 private numbering plan
145
-- 1111 reserved for extension
147
-- all other values are reserved.
149
-- b) The following octets representing digits of an address
150
-- encoded as a TBCD-STRING.
152
maxAddressLength INTEGER ::= 20
154
ISDN-AddressString ::=
155
AddressString (SIZE (1..maxISDN-AddressLength))
156
-- This type is used to represent ISDN numbers.
158
maxISDN-AddressLength INTEGER ::= 9
160
FTN-AddressString ::=
161
AddressString (SIZE (1..maxFTN-AddressLength))
162
-- This type is used to represent forwarded-to numbers.
164
maxFTN-AddressLength INTEGER ::= 15
166
ISDN-SubaddressString ::=
167
OCTET STRING (SIZE (1..maxISDN-SubaddressLength))
168
-- This type is used to represent ISDN subaddresses.
170
-- a) one octet for type of subaddress and odd/even indicator.
171
-- b) 20 octets for subaddress information.
173
-- a) The first octet includes a one bit extension indicator, a
174
-- 3 bits type of subaddress and a one bit odd/even indicator,
175
-- encoded as follows:
177
-- bit 8: 1 (no extension)
179
-- bits 765: type of subaddress
180
-- 000 NSAP (X.213/ISO 8348 AD2)
181
-- 010 User Specified
182
-- All other values are reserved
184
-- bit 4: odd/even indicator
185
-- 0 even number of address signals
186
-- 1 odd number of address signals
187
-- The odd/even indicator is used when the type of subaddress
188
-- is "user specified" and the coding is BCD.
190
-- bits 321: 000 (unused)
192
-- b) Subaddress information.
193
-- The NSAP X.213/ISO8348AD2 address shall be formatted as specified
194
-- by octet 4 which contains the Authority and Format Identifier
195
-- (AFI). The encoding is made according to the "preferred binary
196
-- encoding" as defined in X.213/ISO834AD2. For the definition
197
-- of this type of subaddress, see CCITT Rec I.334.
199
-- For User-specific subaddress, this field is encoded according
200
-- to the user specification, subject to a maximum length of 20
201
-- octets. When interworking with X.25 networks BCD coding should
204
maxISDN-SubaddressLength INTEGER ::= 21
206
ExternalSignalInfo ::= SEQUENCE {
207
protocolId ProtocolId,
208
signalInfo SignalInfo,
209
-- Information about the internal structure is given in
211
extensionContainer ExtensionContainer OPTIONAL,
212
-- extensionContainer must not be used in version 2
215
SignalInfo ::= OCTET STRING (SIZE (1..maxSignalInfoLength))
217
maxSignalInfoLength INTEGER ::= 200
218
-- This NamedValue represents the theoretical maximum number of octets which is
219
-- available to carry a single instance of the SignalInfo data type,
220
-- without requiring segmentation to cope with the network layer service.
221
-- However, the actual maximum size available for an instance of the data
222
-- type may be lower, especially when other information elements
223
-- have to be included in the same component.
225
ProtocolId ::= ENUMERATED {
229
-- Value 3 is reserved and must not be used
232
Ext-ExternalSignalInfo ::= SEQUENCE {
233
ext-ProtocolId Ext-ProtocolId,
234
signalInfo SignalInfo,
235
-- Information about the internal structure is given in
236
-- subclause 7.6.9.10
237
extensionContainer ExtensionContainer OPTIONAL,
240
Ext-ProtocolId ::= ENUMERATED {
244
-- exception handling:
245
-- For Ext-ExternalSignalInfo sequences containing this parameter with any
246
-- other value than the ones listed the receiver shall ignore the whole
247
-- Ext-ExternalSignalInfo sequence.
249
AccessNetworkSignalInfo ::= SEQUENCE {
250
accessNetworkProtocolId AccessNetworkProtocolId,
251
signalInfo LongSignalInfo,
252
-- Information about the internal structure is given in
253
extensionContainer ExtensionContainer OPTIONAL,
256
LongSignalInfo ::= OCTET STRING (SIZE (1..maxLongSignalInfoLength))
258
maxLongSignalInfoLength INTEGER ::= 2560
259
-- This Named Value represents the maximum number of octets which is available
260
-- to carry a single instance of the LongSignalInfo data type using
261
-- White Book SCCP with the maximum number of segments.
262
-- It takes account of the octets used by the lower layers of the protocol, and
263
-- other information elements which may be included in the same component.
266
AccessNetworkProtocolId ::= ENUMERATED {
270
-- exception handling:
271
-- For AccessNetworkSignalInfo sequences containing this parameter with any
272
-- other value than the ones listed the receiver shall ignore the whole
273
-- AccessNetworkSignalInfo sequence.
275
AlertingPattern ::= OCTET STRING (SIZE (1) )
276
-- This type is used to represent Alerting Pattern
278
-- bits 8765 : 0000 (unused)
280
-- bits 43 : type of Pattern
284
-- all other values are reserved.
286
-- bits 21 : type of alerting
288
alertingLevel-0 AlertingPattern ::= '00000000'B
289
alertingLevel-1 AlertingPattern ::= '00000001'B
290
alertingLevel-2 AlertingPattern ::= '00000010'B
291
-- all other values of Alerting level are reserved
292
-- Alerting Levels are defined in GSM 02.07
294
alertingCategory-1 AlertingPattern ::= '00000100'B
295
alertingCategory-2 AlertingPattern ::= '00000101'B
296
alertingCategory-3 AlertingPattern ::= '00000110'B
297
alertingCategory-4 AlertingPattern ::= '00000111'B
298
alertingCategory-5 AlertingPattern ::= '00001000'B
299
-- all other values of Alerting Category are reserved
300
-- Alerting categories are defined in GSM 02.07
303
-- data types for numbering and identification
305
IMSI ::= TBCD-STRING (SIZE (3..8))
306
-- digits of MCC, MNC, MSIN are concatenated in this order.
308
Identity ::= CHOICE {
310
imsi-WithLMSI IMSI-WithLMSI}
312
IMSI-WithLMSI ::= SEQUENCE {
315
-- a special value 00000000 indicates that the LMSI is not in use
318
ASCI-CallReference ::= TBCD-STRING (SIZE (1..8))
319
-- digits of VGCS/VBC-area,Group-ID are concatenated in this order.
322
TMSI ::= OCTET STRING (SIZE (1..4))
324
SubscriberId ::= CHOICE {
328
IMEI ::= TBCD-STRING (SIZE (8))
329
-- Refers to International Mobile Station Equipment Identity
330
-- and Software Version Number (SVN) defined in TS GSM 03.03.
331
-- If the SVN is not present the last octet shall contain the
332
-- digit 0 and a filler.
333
-- If present the SVN shall be included in the last octet.
336
-- leading digits of IMSI, i.e. (MCC, MNC, leading digits of
337
-- MSIN) forming HLR Id defined in TS GSM 03.03.
339
HLR-List ::= SEQUENCE SIZE (1..maxNumOfHLR-Id) OF
342
maxNumOfHLR-Id INTEGER ::= 50
344
LMSI ::= OCTET STRING (SIZE (4))
346
GlobalCellId ::= OCTET STRING (SIZE (5..7))
347
-- Refers to Cell Global Identification defined in TS GSM 03.03.
348
-- The internal structure is defined as follows:
349
-- octet 1 bits 4321 Mobile Country Code 1st digit
350
-- bits 8765 Mobile Country Code 2nd digit
351
-- octet 2 bits 4321 Mobile Country Code 3rd digit
352
-- bits 8765 Mobile Network Code 3rd digit
353
-- or filler (1111) for 2 digit MNCs
354
-- octet 3 bits 4321 Mobile Network Code 1st digit
355
-- bits 8765 Mobile Network Code 2nd digit
356
-- octets 4 and 5 Location Area Code according to TS GSM 04.08
357
-- octets 6 and 7 Cell Identity (CI) according to TS GSM 04.08
359
NetworkResource ::= ENUMERATED {
369
NAEA-PreferredCI ::= SEQUENCE {
370
naea-PreferredCIC [0] NAEA-CIC,
371
extensionContainer [1] ExtensionContainer OPTIONAL,
374
NAEA-CIC ::= OCTET STRING (SIZE (3))
375
-- The internal structure is defined by the Carrier Identification
376
-- parameter in ANSI T1.113.3. Carrier codes between �000� and �999� may
377
-- be encoded as 3 digits using �000� to �999� or as 4 digits using
378
-- �0000� to �0999�. Carrier codes between �1000� and �9999� are encoded
381
SubscriberIdentity ::= CHOICE {
383
msisdn [1] ISDN-AddressString
386
LCSClientExternalID ::= SEQUENCE {
387
externalAddress [0] AddressString OPTIONAL,
388
extensionContainer [1] ExtensionContainer OPTIONAL,
391
LCSClientInternalID ::= ENUMERATED {
392
broadcastService (0),
395
anonymousLocation (3),
396
targetMSsubscribedService (4),
398
-- for a CAMEL phase 3 PLMN operator client, the value targetMSsubscribedService shall be used
401
-- data types for CAMEL
403
CellGlobalIdOrServiceAreaIdOrLAI ::= CHOICE {
404
cellGlobalIdOrServiceAreaIdFixedLength [0] CellGlobalIdOrServiceAreaIdFixedLength,
405
laiFixedLength [1] LAIFixedLength}
407
CellGlobalIdOrServiceAreaIdFixedLength ::= OCTET STRING (SIZE (7))
408
-- Refers to Cell Global Identification or Service Are Identification
409
-- defined in 3G TS 23.003.
410
-- The internal structure is defined as follows:
411
-- octet 1 bits 4321 Mobile Country Code 1st digit
412
-- bits 8765 Mobile Country Code 2nd digit
413
-- octet 2 bits 4321 Mobile Country Code 3rd digit
414
-- bits 8765 Mobile Network Code 3rd digit
415
-- or filler (1111) for 2 digit MNCs
416
-- octet 3 bits 4321 Mobile Network Code 1st digit
417
-- bits 8765 Mobile Network Code 2nd digit
418
-- octets 4 and 5 Location Area Code according to 3G TS 24.008
419
-- octets 6 and 7 Cell Identity (CI) value or
420
-- Service Area Code (SAC) value
421
-- according to 3G TS 23.003
423
LAIFixedLength ::= OCTET STRING (SIZE (5))
424
-- Refers to Location Area Identification defined in TS GSM 03.03.
425
-- The internal structure is defined as follows:
426
-- octet 1 bits 4321 Mobile Country Code 1st digit
427
-- bits 8765 Mobile Country Code 2nd digit
428
-- octet 2 bits 4321 Mobile Country Code 3rd digit
429
-- bits 8765 Mobile Network Code 3rd digit
430
-- or filler (1111) for 2 digit MNCs
431
-- octet 3 bits 4321 Mobile Network Code 1st digit
432
-- bits 8765 Mobile Network Code 2nd digit
433
-- octets 4 and 5 Location Area Code according to TS GSM 04.08
436
-- data types for subscriber management
438
BasicServiceCode ::= CHOICE {
439
bearerService [2] BearerServiceCode,
440
teleservice [3] TeleserviceCode}
442
Ext-BasicServiceCode ::= CHOICE {
443
ext-BearerService [2] Ext-BearerServiceCode,
444
ext-Teleservice [3] Ext-TeleserviceCode}
446
EMLPP-Info ::= SEQUENCE {
447
maximumentitledPriority EMLPP-Priority,
448
defaultPriority EMLPP-Priority,
449
extensionContainer ExtensionContainer OPTIONAL,
452
EMLPP-Priority ::= INTEGER (0..15)
453
-- The mapping from the values A,B,0,1,2,3,4 to the integer-value is
454
-- specified as follows where A is the highest and 4 is the lowest
456
-- the integer values 7-15 are spare and shall be mapped to value 4
458
priorityLevelA EMLPP-Priority ::= 6
459
priorityLevelB EMLPP-Priority ::= 5
460
priorityLevel0 EMLPP-Priority ::= 0
461
priorityLevel1 EMLPP-Priority ::= 1
462
priorityLevel2 EMLPP-Priority ::= 2
463
priorityLevel3 EMLPP-Priority ::= 3
464
priorityLevel4 EMLPP-Priority ::= 4
467
MC-SS-Info ::= SEQUENCE {
469
ss-Status [1] Ext-SS-Status,
470
nbrSB [2] MaxMC-Bearers,
471
nbrUser [3] MC-Bearers,
472
extensionContainer [4] ExtensionContainer OPTIONAL,
475
MaxMC-Bearers ::= INTEGER (2..maxNumOfMC-Bearers)
477
MC-Bearers ::= INTEGER (1..maxNumOfMC-Bearers)
479
maxNumOfMC-Bearers INTEGER ::= 7
482
Ext-SS-Status ::= OCTET STRING (SIZE (1..5))
486
-- bits 8765: 0000 (unused)
487
-- bits 4321: Used to convey the "P bit","R bit","A bit" and "Q bit",
488
-- representing supplementary service state information
489
-- as defined in TS GSM 03.11
499
-- OCTETS 2-5: reserved for future use. They shall be discarded if
500
-- received and not understood.
504
-- data types for geographic location
506
AgeOfLocationInformation ::= INTEGER (0..32767)
507
-- the value represents the elapsed time in minutes since the last
508
-- network contact of the mobile station (i.e. the actuality of the
509
-- location information).
510
-- value �0� indicates that the MS is currently in contact with the
512
-- value �32767� indicates that the location information is at least