IOSOR Learn
SIP OPTIONS Probe Retransmission Budget: Failure Detection Tuning
Set a SIP OPTIONS probe retransmission budget that detects dead trunks fast without false-positive disconnects, then verify partner failover against measured loss.
Lead Telecom & Routing Architect · Lausanne, CH
A SIP OPTIONS retransmission budget is the count and interval pair — for example 3 probes at 500 ms — after which a trunk counts as dead; tune it against your measured loss so failover outruns carrier hold timers without disconnecting healthy peers. The decision is arithmetic, not preference: total probe window must stay below the failover deadline your alerting needs, while consecutive failures stay above the loss you actually observe.
Measure loss before you set a count
Instrument inbound responsiveness per trunk for at least seven days before choosing numbers. Record OPTIONS reply rate in 200 ms buckets, response jitter between paired probes, and the longest healthy silence per carrier. A trunk that replies within 40 ms on 99.9 percent of probes tolerates two retransmissions; one with 120 ms tail latency and 0.5 percent loss needs three to five.
Balance detection speed against false positives
Fast failover improves call completion but punishes marginal carriers: a 2-probe, 300 ms budget on a loaded trunk disconnects peers that would have recovered. Define two thresholds — degraded and dead. Degraded fires on the first miss and only raises a warning with counters; dead requires the full budget and triggers route change.
Examine failover arithmetic end to end
Your probe budget is only one term. Add registration refresh interval, route priority switch time, and alert delivery latency to estimate total time from carrier death to callers reaching a backup. If OPTIONS needs 3 probes at 1 s and your registrar lease is 60 s, the registrar, not the probe, dominates — fix that first. Check that a dead probe result suppresses new attempts to the failed trunk instead of retrying in parallel and wasting channels.
Audit the budget quarterly and after incidents
Revisit counts after any carrier change, codec migration, or capacity step. Pull the last 30 days of probe timeouts, correlate each with CDR failures and manual escalations, and count how many failover events were true versus spurious. A spurious rate above 5 percent means the budget is too short; a genuine outage detected later than your committed failover window means it is too long or the interval is too wide. Archive the changed numbers with the evidence so the next incident review can compare.
Keep the registry consistent with the probe plan
Probe counts, retransmission intervals, and lease timers must live in one documented register referenced by alert rules and partner reviews. Record per-trunk expected reply latency, allowed miss streak, and escalation owner, and refresh the register when a carrier hands you new media endpoints.
Start with IOSOR
Run the partner comparison in IOSOR to match verified voice carriers against your measured probe-loss profile and failover window: open the partner route brief and record probe counts, intervals, and failover deadlines per corridor.
Related: PAYG hold before first debit · Wallet stop-lines before production.
IOSOR takeaway
Instrument inbound responsiveness per trunk for at least seven days before choosing numbers. Record per-trunk expected reply latency, allowed miss streak, and escalation owner, and refresh the register when a carrier hands you new media endpoints (/tools/brief · DLR / webhook).
Was this guide helpful?
Related guides
- Voice Silence Suppression: Trunk Billing and Route Comparison Gate
Verify whether SIP silence suppression skews billed minutes, ASR, and connect-time before locking a voice trunk route. Compare partner routes via /tools/brief.
- Voice Trunk Registration Failover and Drain Audit for Route Selection
Audit SIP trunk registration failover and graceful drain against contracted route priority before committing PAYG voice capacity. Verify readiness via partner comparison.
- Voice Answer Seizure Ratio and Trunk Sizing: Operational Comparison
Verify ASR and trunk concurrency against real carrier behavior before committing PAYG voice capacity or failover routes. Compare measured seizure ratio and cost-band evidence.












