Harald Welte | 7a23af3 | 2011-02-07 21:24:26 +0100 | [diff] [blame] | 1 | MAP-SM-DataTypes {
|
| 2 | itu-t identified-organization (4) etsi (0) mobileDomain (0)
|
| 3 | gsm-Network (1) modules (3) map-SM-DataTypes (16) version9 (9)}
|
| 4 |
|
| 5 | DEFINITIONS
|
| 6 |
|
| 7 | IMPLICIT TAGS
|
| 8 |
|
| 9 | ::=
|
| 10 |
|
| 11 | BEGIN
|
| 12 |
|
| 13 | EXPORTS
|
| 14 | RoutingInfoForSM-Arg,
|
| 15 | RoutingInfoForSM-Res,
|
| 16 | MO-ForwardSM-Arg,
|
| 17 | MO-ForwardSM-Res,
|
| 18 | MT-ForwardSM-Arg,
|
| 19 | MT-ForwardSM-Res,
|
| 20 | ReportSM-DeliveryStatusArg,
|
| 21 | ReportSM-DeliveryStatusRes,
|
| 22 | AlertServiceCentreArg,
|
| 23 | InformServiceCentreArg,
|
| 24 | ReadyForSM-Arg,
|
| 25 | ReadyForSM-Res,
|
| 26 | SM-DeliveryOutcome,
|
| 27 | AlertReason,
|
| 28 | Additional-Number
|
| 29 | ;
|
| 30 |
|
| 31 | IMPORTS
|
| 32 | AddressString,
|
| 33 | ISDN-AddressString,
|
| 34 | SignalInfo,
|
| 35 | IMSI,
|
| 36 | LMSI
|
| 37 | FROM MAP-CommonDataTypes {
|
| 38 | itu-t identified-organization (4) etsi (0) mobileDomain (0)
|
| 39 | gsm-Network (1) modules (3) map-CommonDataTypes (18) version9 (9)}
|
| 40 |
|
| 41 | AbsentSubscriberDiagnosticSM
|
| 42 | FROM MAP-ER-DataTypes {
|
| 43 | itu-t identified-organization (4) etsi (0) mobileDomain (0)
|
| 44 | gsm-Network (1) modules (3) map-ER-DataTypes (17) version9 (9)}
|
| 45 |
|
| 46 | ExtensionContainer
|
| 47 | FROM MAP-ExtensionDataTypes {
|
| 48 | itu-t identified-organization (4) etsi (0) mobileDomain (0)
|
| 49 | gsm-Network (1) modules (3) map-ExtensionDataTypes (21) version9 (9)}
|
| 50 | ;
|
| 51 |
|
| 52 |
|
| 53 | RoutingInfoForSM-Arg ::= SEQUENCE {
|
| 54 | msisdn [0] ISDN-AddressString,
|
| 55 | sm-RP-PRI [1] BOOLEAN,
|
| 56 | serviceCentreAddress [2] AddressString,
|
| 57 | extensionContainer [6] ExtensionContainer OPTIONAL,
|
| 58 | ... ,
|
| 59 | gprsSupportIndicator [7] NULL OPTIONAL,
|
| 60 | -- gprsSupportIndicator is set only if the SMS-GMSC supports
|
| 61 | -- receiving of two numbers from the HLR
|
| 62 | sm-RP-MTI [8] SM-RP-MTI OPTIONAL,
|
| 63 | sm-RP-SMEA [9] SM-RP-SMEA OPTIONAL }
|
| 64 |
|
| 65 | SM-RP-MTI ::= INTEGER (0..10)
|
| 66 | -- 0 SMS Deliver
|
| 67 | -- 1 SMS Status Report
|
| 68 | -- other values are reserved for future use and shall be discarded if
|
| 69 | -- received
|
| 70 |
|
| 71 | SM-RP-SMEA ::= OCTET STRING (SIZE (1..12))
|
| 72 | -- this parameter contains an address field which is encoded
|
| 73 | -- as defined in 3GPP TS 23.040. An address field contains 3 elements :
|
| 74 | -- address-length
|
| 75 | -- type-of-address
|
| 76 | -- address-value
|
| 77 |
|
| 78 | RoutingInfoForSM-Res ::= SEQUENCE {
|
| 79 | imsi IMSI,
|
| 80 | locationInfoWithLMSI [0] LocationInfoWithLMSI,
|
| 81 | extensionContainer [4] ExtensionContainer OPTIONAL,
|
| 82 | ...}
|
| 83 |
|
| 84 | LocationInfoWithLMSI ::= SEQUENCE {
|
| 85 | networkNode-Number [1] ISDN-AddressString,
|
| 86 | lmsi LMSI OPTIONAL,
|
| 87 | extensionContainer ExtensionContainer OPTIONAL,
|
| 88 | ...,
|
| 89 | gprsNodeIndicator [5] NULL OPTIONAL,
|
| 90 | -- gprsNodeIndicator is set only if the SGSN number is sent as the
|
| 91 | -- Network Node Number
|
| 92 | additional-Number [6] Additional-Number OPTIONAL
|
| 93 | -- NetworkNode-number can be either msc-number or sgsn-number
|
| 94 | }
|
| 95 |
|
| 96 | Additional-Number ::= CHOICE {
|
| 97 | msc-Number [0] ISDN-AddressString,
|
| 98 | sgsn-Number [1] ISDN-AddressString}
|
| 99 | -- additional-number can be either msc-number or sgsn-number
|
| 100 | -- if received networkNode-number is msc-number then the
|
| 101 | -- additional number is sgsn-number
|
| 102 | -- if received networkNode-number is sgsn-number then the
|
| 103 | -- additional number is msc-number
|
| 104 |
|
| 105 | MO-ForwardSM-Arg ::= SEQUENCE {
|
| 106 | sm-RP-DA SM-RP-DA,
|
| 107 | sm-RP-OA SM-RP-OA,
|
| 108 | sm-RP-UI SignalInfo,
|
| 109 | extensionContainer ExtensionContainer OPTIONAL,
|
| 110 | ... ,
|
| 111 | imsi IMSI OPTIONAL }
|
| 112 |
|
| 113 | MO-ForwardSM-Res ::= SEQUENCE {
|
| 114 | sm-RP-UI SignalInfo OPTIONAL,
|
| 115 | extensionContainer ExtensionContainer OPTIONAL,
|
| 116 | ...}
|
| 117 |
|
| 118 | MT-ForwardSM-Arg ::= SEQUENCE {
|
| 119 | sm-RP-DA SM-RP-DA,
|
| 120 | sm-RP-OA SM-RP-OA,
|
| 121 | sm-RP-UI SignalInfo,
|
| 122 | moreMessagesToSend NULL OPTIONAL,
|
| 123 | extensionContainer ExtensionContainer OPTIONAL,
|
| 124 | ...}
|
| 125 |
|
| 126 | MT-ForwardSM-Res ::= SEQUENCE {
|
| 127 | sm-RP-UI SignalInfo OPTIONAL,
|
| 128 | extensionContainer ExtensionContainer OPTIONAL,
|
| 129 | ...}
|
| 130 |
|
| 131 | SM-RP-DA ::= CHOICE {
|
| 132 | imsi [0] IMSI,
|
| 133 | lmsi [1] LMSI,
|
| 134 | serviceCentreAddressDA [4] AddressString,
|
| 135 | noSM-RP-DA [5] NULL}
|
| 136 |
|
| 137 | SM-RP-OA ::= CHOICE {
|
| 138 | msisdn [2] ISDN-AddressString,
|
| 139 | serviceCentreAddressOA [4] AddressString,
|
| 140 | noSM-RP-OA [5] NULL}
|
| 141 |
|
| 142 | ReportSM-DeliveryStatusArg ::= SEQUENCE {
|
| 143 | msisdn ISDN-AddressString,
|
| 144 | serviceCentreAddress AddressString,
|
| 145 | sm-DeliveryOutcome SM-DeliveryOutcome,
|
| 146 | absentSubscriberDiagnosticSM [0] AbsentSubscriberDiagnosticSM
|
| 147 | OPTIONAL,
|
| 148 | extensionContainer [1] ExtensionContainer OPTIONAL,
|
| 149 | ...,
|
| 150 | gprsSupportIndicator [2] NULL OPTIONAL,
|
| 151 | -- gprsSupportIndicator is set only if the SMS-GMSC supports
|
| 152 | -- handling of two delivery outcomes
|
| 153 | deliveryOutcomeIndicator [3] NULL OPTIONAL,
|
| 154 | -- DeliveryOutcomeIndicator is set when the SM-DeliveryOutcome
|
| 155 | -- is for GPRS
|
| 156 | additionalSM-DeliveryOutcome [4] SM-DeliveryOutcome OPTIONAL,
|
| 157 | -- If received, additionalSM-DeliveryOutcome is for GPRS
|
| 158 | -- If DeliveryOutcomeIndicator is set, then AdditionalSM-DeliveryOutcome shall be absent
|
| 159 | additionalAbsentSubscriberDiagnosticSM [5] AbsentSubscriberDiagnosticSM OPTIONAL
|
| 160 | -- If received additionalAbsentSubscriberDiagnosticSM is for GPRS
|
| 161 | -- If DeliveryOutcomeIndicator is set, then AdditionalAbsentSubscriberDiagnosticSM
|
| 162 | -- shall be absent
|
| 163 | }
|
| 164 |
|
| 165 | SM-DeliveryOutcome ::= ENUMERATED {
|
| 166 | memoryCapacityExceeded (0),
|
| 167 | absentSubscriber (1),
|
| 168 | successfulTransfer (2)}
|
| 169 |
|
| 170 | ReportSM-DeliveryStatusRes ::= SEQUENCE {
|
| 171 | storedMSISDN ISDN-AddressString OPTIONAL,
|
| 172 | extensionContainer ExtensionContainer OPTIONAL,
|
| 173 | ...}
|
| 174 |
|
| 175 | AlertServiceCentreArg ::= SEQUENCE {
|
| 176 | msisdn ISDN-AddressString,
|
| 177 | serviceCentreAddress AddressString,
|
| 178 | ...}
|
| 179 |
|
| 180 | InformServiceCentreArg ::= SEQUENCE {
|
| 181 | storedMSISDN ISDN-AddressString OPTIONAL,
|
| 182 | mw-Status MW-Status OPTIONAL,
|
| 183 | extensionContainer ExtensionContainer OPTIONAL,
|
| 184 | ... ,
|
| 185 | absentSubscriberDiagnosticSM AbsentSubscriberDiagnosticSM OPTIONAL,
|
| 186 | additionalAbsentSubscriberDiagnosticSM [0] AbsentSubscriberDiagnosticSM OPTIONAL }
|
| 187 | -- additionalAbsentSubscriberDiagnosticSM may be present only if
|
| 188 | -- absentSubscriberDiagnosticSM is present.
|
| 189 | -- if included, additionalAbsentSubscriberDiagnosticSM is for GPRS and
|
| 190 | -- absentSubscriberDiagnosticSM is for non-GPRS
|
| 191 |
|
| 192 | MW-Status ::= BIT STRING {
|
| 193 | sc-AddressNotIncluded (0),
|
| 194 | mnrf-Set (1),
|
| 195 | mcef-Set (2) ,
|
| 196 | mnrg-Set (3)} (SIZE (6..16))
|
| 197 | -- exception handling:
|
| 198 | -- bits 4 to 15 shall be ignored if received and not understood
|
| 199 |
|
| 200 | ReadyForSM-Arg ::= SEQUENCE {
|
| 201 | imsi [0] IMSI,
|
| 202 | alertReason AlertReason,
|
| 203 | alertReasonIndicator NULL OPTIONAL,
|
| 204 | -- alertReasonIndicator is set only when the alertReason
|
| 205 | -- sent to HLR is for GPRS
|
| 206 | extensionContainer ExtensionContainer OPTIONAL,
|
| 207 | ...}
|
| 208 |
|
| 209 | ReadyForSM-Res ::= SEQUENCE {
|
| 210 | extensionContainer ExtensionContainer OPTIONAL,
|
| 211 | ...}
|
| 212 |
|
| 213 | AlertReason ::= ENUMERATED {
|
| 214 | ms-Present (0),
|
| 215 | memoryAvailable (1)}
|
| 216 |
|
| 217 | END
|