IOSOR Learn
DLR Timestamp Skew and Duplicate Deduplication Gate
Spot replayed or duplicated delivery receipts with timestamp-skew checks and a dedup gate so billing and conversion attribution stay truthful, then compare DLR-audit-capable partner routes.
Lead Telecom & Routing Architect · Lausanne, CH
Treat delivery receipts as untrusted input: compare each DLR arrival time against expected webhook latency, hash the receipt identity, and drop anything that fails the dedup gate before billing or conversion events are written.
Why timestamp skew is the first replay signal
A delivery receipt should arrive in a narrow, predictable band after submission: seconds to low minutes depending on corridor and channel hop count. When a batch of DLRs lands with arrival times clustered far outside that band, or with identical millisecond timestamps across different message IDs, you are seeing replay or forged replay rather than real carrier feedback. Operators should correlate real-time DLR timestamps against webhook callback latencies across every active route before raising traffic caps, ensuring that capacity reservations and E.164 normalization rules stay aligned.
Dedup gate design before billing events
The dedup gate sits in front of any billing or conversion write. Use a composite key: message ID plus partner route ID plus claimed delivery timestamp, then hash it. Store the hash with a short TTL window covering your longest expected retry horizon. On each DLR ingress, compute the hash, check for an existing entry, and only pass through if it is new.
Sender and template gates around the receipt
Reconcile each DLR against the exact send record: sender identity, template version, and submission timestamp within the last known valid window. A receipt that references a template version no longer active, or a sender that was not used for that message ID, fails the gate. This catches fabricated receipts that get the ID right but the context wrong.
Webhook latency and clock discipline
Your webhook tier must record ingress time from a single clock source. Skew across app servers turns valid DLRs into false replay flags. Use NTP with monitored drift and reject receipts whose ingress timestamp is earlier than the submit time for that message ID; that inversion is a hard fail. Sample the latency distribution weekly per route and adjust the skew threshold only with evidence.
Related failure modes to read next
Replay detection connects to a broader fraud surface.
Start with IOSOR
Open the partner route comparison and filter for routes that expose DLR audit fields, publish webhook latency bounds, and support per-message dedup keys.
Related: PAYG hold before first debit · Wallet stop-lines before production.
IOSOR takeaway
A delivery receipt should arrive in a narrow, predictable band after submission: seconds to low minutes depending on corridor and channel hop count. Replay detection connects to a broader fraud surface (/tools/brief · DLR / webhook).
Was this guide helpful?
Related guides
- OTP Velocity Cap Drift Detection: Verify Route Failover Before Abuse Escalates
Detect silent per-route OTP velocity cap drift, audit DLR and webhook evidence, and compare failover-ready partner routes before abuse spikes hit your funnel.
- Verifying OTP Delivery Receipts Against Forged Success Signals
How ops leads test whether DLR and webhook success signals are auditable before trusting OTP conversion and fraud dashboards, and pick routes with receipt integrity.
- OTP Velocity Fencing: Auditing Threshold Drift Before It Leaks Fraud
How to audit per-account, per-number, and per-IP OTP velocity fences for silent threshold drift after rule changes, traffic mix shifts, or partner filter updates.












