Accessing the Aerialink SMSC over SMPP
The following details will be required for your ESME to connect with the Aerialink SMSC:
v5 Host: smpp5.aerialink.net v4 Host: smsc.aerialink.net Port: 2775 (Plain socket) Port: 3550 (Secure socket - Transport Layer Security (TLS) 1.1 and 1.2 Compliant) Mode: transmitter, receiver, or transceiver
Note: Aerialink recommends bind transceiver mode.
Note2: When binding in, always configure your server with the Aerialink DNS host name (smsc.aerialink.net) and not the IP address.
Authentication
Authentication is required to access the Aerialink SMPP API. The authentication requirements consist of two layers; Firewall and Credentials which are described below.
Firewall
Prior to accessing the Aerialink SMPP API, all accounts must white list their network server specific IP addresses (/32) or network subnet (/subnet). This can be done within the Aerialnk Platform portal under the Authentication section within the API area.
Credentials
All SMPP API connections require a SystemID and Password to be able to establish your bind to our gateway. Your credentials can be obtained within the Aerialnk Platform portal under the Authentication section within the API area.
Note that some accounts may have multiple credential sets depending on your specific configuration which you may have requested. Subsequently each credential set may have different related permissions to API resources or associated resource assets such as Short Codes, Long Codes, or Alphanumeric Codes used for Messaging services.
Configuration Settings
Account Configuration Settings
Refer to your account for the following configuration values:
- Host IP: This is the Aerialink SMSC Host Address
- Host Port: This is the Aerialink SMSC Host Port
- System Identifier: The username for your SMPP bind connection
- Password: The password for your SMPP bind connection
General Configuration Settings:
System Type
The system type is typically used to access unique or proprietary features of an SMSC. The default setting of “SMPP” can be used for the Aerialink network, however it is not currently required for your bind.
- system-type=SMPP
The address range for your ESME client
These values will tell your EMSE what format to process the message addressing as on the bind level. The recommended settings are “1” for both the TON and NPI. The address range is typically optional unless your EMSE requires it.
addr-ton=1
addr-npi=1
address-range=[optional]
Source Address for your ESME client
- source-ton=[X]
- source-npi=[Y]
If the TON and NPI are not provided in your submit, the default for your account and code (Short Code, Long Code, Alphanumeric Code) will be used.
Source address for each SMS Submit
This value should match one of your provisioned Short Codes, Long Codes, or Alphanumeric Codes. For Long Codes the value should be set to the fully qualified Long Code which includes the Country Code, but without the +. Example: For Short Code “1234”, for Long Code “13105551212”, or for an Alphanumeric Code “AERIALINK” (This is an example only. Do not use these values in your configuration.)
- source-address=[1xxxYYYzzzz]
Address Range
This is the address range that your ESME client serves in yoru application. These values will tell your EMSE what format to process the message addressing as on the bind level. The recommended settings are “1” for both the TON and NPI. The address range is typically optional unless your EMSE requires it.
addr-ton=1
addr-npi=1
address-range=[optional]
Destination Address
The TON and NPI should be set to a value of “1” each.
- destination-ton=1
- destination-npi=1
- destination-address=[1xxxYYYzzzz]
The destination address should always be in full international format excluding the plus sign. Example “13105551212” (This is an example only. Do not use this values in your configuration.)
Transaction Timeout
- Transaction Timeout: 60
- Idle Timeout: 0
- Keep Alive Timeout: 45
- Number Transceiver Connection: 1
Message Send Rate
This is how many messages per second your gateway is allowed to send. Aerialink imposes strict limits on SMPP bind throughput and depending on the communication code; Short Code, Long Code, or Alphanumeric Code there are strict limits imposed by Operators/Carriers which Aerialink will aggresively enforce. Please see Throughput Limits for more information. If you require additional throughput, please contact Aerialink Customer Support with your request for consideration.
- message-rate=10
Synchronous or Asynchronous Mode
Aerialink supports both Synchronous or Asynchronous ESME Modes. If your ESME is set to “synchronous” mode, yoru ESME will wait for the response from the Aerialink SMSC server when sending a message. Asynchronous mode will not. We recommend you run your ESME in Synchronous mode.
- mode=synchronous
Network Retry on Error
Your ESME should not retry a submit when there is a network error. Instead the issue should be addressed on the bind level to determine what the cause is for the network error.
Transient Retry on Errors
Your ESME should not retry a submit when there is a network error. Instead the issue should be addressed on the bind level to determine what the cause is for the network error.
TON and NPI
About TON & NPI
Type of Number (TON)
The Type of Number (TON) setting is used to tell both your EMSE the format of the addressing (bind addressing) that will be processed for inbound messages as well as tell the Aerialink network (source and destination addressing) how it should be processed for submits. There are three separate pairs of TON and NPI values; receiving addressing, source addressing, and destination addressing. These definitions are derived from the ETSI GSM 03.40 specification, which defines the SMS protocol. The SMPP specification defines the following TON values:
If you wish to specific a special value for the TON, the available options are:
- 0: Unknown
- 1: International
- 2: National
- 3: Network Specific
- 4: Subscriber Number
- 5: Alphanumeric
- 6: Abbreviated
Aerialink does not generally require specific TON values from your bind to our network. We store specific values as defaults for your routes, connections, and communication assets (Short Code, Long Code, Alphanumeric Code). See TON and NPI defaults below.
Numbering Plan Identification (NPI)
The Numbering Plan Identification setting is used to tell both your EMSE the numbering plan associated with your messaging. The SMPP specification defines the following TON values:
If you wish to specific a special value for the NPI, the available options are:
- Unknown = 0
- ISDN/telephone numbering plan (E163/E164) = 1
- Data numbering plan (X.121) = 3
- Telex numbering plan (F.69) = 4
- Land Mobile (E.212) =6
- National numbering plan = 8
- Private numbering plan = 9
- ERMES numbering plan (ETSI DE/PS 3 01-3) = 10
- Internet (IP) = 13
- WAP Client Id (to be defined by WAP Forum) = 18
Receive Timeout
The amount of time your ESME should wait while receiving a message
receive-timeout=20
Enquire Link or Ping Interval
This is how often your ESME will send the EnquireLink PDU to the Aerialink SMSC to verify that the connection is still healthy. Aerialink recommends this be set to 60 seconds.
ping-interval=60
Connection Attempts
This is the number of connection attempts your ESME will make until it gives up. This should be set to a reasonable number but not an infinite account. If you have a server that is unable to negotiate a connection but continues to try infinately you will risk your IP address or Subnet being black listed by the Aerialink firewall.
retries=[Customer Defined Value, Not Infinite]
Connection Retry Interval
This setting specifies how long your ESME will wait in between each connection attempt. Aerialink recommends 900 seconds which is 15 minutes. This will allow any temporary network issues to subside. Continued failues should be escalated to the Aerialink Support Team for assistance.
retry-interval=900
TON and NPI Defaults
Aerialink will generally default both your TON and NPI to the values they should be to insure your messages are delivered properly. If you have special reasons for controlling these settings on your side, please contact the Aerialink Support Team. The default values used by Aerialink are as follows:
Short Code (3 digits to 8 digits in length)
If the source code/address is a Short Code
- TON = 3
- NPI = 0
Long Code (10 digits to 15 digits in length, excludes the plus sign)
If the source code/address is a Long Code the recommended settings and default settings that Aerialink will use are:
- TON = 1
- NPI = 1
Alphanumeric
If the source code/address is Alphanumeric (contains both letters and numbers or only letters)
- TON = 5
- NPI = 0
SMPP Bind Configuration
Your SMPP connection will maintain a socket connection to our network. The following bind configuration is recommended for your ESME.
Role and Mode
For SMPP API connections, Aerialink supports both the ESME and SMSC roles as well as all three operation types; transmitter, receiver, and transceiver modes. If you would like to connect as the SMSC role, please contact our customer support to obtain approval.
SMPP Bind Configuration Cache
At the point your bind is established your connection will cache both your provisioned Short Codes, Long Codes, Throughput Allowance, and your Routing details. Any changes to this configuration will require a rebind.
SMPP Official Specification
For details on the SMPP Specification, see SMPP API Specification Version 3.4.
Throughput Limits
The Aerialink SMPP API imposes two types of limits on the throughput use of our API unless special arrangements have been made. These limits exist to protect the Aerialink network as well as adhere to operator/carrier requirements. If you need your limits adjusted, please contact the Aerialink Support Team with a change request and an explanation for the change. Any violation of your account/resource limits may subject your service to immediate termination.
Account-Level Limits
SMPP Connection - Aggregate Maximum Request Limit
- 100,000 requests p/day
- 1,000,000 requests p/month
Resource-Specific Limits
Messages API
The table below details the throughput limit per each messaging route. for more information about registered number types, see Basic Code Information.
| Route Name | Registered Number Type | Route Type | Max Recommended Throughput per number |
|---|---|---|---|
| US/Canada Dedicated Short Code | Short Code | A2P | 40 msgs/sec |
| US/Canada Shared Short Code | Short Code | A2P | 10 msgs/sec |
| 8XX Toll-Free Plus | Location-Neutral Number | A2P | 20 msgs/sec |
| 8XX Toll-Free Standard | Location-Neutral Number | P2P | 1 msg/1.5 sec* |
| 5XX | Location-Neutral Number | P2P | 1 msg/sec* |
| +1 US/Canada Standard Number | Standard Number | P2P | 1 msg/4 sec* |
| +1 Standard Originating Int’l (2-way) | Location-Neutral Number | P2P | 1 msg/sec* |
| Int’l Localized Long Code by Country (2-way) | Local Number | A2P | 20 msgs/sec |
| Int’l Localized Short Code by Country (2-way) | Short Code | A2P | 20 msgs/sec |
| International Outbound-Only (1-way) | Alphanumeric Sender ID | A2P | 1 msg/sec* |
SMPP Route-Specific Status Codes
10DLC Route SMPP 3.4 Status Codes
| Error Number in Hexadecimal | Error Number in Decimal | Error Name | Error Description |
|---|---|---|---|
| 0x00 | 0 | ESME_ROK | No Error |
| 0x01 | 1 | ESME_RINVMSGLEN | Message too long |
| 0x02 | 2 | ESME_RINVCMDLEN | Command length is invalid |
| 0x03 | 3 | ESME_RINVCMDID | Command ID is invalid or not supported |
| 0x04 | 4 | ESME_RINVBNDSTS | Incorrect bind status for given command |
| 0x05 | 5 | ESME_RALYBND | Already bound |
| 0x06 | 6 | ESME_RINVPRTFLG | Invalid Priority Flag |
| 0x07 | 7 | ESME_RINVREGDLVFLG | Invalid registered delivery flag |
| 0x08 | 8 | ESME_RSYSERR | System error |
| 0x0A | 10 | ESME_RINVSRCADR | Invalid source address |
| 0x0B | 11 | ESME_RINVDSTADR | Invalid destination address |
| 0x0C | 12 | ESME_RINVMSGID | Message ID is invalid |
| 0x0D | 13 | ESME_RBINDFAIL | Bind failed |
| 0x0E | 14 | ESME_RINVPASWD | Invalid password |
| 0x0F | 15 | ESME_RINVSYSID | Invalid System ID |
| 0x11 | 17 | ESME_RCANCELFAIL | Canceling message failed |
| 0x13 | 19 | ESME_RREPLACEFAIL | Message replacement failed |
| 0x14 | 20 | ESME_RMSSQFUL | Message queue full |
| 0x15 | 21 | ESME_RINVSERTYP | Invalid service type |
| 0x33 | 51 | ESME_RINVNUMDESTS | Invalid number of destinations |
| 0x34 | 52 | ESME_RINVDLNAME | Invalid distribution list name |
| 0x40 | 64 | ESME_RINVDESTFLAG | Invalid destination flag |
| 0x42 | 66 | ESME_RINVSUBREP | Invalid submit with replace request |
| 0x43 | 67 | ESME_RINVESMCLASS | Invalid esm class set |
| 0x44 | 68 | ESME_RCNTSUBDL | Invalid submit to distribution list |
| 0x45 | 69 | SUBMIT_SM: MDN BLOCKED | Blocked sender or receiver on the platform (AT&T) |
| 0x48 | 72 | ESME_RINVSRCTON | Invalid source address type of number ( TON ) |
| 0x49 | 73 | ESME_RINVSRCNPI | Invalid source address numbering plan ( NPI ) |
| 0x50 | 80 | ESME_RINVDSTTON | Invalid destination address type of number ( TON ) |
| 0x51 | 81 | ESME_RINVDSTNPI | Invalid destination address numbering plan ( NPI ) |
| 0x53 | 83 | ESME_RINVSYSTYP | Invalid system type |
| 0x54 | 84 | ESME_RINVREPFLAG | Invalid replace_if_present flag |
| 0x55 | 85 | ESME_RINVNUMMSGS | Invalid number of messages |
| 0x58 | 88 | ESME_RTHROTTLED | Throttling error |
| 0x61 | 97 | ESME_RINVSCHED | Invalid scheduled delivery time |
| 0x62 | 98 | ESME_RINVEXPIRY | Invalid Validity Period value |
| 0x63 | 99 | ESME_RINVDFTMSGID | Predefined message not found |
| 0x64 | 100 | ESME_RX_T_APPN | ESME Receiver temporary error |
| 0x65 | 101 | ESME_RX_P_APPN | ESME Receiver permanent error |
| 0x66 | 102 | ESME_RX_R_APPN | ESME Receiver reject message error |
| 0x67 | 103 | ESME_RQUERYFAIL | Message query request failed |
| 0x68 | 104 | SUBMIT_SM: SPAM | Spam message detected/rejected (AT&T) |
| 0x69 | 105 | SUBMIT_SM: MAX LIMITS | Sending limit reached (AT&T) |
| 0x6A | 106 | SUBMIT_SM: INVALID TAG DATA | Message has invalid tagging data (AT&T) |
| 0x6B | 107 | SUBMIT_SM: NON-COMPLIANT | Non-compliant URL or other non-compliance issue (AT&T) |
| 0xC0 | 192 | ESME_RINVTLVSTREAM | Error in the optional part of the PDU body |
| 0xC1 | 193 | ESME_RTLVNOTALLWD | TLV not allowed |
| 0xC2 | 194 | ESME_RINVTLVLEN | Invalid parameter length |
| 0xC3 | 195 | ESME_RMISSINGTLV | Expected TLV missing |
| 0xC4 | 196 | ESME_RINVTLVVAL | Invalid TLV value |
| 0xFE | 254 | ESME_RDELIVERYFAILURE | Transaction delivery failure |
| 0xFF | 255 | ESME_RUNKNOWNERR | Unknown error |
| 0x100 | 256 | ESME_RSERTYPUNAUTH | ESME not authorized to use specified servicetype |
| 0x101 | 257 | ESME_RPROHIBITED | ESME prohibited from using specified operation |
| 0x102 | 258 | ESME_RSERTYPUNAVAIL | Specified servicetype is unavailable |
| 0x103 | 259 | ESME_RSERTYPDENIED | Specified servicetype is denied |
| 0x104 | 260 | ESME_RINVDCS | Invalid data coding scheme |
| 0x105 | 261 | ESME_RINVSRCADDRSUBUNIT | Invalid source address subunit |
| 0x106 | 262 | ESME_RINVSTDADDRSUBUNIR | Invalid destination address subunit |
| 0x1283 | 503 | REJECTD | AT&T 10DLC Response: campaign not yet deployed to number registry (NetNumber) |
| 0x1284 | 504 | REJECTD | OSR Rule Exists, message failed, ENUM value added fields not present or invalid. |
| 0x2649 | 9801 | QUOTA EXCEEDED ERROR | Content provider service quota has been exhausted (T-Mobile SDG Platform) |
| 0x264A | 9802 | QUOTA ERROR EXCEPTION | ECE quota API return error code (T-Mobile SDG Platform) |
| 0x2653 | 9811 | CALL SDG propertyAccess API AND ECE RETURN ERROR OR DATA IS INVALID | Unexpected network or system error (T-Mobile SDG Platform) |
| 0x2654 | 9812 | SDG RETURN HTTP 200 BUT DATA CAUSES SERVICE ERROR | Unexpected network or system error (T-Mobile SDG Platform) |
| 0x2655 | 9813 | ECE CONNECTION ERROR | Unexpected network or system error (T-Mobile SDG Platform) |
| 0x265B | 9819 | ECE INTERNAL ERROR | Other internal error (T-Mobile SDG Platform) |
| 0x265D | 9821 | TAGGING ERROR | Tagging error (T-Mobile SDG Platform) |
| 0x2667 | 9831 | SHORT CODE VERIFICATION ERROR | Short code verification error - comparation fail with ENUM server response (T-Mobile SDG Platform) |
| 0x2668 | 9832 | ENUM SERVER CONNECTION ERROR EXCEPTION | ENUM server connection error (T-Mobile SDG Platform) |
| 0x2669 | 9833 | ENUM SERVER IP ADDRESS CONFIGURATION ERROR | Init ENUM server error, e.g. ENUM server IP address configuration error (T-Mobile SDG Platform) |
Toll-Free Route SMPP 3.4 Status Codes
| Error Number in Hexadecimal | Error Number in Decimal | Error Description |
|---|---|---|
| 3E8 | 1000 | Default State |
| 3E9 | 1001 | Message Queued for Delivery |
| 3EA | 1002 | Message Has Been Sent |
| 3EB | 1003 | Message Accepted by Carrier |
| 3EC | 1004 | Message Delivered to Handset |
| 3ED | 1005 | Message Rejected |
| 3EE | 1006 | Message Expired |
| 3EF | 1007 | Message Failed |
| 3F0 | 1008 | Permanent Send Error |
| 3F1 | 1009 | PARTIAL_SEND_FAILURE |
| 3F2 | 1010 | Validation Failed |
| 3F7 | 1015 | One or more segments were not received for concatenated message |
| 44C | 1100 | Unknown Error |
| 44D | 1101 | Source Carrier Invalid |
| 44E | 1102 | Destination Carrier Invalid |
| 44F | 1103 | Source Not Authorized |
| 450 | 1104 | Source Carrier Disabled |
| 451 | 1105 | Destination Carrier Disabled |
| 452 | 1106 | No Valid Route |
| 453 | 1107 | Invalid Source TON |
| 454 | 1108 | Invalid Destination TON |
| 455 | 1109 | Route Denied |
| 456 | 1110 | User Opted Out (STOP) |
| 457 | 1111 | Temporary Resolution Failure |
| 458 | 1112 | Permanent Resolution Failure |
| 45B | 1115 | No Handler Found |
| 45C | 1116 | Destination Address is Not Text Enabled |
| 47E | 1150 | Spam |
| 480 | 1152 | Spam Reject |
| 488 | 1160 | Toll Free Number Not Verified |
| 4B0 | 1200 | Unknown Error |
| 4B1 | 1201 | Message Too Long |
| 4B2 | 1202 | Invalid Priority Flag |
| 4B3 | 1203 | Invalid Registered Delivery Flag |
| 4B4 | 1204 | System Error |
| 4B5 | 1205 | Invalid Source Address |
| 4B6 | 1206 | Invalid Destination Address |
| 4B7 | 1207 | Message ID is Invalid |
| 4B8 | 1208 | Canceling Message Failed |
| 4B9 | 1209 | Message Replacement Failed |
| 4BA | 1210 | Message Queue Full |
| 4BB | 1211 | Invalid Service Type |
| 4BC | 1212 | Invalid Number of Destinations |
| 4BD | 1213 | Invalid Distribution List Name |
| 4BE | 1214 | Invalid Destination Flag |
| 4BF | 1215 | Invalid Submit with Replace Request |
| 4C0 | 1216 | Invalid Esme Class Set |
| 4C1 | 1217 | Invalid Submit to Distribution List |
| 4C2 | 1218 | Submitting Message Has Failed |
| 4C3 | 1219 | Invalid Source Address Type of Number (TON) |
| 4C4 | 1220 | Invalid Source Address Numbering Plan (NPI) |
| 4C5 | 1221 | Invalid Destination Address Type of Number (TON) |
| 4C6 | 1222 | Invalid Destination Address Numbering Plan (NPI) |
| 4C7 | 1223 | Invalid Replace_if_present Flag |
| 4C8 | 1224 | Invalid Number of Messages |
| 4C9 | 1225 | Throttling Error |
| 4CA | 1226 | Invalid Scheduled Delivery Time |
| 4CB | 1227 | Invalid Validity Period Value |
| 4CC | 1228 | ESME Receiver Temporary Error |
| 4CD | 1229 | ESME Receiver Permanent Error |
| 4CE | 1230 | ESME Receiver Reject Message Error |
| 4CF | 1231 | Message Query Request Failed |
| 4D0 | 1232 | Error in the Optional Part of the PDU Body |
| 4D1 | 1233 | TLV Not Allowed |
| 4D2 | 1234 | Invalid Parameter Length |
| 4D3 | 1235 | Expected TLV Missing |
| 4D4 | 1236 | Invalid TLV Value |
| 4D5 | 1237 | Transaction Delivery Failure |
| 4D6 | 1238 | Specified Devicetype is Unavailable |
| 4D7 | 1239 | Specified Servicetype is Denied |
| 4D8 | 1240 | Invalid Data Coding Scheme |
| 4D9 | 1241 | Invalid Source Address Subunit |
| 4DA | 1242 | Invalid Destination Address Subunit |
| 4DB | 1243 | Insufficient Credits to Send Message |
| 5DD | 1501 | General Tagging Error |
| 5DE | 1502 | ECE Connection Error or Read Timeout |
| 5DF | 1503 | ECE Internal Error |
| 5E0 | 1504 | 10DLC Quota Limit Exceeded |
| 5E1 | 1505 | 10DLC Quota Error/Exception |
| 5E2 | 1506 | Phone Number Verification Error |
| 5E3 | 1507 | ENUM Server Connection Error |
| 5E4 | 1508 | ENUM Server IP Address Configuration Error |
Toll-Free Route MM4 Status Codes
| Error Number in Decimal | Error Description |
|---|---|
| 1003 | Message Accepted by Carrier |
| 1004 | Message Delivered to Handset |
| 1005 | Message Rejected |
| 1007 | Message Failed |
| 1011 | MEDIA_CONTENT_INVALID: The Media Content Type Isn’t Supported |
| 1012 | PART_SIZE_LIMIT_EXCEEDED: The Part Size Exceeds The Max Size Supported |
| 1013 | CONTENT_SIZE_LIMIT_EXCEEDED:The Total Content Size Exceeds The Max Size Supported |
| 1014 | INVALID_CONTENT_SIZE_OR_CONTENT_TYPE: Content Type Is Not Supported or Content Size Exceeds Max Allowed |
| 1152 | SPAM Reject |
| 1160 | Toll Free Number Not Verified |
| 1206 | Invalid Destination Address |
| 1230 | ESME Receiver Reject Message Error |
| 1501 | General Tagging Error |
| 1502 | ECE Connection Error or Read Timeout |
| 1503 | ECE Internal Error |
| 1504 | 10DLC Quota Limit Exceeded |
| 1505 | 10DLC Quota Error/Exception |
| 1506 | Phone Number Verification Error |
| 1507 | ENUM Server Connection Error |
| 1508 | ENUM Server IP Address Configuration Error |
Data Coding Scheme Values
DCS values signify the Data Coding Scheme you have set to pass your messages to Aerialink. See the industry-universal list of DCS values below.
| Integer | Binary | Translation | Notes |
|---|---|---|---|
| 0 | 00000000 | SMSC Default Alphabet - ASCII for short and long code and to GSM for toll-free | |
| 1 | 00000001 | ASCII for short and long code, Latin 9 for toll-free | (ISO-8859-9) |
| 2 | 00000010 | Octet Unspecified | 8-bit binary |
| 3 | 00000011 | Latin 1 | (ISO-8859-1) |
| 4 | 00000100 | Octet Unspecified | 8-bit binary |
| 5 | 00000101 | JIS | (X 0208-1990) |
| 6 | 00000110 | Cyrllic | (ISO-8859-5) |
| 7 | 00000111 | Latin/Hebrew | (ISO-8859-8) |
| 8 | 00001000 | UCS2/UTF-16 | (ISO/IEC-10646) |
| 9 | 00001001 | Pictogram Encoding | |
| 10 | 00001010 | Music Codes | (ISO-2022-JP) |
| 13 | 00001101 | Extended Kanji JIS | (X 0212-1990) |
| 14 | 00001110 | Korean Graphic Character Set | (KS C 5601/KS X 1001) |
esm_class Parameter
The esm_class parameter is used to indicate special message attributes associated with SMS
Default Setting: 0x00.
- If an ESME encodes GSM User Data Header information in the short message user data, it must set the UDHI flag in the esm_class field.
- If the SMSC delivers a short message that contains GSM User Data Header information encoded in the short_message or message_payload parameter, it must set the UDHI flag in
the esm_class field. - For GSM networks, the concatenation related optional parameters (sar_msg_ref_num, sar_total_segments, sar_segment_seqnum) or port addressing related optional parameters (source_port, destination_port) cannot be used in conjunction with encoded User Data Header in the short_message (user data) field. This means that the above listed optional
parameters cannot be used if the User Data Header Indicator flag is set.
ESME -> SMSC PDU Encoding
esm_class is encoded as follows in the submit_sm, submit_multi and data_sm (ESME -> SMSC) PDUs:
| Dictation | Bits | 7 6 5 4 3 2 1 0 | Meaning |
|---|---|---|---|
| Messaging Mode | 1-0 | x x x x x x 0 0 | Default SMSC Mode (e.g. Store and Forward) |
| Messaging Mode | 1-0 | x x x x x x 0 1 | Datagram mode |
| Messaging Mode | 1-0 | x x x x x x 1 0 | Forward (i.e. Transaction) mode |
| Messaging Mode | 1-0 | x x x x x x 1 1 | Store and Forward mode (use to select Store and Forward mode if Default SMSC Mode is non Store and Forward) |
| Message Type | 5-2 | x x 0 0 0 0 x x | Default message Type (i.e. normal message) |
| Message Type | 5-2 | x x 0 0 1 0 x x | Short Message contains ESME Delivery Acknowledgement |
| Message Type | 5-2 | x x 0 1 0 0 x x | Short Message contains ESME Manual/User Acknowledgement |
| GSM Network Specific Features | 7-6 | 0 0 x x x x x x | No specific features selected |
| GSM Network Specific Features | 7-6 | 0 1 x x x x x x | UDHI Indicator (only relevant for MT short messages) |
| GSM Network Specific Features | 7-6 | 1 0 x x x x x x | Set Reply Path (only relevant for GSM network) |
| GSM Network Specific Features | 7-6 | 1 1 x x x x x x | Set UDHI and Reply Path (only relevant for GSM network) |
SMSC -> ESME PDU Encoding
The esm_class parameter is encoded as follows in a deliver_sm and data_sm (SMSC -> ESME) PDUs:
**Note:**\ All unlisted values for bits 5-2 and 7-6 are reserved.
| Dictation | Bits | 7 6 5 4 3 2 1 0 | Meaning |
|---|---|---|---|
| Messaging Mode | 1-0 | x x x x x x x x | not applicable - ignore bits 0 and 1 |
| Message Type | 5-2 | x x 0 0 0 0 x x | Default message Type (i.e. normal message) |
| Message Type | 5-2 | x x 0 0 0 1 x x | Short Message contains SMSC Delivery Receipt |
| Message Type | 5-2 | x x 0 0 1 0 x x | Short Message contains SME Delivery Acknowledgement |
| Message Type | 5-2 | x x 0 0 1 1 x x | reserved |
| Message Type | 5-2 | x x 0 1 0 0 x x | Short Message contains SME Manual/User Acknowledgement |
| Message Type | 5-2 | x x 0 1 0 1 x x | reserved |
| Message Type | 5-2 | x x 0 1 1 0 x x | Short Message contains Conversation Abort (Korean CDMA) |
| Message Type | 5-2 | x x 0 1 1 1 x x | reserved |
| Message Type | 5-2 | x x 1 0 0 0 x x | Short Message contains Intermediate Delivery Notification |
| GSM Network Specific Features | 7-6 | 0 0 x x x x x x | No specific features selected |
| GSM Network Specific Features | 7-6 | 0 1 x x x x x x | UDHI Indicator set |
| GSM Network Specific Features | 7-6 | 1 0 x x x x x x | Set Reply Path |
| GSM Network Specific Features | 7-6 | 1 1 x x x x x x | Set UDHI and Reply Path |
Comments
0 comments
Please sign in to leave a comment.