Skip to content
Last updated

Inbound messages will be delivered to your platform as a DELIVER_SM. The table below shows what the PDU looks like for each mobile originated SMS sent to (one of) your short codes or long numbers.

Optionally, MCC and MNC indicators can be submitted for inbound traffic on short codes.

ParameterDescription
command_idWill always be DELIVER_SM
service_typeWill always be 0
source_addr_tonTON for the source address, will be INTERNATIONAL (1) for all mobile originated messages
source_addr_npiNPI for the source address, will be MSISDN (1) for all mobile originated messages
source_addrSource address - the MSISDN the SMS was sent from
dest_addr_tonTON for the destination address, will be INTERNATIONAL (1) Long numbers and NATIONAL (2) for Short code
dest_addr_npiNPI for the destination address, will always be MSISDN (1)
destination_addrDestination address - the MSISDN the SMS was sent to (your Long Number or Short Code)
esm_classWill always be 0
protocol_idWill always be 0
priority_flagWill always be 0
schedule_delivery_timeWill always be 0
validity_periodWill always be 0
registered_deliveryWill always be 0
replace_if_present_flagWill always be 0
data_codingEncoding used. Default is GSM-7 (0), UCS-2 for messages containing characters outside GSM-7 (8)
sm_default_msg_idWill always be 0
sm_lengthShort Message Length - number of characters in message content
short_messageMessage content

MCC + MNC in status reports

Include MCC + MNC information in SMPP delivery receipts as optional parameters. This information, optionally configured per SMPP account, is passed in a vendor-specific TLV (0x1403).

In the value field, you will receive the MCC + MNC of the destination operator.

Examples

Here are a few examples for both long numbers and short codes.

Inbound SMS sent to a long number

ParameterExample
command_idDELIVER_SM
service_type0
source_addr_ton1
source_addr_npi1
source_addr46706160585
dest_addr_ton1
dest_addr_npi1
destination_addr46737494630
esm_class0
protocol_id0
priority_flag0
schedule_delivery_time0
validity_period0
registered_delivery0
replace_if_present_flag0
data_coding0
sm_default_msg_id0
sm_length4
short_messageTest

Inbound SMS sent to a short code

ParameterExample
command_idDELIVER_SM
service_type0
source_addr_ton1
source_addr_npi1
source_addr46706160585
dest_addr_ton2
dest_addr_npi1
destination_addr71630
esm_class0
protocol_id0
priority_flag0
schedule_delivery_time0
validity_period0
registered_delivery0
replace_if_present_flag0
data_coding0
sm_default_msg_id0
sm_length4
short_messageTest

Additional resources