IOSOR Learn

Parsing SMPP Submit_SM_Resp for Error Classification

Operators must map SMPP command_status codes to actionable error classes — throttling, invalid addressing, permanent failure — before routing or escalating to partners.

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

Lead Telecom & Routing Architect · Lausanne, CH

IOSOR Expert · Q&A

Correctly interpreting SMPP submit_sm_resp command_status values lets operators separate transient throttling from hard addressing errors and permanent rejections before traffic routing or partner escalation.

SMPP Command Status Taxonomy

Each provider returns a subset of standard SMPP v3.4 command_status codes (0x00000000–0xFFFFFFFF). ESME_ROK (0x00000000) means acceptance; ESME_RTHROTTLED (0x00000058) signals rate limiting; ESME_RINVDSTADR (0x0000000B) flags invalid destination; ESME_RINVSRCADR (0x0000000A) marks bad source; ESME_RSYSERR (0x00000008) and ESME_RINVCMDID (0x0000000E) indicate permanent protocol failures. Map every observed code to one of three classes: retryable, correctable, terminal.

Provider-Specific Extensions

Carriers often extend the namespace with private ranges (0x00010000+). Capture raw hex values in logs, then normalize through a versioned lookup table per partner. Document each carrier's custom codes with sample PDUs and DLR correlation. Update the table on every contract change or observed new code.

DLR Correlation for Ground Truth

A submit_sm_resp acceptance (0x00000000) does not guarantee delivery. Correlate message_id with subsequent deliver_sm or data_sm receipts. Track final DLR status (DELIVERED, EXPIRED, REJECTED, UNDELIV) per message_id. Use this ground truth to validate whether a given command_status class maps to actual outcomes — e.g., some carriers return 0x00000000 but later emit REJECTED with carrier-specific error_text.

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

Circuit Breaker Integration

Feed classified errors into circuit breaker counters: increment retryable bucket on ESME_RTHROTTLED, correctable on addressing codes, terminal on system errors. Trip thresholds per corridor: e.g., >5% retryable in 60s pauses egress; >2% terminal in 300s alerts on-call. Ensure breaker state resets only after verified recovery via probe messages.

Observability & Alerting

Emit structured logs: timestamp, partner_id, corridor, command_status_hex, classified_class, message_id. Dashboard heatmaps by class and partner. Alert on class distribution shifts >10% vs baseline. Include webhook latency percentiles (p50, p95, p99) for status callbacks to detect silent degradation.

Start with IOSOR

Compare verified partner routes for your corridor using the route comparator or explore the tools hub. Cross-reference SMPP command status mapping, Auditing Carrier Error Code Normalization Gates for Multi-Route Scale, and Auditing Circuit Breaker Tripping Thresholds for Outbound Routing to harden classification logic.

IOSOR takeaway

Each provider returns a subset of standard SMPP v3.4 command_status codes (0x00000000–0xFFFFFFFF). Include webhook latency percentiles (p50, p95, p99) for status callbacks to detect silent degradation (/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