Appearance
Pass / fail verdict
When a run ends, PBXsight compares the run's numbers with a set of pass/fail criteria (thresholds) and shows the result in the Pass / fail card at the top of the run page, in the HTML report and in the Results list. This page lists every criterion, its default, which data it needs and exactly how its value is computed — so you can tell what a red or grey row means and set thresholds that fit your PBX. First step: open a finished run and read its Pass / fail card from the top; each failed row names the criterion, and the section of this page with the same name explains it.
A verdict is relative to the system you test
The defaults are a starting point, not a standard. A run that fails on a small test VM tells you where that system's limit is; it is not a PBX defect, and the same software on bigger hardware will pass at a higher load. Use verdicts to compare the same system before and after a change, or set criteria to the quality your users need.

- Passed check: the value meets the threshold
- Failed check: the value is shown in red
- Skipped check: no data to judge (the note says why)
How a run is judged
Each criterion is one check: a measured value, an operator (≥ or ≤) and a threshold. A check ends in one of three states:
| State | When | Effect on the run |
|---|---|---|
| passed | the value meets the threshold (value ≥ threshold or value ≤ threshold) | counts as passed |
| failed | the value misses the threshold | the run fails |
| skipped | there is no data to judge (no ESL, media off, no answered call, a source not configured, too few calls in a window…) | ignored |
The run's verdict follows from its checks:
FAILED if at least one check failed
PASSED if no check failed and at least one passed
none if every check was skipped, or no criteria were set
PASSED if no check failed and at least one passed
none if every check was skipped, or no criteria were set
The card's badge reads PASSED · 5 of 5 checks or FAILED · 1 of 6 checks: skipped checks are not counted in either number. "none" shows as no criteria evaluated.
A criterion that is switched off (no threshold) is not a check at all: it doesn't appear in the card.
Why missing data is "skipped", not "failed"
Many values need a source that may legitimately be absent: FreeSWITCH's MOS needs ESL, the tester's MOS needs the media engine, Kamailio's shared memory needs the Kamailio source. If a missing source failed the run, every run without ESL would be red for the wrong reason. So a check without data is skipped — and its note says what was missing (for example "no FreeSWITCH RTP stats with audio (needs ESL; see Media path)").
Exceptions: silence fails
Two situations are failures even though there is "no value":
- Audio sent, nothing came back. If the media engine streamed audio but no call received any audio back, the tester MOS and packet loss checks fail with the note "no audio came back on any call" (calls between test extensions: "no audio arrived on any call", per direction). Silence is a real problem, not missing data.
- Limit steps that stall. In a find-the-limit step where at least 5 calls were placed but none was answered or failed by the end of the step, the answer rate fails — an overloaded PBX must not read as "no data". See Limit steps.
Where the criteria come from
- Defaults per test type live in the PBX profile (Profiles → Default pass/fail criteria). On the very first start they are seeded from the
criteria:section ofconfig.yaml(see Configuration); after that the profile is the source. - Per test: the New test form shows the criteria of the chosen type with a switch per row. Switching a row on fills in the profile's default (or a suggested value for criteria without a default); switching it off means "not checked"; Reset to defaults restores the profile's set.
- What a run uses: the set sent with the test replaces the profile's defaults as a whole (it is not merged). Schedules save the set with the schedule.
- Stored with the run. The thresholds a run used are saved in its parameters (shown under Criteria in the report). Changing a profile later doesn't re-judge old runs — so a run's verdict always means "against the thresholds it was started with".
Thresholds are validated before a run starts: percentages 0..100, times and counts ≥ 0, MOS thresholds 1..4.5, max_mos_drop 0..3.5.
Call tests
Criteria set criteria.call (calls to a number and calls between test extensions).
| Check | Key | Default | Needs | Value |
|---|---|---|---|---|
| Answer rate | min_answer_rate | ≥ 99 % | at least one call answered or failed | answered ÷ (answered + failed) × 100 |
| Setup time p95 | max_setup_p95_ms | ≤ 500 ms | answered calls | 95th percentile of the setup times (INVITE → 200 OK) of all answered calls |
| MOS (FreeSWITCH) | min_mos | ≥ 4.0 | ESL + the profile's media mode rtp or srtp | average of FreeSWITCH's rtp_audio_in_mos over the test calls that carried audio |
| MOS (tester, round trip) | min_tester_mos | ≥ 4.0 | media mode rtp or srtp | average of the per-call E-model MOS of the returning audio |
| Packet loss (round trip) | max_tester_loss_pct | ≤ 1 % | media mode rtp or srtp | packets lost ÷ packets expected, summed over all calls with audio back |
| Round trip p95 | max_tester_rtt_p95_ms | ≤ 300 ms | media rtp/srtp and an echo that returns the tester's own frames | 95th percentile of the per-call average round-trip times |
Notes:
- Calls still up when the run ends are neither answered nor failed in the answer rate's sense until they finish; a run stopped early judges what finished. A
486that the busy-hour logic classifies as busy is not a failure (below). - The round trip is only measurable when the audio that comes back is the tester's own (an echo test). If frames can't be matched — no echo, or the PBX transcoded the audio — the check is skipped with "echoed frames could not be matched (no echo, or transcoded)".
- Details of setup time and percentiles: Setup time. Audio values: Audio quality and MOS.
Calls between test extensions
When the destination is test extensions, audio is measured one way per direction (each side receives the other's audio), so the tester checks are split:
| Check | Key | Value |
|---|---|---|
| MOS (caller → callee) | min_tester_mos | average MOS of what the callee phones received |
| MOS (callee → caller) | min_tester_mos | average MOS of what the callers received |
| Packet loss (caller → callee), (callee → caller) | max_tester_loss_pct | loss per direction |
| Round trip p95 | max_tester_rtt_p95_ms | sum of both one-way p95 delays (an upper bound of the round trip p95) |
| Phone registrations | min_success_rate | callee phones' successful (re-)REGISTERs ÷ all finished × 100 |
| Busy (callee in a call) | max_busy_pct | busy ÷ attempts × 100 |
The same threshold applies to both directions: one setting, two checks. The round trip check is skipped when either direction's one-way delay can't be measured (no audio, transcoded audio, or the PBX didn't pass the X-PBXsight-Call header to the callee, so the two legs can't be linked).
Phone registrations and busy in call tests
criteria.call has no default for min_success_rate or max_busy_pct, and the New test form doesn't offer them for call tests, so these two checks normally appear only in busy-hour runs. They are evaluated for a call test between test extensions if the criteria set contains them (e.g. from config.yaml or the API).
A 486 is a failure here. A call test or find the limit between test extensions is planned so that every callee is free when it is dialled (enough callees for the concurrency; the form warns otherwise). A 486 Busy Here therefore means the PBX refused a call it should have put through, and it counts as a failure in the answer rate. Only busy hour, where random calls between the phones expect some to be in a call, sorts 486s into busy and failed.
Registration tests
Criteria set criteria.registration.
| Check | Key | Default | Value |
|---|---|---|---|
| Registration success | min_success_rate | ≥ 99 % | REGISTERs answered 200 ÷ (succeeded + failed) × 100 |
| Response time p95 | max_response_p95_ms | ≤ 500 ms | 95th percentile of first REGISTER → 200 OK, including the 401 challenge round, over successful registrations |
| Storm recovery, worst | max_storm_recovery_s | ≤ 30 s | web clients only: the longest time from a storm until all clients were registered again; a storm where not all came back within the recovery window fails; skipped when the run had no storm |
| Unexpected WebSocket drops | max_ws_drops | off | web clients only: connections lost that the tester didn't close, outside detected storms |
The two web-client checks are added only to registration runs with registration.client: webrtc; SIP registration runs show exactly the two checks above. The success rate and response time p95 include the re-REGISTERs after storms — so a storm run can recover in seconds and still fail a strict p95. See Criteria for storm runs for suggested values.
Busy hour
Criteria set criteria.busy_hour: the call checks (as for calls between test extensions) plus checks over the run's trend windows.
Busy is not failed. Random calls between the phones sometimes reach a phone that is already in a call; a PBX with user-busy handling answers 486 Busy Here. PBXsight knows which of its phones are in a call and counts a 486 to such a callee (or one whose call ended less than 3 s before) as busy: not a failure and left out of the answer rate. A 486 to an idle callee stays a failure. The busy check's note shows the expected busy share for comparison. See Busy hour.
| Check | Key | Default |
|---|---|---|
| Answer rate | min_answer_rate | ≥ 99 % |
| Setup time p95 | max_setup_p95_ms | ≤ 500 ms |
| MOS (FreeSWITCH) | min_mos | ≥ 4.0 |
| MOS per direction | min_tester_mos | ≥ 4.0 |
| Packet loss per direction | max_tester_loss_pct | ≤ 1 % |
| Round trip p95 (sum of one-way p95) | max_tester_rtt_p95_ms | ≤ 300 ms |
| Phone registrations | min_success_rate | ≥ 99 % |
| Answer rate, worst window | min_window_answer_rate | ≥ 95 % |
| Setup time p95, worst window | max_window_setup_p95_ms | ≤ 1000 ms |
| MOS drop over time | max_mos_drop | ≤ 0.3 |
| Busy (callee in a call) | max_busy_pct | off (the form suggests 30 %) |
- Worst window: the lowest answer rate / highest setup p95 of any window with at least 5 finished calls (5 setup times). Windows with fewer are ignored; with none, the check is skipped.
- MOS drop over time: per direction, MOS of the first window minus MOS of the last window, both with at least 3 calls with audio; the larger drop of the two directions is checked. A negative value (quality improved) passes.
How windows are cut and filled: Trend windows.
Limit steps
A find the limit run raises the call rate in steps; each step is one trend window and is checked against criteria.limit when the step ends. The steps carry the checks — not the run.
| Check per step | Key | Default | Minimum data in the step |
|---|---|---|---|
| Answer rate, per step | min_answer_rate | ≥ 99 % | 5 finished calls |
| Setup time p95, per step | max_setup_p95_ms | ≤ 500 ms | 5 answered calls |
| MOS (FreeSWITCH) | min_mos | ≥ 4.0 | 3 calls with FreeSWITCH RTP stats (only with media) |
| MOS (round trip, or per direction) | min_tester_mos | ≥ 4.0 | 3 calls with audio (per direction) |
| Packet loss (round trip, or per direction) | max_tester_loss_pct | ≤ 1 % | 3 calls with audio |
| Round trip p95 | max_tester_rtt_p95_ms | ≤ 300 ms | 3 calls with audio (test extensions: sum of one-way p95, both directions measured) |
| Phone registrations (test extensions) | min_success_rate | ≥ 99 % | a REGISTER in the step (phones rarely re-register within a step, so usually skipped) |
Rules special to steps:
- Fewer calls than the minimum skips that check in that step.
- Stalled step: at least 5 calls placed but none answered or failed during the step → the answer rate fails ("N calls placed, none answered or failed in the step").
- No audio at all: at least 3 calls without any arriving audio and no call with audio in either direction → the audio checks fail.
A step's result is passed (no check failed, at least one passed), failed, no data (every check skipped — counts as neither), stopped (the run ended during the step) or running. The optional warm-up before step 1 is not a step and is never checked.
From steps to the limit
- The limit = the highest step that passed before the first failed step — the load the PBX sustained within the criteria. A step that passes after a failure doesn't raise it (a note says the limit isn't sharp).
- Stop rule (
stop_after_failed_steps): 1 (default) ends the test at the first failed step, N after N failed steps in a row, 0 runs every step. Stopping is soft: no new calls, calls up finish. - Outcomes: limit found (some steps passed, then one failed); below start — shown < start CPS (the first step already failed); no limit — shown ≥ max CPS (every step passed); incomplete (the run ended before a step failed or the last step finished).
- Broke first: the names of the checks that failed in the first failed step — usually the most useful single line of a limit run.
The run's verdict: min_limit_cps
A limit run gets a verdict only with a Required limit (min_limit_cps, off by default):
| Check | Key | Value |
|---|---|---|
| Limit (highest passing step) | min_limit_cps | the limit found, in CPS |
- no limit → the value is max CPS (the limit is at least that) and the note says so;
- below start → no value, and the check fails (the PBX didn't sustain even the start rate);
- incomplete without any passed step → skipped.
A second run-level check compares the limit with the test's baseline (max_limit_cps_drop_pct, off by default).
Without either the Pass / fail card says "Every step is checked against the criteria (see Steps). The run itself gets a verdict only with a required limit (min_limit_cps) or a limit vs baseline check (max_limit_cps_drop_pct)." — unless optional Kamailio, rtpengine or stuck-call criteria are set: those are checked for the run as a whole in every run type, limit runs included.
Worked example: a limit run
Steps 1, 2, 3, 4 CPS, stop_after_failed_steps: 1, min_limit_cps: 2.5.
| Step | Target | Answer rate | Setup p95 | Result |
|---|---|---|---|---|
| 1 | 1 CPS | 100 % | 310 ms | passed |
| 2 | 2 CPS | 100 % | 380 ms | passed |
| 3 | 3 CPS | 100 % | 470 ms | passed |
| 4 | 4 CPS | 100 % | 1 900 ms | failed (Setup time p95) |
Limit = 3 CPS, broke first: Setup time p95, per step. Run verdict: 3 ≥ 2.5 → PASSED · 1 of 1 checks. With min_limit_cps: 4 the same run would be FAILED.
The Steps card and the full find-the-limit procedure: Find the limit.

DTMF and IVR checks
| Check | Key | Value |
|---|---|---|
| DTMF ok | min_dtmf_ok_pct | calls whose digits all arrived exactly as sent, %. Checked only when the digits were verified — by the callee phone (test extensions) or FreeSWITCH's DTMF events (ESL); otherwise skipped with "not verified", never failed. Default 99 % for call tests. |
| IVR script passed | min_ivr_pass_pct | IVR / voicemail check: answered calls that passed every step, % (default 100 %; criteria.ivr). Skipped when no answered call ran the script. |
An IVR check also has answer rate and setup p95; it has no round-trip MOS (no echo) — only the packet loss of what the PBX sends is checked (max_tester_loss_pct, off by default for ivr).
PBX watch
Criteria set criteria.watch. A watch places no calls; it judges what FreeSWITCH saw (all traffic). Real traffic may be sparse, so every check without data is skipped.
| Check | Key | Default | Value |
|---|---|---|---|
| ESL data coverage | min_coverage_pct | ≥ 95 % | seconds with a fresh ESL poll ÷ seconds of the watch × 100 (note: ESL disconnects) |
| Call success | min_call_success_rate | ≥ 95 % | (answered + busy/no answer/declined) ÷ (answered + busy/no answer/declined + failed) × 100 |
| Call success, worst window | min_window_call_success_rate | ≥ 90 % | lowest call success of a window with at least 10 ended calls (cancels excluded) |
| Dropped calls | max_dropped_pct | ≤ 1 % | answered calls ended by an abnormal cause ÷ answered × 100 |
| Post-dial delay p95 | max_setup_p95_ms | off (form suggests 2000 ms) | p95 of channel created → ringing (180/183) inside FreeSWITCH |
| MOS (FreeSWITCH, all legs) | min_mos | ≥ 4.0 | average FreeSWITCH MOS of every SIP leg with received audio |
| MOS drop over time | max_mos_drop | ≤ 0.3 | MOS of the first window − MOS of the last window, both with at least 3 legs with audio |
| Registration success | min_success_rate | ≥ 95 % | REGISTER ok ÷ (ok + failed) × 100 |
| Registration failures/min, worst window | max_reg_failures_per_min | ≤ 10 /min | the highest failures ÷ minutes of any window (an open window shorter than 60 s doesn't count) |
| Idle CPU, lowest | min_idle_cpu | ≥ 20 % | FreeSWITCH's lowest idle CPU of any second (skipped if this FreeSWITCH doesn't report it) |
| Internal legs, peak | max_internal_legs | off (form suggests 20) | most loopback/other (non-SIP) channels open at once — catches dialplan loops |
Why the lowest second for idle CPU: a short overload (a call loop, a burst) disappears in a 5-minute average, and FreeSWITCH's idle value is already smoothed, so one second isn't noise.
Call outcomes (answered / user / cancelled / failed), PDD and channel types: PBX watch.
Regression vs the baseline
Three optional checks compare the run with the baseline of its test (same profile, type and schedule; a scheduled run without a schedule baseline uses the hand-run one). All are off by default.
| Check | Key | Test types | Value |
|---|---|---|---|
| Setup p95 vs baseline | max_setup_p95_increase_pct (≥ 0) | call, busy hour | (setup p95 − baseline's) ÷ baseline's × 100; negative = faster |
| Answer rate vs baseline | max_answer_rate_drop (0..100, points) | call, busy hour | baseline's answer rate − this run's, in percentage points |
| Limit vs baseline | max_limit_cps_drop_pct (0..100) | find the limit (run verdict) | (baseline's limit − this limit) ÷ baseline's × 100 |
A check passes when the value is at most the threshold, e.g. max_setup_p95_increase_pct: 30 allows up to 30 % slower. The note names the baseline run and both values (baseline run 20261101-…: 280 ms → 410 ms).
- Skipped with the note no baseline for this test while the test has none, and when either run lacks the data (no setup samples, no limit found — the note gives the outcomes, a baseline of 0).
- Frozen at the end of the run: the baseline in effect then is used and stored with the run (
baseline_idin its summary); marking another baseline later doesn't re-judge old runs.
Optional source criteria (any run type)
These are off by default. They are offered in the form when the profile has the source, and checked for the run as a whole.
| Check | Key | Form suggests | Value | Skipped when |
|---|---|---|---|---|
| Kamailio restarts | max_kamailio_restarts | 0 | restarts of any Kamailio seen during the run | Kamailio source off, or no data |
| Kamailio shared memory | max_kamailio_shm_pct | 80 % | highest shared-memory use of any Kamailio at any second (note: start → end %) | no shared-memory stats |
| Kamailio WebSocket failures | max_kamailio_ws_failed_pct | 1 % | failed WebSocket handshakes + failed connections ÷ attempts × 100 (websocket module, all Kamailios) | no WebSocket stats (module not loaded), or fewer than 10 attempts |
| rtpengine restarts | max_rtpengine_restarts | 0 | restarts of any rtpengine | rtpengine source off, or no data |
| rtpengine packet errors | max_rtpengine_error_pct | 1 % | packet errors ÷ relayed packets × 100 (all traffic) | no packets relayed |
| rtpengine timeouts | max_rtpengine_timeouts | 0 | sessions closed because media stopped without a hangup (all traffic) | no data |
| rtpengine ports in use | max_rtpengine_ports_pct | 80 % | fullest media port range at any second | rtpengine reported no ports |
| Stuck calls | max_suspect_calls | 0 | distinct legs flagged by the stuck-call check (note: peak at once) | check off (stuck_calls.enabled, needs ESL) |
The rtpengine and stuck-call criteria are not offered for registration tests (no calls). Note that rtpengine numbers are host totals: other traffic through the same rtpengine counts too. More: Kamailio metrics, rtpengine metrics, Stuck calls.
Choosing thresholds
- Setup time depends on your path (TLS, a VPN, the authentication round trip, the callee's leg). Measure a baseline at low load first and set the threshold comfortably above it, so a limit run fails on load, not on latency. The hint "Setup takes time even at the lowest load" (What to look at) says when that is the case.
- MOS 4.0 is the usual target; the tester's E-model estimate tops out at about 4.4, FreeSWITCH's at 4.5 — see Audio quality.
- Storm runs: keep Storm recovery strict, relax Response time p95 (a burst of REGISTERs queues at the registrar) — see Criteria for storm runs.
- Watch thresholds depend on your users: a PBX with many unanswered calls has a low answer rate but can still have a high call success.