Appearance
Baselines
After a PBX change — a FreeSWITCH upgrade, a dialplan or Kamailio routing change, new VM sizes — the question is not only "does it pass?" but "did it get worse?". Mark a good run as the baseline of its test, and every later run of the same test shows its key numbers next to the baseline's.
First step: open a run you trust and press Mark as baseline at the top of its run page; the next run of the same test shows vs baseline deltas.
Mark a baseline
On a finished run's page, operators and admins click Mark as baseline (next to Keep, under the title). The run gets a Baseline badge; click Baseline ✓ again to remove the mark. Viewers see the badge and the comparison, not the button.
- Only completed or stopped runs can be baselines (limit and busy hour runs are often stopped by hand). A run that ended with an error can't; a run whose verdict failed can.
- Each test has one baseline. Marking another run replaces it; the page asks first and links the current one.
- Both are in the activity log:
test.baseline(with the test — profile, type, schedule or started by hand — and the run it replaced) andtest.unbaseline.
What "the same test" is
A test is the combination of
| PBX profile | the profile the run used |
| Test type | call, busy hour, find the limit, registration or PBX watch |
| Schedule | the schedule that started it; runs started by hand form their own test |
So a nightly scheduled limit test and limit tests you start by hand have separate baselines.
Fallback: a scheduled run whose schedule has no baseline yet is compared with the baseline of the same profile and type started by hand (the card says so). A run started by hand never uses a schedule's baseline.
What is compared
| Test type | Metrics |
|---|---|
| Call, busy hour | answer rate, setup time p95, MOS (FreeSWITCH, when both runs have calls with media), MOS (tester, caller side, when both have tester calls), FreeSWITCH idle CPU (lowest) |
| Find the limit | the limit in CPS (shown as n/a with each run's outcome when one found none, e.g. below the start rate), FreeSWITCH idle CPU (lowest) |
| Registration | success rate, response time p95, FreeSWITCH idle CPU (lowest) |
| PBX watch | call success, post-dial delay p95, MOS (when both have audio legs), idle CPU (average) |
A metric missing on either side (no ESL, media off) is left out. The change is the difference — in points for percentages, and for ms and CPS also in % of the baseline. Colours: green = better, red = worse, grey = about the same, which is within ±2 % of the baseline for ms and CPS, ±0.5 points for percentages and ±0.05 for MOS.
Settings that differ (CPS, callers, destination, duration or number of calls, codec, extension set; busy hour: phones, calls per phone hour, duration; registration: extensions, rate, mode; watch: duration) are listed under the table, e.g. CPS 3 vs 2 (baseline). Comparing such runs is allowed — just read the numbers with that in mind.
Only completed and stopped runs are compared. A failed run (it ended with an error) shows no deltas: its numbers are partial and would mislead.
Read the deltas
- Run page: the vs baseline card (metric, this run, baseline, change) with a link to the baseline run. On the baseline itself: This run is the baseline.
- Results: a vs baseline column with the test's headline metric — setup p95 for call and busy hour, the limit for find the limit, success rate for registrations, post-dial delay p95 for watches — and a Baseline badge on baseline runs.
- Schedule page: the same column in the history, using the schedule's baseline or the fallback.
- HTML report (a vs baseline section), JSON export (
vs_baseline) and the runs CSV (baseline,vs_baseline_headline).

The comparison always uses the test's current baseline. It is computed from the runs' summaries, which data retention keeps forever.
Fail a run on a regression
Three optional pass / fail criteria, off by default, turn a regression into a failed verdict — useful on scheduled runs after PBX changes:
| Check | Key | Test types | Fails when |
|---|---|---|---|
| Setup p95 vs baseline | max_setup_p95_increase_pct | call, busy hour | setup p95 rose more than this % of the baseline's (e.g. 30) |
| Answer rate vs baseline | max_answer_rate_drop | call, busy hour | the answer rate fell more than this many percentage points |
| Limit vs baseline | max_limit_cps_drop_pct | find the limit (run verdict) | the limit fell more than this % of the baseline's |
They are checked when the run ends, against the baseline at that moment; the check's note names the baseline run and both values, and the run stores which baseline it used, so a later baseline change doesn't rewrite old verdicts. Without a baseline (or without data on either side) the check is skipped, not failed.
Baselines and data retention
Data retention never removes a baseline's per-second data. Removing the mark makes it a normal run again: it is cleaned up at the next cleanup when it is old enough (unless it is pinned with Keep). A run that was already cleaned up can still become the baseline — the comparison uses its summary, and the card notes that its per-second data is gone. Deleting the baseline run is allowed; the test then has no baseline (the delete asks first). Deleting a schedule (or its profile) keeps its runs as hand-started runs but drops their baseline mark, so a schedule's baseline never becomes the baseline of hand-started runs.