IOSOR Learn

Message Disposition Final State Reconciliation

Reconcile terminal message states across provider DLRs, webhooks, and internal logs to close billing gaps and trigger partner route comparison for disputed dispositions.

Oleksandr (Alex) Petukhov — IOSOR Telecom Expert
✓ Verified by IOSOR ExpertOleksandr (Alex) Petukhov

Lead Telecom & Routing Architect · Lausanne, CH

IOSOR Expert · Q&A

Operations teams must align terminal message states across provider DLRs, webhook callbacks, and internal audit logs to eliminate billing discrepancies and surface disputed dispositions for partner route comparison. This reconciliation ensures every message reaches a verified final state — delivered, failed, expired, or rejected — before finance closes the period.

DLR Receipt Normalization

Provider DLRs arrive with inconsistent status codes, timestamps, and message reference formats. Map each provider's terminal states to a canonical taxonomy: DELIVERED, UNDELIVERED, EXPIRED, REJECTED, UNKNOWN. Reject any DLR lacking a valid message-id, timestamp, or final status code. Log normalization failures for manual review.

Webhook Latency and Ordering Guarantees

Webhook callbacks may arrive out of order or with variable latency. Enforce idempotent processing using deduplication keys (message-id + provider + attempt). Apply a configurable hold window (default 300s) before finalizing state to absorb late-arriving DLRs. Track webhook-to-DLR latency per provider to identify systemic delays.

Sender and Template Gate Validation

Verify that each terminal state aligns with the originating sender-id, template registration, and consent record. Reject dispositions where sender/template gates were bypassed — these indicate routing anomalies or partner misconfiguration. Cross-reference template approval status at send time versus disposition time.

⚡ IOSOR Expert · Q&A · Verified partners (×44)

Internal Log State Machine Audit

Reconstruct the internal message lifecycle: QUEUED → SENT → DLR_RECEIVED → FINAL_STATE. Identify gaps where messages stall in SENT without DLR_RECEIVED beyond the provider SLA window. Flag messages with conflicting internal and provider final states for dispute escalation.

Billing Gap Closure and Dispute Packaging

Aggregate reconciled states into billing-period snapshots. Calculate delivery-rate variance between provider-reported and internally-verified finals. Package disputed dispositions with full evidence chains (DLR raw payload, webhook timestamps, internal state transitions, sender/template context) for partner route comparison.

Start with IOSOR

Run the reconciliation job for the target corridor and period, then compare verified partner routes using partner route comparison to identify disposition-rate outliers. Checklist: 1) Pull DLR exports from all active providers. 2) Ingest webhook logs with deduplication. 3) Apply canonical state mapping. 4) Validate sender/template gates. 5) Audit internal state machine completeness. 6) Generate dispute packages for variances >0.5%. 7) Route disputes to Reports must match DLR, not submit counts, Deduplication and Idempotency Gap Audit Framework, Failover Route Attribution and Margin Integrity Audit.

IOSOR takeaway

Provider DLRs arrive with inconsistent status codes, timestamps, and message reference formats. Package disputed dispositions with full evidence chains (DLR raw payload, webhook timestamps, internal state transitions, sender/template context) for partner route comparison (/tools/brief · DLR / webhook).

Was this guide helpful?

Related guides

VERIFIED BY IOSOR EXPERT · B2B ROUTING, SLA & PROVIDER Q&A

IOSOR Expert — Verified Q&A & B2B Messaging Decisions

Every Q&A decision below is audited by the IOSOR Telecom Architecture Expert against live 90-day uptime telemetry, carrier compliance rules (10DLC, DLT, GDPR), and real partner TCO.

All Q&A Triggers
#01 · Compliance & Sender ID📖 Knowledge hub · US A2P / 10DLC

US A2P / 10DLC

“Why do US 10DLC TCR campaigns get rejected and which partner handles fast onboarding?”

✓ Verified by IOSOR Expert

10DLC brand and campaign programs for US A2P traffic — not general privacy compliance.

All Q&A Triggers
#02 · OTP & verification📖 Knowledge hub · India DLT

India DLT

“How do engineering teams prevent India TRAI DLT template scrubbing drops on OTPs?”

✓ Verified by IOSOR Expert

DLT and PE-TM registration for India A2P — not an India corridor coverage guide.

All Q&A Triggers
#03 · OTP & verification📖 Knowledge hub · Verify / OTP

Verify / OTP

“How do we eliminate OTP p95 timeout spikes and trigger a 20–30s multi-rail fallback?”

✓ Verified by IOSOR Expert

Login codes without chaos: abuse, latency, and cost control.

All Q&A Triggers
#04 · Transactional email📖 Knowledge hub · Email

Email

“Why do password reset and 2FA emails land in Spam when sharing bulk marketing IPs?”

✓ Verified by IOSOR Expert

Transactional email alongside SMS, voice, and WhatsApp in one routing architecture.

All Q&A Triggers
#06 · WhatsApp Business📖 Knowledge hub · WhatsApp & RCS

WhatsApp & RCS

“How do Meta per-conversation fees and template pauses impact WhatsApp Business TCO?”

✓ Verified by IOSOR Expert

Rich channels when profiles and templates are ready: honest setup.

All Q&A Triggers
#08 · Failover & backup routing📖 Knowledge hub · Failover & rails

Failover & rails

“How do we keep a second standby provider warm for failover at $0/month idle cost?”

✓ Verified by IOSOR Expert

Ordered backup paths when a primary rail fails - distinct from DLR status truth.

All Q&A Triggers