IOSOR Learn
E.164 DLR Webhook Signature Trust Boundary Audit Before Route Commit
Audit inbound DLR and MO webhook callbacks for cryptographic authentication, replay protection, and carrier-route signing support before committing SMS volume.
Lead Telecom & Routing Architect · Lausanne, CH
Before committing volume, verify that every inbound DLR and MO callback is cryptographically signed, replay-protected, and attributable to the carrier route that produced it. Unsigned or spoofed receipts must be quarantined so they cannot corrupt final-state reconciliation.
Map the trust boundary between carrier and callback endpoint
Start by drawing the exact path a receipt travels: carrier SMSC or aggregator edge, signing layer, transport, your ingress, and the reconciliation store. For each E.164 route, record whether the DLR webhook is signed at origin, signed at an intermediary, or unsigned. Identify the algorithm (HMAC-SHA256 or asymmetric), the key rotation cadence, and where the shared secret lives.
Verify signature validation and replay-window guarantees
For each candidate route, demand evidence that your ingress rejects bad signatures before parsing the payload. Test with a deliberately corrupted signature and confirm a 401 or 403 with no state mutation. Then test replay: capture a valid callback, resend it after the stated replay window, and verify rejection. Record the replay-window guarantee in seconds and whether it is enforced by timestamp, nonce, or both.
Audit DLR authenticity evidence per carrier route
Authenticity is more than a valid signature; the receipt must be traceable to the submitted message. For each route, verify that the DLR payload includes the original message ID, the E.164 destination, the final status, and a carrier-side timestamp. Cross-check a sample of receipts against submission records to confirm no orphaned or fabricated statuses. Confirm that intermediate states (accepted, enroute, delivered) arrive in order and that terminal states are immutable.
Test webhook latency against reconciliation deadlines
Signature checks add processing time, and replay windows interact with receipt lag. Measure p50 and p99 webhook latency from carrier emission to your ingress acceptance for each route. Compare that against your reconciliation deadline; a route whose p99 exceeds the deadline will produce late final states even when signatures are valid. Verify that your ingress queues failed-signature events for retry or quarantine without blocking valid traffic.
Reconcile findings into a route-commit decision
Consolidate the audit into a per-route scorecard: signing coverage, replay-window guarantee, authenticity traceability, and webhook latency against deadline. A route that signs DLR but not MO, or that lacks a replay window, should be downgraded or excluded from volume commit until remediated. Use the scorecard to set sender and template gates: only routes with full signature and traceability coverage should carry high-volume OTP or transactional SMS.
Start with IOSOR
Run the partner route comparison before committing volume: open the Decision Brief comparison and filter routes by webhook signing support, replay-window guarantees, and DLR authenticity evidence.
Related: PAYG hold before first debit · Wallet stop-lines before production.
IOSOR takeaway
Start by drawing the exact path a receipt travels: carrier SMSC or aggregator edge, signing layer, transport, your ingress, and the reconciliation store. Use the scorecard to set sender and template gates: only routes with full signature and traceability coverage should carry high-volume OTP or transactional SMS (/tools/brief · DLR / webhook).
Was this guide helpful?
Related guides
- Route Failover DNS TTL Propagation: Verifying Cutover Before Traffic Shifts
Audit DNS TTLs, resolver caches, and propagation lag so failover cutover completes before traffic shifts; then compare partner failover readiness via /tools/brief.
- Verify Route Failover Drain Windows Before Committing Volume
Check failover drain windows, in-flight SMS and voice handling, and cutover timing per route before you commit volume, then compare verified partner routes.
- Verify Route Failover Drain State Before Traffic Shift
Confirm drain state, in-flight message accounting, and failover cutover consistency before shifting volume so you don't strand DLRs or double-send during a route transition.












