IOSOR Learn
Carrier SMS MT DLR Receipt Parsing Audit Gates
Validate carrier delivery receipt parsing against spec to prevent misclassified final states and compare provider webhook normalization in the Decision Brief.
Lead Telecom & Routing Architect · Lausanne, CH
Engineers validate carrier delivery receipt parsing logic against specification to prevent misclassified final states, then compare provider webhook normalization in the Decision Brief. This audit ensures DLR payloads map to correct terminal states across carriers and gateways.
DLR Payload Schema Conformance
Each carrier returns delivery receipts with unique field names, timestamp formats, and status code enumerations. The parser must normalize these into a canonical schema: message_id, recipient_e164, status_final, timestamp_utc, error_code, and raw_payload_hash. Any deviation triggers a parsing gate failure and routes the event to a dead-letter queue for manual review.
Terminal State Mapping Accuracy
Carriers use divergent terminology for final states: DELIVERED, DELIVERED_TO_HANDSET, FAILED, EXPIRED, REJECTED, UNKNOWN. The audit verifies every carrier-specific code maps to exactly one canonical terminal state. Ambiguous codes such as ACCEPTED or SENT are treated as intermediate and never counted as final. Misclassification rates above 0.1% block release.
Webhook Latency and Ordering Guarantees
Delivery receipts may arrive out of order or with variable latency. The ingestion pipeline timestamps each webhook at receipt, then reorders by carrier_timestamp_utc before state transition. The audit measures p99 latency from carrier handoff to webhook ingestion and validates that late-arriving receipts do not overwrite a newer terminal state already persisted.
Sender ID and Template Gate Correlation
Each DLR must correlate to the originating sender_id and template_id used in the MT submit. The audit cross-references the submit log with the receipt payload to detect mismatches caused by carrier rewrites or gateway aggregation. Any receipt lacking a valid submit correlation is quarantined and excluded from delivery rate metrics.
Duplicate and Gap Detection Integration
Parsing gates feed directly into duplicate suppression and gap detection workflows. The audit confirms that parsed receipts emit deterministic deduplication keys and sequence identifiers consumed by downstream audits. This ensures end-to-end traceability from submit through final state without double-counting or silent drops.
Start with IOSOR
Use the Decision Brief to compare verified partner routes for your channel and corridor: Compare carrier SMS routes. Then review related audits: DLR gap detection, DLR duplicate suppression audit, Webhook payload drift detection.
IOSOR takeaway
Each carrier returns delivery receipts with unique field names, timestamp formats, and status code enumerations. This ensures end-to-end traceability from submit through final state without double-counting or silent drops (/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.












