IOSOR Learn
Reconciling DLR State Divergence After Provider Outage Windows
How to reconcile messages stuck in unknown or pending DLR states after an outage, verify authoritative finality and replay-safe webhooks, and re-enable traffic safely.
Lead Telecom & Routing Architect · Lausanne, CH
After an outage, messages trapped in unknown or pending DLR states must be reconciled against downstream suppression, billing, and retry actions before any traffic is re-enabled. Re-enable only after the route proves authoritative finality states and replay-safe webhooks.
Map the divergence window and freeze dependent actions
Start by pinning the exact outage interval from the first failed status callback to the first successful post-recovery receipt. Pull every message whose last known DLR is unknown, pending, or expired inside that window and tag it with a reconciliation ID. Freeze suppression writes, billing finalization, and automatic retries for this cohort so no downstream action closes a state you have not verified.
Classify each stuck DLR against authoritative finality
For every frozen record, request or fetch the provider's terminal status and compare it to your stored state. Classify into delivered, failed with a stable error code, or genuinely indeterminate. Treat a missing callback as indeterminate, never as delivered. Capture receipt timestamps, webhook latency, and any duplicate callbacks to detect replay gaps.
Reconcile billing and suppression before retries
Delivered but unbilled items and billed but undelivered items must be resolved against the verified classification, not the pre-outage guess. Recompute suppression lists only from confirmed STOP and failed-permanent states; never re-enable a number whose STOP arrived during the outage but whose callback was lost.
Gate re-enablement on replay-safe webhook evidence
Before lifting the freeze, prove the route delivers idempotent, ordered callbacks with a durable replay endpoint. Run a controlled canary: send a known Verify OK message and one OTP through the route, confirm finality arrives within the stated latency budget, then replay the same callback payload twice and confirm no state duplication or double billing.
Verify partner routes with the Decision Brief comparison
Use the partner comparison to check which routes expose authoritative finality states, idempotent webhook replay, and stable error codes per channel and corridor before directing traffic back. Compare documented latency budgets, replay guarantees, and finality schema side by side rather than relying on outage postmortems alone.
Start with IOSOR
Run the reconciliation checklist against verified partner routes before re-enabling traffic: (1) export the frozen cohort with reconciliation IDs, (2) confirm authoritative finality per record, (3) replay one callback per route and check for duplication, (4) reconcile billing and suppression totals, (5) release the freeze only for routes that passed.
Related: PAYG hold before first debit · Wallet stop-lines before production.
IOSOR takeaway
Start by pinning the exact outage interval from the first failed status callback to the first successful post-recovery receipt. Compare documented latency budgets, replay guarantees, and finality schema side by side rather than relying on outage postmortems alone (/tools/brief · DLR / webhook).
Was this guide helpful?
Related guides
- Suppression List Error Code Precedence: Audit Before Route Comparison
Resolve which code wins when suppression, upstream provider error, and channel rejection collide, then compare partner routes whose error contracts match your governance.
- Detecting Failover Route Drift in Error-Reference Code Contracts
How ops teams verify that failover routes preserve error-reference semantics after provider or corridor changes, using partner route comparison to prove error-code parity.
- Carrier Maintenance Windows: Mapping Error Codes to Failover Decisions
Classify carrier error codes as maintenance-window, true route failure, or ambiguous deferral, then choose failover vs retry with verification criteria.












