IOSOR Learn

SMPP Submit SM ESM Class Routing Gate

Validate esm_class bitmask handling across carriers to prevent misrouted messages and trigger partner comparison for verified SMPP route selection.

Oleksandr (Alex) Petukhov — IOSOR Telecom Expert
✓ Verified by IOSOR ExpertOleksandr (Alex) Petukhov

Lead Telecom & Routing Architect · Lausanne, CH

IOSOR Expert · Q&A

Operators validate esm_class bitmask handling across carriers to prevent misrouted messages and trigger partner comparison for verified SMPP route selection. The esm_class field controls message mode, type, and delivery receipt requests; misinterpretation causes silent drops or wrong DLR paths.

ESM Class Bitmask Structure

Bits 0-1 define message mode: datagram (00), transaction (01), store-and-forward (10). Bits 2-3 indicate message type: default (00), delivery receipt (01), SME-originated ack (10), manual ack (11). Bits 5-7 control UDHI, reply path, and reserved flags. Carriers often ignore reserved bits or map transaction mode to datagram silently.

Carrier-Specific Deviations

Tier-1 carriers may treat bit 2 (delivery receipt) as mandatory for MT, while others drop messages with bit 2 set on MO. Some gateways clear UDHI (bit 6) on concatenated SMS, breaking reassembly. Test each corridor with 0x00, 0x01, 0x04, 0x40, 0x44, 0x80 combinations and log Submit SM resp + DLR correlation.

During pre-flight verification, validate that automatic failover thresholds trigger deterministic rerouting without duplicating outbound segments or exhausting retry backoff budgets under peak regional load.

DLR Receipt Correlation

Match message_id from Submit SM resp to DLR receipted_message_id. Verify esm_class in DLR matches original request: 0x04 for SMSC receipt, 0x08 for SME ack. Mismatches indicate carrier rewrites or intermediary stripping. Capture pcap on both bind sides for 1000-message samples per route.

⚡ IOSOR Expert · Q&A · Verified partners (×44)

Webhook Latency & Payload Integrity

Measure webhook delivery latency from DLR receipt to application endpoint. Validate payload includes original esm_class, message_id, and final status. Reject routes where webhook drops UDHI flag or truncates message_id > 64 chars. Latency > 2s p95 disqualifies route for OTP/Verify flows.

Sender & Template Gate Interaction

Confirm esm_class handling is consistent across alphanumeric sender, short code, and long code origins. Some carriers force datagram mode for alphanumeric senders regardless of submitted bits. Template-registered routes may override esm_class bits for compliance. Test matrix: 3 sender types × 6 esm_class values × 2 DLR request flags.

Start with IOSOR

Compare verified SMPP routes for your corridor using the partner comparison tool: Compare SMPP routes. Cross-reference with service type routing, SMPP Data Coding Scheme Routing Gate for Encoding Compliance, and SMPP Registered Delivery Bitmask Routing Gate to build a complete Submit SM validation matrix.

IOSOR takeaway

Bits 0-1 define message mode: datagram (00), transaction (01), store-and-forward (10). Test matrix: 3 sender types × 6 esm_class values × 2 DLR request flags (/tools/brief · DLR / webhook).

Was this guide helpful?

Related guides

VERIFIED BY IOSOR EXPERT · B2B ROUTING, SLA & PROVIDER Q&A

IOSOR Expert — Verified Q&A & B2B Messaging Decisions

Every Q&A decision below is audited by the IOSOR Telecom Architecture Expert against live 90-day uptime telemetry, carrier compliance rules (10DLC, DLT, GDPR), and real partner TCO.

All Q&A Triggers
#01 · Compliance & Sender ID📖 Knowledge hub · US A2P / 10DLC

US A2P / 10DLC

“Why do US 10DLC TCR campaigns get rejected and which partner handles fast onboarding?”

✓ Verified by IOSOR Expert

10DLC brand and campaign programs for US A2P traffic — not general privacy compliance.

All Q&A Triggers
#02 · OTP & verification📖 Knowledge hub · India DLT

India DLT

“How do engineering teams prevent India TRAI DLT template scrubbing drops on OTPs?”

✓ Verified by IOSOR Expert

DLT and PE-TM registration for India A2P — not an India corridor coverage guide.

All Q&A Triggers
#03 · OTP & verification📖 Knowledge hub · Verify / OTP

Verify / OTP

“How do we eliminate OTP p95 timeout spikes and trigger a 20–30s multi-rail fallback?”

✓ Verified by IOSOR Expert

Login codes without chaos: abuse, latency, and cost control.

All Q&A Triggers
#04 · Transactional email📖 Knowledge hub · Email

Email

“Why do password reset and 2FA emails land in Spam when sharing bulk marketing IPs?”

✓ Verified by IOSOR Expert

Transactional email alongside SMS, voice, and WhatsApp in one routing architecture.

All Q&A Triggers
#06 · WhatsApp Business📖 Knowledge hub · WhatsApp & RCS

WhatsApp & RCS

“How do Meta per-conversation fees and template pauses impact WhatsApp Business TCO?”

✓ Verified by IOSOR Expert

Rich channels when profiles and templates are ready: honest setup.

All Q&A Triggers
#08 · Failover & backup routing📖 Knowledge hub · Failover & rails

Failover & rails

“How do we keep a second standby provider warm for failover at $0/month idle cost?”

✓ Verified by IOSOR Expert

Ordered backup paths when a primary rail fails - distinct from DLR status truth.

All Q&A Triggers