Appearance
Choosing a test
PBXsight has six test types and a way to schedule them. Each one answers a different question and loads the PBX differently. This page helps you pick: one section per type with the question it answers, what goes on the wire, and settings to start with, then a decision table at the end — Which test answers my question?. First step: new to PBXsight? Run a small Registration test, then one call to the echo test (Calls to a number), before anything bigger.
All load tests share the mechanics described on How it works: test extensions register as virtual phones, every request is tagged with the run id, one run at a time (only the always-on watch runs beside a test), numbers collected every second, a verdict at the end. They all need an extension set (a CSV of test extensions that exist on the PBX) in the selected PBX profile; the PBX watch needs only ESL.

Registration
Question: does the registrar keep up with many phones registering at once, and how fast does it answer? Typical cases: all phones re-registering after a network outage or a reboot, a new site going live, a change to the registrar or the proxy in front of it.
On the wire: each extension opens its own connection (TCP/TLS) or socket (UDP), sends REGISTER, answers the 401/407 challenge with credentials, and expects 200 OK. New extensions start at the rate you set (extensions per second). Each one re-registers every re-register interval for a number of cycles or for a duration, and un-registers (Expires: 0) at the end if you ask it to. No calls, no media.
Start with: rate 5 per second, expires 120 s, 3 cycles, un-register on (the form's defaults). Then raise the rate. The response time p95 rising faster than the rate is the first sign the registrar (or its database) is saturating.
Pass/fail by default: success rate ≥ 99 %, REGISTER response time p95 ≤ 500 ms.
Calls to a number
Question: does the PBX set up and carry this many calls per second, how long does setup take, and is the audio good? The everyday call test: a baseline, a before/after check of a change, a comparison of transports or codecs.
On the wire: the callers register as phones, then each call goes INVITE → 407 → ACK → INVITE with credentials → 1xx → 200 OK → ACK, audio for the hold time, BYE → 200 OK. The destination is a number the PBX answers itself — usually the echo test (9196 in the vanilla FreeSWITCH dialplan, *9196 on some platforms) — so there is one PBX leg per call and the audio comes back to the tester, which measures the round trip. Only numbers in the profile's safety.allowed_destinations can be dialled.
Start with: 20 calls at 2 CPS, 30 s hold, G.722 (the form's defaults) — about a minute. Then a duration run, for example 5 minutes at the rate you expect in your busiest hour.
Pass/fail by default: answer rate ≥ 99 %, setup time p95 ≤ 500 ms, MOS ≥ 4.0 (FreeSWITCH and tester), round-trip loss ≤ 1 %, round-trip p95 ≤ 300 ms.
Calls between test extensions
Question: do real extension-to-extension calls work under load — dialplan lookup, ringing a registered device, bridging, media in both directions? The echo test skips the callee leg; this test includes it.
On the wire: the same call as above from the callers, but the destination is another test extension. Before the calls, PBXsight registers the callee extensions as virtual phones as well. FreeSWITCH bridges each call to a B-leg towards the callee's phone, which answers 200 OK and sends its own audio. Both sides are PBXsight, so loss, jitter, one-way delay and MOS are measured per direction. The callers are the first extensions of the set, the callees the ones after them.
Start with: the same rate and hold as a call test to a number, with enough callees that a callee is never asked to take a second call while still in one (at least CPS × hold, plus a margin). Needs the profile's media mode rtp or srtp. The number of callees is capped by safety.max_virtual_phones (default 100).
Pass/fail by default: as for calls to a number, with the tester's audio checks applied to each direction and the delay limit compared with the sum of both one-way p95 delays.
→ Calls between test extensions
Busy hour
Question: does the PBX stay stable and the audio good over a long period of realistic traffic — or does something drift (setup time creeping up, MOS dropping, registrations failing late in the run)?
On the wire: every phone of the run registers and stays registered for the whole run. Calls go between random pairs of phones in the same domain, following a per-phone traffic model: each phone places calls per phone per hour calls (and receives about as many); each call lasts a random time drawn around the average hold (exponential distribution, at least 2 s, at most 3 × the mean), and the called phone hangs up. A 486 from a callee that is already in a call counts as busy, not as a failure — that is what real users experience. Results are split into trend windows (default 5 minutes), and the verdict also looks at the worst window and at MOS drift from the first to the last window.
Start with: the form's defaults — 6 calls per phone per hour, 180 s average hold, 1 hour, 5-minute windows.
Worked example: 100 phones for one hour
- Call rate: 100 phones × 6 calls/h ÷ 3600 = 0.167 CPS (600 calls in the hour).
- Calls up at once (Erlang): 0.167 × 180 s = 30, i.e. 30 A-legs and 30 B-legs on FreeSWITCH.
- Windows: 60 min ÷ 5 min = 12 windows, plus the calls finishing after the calling period.
- Phones: 100 registered for the whole run (the default
safety.max_virtual_phonesis 100).
Pass/fail by default: the call checks (answer rate, setup p95, MOS, loss, delay), the phones' registration success rate ≥ 99 %, worst window answer rate ≥ 95 % and setup p95 ≤ 1000 ms, MOS drop first → last window ≤ 0.3.
Find the limit
Question: how many calls per second can this PBX take, and what breaks first?
On the wire: a call test (to a number or between test extensions) whose rate climbs in steps: start CPS, then
- step CPS, up to max CPS, each step lasting step seconds with a fixed hold. A short warm-up at the start rate comes first and isn't judged. Each step is one trend window and is checked against the criteria when it closes; after a number of failed steps in a row (default 1) the test stops placing calls. The limit is the highest step that passed before the first failure. The Steps card shows per step what every component did: FreeSWITCH's idle CPU, Kamailio's open transactions, rtpengine's offer time and CPU, the tester's own CPU.
Start with: the form's defaults — 1 to 10 CPS in steps of 1, 60 s per step, 20 s hold, stop after 1 failed step, 10 s warm-up. That is at most 10 minutes and 200 calls up at the last step. A step must last at least 20 s and at least 2 × the hold, so most of it runs at full concurrency.
Worked example: what the steps look like
Settings: start 1, step 1, max 10 CPS, 60 s steps, hold 20 s, warm-up 10 s.
| Step | CPS | Calls in the step | Calls up at the end of the step |
|---|---|---|---|
| warm-up | 1 | 10 | ~10 |
| 1 | 1 | 60 | ~20 |
| 2 | 2 | 120 | ~40 |
| … | … | … | … |
| 10 | 10 | 600 | ~200 |
If step 5 is the first to fail (for example setup p95 > 500 ms), the run stops placing calls there and the limit is 4 CPS.
Pass/fail: each step is checked against the limit criteria (by default the same as a call test, plus the callee phones' registration success ≥ 99 % between test extensions). The run verdict is only judged if you set a minimum limit (min_limit_cps): passed when the limit reaches it.
IVR / voicemail check
Question: does the IVR (or voicemail, or announcement) still answer with a prompt, react to digits and hang up where it should?
On the wire: calls to an allowed number (default 1 call); on every answered call a step script runs: expect audio, send DTMF ({ext} = the caller's extension), wait, expect hangup. The tester sends silence and measures the PBX's audio level.
Pass/fail: calls that passed every step (default 100 %), answer rate, setup p95.
Web clients (WebRTC)
Not a test type of its own: in Call load, Find the limit and Busy hour the callers and / or callees can be web clients — virtual sip.js-like browser clients (SIP over WebSocket, ICE + DTLS-SRTP audio) — or a mix of web clients and SIP phones in your users' share (e.g. 30 % web). A Registration load with web clients holds WebSocket registrations for hours (soak) and can drop them all at once (storm).
→ Web clients (WebRTC), Registration › Web clients: soak and storms
PBX watch
Question: is my PBX healthy under its normal traffic — over an afternoon, a night, a whole day? What do real calls look like (outcomes, hangup causes, post-dial delay, audio), which tenants have trouble, are there bursts of failed registrations?
On the wire: nothing. The watch places no calls and no registrations. It reads FreeSWITCH over ESL for the set duration, all traffic (no test filter), plus Kamailio and rtpengine when configured. It needs ESL connected at the start, and like any run it can't run alongside a load test.
Start with: 2 hours with 5-minute windows (the form's defaults); up to safety.max_watch_duration (default 24 h). Run one before and one after a change, then compare.
Pass/fail by default: call success ≥ 95 % (worst window ≥ 90 %), dropped calls ≤ 1 %, MOS ≥ 4.0 and drop ≤ 0.3, registration success ≥ 95 %, at most 10 registration failures per minute in the worst window, lowest idle CPU ≥ 20 %, ESL coverage ≥ 95 %.
Schedules
Not a test type but a way to run any of them unattended: save a test as a schedule that runs once at a given time or on a cron expression (for example 0 2 * * *, every night at 02:00). Each due time is logged as started, skipped (another run was active — schedules never queue), missed (the app wasn't running) or error, with the run's verdict. Typical uses: a short limit or call test every night to catch regressions, a PBX watch during office hours, a load test in a maintenance window. Schedules run only while PBXsight runs.
Which test answers my question?
| Your question | Test | Why this one |
|---|---|---|
| Can the registrar handle all phones coming back after an outage? | Registration, rate = phones ÷ the seconds you expect them to take | Only registrations; the rate is the load. |
| Is my registrar's response time OK at normal re-registration load? | Registration in duration mode at a modest rate | Long enough to see the steady state. |
| Do calls work at all through this path (TLS, SRTP, the proxy)? | Calls to a number, a few calls | Fast, one leg per call, audio checked both ways. |
| What is my setup time and audio quality at load X? | Calls to a number, duration mode at rate X | A clean baseline to compare against. |
| Did my change (version, dialplan, Kamailio, rtpengine, codec) make things better or worse? | The same test before and after, then Compare | Only differences you introduced change between the runs. |
| Do DTMF digits get through the PBX and the media relay under load? | Calls between test extensions with Send DTMF | The callee phone checks every digit, its method and latency. |
| Does the IVR / voicemail login still work after an upgrade? | IVR / voicemail check, 1 call, on a schedule or from CI | A step script with per-step pass/fail. |
| How many calls per second can this PBX take? | Find the limit | Steps, per-step checks, a single number at the end. |
| Which component runs out first? | Find the limit with ESL (plus Kamailio and rtpengine if present) | Components per step and the What to look at hints. |
| Do extension-to-extension calls work, including the callee leg and audio in both directions? | Calls between test extensions | The only test with a B-leg to a registered device and one-way audio. |
| Is audio one-way or bad in just one direction? | Calls between test extensions | Each direction is measured on its own. |
| Does the PBX stay stable for an hour of realistic use? | Busy hour | Long run, random calls and holds, trend windows and drift checks. |
| Is something degrading slowly (memory, CPU, MOS)? | Busy hour (load you control) or PBX watch (real traffic) | Both give first-vs-last window comparisons. |
| How is my production-like PBX doing with real users? | PBX watch | Places no traffic; records what FreeSWITCH sees. |
| Why do real calls fail, and for which tenant? | PBX watch | Outcomes by hangup cause and SIP code, per tenant. |
| Is someone guessing passwords, or is a phone misconfigured? | PBX watch | Registration failure bursts with the top users, source IPs and user agents. |
| Are calls getting stuck on the PBX? | PBX watch or any call test, with ESL | The stuck-call check runs in both. |
| Does my sip.js web app's path (WSS, ICE, DTLS-SRTP) work under load? | Call load or Find the limit with Callers are: Web clients | The same checks as for SIP phones, plus the WebRTC media connect. |
| What is my limit with my real device mix? | Find the limit with Mixed callers / callees and Web clients % | One limit for the mix, and Device mix per step shows which kind degrades first. |
| How fast do all web clients come back after a proxy restart or a mass page reload? | Registration with Clients: Web clients and a Storm | Time until all are registered again, per storm. |
| Catch regressions without anyone watching? | Any test as a schedule | Runs once or on cron, keeps the verdict history. |
| Watch real users' calls all the time, beside the tests? | The always-on watch (profile page, Monitor) | No end, a verdict per window, e-mail on a failed window. |
A sensible order for a new PBX
- Registration with a few extensions — proves credentials, transport and the profile.
- Calls to a number, 20 calls — proves the call path and the media mode (look at the Media path card).
- Calls between test extensions, a few calls — proves the callee side.
- Find the limit — the number, and which component sets it.
- Busy hour at a realistic load below the limit — stability over time.
- A schedule of a short limit or call test, and a PBX watch whenever you change something.
- The always-on watch switched on, so real traffic is watched all the time and the Capacity card can set your limit against the real peak.
Results are relative to the system you test
A test VM with a few CPUs reaches its limit long before production hardware does. That is not a PBX defect: use the numbers to compare versions, configurations and changes on the same system.