IOSOR Learn
Shortcode Lease Rotation: Failover Matrix for Inbound MO Continuity
Build a failover matrix for shortcode and long-code lease rotation, expiry, and reclaim so inbound MO traffic and DLR/webhook receipts never gap mid-campaign.
Lead Telecom & Routing Architect · Lausanne, CH
Inbound MO continuity during lease rotation depends on three testable facts: whether the route exposes lease-expiry events, whether alias failover is automated, and whether DLR/webhook delivery survives the cutover without dropped receipts. Validate all three before you commit volume.
Map lease states to MO routing outcomes
Model every lease as a state machine and name the MO behavior at each transition: active, renewal-pending, grace, expiry-announced, reclaimed, released. For each state record whether inbound MO still resolves to your webhook, which E.164 alias accepts traffic, and whether DLR receipts are postmarked with the original lease or the alias.
Verify alias failover timing and DLR continuity
Alias failover is only useful if it happens before the lease stops accepting MO. Measure three intervals on a test lease: expiry-event to alias-activation, alias-activation to first inbound MO acknowledged, and last in-lease MO to first alias MO. Target alias activation inside the announced renewal window so no inbound message lands between leases.
Stress the matrix before volume
Run the matrix as a schedule rehearsal, not a one-shot test. Replay a 72-hour campaign window against a test lease that rotates mid-flight, and score: MO loss count, DLR receipt gap, webhook retry exhaustion, duplicate MO injection after alias swap, and STOP compliance across the boundary. Inject a reclaim event and verify that stale MOs from the prior lease holder cannot enter your queue.
Set verification gates before campaign start
Gate campaign launch on five checks: lease expiry date confirmed in writing, expiry-event disclosure confirmed in the route contract, alias failover automated and tested within the current corridor, DLR and webhook continuity proven across a swap on a test lease, and reconciliation owner assigned.
Collect route evidence and reconcile receipts
Document evidence per route: state-transition spec, test lease identifiers, measured failover intervals, DLR traceability method, webhook retry window, and reclaim handling. Reconcile receipts after every rotation by joining MO and DLR logs on message ID and lease identifier, then flag any orphan. Keep MT and MO paths separate in the evidence pack so a DLR gap is not masked by healthy outbound traffic.
Start with IOSOR
Run the partner route comparison for your channel and corridor first, then execute this checklist: 1) confirm every candidate discloses a machine-readable lease-expiry event; 2) demand a test lease with grace, expiry, and reclaim states you can trigger; 3) measure expiry-event to alias-activation latency and reject anything outside the renewal window; 4) prove DLR and webhook continuity across a live swap on message ID; 5) confirm reclaim.
Related: PAYG hold before first debit · Wallet stop-lines before production.
IOSOR takeaway
Model every lease as a state machine and name the MO behavior at each transition: active, renewal-pending, grace, expiry-announced, reclaimed, released. Keep MT and MO paths separate in the evidence pack so a DLR gap is not masked by healthy outbound traffic (/tools/brief · DLR / webhook).
Was this guide helpful?
Related guides
- Inbound MO Route Failover: Verifying Drain Rate and Cutover Safety
Verify inbound MO failover by measuring drain rate, DLR finality alignment, and cutover safety before switching primary routes. Compare failover-ready partners via /tools/brief.
- Inbound MO Webhook Retry Storms: Backpressure Gates and Partner Route Comparison
Diagnose retry amplification, set backpressure gates, and compare verified inbound partner routes on retry semantics, DLR receipts, and failover before committing volume.
- Inbound Webhook Signature Rotation: Cutover Audit Checklist
Audit signature verification, replay windows, and rollback readiness before rotating inbound webhook secrets, then compare verified partner routes on cutover support.












