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.
Lead Telecom & Routing Architect · Lausanne, CH
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.
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
- SMS Route Cost-Band Verification and Failover Readiness Gate
Verify quoted SMS route cost bands against carrier and aggregator tiers, then confirm failover routes preserve delivery SLAs before committing volume.
- SMS Route Cost-Band Verification Before Volume Commitment
Verify quoted SMS cost bands against real carrier and aggregator route economics, audit DLR and failover behavior, then compare partner routes before committing campaign volume.
- Audit SMS Webhook Signatures Before Provider Failover
Verify SMS webhook signing, replay protection, and acknowledgement behavior before switching providers, then compare partner routes and webhook guarantees in Decision Brief.












