IOSOR Learn
SIP OPTIONS Ping Scheduling: Verifying Liveness Probes Before Failover
How to schedule SIP OPTIONS liveness probes, verify each peer's actual keepalive interval, timeout defaults and failure-detection semantics before you commit a failover plan.
Lead Telecom & Routing Architect · Lausanne, CH
SIP OPTIONS probes catch a dead peer inside the false-positive budget you choose; you size the interval from acceptable outage seconds, not from a default timeout, then verify every candidate route's real keepalive behavior before writing the failover trigger.
Why probe interval drives both detection latency and capacity cost
An OPTIONS ping is a transaction: request, response, and a held timer. If you probe every 5 seconds across 400 registered peers, you generate 80 transactions per second of pure overhead before any real call, and each transaction holds a client and server transaction slot until its timeout fires. Detection latency is bounded roughly by interval plus timeout times the consecutive-failure count, so a 30-second interval with a 4-second timeout and three strikes detects a dead peer in up to about 102 seconds.
Size the timeout and strike count against real transport behavior
A timeout shorter than the peer's p95 response latency produces false failures and needless failover churn. Pull two weeks of OPTIONS round-trip data per peer and set the timeout above p99, not above the average. Then pick the strike count: two consecutive misses work for low-latency trunks, three or four suit lossy or overloaded peers.
Verify failure-detection semantics before trusting a failover trigger
Probe scheduling decides nothing if the failover trigger reads the wrong signal. Ask each candidate route how it defines liveness: does an OPTIONS 200 prove the registration path, or only the proxy hop? Does a 481 or 408 count as death or as a routing glitch? Verify with a controlled test: block OPTIONS at the firewall for one peer and observe how long the stack takes to mark it down, whether it drains in-dialog calls, and whether it re-probes on a backoff or on a fixed interval.
Pair probe design with resolution and re-route behavior
Probes resolve through the same DNS that carries production traffic, so a stale SRV cache can make every probe succeed against a peer that no longer accepts calls. Verify that probe expiry and SRV TTL boundaries are coherent, and that failover does not loop back to a target the resolver still lists.
Comparison criteria to apply per route
Score each candidate on: measured OPTIONS round-trip p99 and the default timeout relative to it; default interval and whether it is configurable per peer; strike count and what resets the failure counter; scope of the counter (transport vs remote target); behavior during drain (cancel in-dialog, reject new, silent); re-probe backoff curve; and observability — whether probe state emits events, logs, or webhooks with usable latency.
Start with IOSOR
Run the working checklist against candidate partners rather than marketing claims. First, collect your own two-week OPTIONS latency baseline per trunk. Second, list your outage budget in seconds and derive interval, timeout, and strikes. Third, open the SIP partner comparison to line up verified voice and SIP routes on probe interval, timeout defaults, and failover trigger semantics side by side.
Related: PAYG hold before first debit · Wallet stop-lines before production.
IOSOR takeaway
An OPTIONS ping is a transaction: request, response, and a held timer. Score each candidate on: measured OPTIONS round-trip p99 and the default timeout relative to it; default interval and whether it is configurable per peer; strike count and what resets the failure counter; scope of the counter (transport vs remote target); behavior during drain (cancel in-dialog, reject new, silent); re-probe backoff curve; and observability — whether probe state emits events, logs, or webhooks with usable latency (/tools/brief · DLR / webhook).
Was this guide helpful?
Related guides
- SIP Registration Expiry Recovery: Failover Gate for Route Selection
Verify how each SIP route handles registration expiry, re-registration storms, and failover to a secondary registrar without dropping active dialogs before you commit traffic.
- SIP Route Cost-Band Verification Before Partner Comparison
Verify quoted SIP termination cost bands against real per-minute, per-DID, and per-channel economics before you commit to a partner route comparison.
- SIP OPTIONS Ping Liveness: Separating False Positives From Real Failover
Decide if your SIP OPTIONS keepalive signal is trustworthy for failover or masking dead routes as healthy. Verify response-code handling and partner readiness.












