Appearance
What PBXsight is
PBXsight is a load-testing and monitoring tool for FreeSWITCH PBXes, with or without Kamailio and rtpengine in front. It acts like a set of phones on your PBX: it registers test extensions, places calls at a controlled rate, sends and measures real audio, and watches the PBX from the inside while it does so. Afterwards you get a verdict, charts, the likely bottleneck and an exportable report.
This page helps you decide whether PBXsight fits your system: what it does, why it is different, which questions it answers and what it deliberately leaves out. First step: if you already know you want to try it, go to Installation; if you have a concrete question, the How do I … page links straight to the answer.

Why PBXsight
Four things set PBXsight apart from testers that only place calls from the outside:
- It sees inside your PBX. Next to its own measurements it reads FreeSWITCH over ESL, Kamailio over JSON-RPC and rtpengine through a small read-only agent. So it shows not only that setup got slower or the MOS dropped, but why: FreeSWITCH CPU running out, the dialplan, the callee leg, the proxy waiting, the media relay — see What to look at and Setup time.
- It watches your real users' calls. The always-on watch records what FreeSWITCH sees of all traffic, around the clock, without placing a single test call; it keeps running beside a load test and leaves the test's calls out. A verdict per window and an e-mail when one fails.
- Self-hosted — nothing leaves your network. One program on your own VM next to the PBX: no cloud account, nothing from outside reaching into your network, results in your own database; one licence check a day to licence.pbxsight.com, and no PBX data leaves your network. See How it works.
- Capacity in one number. Find the limit gives the highest call rate that still passes and the component that ran out first; Capacity sets that limit against your real peak traffic, so you see your headroom (peak 0.6 CPS, limit 3 CPS → 5×).
What it does
PBXsight is one program (a single binary, or a Docker image) with a web UI. You point a PBX profile at your system, upload a CSV of test extensions that exist on the PBX, and start a test from the browser.
Load tests
| Test | What it does | Main question |
|---|---|---|
| Registration | Registers many extensions at a set rate, re-registers them for cycles or a duration, then un-registers. | Does the registrar keep up, and how fast does it answer? |
| Calls to a number | Places calls at a set rate (CPS) from test extensions to a number the PBX answers, typically the echo test, holds them with audio, hangs up. | Does the PBX set up and carry this load, and is the audio good? |
| Calls between test extensions | Same, but the destination is other test extensions that PBXsight registers as virtual phones and answers. | Do real extension-to-extension calls work under load, in both audio directions? |
| Busy hour | All phones stay registered; each places and receives random calls following a traffic model (calls per phone per hour, average hold) for a long period. | Does the PBX stay stable over an hour of realistic traffic? |
| Find the limit | Raises the call rate step by step and checks every step against the pass/fail criteria. | How many calls per second can this PBX take? |
| IVR / voicemail check | Dials a menu or the voicemail and runs a script on every call: expect audio, send DTMF, wait, expect hangup. | Does the menu still answer and react to digits — after an upgrade, tonight, under load? |
Callers, callees and registering clients can be SIP phones (UDP, TCP, TLS), web clients shaped like a sip.js browser app (SIP over WSS, ICE + DTLS-SRTP audio), or a mix of both. A registration test with web clients can also drop every WebSocket at once — a registration storm — and measure how long until all clients are back.
Watching the PBX
PBX watch places no traffic. For a set time (minutes to hours) it records what FreeSWITCH sees of all traffic over the Event Socket: call outcomes and hangup causes, post-dial delay, audio quality of every leg, registrations and failure bursts, per-tenant numbers, CPU. Like a load test it ends with trend windows, a verdict and a report. The always-on watch does the same without an end: switched on per profile, it keeps a day-by-day history on the Monitor page and sends an e-mail when a window fails.
Scheduling
Schedules run any saved test once at a given time or on a cron schedule (for example a short limit test every night), and keep the verdict history of each schedule.
Around every run
- Pass / fail verdict against criteria you can tune per profile and per test — see Pass / fail verdict.
- Audio quality measured by the tester itself (loss, jitter, round trip or one-way delay, MOS estimate), next to FreeSWITCH's own MOS — see Audio quality and MOS.
- Where the setup time goes: each call's setup split into before FreeSWITCH and inside FreeSWITCH (dialplan, callee leg), with the slowest calls and their Call-IDs — see Setup time and its breakdown.
- What to look at: rules that read all sources together and point at the likely bottleneck (FreeSWITCH CPU, Kamailio waiting, rtpengine, the tester itself) — see hints.
- Stuck calls: legs that ring forever, outlive their call or carry no media — flagged, never killed — see Stuck calls.
- Kamailio and rtpengine metrics when those sources are configured — see Kamailio and rtpengine.
- Compare any two runs, export HTML reports, JSON and CSV — see Export and reports.
- Several PBXes from one installation (dev, QA, production-like) through PBX profiles, and users with roles (admin, operator, viewer) and an activity log — see Users and roles.
Who it is for
People who run or build FreeSWITCH-based PBXes — single-tenant or multi-tenant, small installations and bigger clusters — and want facts instead of guesses:
- PBX administrators and VoIP engineers sizing a system, checking a change, or proving a problem.
- Integrators and hosting providers who hand a PBX over and want a repeatable acceptance test.
- Developers of dialplans, routing scripts and modules who want to see what a change costs in setup time or CPU.
You need test extensions on the PBX (a few dozen to a few hundred, created like normal ones) and, for the inside view, access to FreeSWITCH's Event Socket. Kamailio and rtpengine access is optional. The setup guide walks through all of it.
The questions it answers
| Question | Where you get the answer |
|---|---|
| How many calls per second can my PBX take? | Find the limit: the highest step that passed before the first failed one, and which criterion broke first. |
| Does audio survive the load? | Every call test with media: tester-side loss, jitter, delay and MOS per call, FreeSWITCH's MOS of what it received, late frames. |
| Where does the setup time go? | The Setup breakdown card: before FreeSWITCH (network, proxy, relay offer, challenge round trip) vs. inside FreeSWITCH (dialplan, callee leg), per call and per load step. |
| Which component is the bottleneck? | The Steps card's Components per step (FreeSWITCH idle CPU, Kamailio open transactions, rtpengine offer time and CPU, the tester's own CPU) and the What to look at hints. |
| Is my registrar fast enough for a mass re-registration (after a network outage, a reboot of many phones)? | Registration: success rate and response time p95 at the rate you choose. |
| Is my PBX healthy over hours? | PBX watch and Busy hour: trend windows, the worst window, MOS drift from first to last window. |
| Did my change make things better or worse? | Run the same test before and after, then Compare. |
| Are calls getting stuck? | The Stuck calls card in call tests and watches. |
| Does my sip.js web app's path hold up? | Web clients: WSS registration, ICE + DTLS-SRTP audio, web ↔ desk phone calls; a storm measures how fast all clients come back. |
| How much headroom is left over my real peak? | Capacity and headroom: the newest limit over the busiest real-traffic window of the last 7 days. |
Results are relative to the system you test
A limit found on a small test VM says how that system behaves, not how the same software would behave on bigger hardware — a low number there is not a PBX defect. Use the numbers to compare configurations, versions and changes on the same system, and to find which component runs out first.
What it deliberately doesn't do
Knowing the boundaries saves time:
- FreeSWITCH only as the PBX. The PBX-side view (ESL events, setup breakdown, watch) is FreeSWITCH-specific. Asterisk and other PBXes are not supported.
- Audio only, IPv4. SIP phones use UDP, TCP or TLS with RTP or SRTP with SDES keys (
a=crypto,AES_CM_128_HMAC_SHA1_80); web clients use SIP over WebSocket (WS/WSS) with ICE + DTLS-SRTP. No video, no Opus, no TURN. Codecs: G.722, PCMA, PCMU (web clients: G.722, PCMA). - One run at a time for the whole installation, whatever the profile. A second start gets
409; a schedule that comes due while something runs is skipped and logged, not queued. This keeps measurements clean: two tests at once would load the same PBX and the same tester. The only exception is the always-on watch, which places no calls and runs beside a load test. - It never ends calls on your PBX. Calls PBXsight places itself it hangs up normally (BYE, or CANCEL while ringing). Stuck calls it finds on the PBX are only flagged, with a
uuid_killcommand you can copy; it never runs it. - Read-only towards the PBX components. ESL is used for
show … count,status,show channels as jsonand event subscriptions — nothing that changes state. Kamailio is read withcore.uptime,stats.fetch,tls.infoandcore.version. The pbxsight-agent on rtpengine hosts can only send the rtpengine commandsping,statistics,listandquery(enforced in code), and serves onlyGET. - Only approved destinations. Calls to a number may only dial numbers in the profile's
safety.allowed_destinations(default*9196and9196, the echo test). Rates, concurrency, the number of virtual phones and run durations are capped by the profile's safety limits. - No SaaS. PBXsight runs on your machine or VM; results stay in its SQLite database. The only outbound call is one licence check a day to licence.pbxsight.com (key, installation ID, version): no PBX data leaves your network. Air-gapped installations get an offline key.
- Not a call recorder. It records numbers per second and per call, not audio or SIP traces. Alerts go by e-mail only. Schedules and the always-on watch run only while the app is running.
Only test systems you own or are allowed to test
A load test can take a PBX down for everyone on it. Start small, use test extensions, and agree a time window with the people who use the system.
Where to go next
- How it works — the architecture, a call on the wire, what each data source sees.
- Installation and First start — install, create the first admin.
- Test extensions on the PBX and ESL access — the PBX side.
- Optional: Kamailio, rtpengine and the agent.
- PBX profiles — point PBXsight at your system.
- Choosing a test — which test answers your question.
- Pass / fail verdict and the other pages under Reading the results.
- Ports and firewall and Troubleshooting when something doesn't connect.