Sylvain Munaut | 0f91413 | 2009-12-22 21:53:22 +0100 | [diff] [blame] | 1 | -- $Id: MAP-SM-DataTypes.asn 28149 2009-04-25 17:45:34Z etxrab $ |
| 2 | -- 3GPP TS 29.002 V8.9.0 (2009-04) |
| 3 | -- 17.7.6 Short message data types |
| 4 | |
| 5 | MAP-SM-DataTypes { |
| 6 | itu-t identified-organization (4) etsi (0) mobileDomain (0) |
| 7 | gsm-Network (1) modules (3) map-SM-DataTypes (16) version11 (11)} |
| 8 | |
| 9 | DEFINITIONS |
| 10 | |
| 11 | IMPLICIT TAGS |
| 12 | |
| 13 | ::= |
| 14 | |
| 15 | BEGIN |
| 16 | |
| 17 | EXPORTS |
| 18 | RoutingInfoForSM-Arg, |
| 19 | RoutingInfoForSM-Res, |
| 20 | MO-ForwardSM-Arg, |
| 21 | MO-ForwardSM-Res, |
| 22 | MT-ForwardSM-Arg, |
| 23 | MT-ForwardSM-Res, |
| 24 | ReportSM-DeliveryStatusArg, |
| 25 | ReportSM-DeliveryStatusRes, |
| 26 | AlertServiceCentreArg, |
| 27 | InformServiceCentreArg, |
| 28 | ReadyForSM-Arg, |
| 29 | ReadyForSM-Res, |
| 30 | SM-DeliveryOutcome, |
| 31 | AlertReason, |
| 32 | Additional-Number, |
| 33 | MT-ForwardSM-VGCS-Arg, |
| 34 | MT-ForwardSM-VGCS-Res |
| 35 | ; |
| 36 | |
| 37 | IMPORTS |
| 38 | AddressString, |
| 39 | ISDN-AddressString, |
| 40 | SignalInfo, |
| 41 | IMSI, |
| 42 | LMSI, |
| 43 | ASCI-CallReference |
| 44 | |
| 45 | FROM MAP-CommonDataTypes { |
| 46 | itu-t identified-organization (4) etsi (0) mobileDomain (0) |
| 47 | gsm-Network (1) modules (3) map-CommonDataTypes (18) version11 (11)} |
| 48 | |
| 49 | AbsentSubscriberDiagnosticSM |
| 50 | FROM MAP-ER-DataTypes { |
| 51 | itu-t identified-organization (4) etsi (0) mobileDomain (0) |
| 52 | gsm-Network (1) modules (3) map-ER-DataTypes (17) version11 (11)} |
| 53 | |
| 54 | ExtensionContainer |
| 55 | FROM MAP-ExtensionDataTypes { |
| 56 | itu-t identified-organization (4) etsi (0) mobileDomain (0) |
| 57 | gsm-Network (1) modules (3) map-ExtensionDataTypes (21) version11 (11)} |
| 58 | ; |
| 59 | |
| 60 | |
| 61 | RoutingInfoForSM-Arg ::= SEQUENCE { |
| 62 | msisdn [0] ISDN-AddressString, |
| 63 | sm-RP-PRI [1] BOOLEAN, |
| 64 | serviceCentreAddress [2] AddressString, |
| 65 | extensionContainer [6] ExtensionContainer OPTIONAL, |
| 66 | ... , |
| 67 | gprsSupportIndicator [7] NULL OPTIONAL, |
| 68 | -- gprsSupportIndicator is set only if the SMS-GMSC supports |
| 69 | -- receiving of two numbers from the HLR |
| 70 | sm-RP-MTI [8] SM-RP-MTI OPTIONAL, |
| 71 | sm-RP-SMEA [9] SM-RP-SMEA OPTIONAL, |
| 72 | sm-deliveryNotIntended [10] SM-DeliveryNotIntended OPTIONAL } |
| 73 | |
| 74 | SM-DeliveryNotIntended ::= ENUMERATED { |
| 75 | onlyIMSI-requested (0), |
| 76 | onlyMCC-MNC-requested (1), |
| 77 | ...} |
| 78 | |
| 79 | SM-RP-MTI ::= INTEGER (0..10) |
| 80 | -- 0 SMS Deliver |
| 81 | -- 1 SMS Status Report |
| 82 | -- other values are reserved for future use and shall be discarded if |
| 83 | -- received |
| 84 | |
| 85 | SM-RP-SMEA ::= OCTET STRING (SIZE (1..12)) |
| 86 | -- this parameter contains an address field which is encoded |
| 87 | -- as defined in 3GPP TS 23.040. An address field contains 3 elements : |
| 88 | -- address-length |
| 89 | -- type-of-address |
| 90 | -- address-value |
| 91 | |
| 92 | RoutingInfoForSM-Res ::= SEQUENCE { |
| 93 | imsi IMSI, |
| 94 | locationInfoWithLMSI [0] LocationInfoWithLMSI, |
| 95 | extensionContainer [4] ExtensionContainer OPTIONAL, |
| 96 | ...} |
| 97 | |
| 98 | LocationInfoWithLMSI ::= SEQUENCE { |
| 99 | networkNode-Number [1] ISDN-AddressString, |
| 100 | lmsi LMSI OPTIONAL, |
| 101 | extensionContainer ExtensionContainer OPTIONAL, |
| 102 | ..., |
| 103 | gprsNodeIndicator [5] NULL OPTIONAL, |
| 104 | -- gprsNodeIndicator is set only if the SGSN number is sent as the |
| 105 | -- Network Node Number |
| 106 | additional-Number [6] Additional-Number OPTIONAL |
| 107 | -- NetworkNode-number can be either msc-number or sgsn-number or IP-SM-GW |
| 108 | -- number or SMS Router number |
| 109 | } |
| 110 | |
| 111 | Additional-Number ::= CHOICE { |
| 112 | msc-Number [0] ISDN-AddressString, |
| 113 | sgsn-Number [1] ISDN-AddressString} |
| 114 | -- additional-number can be either msc-number or sgsn-number |
| 115 | -- if received networkNode-number is msc-number then the |
| 116 | -- additional number is sgsn-number |
| 117 | -- if received networkNode-number is sgsn-number then the |
| 118 | -- additional number is msc-number |
| 119 | |
| 120 | MO-ForwardSM-Arg ::= SEQUENCE { |
| 121 | sm-RP-DA SM-RP-DA, |
| 122 | sm-RP-OA SM-RP-OA, |
| 123 | sm-RP-UI SignalInfo, |
| 124 | extensionContainer ExtensionContainer OPTIONAL, |
| 125 | ... , |
| 126 | imsi IMSI OPTIONAL } |
| 127 | |
| 128 | MO-ForwardSM-Res ::= SEQUENCE { |
| 129 | sm-RP-UI SignalInfo OPTIONAL, |
| 130 | extensionContainer ExtensionContainer OPTIONAL, |
| 131 | ...} |
| 132 | |
| 133 | MT-ForwardSM-Arg ::= SEQUENCE { |
| 134 | sm-RP-DA SM-RP-DA, |
| 135 | sm-RP-OA SM-RP-OA, |
| 136 | sm-RP-UI SignalInfo, |
| 137 | moreMessagesToSend NULL OPTIONAL, |
| 138 | extensionContainer ExtensionContainer OPTIONAL, |
| 139 | ...} |
| 140 | |
| 141 | MT-ForwardSM-Res ::= SEQUENCE { |
| 142 | sm-RP-UI SignalInfo OPTIONAL, |
| 143 | extensionContainer ExtensionContainer OPTIONAL, |
| 144 | ...} |
| 145 | |
| 146 | SM-RP-DA ::= CHOICE { |
| 147 | imsi [0] IMSI, |
| 148 | lmsi [1] LMSI, |
| 149 | serviceCentreAddressDA [4] AddressString, |
| 150 | noSM-RP-DA [5] NULL} |
| 151 | |
| 152 | SM-RP-OA ::= CHOICE { |
| 153 | msisdn [2] ISDN-AddressString, |
| 154 | serviceCentreAddressOA [4] AddressString, |
| 155 | noSM-RP-OA [5] NULL} |
| 156 | |
| 157 | ReportSM-DeliveryStatusArg ::= SEQUENCE { |
| 158 | msisdn ISDN-AddressString, |
| 159 | serviceCentreAddress AddressString, |
| 160 | sm-DeliveryOutcome SM-DeliveryOutcome, |
| 161 | absentSubscriberDiagnosticSM [0] AbsentSubscriberDiagnosticSM |
| 162 | OPTIONAL, |
| 163 | extensionContainer [1] ExtensionContainer OPTIONAL, |
| 164 | ..., |
| 165 | gprsSupportIndicator [2] NULL OPTIONAL, |
| 166 | -- gprsSupportIndicator is set only if the SMS-GMSC supports |
| 167 | -- handling of two delivery outcomes |
| 168 | deliveryOutcomeIndicator [3] NULL OPTIONAL, |
| 169 | -- DeliveryOutcomeIndicator is set when the SM-DeliveryOutcome |
| 170 | -- is for GPRS |
| 171 | additionalSM-DeliveryOutcome [4] SM-DeliveryOutcome OPTIONAL, |
| 172 | -- If received, additionalSM-DeliveryOutcome is for GPRS |
| 173 | -- If DeliveryOutcomeIndicator is set, then AdditionalSM-DeliveryOutcome shall be absent |
| 174 | additionalAbsentSubscriberDiagnosticSM [5] AbsentSubscriberDiagnosticSM OPTIONAL, |
| 175 | -- If received additionalAbsentSubscriberDiagnosticSM is for GPRS |
| 176 | -- If DeliveryOutcomeIndicator is set, then AdditionalAbsentSubscriberDiagnosticSM |
| 177 | -- shall be absent |
| 178 | ip-sm-gw-Indicator [6] NULL OPTIONAL, |
| 179 | -- the ip-sm-gw indicator indicates by its presence that sm-deliveryOutcome |
| 180 | -- is for delivery via IMS |
| 181 | -- If present, deliveryOutcomeIndicator shall be absent. |
| 182 | ip-sm-gw-sm-deliveryOutcome [7] SM-DeliveryOutcome OPTIONAL, |
| 183 | -- If received ip-sm-gw-sm-deliveryOutcome is for delivery via IMS |
| 184 | -- If ip-sm-gw-Indicator is set, then ip-sm-gw-sm-deliveryOutcome shall be absent |
| 185 | ip-sm-gw-absentSubscriberDiagnosticSM [8] AbsentSubscriberDiagnosticSM OPTIONAL |
| 186 | -- If received ip-sm-gw-sm-absentSubscriberDiagnosticSM is for delivery via IMS |
| 187 | -- If ip-sm-gw-Indicator is set, then ip-sm-gw-sm-absentSubscriberDiagnosticSM |
| 188 | -- shall be absent |
| 189 | } |
| 190 | |
| 191 | SM-DeliveryOutcome ::= ENUMERATED { |
| 192 | memoryCapacityExceeded (0), |
| 193 | absentSubscriber (1), |
| 194 | successfulTransfer (2)} |
| 195 | |
| 196 | ReportSM-DeliveryStatusRes ::= SEQUENCE { |
| 197 | storedMSISDN ISDN-AddressString OPTIONAL, |
| 198 | extensionContainer ExtensionContainer OPTIONAL, |
| 199 | ...} |
| 200 | |
| 201 | AlertServiceCentreArg ::= SEQUENCE { |
| 202 | msisdn ISDN-AddressString, |
| 203 | serviceCentreAddress AddressString, |
| 204 | ...} |
| 205 | |
| 206 | InformServiceCentreArg ::= SEQUENCE { |
| 207 | storedMSISDN ISDN-AddressString OPTIONAL, |
| 208 | mw-Status MW-Status OPTIONAL, |
| 209 | extensionContainer ExtensionContainer OPTIONAL, |
| 210 | ... , |
| 211 | absentSubscriberDiagnosticSM AbsentSubscriberDiagnosticSM OPTIONAL, |
| 212 | additionalAbsentSubscriberDiagnosticSM [0] AbsentSubscriberDiagnosticSM OPTIONAL } |
| 213 | -- additionalAbsentSubscriberDiagnosticSM may be present only if |
| 214 | -- absentSubscriberDiagnosticSM is present. |
| 215 | -- if included, additionalAbsentSubscriberDiagnosticSM is for GPRS and |
| 216 | -- absentSubscriberDiagnosticSM is for non-GPRS |
| 217 | |
| 218 | MW-Status ::= BIT STRING { |
| 219 | sc-AddressNotIncluded (0), |
| 220 | mnrf-Set (1), |
| 221 | mcef-Set (2) , |
| 222 | mnrg-Set (3)} (SIZE (6..16)) |
| 223 | -- exception handling: |
| 224 | -- bits 4 to 15 shall be ignored if received and not understood |
| 225 | |
| 226 | ReadyForSM-Arg ::= SEQUENCE { |
| 227 | imsi [0] IMSI, |
| 228 | alertReason AlertReason, |
| 229 | alertReasonIndicator NULL OPTIONAL, |
| 230 | -- alertReasonIndicator is set only when the alertReason |
| 231 | -- sent to HLR is for GPRS |
| 232 | extensionContainer ExtensionContainer OPTIONAL, |
| 233 | ..., |
| 234 | additionalAlertReasonIndicator [1] NULL OPTIONAL |
| 235 | -- additionalAlertReasonIndicator is set only when the alertReason |
| 236 | -- sent to HLR is for IP-SM-GW |
| 237 | } |
| 238 | |
| 239 | ReadyForSM-Res ::= SEQUENCE { |
| 240 | extensionContainer ExtensionContainer OPTIONAL, |
| 241 | ...} |
| 242 | |
| 243 | AlertReason ::= ENUMERATED { |
| 244 | ms-Present (0), |
| 245 | memoryAvailable (1)} |
| 246 | |
| 247 | MT-ForwardSM-VGCS-Arg ::= SEQUENCE { |
| 248 | asciCallReference ASCI-CallReference, |
| 249 | sm-RP-OA SM-RP-OA, |
| 250 | sm-RP-UI SignalInfo, |
| 251 | extensionContainer ExtensionContainer OPTIONAL, |
| 252 | ...} |
| 253 | |
| 254 | MT-ForwardSM-VGCS-Res ::= SEQUENCE { |
| 255 | sm-RP-UI [0] SignalInfo OPTIONAL, |
| 256 | dispatcherList [1] DispatcherList OPTIONAL, |
| 257 | ongoingCall NULL OPTIONAL, |
| 258 | extensionContainer [2] ExtensionContainer OPTIONAL, |
| 259 | ...} |
| 260 | |
| 261 | DispatcherList ::= |
| 262 | SEQUENCE SIZE (1..maxNumOfDispatchers) OF |
| 263 | ISDN-AddressString |
| 264 | |
| 265 | maxNumOfDispatchers INTEGER ::= 5 |
| 266 | |
| 267 | |
| 268 | |
| 269 | END |
| 270 | |