Skip to content
OmniChannels.ai

SMS and telecom

What is SMPP?

Short Message Peer-to-Peer protocol · SMPP v3.4

Definition

SMPP (Short Message Peer-to-Peer) is an open binary protocol over TCP that applications (ESMEs) and SMS providers use to exchange SMS with an SMSC. Version 3.4 is the most widely deployed.

An SMPP session starts with a bind (transmitter, receiver or transceiver). The client then sends messages with submit_sm and receives inbound messages and delivery receipts as deliver_sm. enquire_link keeps the session alive and unbind closes it.

Every PDU has a 16-octet header: command_length, command_id, command_status and sequence_number. Responses echo the sequence number, so many requests can be in flight at once (windowing), which is what makes SMPP efficient for high volume.

SMPP suits aggregators, resellers and enterprises sending large volumes, or those with existing SMS software. For most application developers an HTTP SMS API is simpler.

The base protocol has no encryption, so connections should run over TLS or a VPN, and IP allow-listing is common.

SMPP versus an HTTP API is a trade-off, not a ranking. SMPP keeps a persistent, bidirectional session, so a client can have many submissions in flight and receive delivery receipts on the same connection without running a web server. An HTTP API is stateless, easier to debug with standard tools and simpler to secure per request. Many providers, including BroadNet, offer both on the same platform.

Session health is where most SMPP incidents start. Clients should send enquire_link at a regular interval, reconnect with back-off when a bind drops, and respect the window size agreed with the provider. A failed bind returns a command_status such as ESME_RBINDFAIL (0x0D), ESME_RINVPASWD (0x0E) or ESME_RINVSYSID (0x0F), which usually points to credentials or an IP address that has not been allow-listed.

Delivery receipts arrive as deliver_sm PDUs whose short_message text carries the original message id and a status such as DELIVRD, EXPIRED, UNDELIV or REJECTD. Matching the receipt to the submission through message_id is the core of any SMPP client. Providers format message ids differently (decimal or hexadecimal), so test the matching logic against real receipts before go-live.

Common mistakes include sending on a receiver-only bind, ignoring throttling responses, reusing sequence numbers while a request is still pending, and running one bind for both OTP and bulk campaigns so that urgent messages queue behind a large file.

OmniChannels.ai provides SMPP 3.4 over TLS with binds provisioned per account.

Example

bind_transceiver → bind_transceiver_resp → submit_sm → submit_sm_resp (message_id) → deliver_sm (receipt) → deliver_sm_resp

Frequently asked questions

Is SMPP the same as an SMS API?

No. SMPP is a binary protocol over a persistent TCP connection, built for high sustained volume. An SMS API is normally REST over HTTPS with JSON. Both end up in the same place, a provider's SMS platform, but they differ in how you connect, authenticate and receive delivery reports.

Which SMPP version should I use?

Version 3.4 is the most widely deployed and is what most providers expect. SMPP 5.0 exists but is rarely supported by operators and aggregators. Ask your provider which version and bind types it provisions before you build a client.

Do I need SMPP to send bulk SMS?

Not usually. An HTTP API or a campaign tool handles most bulk sending. SMPP becomes worthwhile when you send high volumes continuously, run your own SMS software, or operate as a reseller or aggregator that needs a dedicated connection.

Sources