IOSOR Learn
Carrier SMS MT DLR Final State Reconciliation Gates
Verify terminal DLR states across carriers to prevent billing disputes and trigger partner route comparison for delivery receipt consistency.
Lead Telecom & Routing Architect · Lausanne, CH
Engineers must reconcile terminal delivery receipt states across carriers to prevent billing disputes and trigger partner route comparison for DLR consistency. This hub covers final-state validation gates, webhook latency thresholds, and correlation checks that ensure every MT message reaches a verifiable terminal state.
DLR Terminal State Taxonomy
Map each carrier's terminal codes to a canonical set: DELIVERED, UNDELIVERED, EXPIRED, REJECTED, UNKNOWN. Reject any webhook payload that omits a terminal code or returns a transient state after the carrier's declared TTL. Log carrier-specific code mappings in a versioned registry so audits can trace discrepancies to a single source of truth.
Webhook Latency & Ordering Gates
Enforce a maximum 30-second window from carrier DLR emission to platform ingestion. Discard out-of-order receipts that arrive after a later terminal state for the same message-id. Use a monotonic sequence number per message-id to detect duplicates and gaps; flag any sequence jump >1 for manual review.
Sender & Template Gate Alignment
Validate that the sender-id and template-id recorded in the terminal DLR match the original MT submission. Mismatches indicate carrier-side rewrites or partner route substitutions. Capture the full sender/template tuple in the reconciliation ledger and raise an alert when divergence exceeds 0.1% of daily volume.
Correlation & Idempotency Verification
Cross-reference each terminal DLR against the original MT request log using the correlation-id. Confirm idempotency keys prevent double-billing when carriers retransmit receipts. Store the correlation-id, idempotency-key, and terminal state in an append-only store for 90 days to support dispute resolution.
Billing Dispute Evidence Pack
Assemble an evidence pack for every disputed message: original MT payload, carrier DLR raw payload, normalized terminal state, webhook timestamps, and correlation trace. Export as a signed JSON bundle that finance teams can present to carriers within the 45-day dispute window. Automate pack generation for any message flagged by the reconciliation engine.
Start with IOSOR
Compare verified partner routes for your SMS corridor using the route comparison tool to ensure DLR consistency across providers. Run the operational checklist: confirm terminal state taxonomy coverage, validate webhook latency SLA, verify sender/template alignment, audit correlation-id completeness, and generate evidence packs for open disputes.
- Carrier SMS MT DLR State Machine Validation.
- Carrier SMS MT DLR Status Code Mapping Audit.
- Carrier SMS MT DLR Correlation Gates.
IOSOR takeaway
Map each carrier's terminal codes to a canonical set: DELIVERED, UNDELIVERED, EXPIRED, REJECTED, UNKNOWN. Automate pack generation for any message flagged by the reconciliation engine (/tools/brief · DLR / webhook).
Was this guide helpful?
Related guides
- Embedded Route Fallback Destination Weighting: Audit and Comparison Gates
Audit how fallback destinations are weighted across embedded routes, catch silent weight drift, and decide when to rebalance or renegotiate before volume shifts.
- Embedded Route Sandbox-to-Production Promotion Gates
How to decide an embedded SMS, voice, or email route is safe to promote: verify sandbox DLR receipts, schemas, credentials, and quotas transfer to live traffic.
- Embedded Route Cost-Band Quote Drift: Verify Before You Commit Volume
Prove partner-quoted per-route cost bands still hold after destination mix, encoding, and volume-tier shifts before you sign embedded messaging volume.












