IOSOR Learn

SMPP Submit SM Destination Addr Routing Gate Audit

Validate destination address routing logic and TON/NPI handling in Submit SM before comparing SMPP partners for failover or cost optimization via Decision Brief.

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

Lead Telecom & Routing Architect · Lausanne, CH

IOSOR Expert · Q&A

Operators verify that destination address fields in Submit SM PDUs are parsed, normalized, and routed according to TON/NPI rules before partner comparison. Misaligned TON or NPI values cause silent drops, misrouted traffic, and billing disputes across corridors.

Destination Address Field Parsing

Inspect the destination_addr octet string length and encoding. Confirm the SMSC rejects malformed addresses (over 21 digits, non-numeric chars) with command_status 0x0000000A (Invalid Dest Addr) rather than accepting and black-holing. Log every rejection reason for audit trails. Enforce a 500 ms parse timeout per PDU; reject addresses exceeding 255 octets with command_status 0x0000000E (ESME_RMSGLEN). Cap rejection logging at 10k entries/sec to prevent disk saturation.

TON/NPI Combination Validation

Enumerate allowed TON (0–7) and NPI (0–18) pairs per corridor. International E.164 must map to TON=1 NPI=1; national significant numbers to TON=0 NPI=1; short codes to TON=3 NPI=0. Reject or rewrite any pair outside the corridor whitelist before enqueue. Alert when invalid TON/NPI pairs exceed 0.5% of daily volume; quarantine PDUs with unknown NPI values for manual review.

Routing Table Lookup Logic

Trace the lookup: normalized destination_addr → prefix tree → route_id → partner_id. Verify longest-prefix match wins, fallback routes exist for unmatched prefixes, and route_id metadata (cost, latency SLA, DLR support) is attached. Stale prefixes must expire via TTL or config reload. Refresh prefix tables every 60 s; mark routes unhealthy after 3 consecutive lookup failures within 10 s.

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

Short Code vs Long Code Discrimination

Separate routing tables for short codes (3–6 digits) and long codes (≥7 digits). Short codes often require partner-specific provisioning, pre-registered sender IDs, and higher priority queues. Long codes follow standard E.164 routing. Confirm no cross-leakage between tables. Route short codes to dedicated high-priority queues with 200 ms max enqueue latency; reject long codes misrouted to short-code tables with command_status 0x0000000A.

DLR Correlation and Webhook Integrity

Each routed Submit SM must generate a message_id that survives partner handoff. Validate DLR receipts return the original message_id, correct final status (DELIVRD, EXPIRED, REJECTD), and timestamp within SLA. Webhook endpoints must acknowledge within 2 s; retries with exponential backoff up to 5 min. Correlate DLRs within 30 s of receipt; flag unmatched message_ids after 60 s. Dead-letter webhooks failing 5 consecutive retries.

Start with IOSOR

Compare verified SMPP partner routes for your corridor using the Decision Brief tool: Compare SMPP partners. Checklist: 1) Confirm TON/NPI whitelist per corridor. 2) Validate prefix-table TTL and reload mechanism. 3) Test short-code and long-code segregation with live traffic. 4) Verify DLR message_id round-trip and webhook SLA. 5) Review related gates: SMPP Submit SM ESME Addr TON NPI Routing Gate, SMPP Source TON NPI Normalization Audit, SMPP Short Code Long Code Routing Gate.

IOSOR takeaway

Inspect the destination_addr octet string length and encoding. Webhook endpoints must acknowledge within 2 s; retries with exponential backoff up to 5 min (/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