IOSOR Learn

Route Drain vs Quarantine: Failover Gate Before Carrier Swap

Decide drain vs hard quarantine for a degrading E.164 route, and gate the carrier swap on verified capacity, DLR behavior, and cost band before live traffic moves.

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

Lead Telecom & Routing Architect · Lausanne, CH

IOSOR Expert · Q&A

Drain gradually when degradation is partial and DLR receipts still arrive inside the webhook budget; quarantine hard when receipt loss or sender-gate failures cross the stop threshold. Either way, gate the carrier swap on verified replacement capacity, DLR behavior, and cost band before live traffic moves.

Classify the degradation before choosing drain or quarantine

Start from the evidence, not the instinct. Pull the last 60 minutes of DLR receipts per route and split them into delivered, undelivered, expired, and missing. Missing receipts are the loudest signal: if the webhook latency p95 has doubled while the receipt count fell, the route is failing silently and quarantine is the safer call.

Drain mechanics: ramp down with a stop timer and receipt watch

A drain is a controlled ramp, not a slow leak. Cut the route's share in steps, for example 100 to 70 to 40 to 0 percent, and hold each step long enough to observe at least one full DLR window. At every step, watch receipt completeness and webhook latency against the pre-incident baseline. If completeness drops below the gate or latency exceeds the budget, stop the ramp and escalate to quarantine.

Quarantine mechanics: hard cut with sender and template gates

Quarantine removes the route from rotation immediately and blocks re-entry until explicit checks pass. The hard cut is justified when receipts are missing, when the sender or template gate fails, or when the route shows priority inversion against its configured order. On the cut, freeze new sends to the route, let in-flight messages resolve, and capture the final receipt snapshot for the record.

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

Verify the replacement route before any live traffic moves

The swap is the risky moment, so verify the replacement first. Check capacity headroom against current and peak send rate, confirm DLR receipt behavior and webhook latency match the baseline band, and confirm the cost band sits inside the approved envelope. Run a probe batch through the replacement and compare receipt completeness and latency to the degrading route's pre-incident numbers.

Common failure modes that break the gate

Three patterns recur. First, swapping on a verbal assurance without a probe batch, which hides a receipt regression until customers report it. Second, draining too slowly while receipts are already missing, which extends the silent-failure window. Third, re-entering a quarantined route on a single good minute instead of a full probe window.

Start with IOSOR

Run this checklist before the swap. One: classify degradation on receipt completeness, webhook latency drift, and sender/template gate pass rate; record the drain-or-quarantine decision and its threshold. Two: if draining, set step percentages and a stop timer, and watch receipts at every step. Three: if quarantining, freeze sends, snapshot receipts, and write exit criteria.

Related: PAYG hold before first debit · Wallet stop-lines before production.

IOSOR takeaway

Start from the evidence, not the instinct. Third, re-entering a quarantined route on a single good minute instead of a full probe window (/tools/brief · DLR / webhook).

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