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, prepaid balance hold rules, and routing optimization.
In white-label CPaaS, an UNKNOWN DLR status must always be treated as undelivered to maintain ledger integrity. Forcing success states for failed OTP codes creates financial discrepancies. Accurate DLR mapping ensures that USD balances and JIT operations remain synchronized.
Understanding UNKNOWN DLR Statuses in Ledger Operations
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. 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 prepaid 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.
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.
Related: Status Codes Finance and Support Tickets Can Cite · Error Catalogs vs Deliverability Playbooks in White-Label CPaaS · Prepaid hold 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
- Status Codes Finance and Support Tickets Can Cite
Standardize SMS and OTP status codes across support and finance. Learn how deterministic error references streamline ledger audits and ticket resolution.
- Error Catalogs vs Deliverability Playbooks in White-Label CPaaS
Learn how to separate raw DLR status code reference guides from broad SMS deliverability playbooks when troubleshooting tenant support tickets in IOSOR.