IOSOR Learn
Carrier DLR Intermediate State Handoff Audit
Verify intermediate DLR state transitions across carrier handoffs to prevent delivery status gaps and trigger partner route comparison for failover optimization.
Lead Telecom & Routing Architect · Lausanne, CH
Operations teams audit intermediate DLR state transitions — sent, buffered, relayed — across carrier handoffs to detect missing receipts, timestamp drift, and webhook latency spikes that create delivery status gaps. Each hop must emit a verifiable receipt with E.164 correlation ID, carrier timestamp, and state code before the next hop accepts the message.
Intermediate State Taxonomy
Define and enforce a canonical state machine: QUEUED → ACCEPTED → RELAYED → DELIVERED/FAILED. Any carrier that skips RELAYED or emits duplicate ACCEPTED receipts breaks the chain. Map each carrier's proprietary codes to this taxonomy at ingestion; reject messages with unmapped states at the validation gate.
Handoff Receipt Validation
Require cryptographic proof of handoff: signed receipt payloads with carrier ID, message UUID, previous hop timestamp, and current state. Verify signature against carrier-published keys. Flag receipts where timestamp delta exceeds 5 seconds or where previous hop hash mismatches — these indicate replay or injection attacks.
Webhook Latency & Ordering Guardrails
Measure webhook delivery latency per carrier per corridor. Set SLA: 95th percentile < 2 seconds for intermediate states. Deploy ordering buffers that re-sequence out-of-order receipts using carrier timestamps before forwarding to downstream consumers. Drop receipts older than 30 seconds to prevent stale state pollution.
Gap Detection & Alerting
Run continuous reconciliation: count messages per state per carrier per 5-minute window. Alert on any state where inbound count ≠ outbound count for > 2 consecutive windows. Correlate gaps with carrier incident feeds; auto-open tickets with carrier support including message UUIDs, timestamps, and expected vs actual state sequences.
Partner Route Comparison & Failover Trigger
When gap rate exceeds 0.5% for a corridor, trigger automated partner route comparison via IOSOR. Evaluate alternative carriers on intermediate state completeness, webhook latency p95, and RELAYED emission rate. Prefer routes with signed handoff receipts and native RELAYED support. Document failover decision with evidence package.
Start with IOSOR
Compare verified partner routes for your channel and corridor using the route comparison tool to select carriers with complete intermediate state emission and low handoff latency. Cross-reference findings with carrier DLR multi-hop transit visibility audit, carrier DLR receipt ordering consistency gate, and carrier DLR aggregation consistency validation gate for end-to-end coverage.
IOSOR takeaway
Define and enforce a canonical state machine: QUEUED → ACCEPTED → RELAYED → DELIVERED/FAILED. Document failover decision with evidence package (/tools/brief · DLR / webhook).
Was this guide helpful?
Related guides
- Inbox Placement Seed List Rotation: Audit and Partner Comparison
Audit seed-list rotation across ESPs and warmup tools for unbiased inbox-placement signals, then compare verified deliverability partners via /tools/brief.
- Verify GSM7 Extension Table Cost, SLA Enforcement Gate on Deliverability Routes
Operational gate to verify GSM7 extension table cost and SLA enforcement before raising SMS volume, then compare partner routes in /tools/brief for deliverability.
- Delivery Latency SLA Verification: Handoff Gate for Route Selection
Verify each candidate route's claimed delivery-latency SLA at the handoff boundary before comparing partners in Decision Brief and committing SMS volume.












