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.
Lead Telecom & Routing Architect · Lausanne, CH
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.
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
- Submit SM Response Timeout vs DLR Gap: Route Reliability Audit
Separate submit_sm response timeouts from missing DLRs to pinpoint whether a route fails at bind, carrier handoff, or receipt callback, then compare partner routes.
- SMPP Submit_SM Response Timeout: Retry Classification and Failover Gate
Classify submit_sm timeouts as committed, ambiguous, or uncommitted before retrying, and gate failover on deterministic response telemetry from verified partner routes.
- SMPP Submit_SM Response Timeout: Retry vs Dedup Decision Gate
Decide retry, suppress, or fail over when submit_sm responses time out or arrive late — without duplicate deliveries, inflated cost, or broken DLR reconciliation.












