Skip to content

Instantly share code, notes, and snippets.

@Eomm
Last active March 26, 2019 16:19
Show Gist options
  • Save Eomm/56ba8c9df1dcf9a4cce7f0461c2daebe to your computer and use it in GitHub Desktop.
Save Eomm/56ba8c9df1dcf9a4cce7f0461c2daebe to your computer and use it in GitHub Desktop.
Sparse information for all communication channels

SMPP

Go deeper

Check SMS text

http://www.smskdev.it/smscal/

Data Coding supported by SMPP3

Encoding Standard Hex Dec Max Char UDH Header Len Max Char Concatenated
ASCII GSM 03.38 0x01 1 160 7 bit x 7 char (49 bit) 153
LATIN1 ISO 8859-1 0x03 3 140 8 bit x 6 char (48 bit) 134
UCS2 ISO 10646 0x08 8 70 16 bit x 3 char (48 bit) 67

TON & NPI

Case TON NPI
sender address is short code (3-8 digits) 3 0
sender address is Long code (10-15 digits) 1 1
sender address is Alphanumeric 5 0

SMPP Ports

Port Type Connection
2775 SMPP SMPP
3550 SSMPP SMPP over SSL/TLS

Sender Type

Sender Type Value Example When
Alphanumeric 1 Hello42 Is not numeric
Numeric local 2 3912345678901 The ccc (country code) of sender and destination is the same
Numeric foreign 3 4212345678901 The ccc (country code) of sender and destination is NOT the same

DLR Status

#Id Code Status Type
1 DELIVRD end Positive
5 EXPIRED end Negative
6 DELETED end Negative
7 UNDELIV end Negative
8 UNKNOWN end Negative
9 REJECTD end Negative
- REJECTED end Negative
10 FAILED end Negative
2 BUFFERD temporaney
3 ENROUTE temporaney
4 ACCEPTD temporaney
- ACKED temporaney
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment