Appearance
Trend windows
A long run summed up in one number hides what happened during it: an answer rate of 99.4 % over an hour can be 100 % for 55 minutes and 92 % for five. Trend windows cut a run into fixed periods from its start, aggregate each period on its own, and let the verdict judge the worst window and the drift from the first window to the last.
Windows exist in three run types:
First step: open a busy hour, find-the-limit or watch run and scroll to its Trends (or Steps) card; the worst window is marked.
| Run type | Window length | Card |
|---|---|---|
| Busy hour | window_seconds, default 300 s (5 min), at least 10 s, at most 120 windows over the run | Trends |
| Find the limit | one window per step (the step length); the warm-up is kept apart | Steps |
| PBX watch | window, default 5 min — or a quarter of a watch shorter than 20 min (at least 10 s); 10 s … 1 h, not longer than the watch | Trends |
Plain call and registration tests have no windows.

How windows are cut
Every second the run records one sample. A window starts at elapsed time start and closes at the first sample at or after start + length (50 ms tolerance); the next window starts exactly at the previous one's end, so windows don't drift. While a run is live, the open window is shown as partial; when a run ends mid-window, that last window stays partial (shorter than the others).
Worked example: a 60-minute busy hour
60 min of calling, 5-minute windows, average hold 120 s (maximum hold 3 × 120 = 360 s). After the calling period, calls in progress still finish — up to the maximum hold plus a grace period — so the run lasts a few minutes longer than 60 min. Windows: 0–5 min, 5–10 min, …, 55–60 min (12 full windows), then one or two windows in which the last calls finish; the very last one is partial. The first window also contains the phones' initial registrations.
What a window contains
A window counts things when they happen, not when the call started:
| Value | Counted in the window in which… |
|---|---|
| Attempts | the INVITE was sent |
| Answered / failed / busy | the call was answered (200 OK) or failed (error, timeout) |
| Answer rate | answered ÷ (answered + failed) of the calls decided in the window (busy excluded) |
| Setup time (avg, p95) | the call was answered |
| Peak concurrent | highest calls up at the tester in any second of the window |
| Audio: MOS, loss, delay (each direction), FreeSWITCH MOS | the call ended (audio is summed up at hangup) |
| No audio | a stream ended without receiving anything |
| Phone (re-)REGISTERs ok / failed, lost connections | the REGISTER finished / the connection closed |
| Fewest phones registered, PBX peak calls, fewest test extensions registered at the PBX | per-second minimum / maximum within the window |
| FreeSWITCH lowest idle CPU, tester peak CPU | per-second extremes within the window |
| Setup breakdown (in FreeSWITCH, dialplan, callee leg, back, before FreeSWITCH) | the call was answered (FreeSWITCH's answer event) |
| Slowest calls | the 3 slowest calls answered in the window |
| Kamailio (requests, own 4xx/5xx, drops, peak TCP, peak open transactions, shared memory, restarts) | the Kamailio poll's interval fell in the window |
| rtpengine (ended sessions, timeouts, errors, MOS, offer time, ports, CPU peaks…) | the rtpengine poll's interval fell in the window |
Two consequences worth knowing:
- Audio lags by one hold. A call answered at minute 9 with a 120 s hold ends at minute 11, so its MOS lands in the 10–15 window. In a find-the-limit run, a step's audio partly comes from the previous, lower step — prefer steps several times longer than the hold.
- Counts are differences of running totals. Each window stores the run's totals when it opened and subtracts them when it closes, so a 486 reclassified as busy a second later still lands right.
PBX watch windows
A watch window counts calls created, calls ended by outcome (answered, busy/no answer/declined, cancelled, failed, dropped), call success and answer rate, post-dial delay p95, FreeSWITCH MOS / lowest MOS / loss of the legs that ended, poor and silent legs, REGISTERs ok / failed / unregistered / expired and failures per minute, peak calls, peak channels, fewest/most registrations, peak sessions per second, average and lowest idle CPU, ESL coverage, internal (non-SIP) legs created and the peak open at once.

Minimum data per window
A percentile or average over two calls says little, so windows with too little data don't count in the worst-window and drift checks:
| Check | Window counts only with |
|---|---|
| Answer rate, worst window | ≥ 5 calls answered or failed |
| Setup time p95, worst window | ≥ 5 setup times (answered calls) |
| MOS drop over time (busy hour) | ≥ 3 calls with audio in that direction |
| Limit step: FreeSWITCH MOS | ≥ 3 calls with FreeSWITCH RTP stats |
| Call success, worst window (watch) | ≥ 10 ended calls (answered + busy/no answer + failed; cancels excluded) |
| MOS drop over time (watch) | ≥ 3 legs with audio |
If no window qualifies, the check is skipped and its note says why (e.g. "no window with 5+ finished calls"). The partial last window counts like any other once it has enough data.
Worst window
worst answer rate = min over qualifying windows of answer rate
worst setup p95 = max over qualifying windows of setup p95
worst setup p95 = max over qualifying windows of setup p95
Worked example
Busy hour, min_window_answer_rate: 95, max_window_setup_p95_ms: 1000.
| Window | Decided | Answer rate | Setup samples | Setup p95 |
|---|---|---|---|---|
| 0–5 min | 118 | 100 % | 118 | 420 ms |
| 5–10 min | 121 | 99.2 % | 120 | 460 ms |
| 10–15 min | 119 | 93.3 % | 111 | 1 340 ms |
| 15–20 min | 120 | 100 % | 120 | 430 ms |
| 60–62 min (partial) | 3 | 66.7 % | 2 | 500 ms |
Overall answer rate ≈ 98 % — the run-level min_answer_rate: 99 would fail, but that hides when. Worst window: 93.3 % (10–15 min) → fails ≥ 95; worst setup p95 1 340 ms → fails ≤ 1000. The partial last window (3 decided, 2 setup times) is ignored: below the minimum.
MOS drift (MOS drop over time)
The drift check compares the first and the last qualifying window:
drop = MOS(first window with enough audio) − MOS(last window with enough audio)
- Busy hour: computed per direction (caller → callee, callee → caller); the larger drop is checked. The note names the direction and the two windows, e.g. "callee → caller, 0s–5m → 55m–60m".
- PBX watch: FreeSWITCH's MOS of all legs.
- Needs two different qualifying windows; a negative drop (quality improved) passes.
A drop means quality degrades as the PBX runs under load for a long time — buffers filling, a CPU getting hotter, a relay running out of something — which a run-wide average would smooth away.
Worked example
Callee → caller MOS per window: 4.38, 4.37, 4.36, …, 4.21 (last window with ≥ 3 calls with audio). Caller → callee: 4.39 … 4.35. Drops: 0.17 and 0.04 → checked value 0.17 ≤ 0.3 → passes.
Limit runs: one window per step, and the warm-up
In a find-the-limit run, window i is step i + 1, so the Steps table is the trend table. Windows that close after the last planned step (calls finishing) are not steps.
The optional warm-up (warm_up_seconds, default 10 s, 0 = none, at most 120 s) places calls at the start rate before step 1. It is recorded as its own window (the warm-up row of the Steps card) and is never checked: the first seconds of a run are often slower — new connections, caches, the PBX's first database lookups — and would otherwise fail step 1 on setup time. Step 1 starts when the warm-up ends.
See Pass / fail verdict → Limit steps for how steps are checked.

Exporting windows
Windows CSV on the run page writes one row per window (busy hour, find the limit, PBX watch), with the JSON field names as columns — see Export and reports.