IOSOR Learn

Detecting Carrier DLR Message ID Collisions Across Routes

Audit DLR integrity by identifying duplicate message IDs across carriers that corrupt reconciliation. Verify deduplication logic and idempotency guarantees through partner route comparison.

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

Lead Telecom & Routing Architect · Lausanne, CH

IOSOR Expert · Q&A

Duplicate carrier-assigned message IDs across routes silently corrupt DLR reconciliation, causing false delivery confirmations and billing disputes. Operators must audit collision patterns by correlating carrier receipts with internal correlation IDs across every corridor.

Carrier DLR Field Structure and Collision Vectors

Carriers emit DLR receipts with provider-specific message_id formats — some reuse numeric sequences per batch, others recycle alphanumeric tokens after 24–72 hours. When multiple carriers deliver to the same destination pool, identical message_id values appear in webhook payloads with different correlation_id contexts.

Correlation ID Integrity as Primary Key

Internal correlation_id (UUIDv4 or ULID) must remain the immutable reconciliation key — never carrier message_id. Enforce correlation_id presence on every outbound submit and validate its return on every DLR webhook. Reject or quarantine any DLR missing correlation_id or carrying a mismatched pair. Log carrier message_id alongside correlation_id for audit trails but never join on it.

Webhook Deduplication Gate Design

Implement a two-tier deduplication gate: first, exact correlation_id match within a 48-hour sliding window drops duplicate webhooks; second, carrier_message_id + carrier_id + destination tuple match flags potential collisions for manual review. Store the first-seen timestamp, carrier, and raw payload for each tuple. Alert when collision rate exceeds 0.1% of daily volume per corridor.

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

Multi-Carrier Reconciliation Workflow

Run nightly reconciliation jobs that join internal send logs, carrier DLR webhooks, and partner billing CSVs on correlation_id. Flag records where: (a) multiple DLRs share one correlation_id with different carrier_message_ids, (b) one carrier_message_id maps to multiple correlation_ids, or (c) billing records reference message_ids absent from webhook logs.

Idempotency Guarantees and Retry Safety

Design submit retries to preserve the original correlation_id — never generate a new one. Carrier-side retries (SMSC re-queue) must return the same carrier_message_id; verify this contract per carrier. If a carrier issues new message_ids on retry, treat each as a distinct delivery attempt and correlate via your correlation_id. Document carrier-specific retry behavior in the route registry.

Start with IOSOR

Compare verified partner routes for SMS corridors using the Decision Brief to evaluate deduplication SLAs, correlation_id passthrough guarantees, and collision audit tooling.

Related: balance reservation before first debit · Wallet stop-lines before production.

IOSOR takeaway

Carriers emit DLR receipts with provider-specific message_id formats — some reuse numeric sequences per batch, others recycle alphanumeric tokens after 24–72 hours. Document carrier-specific retry behavior in the route registry (/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