1 -- 3GPP TS 29.002 V13.2.0 (2015-12)
2 -- 17.7.8 Common data types
5 itu-t identified-organization (4) etsi (0) mobileDomain (0)
6 gsm-Network (1) modules (3) map-CommonDataTypes (18) version16 (16)}
18 -- general data types and values
21 maxISDN-AddressLength,
23 ISDN-SubaddressString,
25 Ext-ExternalSignalInfo,
26 AccessNetworkSignalInfo,
35 -- data types for numbering and identification
45 AdditionalNetworkResource,
54 NetworkNodeDiameterAddress,
56 -- data types for CAMEL
57 CellGlobalIdOrServiceAreaIdOrLAI,
58 CellGlobalIdOrServiceAreaIdFixedLength,
61 -- data types for subscriber management
71 -- data types for geographic location
72 AgeOfLocationInformation,
76 -- WS added exports needed by gsm_map.asn (extra asn1 file to handle older protocol versions)
78 -- gprs location registration types
87 itu-t identified-organization (4) etsi (0) mobileDomain (0)
88 gsm-Network (1) modules (3) map-TS-Code (19) version16 (16)}
93 itu-t identified-organization (4) etsi (0) mobileDomain (0)
94 gsm-Network (1) modules (3) map-BS-Code (20) version16 (16)}
98 itu-t identified-organization (4) etsi (0) mobileDomain (0)
99 gsm-Network (1) modules (3) map-SS-Code (15) version16 (16)}
102 FROM MAP-ExtensionDataTypes {
103 itu-t identified-organization (4) etsi (0) mobileDomain (0)
104 gsm-Network (1) modules (3) map-ExtensionDataTypes (21) version16 (16)}
108 -- general data types
110 TBCD-STRING ::= OCTET STRING
111 -- This type (Telephony Binary Coded Decimal String) is used to
112 -- represent several digits from 0 through 9, *, #, a, b, c, two
113 -- digits per octet, each digit encoded 0000 to 1001 (0 to 9),
114 -- 1010 (*), 1011 (#), 1100 (a), 1101 (b) or 1110 (c); 1111 used
115 -- as filler when there is an odd number of digits.
117 -- bits 8765 of octet n encoding digit 2n
118 -- bits 4321 of octet n encoding digit 2(n-1) +1
120 DiameterIdentity ::= OCTET STRING (SIZE(9..255))
121 -- content of DiameterIdentity is defined in IETF RFC 3588 [139]
123 AddressString ::= OCTET STRING (SIZE (1..maxAddressLength))
124 -- This type is used to represent a number for addressing
125 -- purposes. It is composed of
126 -- a) one octet for nature of address, and numbering plan
128 -- b) digits of an address encoded as TBCD-String.
130 -- a) The first octet includes a one bit extension indicator, a
131 -- 3 bits nature of address indicator and a 4 bits numbering
132 -- plan indicator, encoded as follows:
134 -- bit 8: 1 (no extension)
136 -- bits 765: nature of address indicator
138 -- 001 international number
139 -- 010 national significant number
140 -- 011 network specific number
141 -- 100 subscriber number
143 -- 110 abbreviated number
144 -- 111 reserved for extension
146 -- bits 4321: numbering plan indicator
148 -- 0001 ISDN/Telephony Numbering Plan (Rec ITU-T E.164)
150 -- 0011 data numbering plan (ITU-T Rec X.121)
151 -- 0100 telex numbering plan (ITU-T Rec F.69)
153 -- 0110 land mobile numbering plan (ITU-T Rec E.212)
155 -- 1000 national numbering plan
156 -- 1001 private numbering plan
157 -- 1111 reserved for extension
159 -- all other values are reserved.
161 -- b) The following octets representing digits of an address
162 -- encoded as a TBCD-STRING.
164 maxAddressLength INTEGER ::= 20
166 ISDN-AddressString ::=
167 AddressString (SIZE (1..maxISDN-AddressLength))
168 -- This type is used to represent ISDN numbers.
170 maxISDN-AddressLength INTEGER ::= 9
172 FTN-AddressString ::=
173 AddressString (SIZE (1..maxFTN-AddressLength))
174 -- This type is used to represent forwarded-to numbers.
175 -- If NAI = international the first digits represent the country code (CC)
176 -- and the network destination code (NDC) as for E.164.
178 maxFTN-AddressLength INTEGER ::= 15
180 ISDN-SubaddressString ::=
181 OCTET STRING (SIZE (1..maxISDN-SubaddressLength))
182 -- This type is used to represent ISDN subaddresses.
184 -- a) one octet for type of subaddress and odd/even indicator.
185 -- b) 20 octets for subaddress information.
187 -- a) The first octet includes a one bit extension indicator, a
188 -- 3 bits type of subaddress and a one bit odd/even indicator,
189 -- encoded as follows:
191 -- bit 8: 1 (no extension)
193 -- bits 765: type of subaddress
194 -- 000 NSAP (X.213/ISO 8348 AD2)
195 -- 010 User Specified
196 -- All other values are reserved
198 -- bit 4: odd/even indicator
199 -- 0 even number of address signals
200 -- 1 odd number of address signals
201 -- The odd/even indicator is used when the type of subaddress
202 -- is "user specified" and the coding is BCD.
204 -- bits 321: 000 (unused)
206 -- b) Subaddress information.
207 -- The NSAP X.213/ISO8348AD2 address shall be formatted as specified
208 -- by octet 4 which contains the Authority and Format Identifier
209 -- (AFI). The encoding is made according to the "preferred binary
210 -- encoding" as defined in X.213/ISO834AD2. For the definition
211 -- of this type of subaddress, see ITU-T Rec I.334.
213 -- For User-specific subaddress, this field is encoded according
214 -- to the user specification, subject to a maximum length of 20
215 -- octets. When interworking with X.25 networks BCD coding should
218 maxISDN-SubaddressLength INTEGER ::= 21
220 ExternalSignalInfo ::= SEQUENCE {
221 protocolId ProtocolId,
222 signalInfo SignalInfo,
223 -- Information about the internal structure is given in
225 extensionContainer ExtensionContainer OPTIONAL,
226 -- extensionContainer must not be used in version 2
229 SignalInfo ::= OCTET STRING (SIZE (1..maxSignalInfoLength))
231 maxSignalInfoLength INTEGER ::= 200
232 -- This NamedValue represents the theoretical maximum number of octets which is
233 -- available to carry a single instance of the SignalInfo data type,
234 -- without requiring segmentation to cope with the network layer service.
235 -- However, the actual maximum size available for an instance of the data
236 -- type may be lower, especially when other information elements
237 -- have to be included in the same component.
239 ProtocolId ::= ENUMERATED {
243 -- Value 3 is reserved and must not be used
246 Ext-ExternalSignalInfo ::= SEQUENCE {
247 ext-ProtocolId Ext-ProtocolId,
248 signalInfo SignalInfo,
249 -- Information about the internal structure is given in
251 extensionContainer ExtensionContainer OPTIONAL,
254 Ext-ProtocolId ::= ENUMERATED {
258 -- exception handling:
259 -- For Ext-ExternalSignalInfo sequences containing this parameter with any
260 -- other value than the ones listed the receiver shall ignore the whole
261 -- Ext-ExternalSignalInfo sequence.
263 AccessNetworkSignalInfo ::= SEQUENCE {
264 accessNetworkProtocolId AccessNetworkProtocolId,
265 signalInfo LongSignalInfo,
266 -- Information about the internal structure is given in clause 7.6.9.1
268 extensionContainer ExtensionContainer OPTIONAL,
271 LongSignalInfo ::= OCTET STRING (SIZE (1..maxLongSignalInfoLength))
273 maxLongSignalInfoLength INTEGER ::= 2560
274 -- This Named Value represents the maximum number of octets which is available
275 -- to carry a single instance of the LongSignalInfo data type using
276 -- White Book SCCP with the maximum number of segments.
277 -- It takes account of the octets used by the lower layers of the protocol, and
278 -- other information elements which may be included in the same component.
280 AccessNetworkProtocolId ::= ENUMERATED {
284 -- exception handling:
285 -- For AccessNetworkSignalInfo sequences containing this parameter with any
286 -- other value than the ones listed the receiver shall ignore the whole
287 -- AccessNetworkSignalInfo sequence.
289 AlertingPattern ::= OCTET STRING (SIZE (1) )
290 -- This type is used to represent Alerting Pattern
292 -- bits 8765 : 0000 (unused)
294 -- bits 43 : type of Pattern
298 -- all other values are reserved.
300 -- bits 21 : type of alerting
302 alertingLevel-0 AlertingPattern ::= '00000000'B
303 alertingLevel-1 AlertingPattern ::= '00000001'B
304 alertingLevel-2 AlertingPattern ::= '00000010'B
305 -- all other values of Alerting level are reserved
306 -- Alerting Levels are defined in GSM 02.07
308 alertingCategory-1 AlertingPattern ::= '00000100'B
309 alertingCategory-2 AlertingPattern ::= '00000101'B
310 alertingCategory-3 AlertingPattern ::= '00000110'B
311 alertingCategory-4 AlertingPattern ::= '00000111'B
312 alertingCategory-5 AlertingPattern ::= '00001000'B
313 -- all other values of Alerting Category are reserved
314 -- Alerting categories are defined in GSM 02.07
316 GSN-Address ::= OCTET STRING (SIZE (5..17))
317 -- Octets are coded according to TS 3GPP TS 23.003 [17]
319 Time ::= OCTET STRING (SIZE (4))
320 -- Octets are coded according to IETF RFC 3588 [139]
323 -- data types for numbering and identification
325 IMSI ::= TBCD-STRING (SIZE (3..8))
326 -- digits of MCC, MNC, MSIN are concatenated in this order.
328 Identity ::= CHOICE {
330 imsi-WithLMSI IMSI-WithLMSI}
332 IMSI-WithLMSI ::= SEQUENCE {
335 -- a special value 00000000 indicates that the LMSI is not in use
338 ASCI-CallReference ::= TBCD-STRING (SIZE (1..8))
339 -- digits of VGCS/VBS-area,Group-ID are concatenated in this order if there is a
342 TMSI ::= OCTET STRING (SIZE (1..4))
344 SubscriberId ::= CHOICE {
348 IMEI ::= TBCD-STRING (SIZE (8))
349 -- Refers to International Mobile Station Equipment Identity
350 -- and Software Version Number (SVN) defined in TS 3GPP TS 23.003 [17].
351 -- If the SVN is not present the last octet shall contain the
352 -- digit 0 and a filler.
353 -- If present the SVN shall be included in the last octet.
356 -- leading digits of IMSI, i.e. (MCC, MNC, leading digits of
357 -- MSIN) forming HLR Id defined in TS 3GPP TS 23.003 [17].
359 HLR-List ::= SEQUENCE SIZE (1..maxNumOfHLR-Id) OF
362 maxNumOfHLR-Id INTEGER ::= 50
364 LMSI ::= OCTET STRING (SIZE (4))
366 GlobalCellId ::= OCTET STRING (SIZE (5..7))
367 -- Refers to Cell Global Identification defined in TS 3GPP TS 23.003 [17].
368 -- The internal structure is defined as follows:
369 -- octet 1 bits 4321 Mobile Country Code 1st digit
370 -- bits 8765 Mobile Country Code 2nd digit
371 -- octet 2 bits 4321 Mobile Country Code 3rd digit
372 -- bits 8765 Mobile Network Code 3rd digit
373 -- or filler (1111) for 2 digit MNCs
374 -- octet 3 bits 4321 Mobile Network Code 1st digit
375 -- bits 8765 Mobile Network Code 2nd digit
376 -- octets 4 and 5 Location Area Code according to TS 3GPP TS 24.008 [35]
377 -- octets 6 and 7 Cell Identity (CI) according to TS 3GPP TS 24.008 [35]
379 NetworkResource ::= ENUMERATED {
389 AdditionalNetworkResource ::= ENUMERATED {
399 -- if unknown value is received in AdditionalNetworkResource
400 -- it shall be ignored.
403 NAEA-PreferredCI ::= SEQUENCE {
404 naea-PreferredCIC [0] NAEA-CIC,
405 extensionContainer [1] ExtensionContainer OPTIONAL,
408 NAEA-CIC ::= OCTET STRING (SIZE (3))
409 -- The internal structure is defined by the Carrier Identification
410 -- parameter in ANSI T1.113.3. Carrier codes between
\93000
\94 and
\93999
\94 may
411 -- be encoded as 3 digits using
\93000
\94 to
\93999
\94 or as 4 digits using
412 --
\930000
\94 to
\930999
\94. Carrier codes between
\931000
\94 and
\939999
\94 are encoded
415 SubscriberIdentity ::= CHOICE {
417 msisdn [1] ISDN-AddressString
420 LCSClientExternalID ::= SEQUENCE {
421 externalAddress [0] ISDN-AddressString OPTIONAL,
422 extensionContainer [1] ExtensionContainer OPTIONAL,
425 LCSClientInternalID ::= ENUMERATED {
426 broadcastService (0),
429 anonymousLocation (3),
430 targetMSsubscribedService (4),
432 -- for a CAMEL phase 3 PLMN operator client, the value targetMSsubscribedService shall be used
434 LCSServiceTypeID ::= INTEGER (0..127)
435 -- the integer values 0-63 are reserved for Standard LCS service types
436 -- the integer values 64-127 are reserved for Non Standard LCS service types
438 -- Standard LCS Service Types
439 emergencyServices LCSServiceTypeID ::= 0
440 emergencyAlertServices LCSServiceTypeID ::= 1
441 personTracking LCSServiceTypeID ::= 2
442 fleetManagement LCSServiceTypeID ::= 3
443 assetManagement LCSServiceTypeID ::= 4
444 trafficCongestionReporting LCSServiceTypeID ::= 5
445 roadsideAssistance LCSServiceTypeID ::= 6
446 routingToNearestCommercialEnterprise LCSServiceTypeID ::= 7
447 navigation LCSServiceTypeID ::= 8
448 --this service type is reserved for use in previous releases
449 citySightseeing LCSServiceTypeID ::= 9
450 localizedAdvertising LCSServiceTypeID ::= 10
451 mobileYellowPages LCSServiceTypeID ::= 11
452 trafficAndPublicTransportationInfo LCSServiceTypeID ::= 12
453 weather LCSServiceTypeID ::= 13
454 assetAndServiceFinding LCSServiceTypeID ::= 14
455 gaming LCSServiceTypeID ::= 15
456 findYourFriend LCSServiceTypeID ::= 16
457 dating LCSServiceTypeID ::= 17
458 chatting LCSServiceTypeID ::= 18
459 routeFinding LCSServiceTypeID ::= 19
460 whereAmI LCSServiceTypeID ::= 20
462 -- The values of LCSServiceTypeID are defined according to 3GPP TS 22.071.
464 -- Non Standard LCS Service Types
465 serv64 LCSServiceTypeID ::= 64
466 serv65 LCSServiceTypeID ::= 65
467 serv66 LCSServiceTypeID ::= 66
468 serv67 LCSServiceTypeID ::= 67
469 serv68 LCSServiceTypeID ::= 68
470 serv69 LCSServiceTypeID ::= 69
471 serv70 LCSServiceTypeID ::= 70
472 serv71 LCSServiceTypeID ::= 71
473 serv72 LCSServiceTypeID ::= 72
474 serv73 LCSServiceTypeID ::= 73
475 serv74 LCSServiceTypeID ::= 74
476 serv75 LCSServiceTypeID ::= 75
477 serv76 LCSServiceTypeID ::= 76
478 serv77 LCSServiceTypeID ::= 77
479 serv78 LCSServiceTypeID ::= 78
480 serv79 LCSServiceTypeID ::= 79
481 serv80 LCSServiceTypeID ::= 80
482 serv81 LCSServiceTypeID ::= 81
483 serv82 LCSServiceTypeID ::= 82
484 serv83 LCSServiceTypeID ::= 83
485 serv84 LCSServiceTypeID ::= 84
486 serv85 LCSServiceTypeID ::= 85
487 serv86 LCSServiceTypeID ::= 86
488 serv87 LCSServiceTypeID ::= 87
489 serv88 LCSServiceTypeID ::= 88
490 serv89 LCSServiceTypeID ::= 89
491 serv90 LCSServiceTypeID ::= 90
492 serv91 LCSServiceTypeID ::= 91
493 serv92 LCSServiceTypeID ::= 92
494 serv93 LCSServiceTypeID ::= 93
495 serv94 LCSServiceTypeID ::= 94
496 serv95 LCSServiceTypeID ::= 95
497 serv96 LCSServiceTypeID ::= 96
498 serv97 LCSServiceTypeID ::= 97
499 serv98 LCSServiceTypeID ::= 98
500 serv99 LCSServiceTypeID ::= 99
501 serv100 LCSServiceTypeID ::= 100
502 serv101 LCSServiceTypeID ::= 101
503 serv102 LCSServiceTypeID ::= 102
504 serv103 LCSServiceTypeID ::= 103
505 serv104 LCSServiceTypeID ::= 104
506 serv105 LCSServiceTypeID ::= 105
507 serv106 LCSServiceTypeID ::= 106
508 serv107 LCSServiceTypeID ::= 107
509 serv108 LCSServiceTypeID ::= 108
510 serv109 LCSServiceTypeID ::= 109
511 serv110 LCSServiceTypeID ::= 110
512 serv111 LCSServiceTypeID ::= 111
513 serv112 LCSServiceTypeID ::= 112
514 serv113 LCSServiceTypeID ::= 113
515 serv114 LCSServiceTypeID ::= 114
516 serv115 LCSServiceTypeID ::= 115
517 serv116 LCSServiceTypeID ::= 116
518 serv117 LCSServiceTypeID ::= 117
519 serv118 LCSServiceTypeID ::= 118
520 serv119 LCSServiceTypeID ::= 119
521 serv120 LCSServiceTypeID ::= 120
522 serv121 LCSServiceTypeID ::= 121
523 serv122 LCSServiceTypeID ::= 122
524 serv123 LCSServiceTypeID ::= 123
525 serv124 LCSServiceTypeID ::= 124
526 serv125 LCSServiceTypeID ::= 125
527 serv126 LCSServiceTypeID ::= 126
528 serv127 LCSServiceTypeID ::= 127
530 PLMN-Id ::= OCTET STRING (SIZE (3))
531 -- The internal structure is defined as follows:
532 -- octet 1 bits 4321 Mobile Country Code 1st digit
533 -- bits 8765 Mobile Country Code 2nd digit
534 -- octet 2 bits 4321 Mobile Country Code 3rd digit
535 -- bits 8765 Mobile Network Code 3rd digit
536 -- or filler (1111) for 2 digit MNCs
537 -- octet 3 bits 4321 Mobile Network Code 1st digit
538 -- bits 8765 Mobile Network Code 2nd digit
540 E-UTRAN-CGI ::= OCTET STRING (SIZE (7))
541 -- Octets are coded as described in 3GPP TS 29.118.
543 TA-Id ::= OCTET STRING (SIZE (5))
544 -- Octets are coded as described in 3GPP TS 29.118.
546 RAIdentity ::= OCTET STRING (SIZE (6))
547 -- Routing Area Identity is coded in accordance with 3GPP TS 29.060 [105].
548 -- It shall contain the value part defined in 3GPP TS 29.060 only. I.e. the 3GPP TS 29.060
549 -- type identifier octet shall not be included.
551 NetworkNodeDiameterAddress::= SEQUENCE {
552 diameter-Name [0] DiameterIdentity,
553 diameter-Realm [1] DiameterIdentity }
555 -- data types for CAMEL
557 CellGlobalIdOrServiceAreaIdOrLAI ::= CHOICE {
558 cellGlobalIdOrServiceAreaIdFixedLength [0] CellGlobalIdOrServiceAreaIdFixedLength,
559 laiFixedLength [1] LAIFixedLength}
561 CellGlobalIdOrServiceAreaIdFixedLength ::= OCTET STRING (SIZE (7))
562 -- Refers to Cell Global Identification or Service Are Identification
563 -- defined in 3GPP TS 23.003.
564 -- The internal structure is defined as follows:
565 -- octet 1 bits 4321 Mobile Country Code 1st digit
566 -- bits 8765 Mobile Country Code 2nd digit
567 -- octet 2 bits 4321 Mobile Country Code 3rd digit
568 -- bits 8765 Mobile Network Code 3rd digit
569 -- or filler (1111) for 2 digit MNCs
570 -- octet 3 bits 4321 Mobile Network Code 1st digit
571 -- bits 8765 Mobile Network Code 2nd digit
572 -- octets 4 and 5 Location Area Code according to 3GPP TS 24.008
573 -- octets 6 and 7 Cell Identity (CI) value or
574 -- Service Area Code (SAC) value
575 -- according to 3GPP TS 23.003
577 LAIFixedLength ::= OCTET STRING (SIZE (5))
578 -- Refers to Location Area Identification defined in 3GPP TS 23.003 [17].
579 -- The internal structure is defined as follows:
580 -- octet 1 bits 4321 Mobile Country Code 1st digit
581 -- bits 8765 Mobile Country Code 2nd digit
582 -- octet 2 bits 4321 Mobile Country Code 3rd digit
583 -- bits 8765 Mobile Network Code 3rd digit
584 -- or filler (1111) for 2 digit MNCs
585 -- octet 3 bits 4321 Mobile Network Code 1st digit
586 -- bits 8765 Mobile Network Code 2nd digit
587 -- octets 4 and 5 Location Area Code according to 3GPP TS 24.008 [35]
589 -- data types for subscriber management
591 BasicServiceCode ::= CHOICE {
592 bearerService [2] BearerServiceCode,
593 teleservice [3] TeleserviceCode}
595 Ext-BasicServiceCode ::= CHOICE {
596 ext-BearerService [2] Ext-BearerServiceCode,
597 ext-Teleservice [3] Ext-TeleserviceCode}
599 EMLPP-Info ::= SEQUENCE {
600 maximumentitledPriority EMLPP-Priority,
601 defaultPriority EMLPP-Priority,
602 extensionContainer ExtensionContainer OPTIONAL,
605 EMLPP-Priority ::= INTEGER (0..15)
606 -- The mapping from the values A,B,0,1,2,3,4 to the integer-value is
607 -- specified as follows where A is the highest and 4 is the lowest
609 -- the integer values 7-15 are spare and shall be mapped to value 4
611 priorityLevelA EMLPP-Priority ::= 6
612 priorityLevelB EMLPP-Priority ::= 5
613 priorityLevel0 EMLPP-Priority ::= 0
614 priorityLevel1 EMLPP-Priority ::= 1
615 priorityLevel2 EMLPP-Priority ::= 2
616 priorityLevel3 EMLPP-Priority ::= 3
617 priorityLevel4 EMLPP-Priority ::= 4
619 MC-SS-Info ::= SEQUENCE {
621 ss-Status [1] Ext-SS-Status,
622 nbrSB [2] MaxMC-Bearers,
623 nbrUser [3] MC-Bearers,
624 extensionContainer [4] ExtensionContainer OPTIONAL,
627 MaxMC-Bearers ::= INTEGER (2..maxNumOfMC-Bearers)
629 MC-Bearers ::= INTEGER (1..maxNumOfMC-Bearers)
631 maxNumOfMC-Bearers INTEGER ::= 7
633 Ext-SS-Status ::= OCTET STRING (SIZE (1..5))
637 -- bits 8765: 0000 (unused)
638 -- bits 4321: Used to convey the "P bit","R bit","A bit" and "Q bit",
639 -- representing supplementary service state information
640 -- as defined in TS 3GPP TS 23.011 [22]
650 -- OCTETS 2-5: reserved for future use. They shall be discarded if
651 -- received and not understood.
654 -- data types for geographic location
656 AgeOfLocationInformation ::= INTEGER (0..32767)
657 -- the value represents the elapsed time in minutes since the last
658 -- network contact of the mobile station (i.e. the actuality of the
659 -- location information).
660 -- value
\930
\94 indicates that the MS is currently in contact with the
662 -- value
\9332767
\94 indicates that the location information is at least