IOSOR Learn
Carrier Maintenance Windows: Mapping Error Codes to Failover Decisions
Classify carrier error codes as maintenance-window, true route failure, or ambiguous deferral, then choose failover vs retry with verification criteria.
Lead Telecom & Routing Architect · Lausanne, CH
Treat a carrier maintenance flag as a scheduled-window signal only when the code carries a start and end timestamp and the DLR receipt matches that interval; otherwise classify it as a true route failure or an ambiguous deferral and route your decision from there.
Split codes into three buckets before touching failover
Build a static map with three columns: maintenance-window, true failure, ambiguous deferral. A maintenance-window code needs two proofs: a published window notice keyed to the corridor, and DLR receipts showing the same terminal status inside that window. A true failure shows a hard reject code plus missing or negative DLR. Anything with a deferral code but no window timestamp lands in ambiguous.
Verify the window evidence against DLR receipts
Pull the DLR receipt for each failed attempt and compare terminal status timing to the stated window. If receipts arrive after the window closes with a success status, the message was deferred, not failed, and failover would have burned a second route. If receipts never arrive, treat the code as unverified until a webhook latency check shows whether callbacks were suppressed by the window or lost by your receiver.
Derive retry and failover posture from the bucket
Maintenance-window: hold the message, schedule retry at window end plus a jitter buffer, and do not fail over. True failure: fail over immediately to the next candidate route and log the reject code. Ambiguous deferral: retry once on the same route, then fail over if the second receipt is still terminal-negative.
Audit mapping drift and clock skew
Codes get renumbered and windows get rescheduled. Run a weekly audit that compares your bucket map against fresh DLR samples per corridor and flags any code whose bucket changed. Check clock skew between carrier window timestamps and your receipt timestamps; a ten-minute drift can push a deferred receipt outside the window and misclassify it as a true failure.
Compare routes on notice transparency and DLR behavior
Failover posture is only as good as each candidate route's maintenance notice. Compare routes on three criteria: whether window notices are published ahead of time with corridor granularity, whether codes are mapped to readable categories, and whether DLR callbacks survive the window without silent loss.
Start with IOSOR
Run the comparison as a checklist, not a vibe. If receipts arrive after the window closes with a success status, the message was deferred, not failed, and failover would have burned a second route. If receipts never arrive, treat the code as unverified until a webhook latency check shows whether callbacks were suppressed by the window or lost by your receiver (/tools/brief).
PAYG hold before first debit · Wallet stop-lines before production.
IOSOR takeaway
Build a static map with three columns: maintenance-window, true failure, ambiguous deferral. Compare routes on three criteria: whether window notices are published ahead of time with corridor granularity, whether codes are mapped to readable categories, and whether DLR callbacks survive the window without silent loss (/tools/brief · DLR / webhook).
Was this guide helpful?
Related guides
- Suppression List Error Code Precedence: Audit Before Route Comparison
Resolve which code wins when suppression, upstream provider error, and channel rejection collide, then compare partner routes whose error contracts match your governance.
- Detecting Failover Route Drift in Error-Reference Code Contracts
How ops teams verify that failover routes preserve error-reference semantics after provider or corridor changes, using partner route comparison to prove error-code parity.
- Cross-Route Error Budget Reconciliation Before Partner Comparison
Reconcile how each messaging route reports error budgets, rejection attribution, and DLR receipts before comparing partners side-by-side in a Decision Brief.












