IOSOR Learn
SMPP Validity Period Graceful Expiry Handling Audit
Verify carrier expiry handling at validity period boundaries to prevent silent message drops and ensure DLR consistency before routing high-value traffic through partner gateways.
Lead Telecom & Routing Architect · Lausanne, CH
Operators must confirm how carriers process messages at validity period boundaries to prevent silent drops and maintain DLR consistency across partner routes. This audit defines verification criteria for expiry handling, DLR reconciliation, and failover behavior under real traffic conditions.
Validity Period Boundary Semantics
Carriers interpret validity_period differently: some treat it as absolute expiry timestamp, others as relative TTL from submission. Verify whether the gateway returns expiry_error (0x0000000B) or silently discards messages when validity_period expires before delivery. Test with validity_period=0 (immediate expiry) and short TTL values (30–60 seconds) to observe carrier behavior at boundaries.
DLR Receipt Correlation at Expiry
Expired messages must generate final DLR receipts with stat=EXPIRED, not stat=UNDELIV or missing receipts. Capture submit_sm_resp message_id, then track DLR arrival latency and final status. Reconcile DLR counts against submitted messages per validity_period bucket. Missing EXPIRED receipts indicate silent drop risk — flag corridors where DLR completion rate falls below 99.5%.
Webhook Timeout and Retry Alignment
Webhook endpoints receiving DLR callbacks must handle EXPIRED status within the same SLA as DELIVERD/UNDELIV. Verify webhook timeout settings exceed maximum carrier DLR latency for expired messages (typically 2–5× normal latency). Ensure retry logic does not duplicate processing of EXPIRED receipts — idempotency keys must include message_id + stat combination.
Sender ID and Template Gate Interaction
Validity period expiry must not bypass sender ID registration or template approval gates. Test expired messages with unregistered sender IDs and unapproved templates: carriers should reject at submit_sm (ESME_RINVSRCADR/ESME_RINVDSTADR) rather than accept then expire silently. Document corridors where expiry masks registration failures.
Failover Cascade and Route Health Scoring
When primary route returns expiry_error or silent drop pattern, failover must preserve original validity_period semantics — not reset TTL. Score partner routes by: EXPIRED DLR completeness, expiry_error transparency, webhook latency for expired messages, and sender/template gate enforcement at expiry. Routes scoring below threshold move to quarantine pending carrier escalation.
Start with IOSOR
Compare verified partner routes for your SMPP corridor using the route comparison tool to validate expiry handling, DLR consistency, and failover behavior before routing high-value traffic. Cross-reference with SMPP Validity Period Routing Gate for Carrier Compliance, failover cascade patterns, and DLR latency reconciliation.
IOSOR takeaway
Carriers interpret validity_period differently: some treat it as absolute expiry timestamp, others as relative TTL from submission. Routes scoring below threshold move to quarantine pending carrier escalation (/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.












