IOSOR Learn

Unknown is Not Delivered: Ledger Integrity and DLR Mapping

Learn why unknown or undelivered SMS codes cannot be rewritten as success on the IOSOR ledger. Understand DLR webhooks, PAYG balance hold rules, and routing optimization.

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

Lead Telecom & Routing Architect · Lausanne, CH

IOSOR Expert · Q&A

Unknown is Not Delivered: Ledger Integrity and DLR Mapping. In white-label CPaaS architecture, message state finality determines both delivery accuracy and financial settlement. When an outbound SMS or OTP code is dispatched via E.164 formatting, the core engine tracks the transit pipeline through various carrier nodes.

Understanding UNKNOWN DLR Statuses in Ledger Operations

If a terminal delivery receipt (DLR) returns an UNKNOWN or undelivered status code, it signals that the remote mobile network operator could not confirm final receipt on the destination device.

Why Undelivered SMS Codes Cannot Be Rewritten as Success

A primary requirement of compliant message processing is that unknown or undelivered codes cannot be rewritten as success on the ledger. Attempting to force an artificial status update such as 'Verify OK' or 'Delivered' when the DLR explicitly reports UNKNOWN violates core financial controls. If a client application sends a critical authentication payload and receives no conclusive delivery receipt, altering the historical record creates dangerous false positives.

Ledger Debits and Reconciliation for Undelivered Traffic

The financial layer in white-label messaging operates on strict PAYG principles. When an API call triggers a new outbound transmission, the ledger places a temporary hold on the account balance. Once the upstream status resolves, the hold is converted into a settled debit or refunded according to carrier routing agreements.

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

Webhook Payloads and Status Mapping in Real-Time

Platform applications depend on automated webhook endpoints to parse delivery state transitions in real time. When a DLR callback arrives, the payload exposes critical parameters, including message IDs, timestamp metadata, destination E.164 numbers, and explicit status strings like UNKNOWN. Application logic must be constructed to consume these raw webhook events without modifying the underlying response state.

Optimization Strategies and Internal Routing Rules

To minimize the occurrence of ambiguous delivery states, platform operators must execute proactive database hygiene and route monitoring. Unroutable destination numbers, persistent network timeouts, or invalid E.164 inputs should be quickly isolated. Integrating automated suppression filters prevents wasteful re-transmissions to inactive endpoints.

Related: Status Codes Finance and Support Tickets Can Cite · Error Catalogs vs Deliverability Playbooks in White-Label CPaaS · balance reservation before first debit.

Start with IOSOR

To enforce ledger integrity inside the IOSOR console, navigate to the Gateway Routing and DLR Mapping panel to verify your status translation rules. Ensure that any incoming 'UNKNOWN' or 'UNDELIVERED' callback payloads are strictly mapped to final failure states rather than being intercepted or modified. You can run a simulation in the IOSOR testing suite to confirm that manual ledger overrides are blocked for these specific status codes.

IOSOR takeaway

This article demonstrates that attempting to artificially rewrite unknown or undelivered message statuses as successful transactions on the ledger is a critical compliance violation. Doing so compromises financial reconciliation, distorts delivery metrics, and creates discrepancies between carrier logs and platform billing.

Do not implement automated scripts or manual overrides that convert unresolved delivery reports into 'Success' or 'Delivered' states to satisfy client-side expectations. Instead, maintain strict ledger transparency by preserving raw DLR states and utilizing automated webhooks to notify downstream applications of the exact transmission outcome.

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