IOSOR Learn
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.
Lead Telecom & Routing Architect · Lausanne, CH
Before shifting volume off a carrier route, confirm its drain state, in-flight message accounting, and failover cutover are consistent — otherwise you strand DLRs or double-send during the transition. This verification gate checks three signals in order: drain flag propagation, in-flight counter reconciliation, and cutover webhook continuity.
Drain state propagation check
Start by confirming the drain flag is visible on every routing node that can still accept traffic for the E.164 range. A drain that is set on the control plane but not propagated to edge routers will keep accepting new SMS submissions while you believe the route is closed. Pull the route state from each node and compare timestamps: the drain flag should be present with a monotonic version number across all nodes within one probe interval.
In-flight message accounting reconciliation
Drain state alone does not tell you what is still moving. Reconcile the in-flight counter against actual DLR receipts and webhook deliveries for the last window. Three numbers must agree: messages submitted to the route since drain began, messages with a final DLR state, and messages still awaiting a terminal state. A gap between submitted and terminal counts is your stranded-message exposure.
Failover cutover continuity
Once drain and in-flight accounting agree, verify the cutover path itself. The failover route must be accepting probe traffic and returning DLRs with webhook latency inside the corridor budget before you move production volume. Send a small probe batch through the failover route and confirm terminal DLR states arrive within the expected window. Check that webhook signatures and retry behavior match the primary route so downstream consumers do not need changes mid-transition.
Double-send and stranded-DLR risk criteria
The failure modes to screen for are specific. Double-send happens when the drain flag is set but in-flight messages are retried on the failover route before the primary route confirms terminal state. Stranded DLRs happen when the primary route stops delivering webhooks after cutover while messages are still in flight.
Verification evidence to capture
Capture four artifacts before shifting volume: the drain flag version and propagation delta per node, the in-flight counter reconciliation with submitted versus terminal counts, the failover probe batch with DLR latency, and the zero-in-flight confirmation timestamp. These four records let you prove the transition was clean if DLR anomalies appear later. Store them alongside the route comparison decision so the audit trail links the verified state to the partner route chosen.
Start with IOSOR
Run the partner route comparison for your cluster before committing the shift: open Decision Brief and match verified failover-ready routes against your corridor and channel.
Related: PAYG hold before first debit · Wallet stop-lines before production.
IOSOR takeaway
Start by confirming the drain flag is visible on every routing node that can still accept traffic for the E.164 range. Store them alongside the route comparison decision so the audit trail links the verified state to the partner route chosen (/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.
- Destination Prefix Cost Band Decay: Audit Before Route Commit
Audit destination-prefix cost bands against carrier interconnect drift so volume commitments are not priced on stale E.164 mappings. Verify then compare partner routes.












