Sending Concatenated Messages via SMPP

Question

  • How can I send concat SMS via SMPP?
  • How many characters are allowed in a multi-part SMS?

Answer

On SMPP:submit_sm  the UDHI (User Data Header Indicator) in the esm_class parameter must be set:

esm_class = 0x40

The concatenation UDH values are inserted at the start of the message body.

For example

Message 1 (UDH+153 chars length message):

esm_class = 0x40

short_message = 0x05 0x00 0x03 0x05 0x02 0x01 Barcelona are to appeal against Uefa's proposal to ban Andres Iniesta for an additional Champions League match for allegedly provoking a yellow card.The

Message 2 (UDH+rest of the message):

esm_class = 0x40

short_message =  0x05 0x00 0x03 0x05 0x02 0x02 26-year-old Spain midfielder was booked in the quarter-final against Shakhtar Donetsk, meaning he missed the return leg but would then be available.

Concatenation UDH structure:

Byte Description
05 Length of UDH (5 bytes)
00 Indicator for concatenated message
03 Subheader Length (3 bytes)
XX message identification - can be any hexadecimal
number but needs to match the UDH Reference Number of all  concatenated SMS
YY Number of pieces of the concatenated message
ZZ Sequence number (used by the mobile to concatenate the split messages)

Remark: The maximum number of characters per concatenated message depends on the encoding:

  • 153 characters for 7-bit encoding (e.g. Latin-1/9 and GSM8)
  • 134 characters for 8-bit encoding (Binary)
  • 67 characters for 16-bit encoding (Unicode)
Have more questions? Submit a request