Skip to content

Dashboard ​

The Dashboard is the start page. It answers two questions at a glance: is the tester ready (API, ESL, caller, target, limits) and what is the PBX doing right now (FreeSWITCH, and Kamailio / rtpengine when the profile has those sources). Everything on it is about the profile selected in the top bar and updates every second over the live connection. It shows all traffic on the PBX, not only test calls; numbers that only count test traffic are on the run page.

First step: open the Dashboard and work through the Get started checklist until it disappears.

The PBXsight Dashboard with ESL, Kamailio and rtpengine connected
  1. API, FreeSWITCH ESL and Caller cards: is the tester ready?
  2. Target: the selected profile’s SIP entry point and this tester’s addresses.
  3. Safety limits the server enforces for this profile.
  4. PBX (FreeSWITCH): live tiles from ESL polls.
  5. Last 5 minutes chart.
  6. Core, Events and Hangup causes cards.
  7. Kamailio and rtpengine tables (only with those sources on).

Get started ​

On a new installation the Dashboard starts with a Get started card for the profile selected in the top bar. It lists four steps, each with a check mark when done (an open circle otherwise), a line on its state and a link to the page that does it:

StepDone whenLink
1. PBX profilea profile has a SIP entry pointProfiles → New profile (admins)
2. FreeSWITCH event socket (ESL) (optional)ESL is enabled on the profile and connected now; while off it says "optional, but PBX metrics need it"the profile (admins)
3. Extension setthe profile has at least one extension setExtensions (operators)
4. First echo testa finished call test on the profile had at least one answered call (any destination)New test (operators)

The card re-checks every 5 s while a step is open (ESL connects a moment after a save) and disappears when all four are done. Dismiss (or ×) hides it for that profile in this browser. Viewers see the steps without the links they can't use ("an admin does this"). The Test connection buttons on the profile page check each source before you save — see Profiles.

Test starting / Test running ​

At the very top, only when something is happening:

  • Test starting (yellow): a test's virtual phones are registering before the first call. It shows "Registering virtual phones: 180 of 250 registered, 2 failed · 1m 4s" and a progress bar (registered + failed of all phones). With no phones to register it says "Starting the caller". Stop cancels the start: phones registered so far are un-registered and the run is recorded as stopped.

  • Test running / PBX watch running (blue): the type, elapsed time "of ~" the estimate, and a live line —

    • call tests: active · answered · failed calls (a limit run adds "warm-up at 1 CPS before step 1" or "step 3/10 at 3 CPS");
    • registration tests: OK · failed REGISTERs;
    • PBX watch: calls up now, calls seen, failed calls, failed REGISTERs.

    Open live view goes to the run page; Stop (operators and admins) stops it gracefully — the same as the button on the run page.

Always-on watch ​

When the selected profile's always-on watch is on, a card under the running test says Watching since today 08:00 · window OK (10:05–10:10) · last problem yesterday 22:15 — or the failed checks of the last window, or the reason it is paused — with Open Monitor. The badge is watching, problem while windows fail, or paused. It runs beside tests, so it can show at the same time as Test running.

Capacity ​

The Capacity card of the selected profile: the headroom (big number, coloured by status: OK, tight, over the limit) between the busiest PBX watch window of the last 7 days and the newest find-the-limit result — peak 0.6 CPS (busiest 5-min window, Tue 14:05) · limit 3 CPS (12 days ago) — the 1-second peak and peak concurrent calls as small print, links to the watch and the limit run, and a weekly trend chart (peak bars, limit line). A note says when the limit is older than 30 days or older than the profile's last edit. Without a limit run or watch data the card says what is missing and links to New test or Monitor.

API, FreeSWITCH ESL, Caller ​

CardFieldMeaning
APIbadgeonline while the health poll (every 5 s) answers
Version, Uptimethe app's version and how long it has been running
Live updatesconnected or reconnecting… (the WebSocket)
FreeSWITCH ESLbadgeconnected, connecting, disconnected, or disabled (ESL off in the profile)
Addressthe ESL host:port of the profile
Connected / Next retrysince when it is connected, or when the next reconnect attempt is due
red boxthe last error, e.g. an ACL rejection or a wrong password — see ESL access
CallerEnginealways "built-in caller": callers and callees register as phones (How it works)
Call mediathe profile's media mode: SRTP (built-in engine), RTP (built-in engine) or none (SDP only)

Target and Safety limits ​

Target: profile name shows the transport (UDP / TCP / TLS) and an edit profile link.

  • SIP entry point: Host (host:port the tester sends SIP to), Resolves to (for a host name: the addresses DNS returns now; a run picks one of them and records it), Domain (the default domain for CSV rows without one).
  • This tester: SIP from (the local IP in Via/Contact; auto = the interface that routes to the target), Media from (the IP in the SDP; defaults to SIP from), Registrar (the FreeSWITCH sofia profile whose registrations are counted).

Safety limits are the profile's hard limits; the server refuses any test above them, whatever the form says: Max CPS, Max concurrent calls, allowed Destinations, Max reg/s, Max duration. Change them on the profile.

PBX (FreeSWITCH) ​

These come from ESL. When idle, the collector polls every esl.idle_poll_interval (default 5 s); during a run every esl.poll_interval (default 1 s). Without ESL the section says "ESL is off in this profile"; before the first poll "Waiting for the first ESL poll…".

TileSourceMeaning
Active callsshow calls countcalls FreeSWITCH has up now (a bridged call counts once)
Channelsshow channels countcall legs (a bridged call is two channels; an echo test one)
Registrationsshow registrations countall registered devices, all domains
Sessions/s (max …)statusnew sessions per second in the last second, and FreeSWITCH's configured maximum
Sessions (peak · 5m)statussessions now; the peak since start and in the last 5 minutes
Idle CPUstatusFreeSWITCH's own idle CPU figure, % of all cores. Low idle = FreeSWITCH is busy

A command that fails is listed in a red box under the tiles with its error (e.g. an older FreeSWITCH that doesn't report idle CPU).

Last 5 minutes plots Active calls, Channels and Sessions/s (left axis) and Registrations (right axis). One point per ESL poll, so the line is coarser when idle. The history lives in the browser and starts when you open the page.

Core: ready / not ready, FreeSWITCH Version, Uptime, Since startup (sessions since FreeSWITCH started), Max sessions (its configured limit), Poll latency (how long the last ESL poll took — a slow poll is an early sign of a busy FreeSWITCH or a slow network).

Events (all traffic, since the app started — not since FreeSWITCH started):

FieldCounted from
Calls (inbound legs)inbound channels created
Channels created / AnsweredCHANNEL_CREATE / CHANNEL_ANSWER events
Registers · unreg · expiredsofia register / unregister / expire events
Register failuressofia register-failure events
Events droppedevents the collector couldn't process in time (shown only when > 0; numbers above are then low)

Hangup causes — the six most frequent FreeSWITCH hangup causes since the app started (NORMAL_CLEARING, USER_BUSY, NO_ANSWER, …).

Kamailio ​

Only with the profile's Kamailio source on. One row per Kamailio, from its JSON-RPC counters, polled every kamailio.poll_interval (5 s) during a run and kamailio.idle_poll_interval (30 s) otherwise. Rates are "since the previous poll".

ColumnMeaning
Kamailiothe node's name, version (or URL)
Stateconnected, connecting, disconnected + the last error
Uptimesince that Kamailio started
Requests/sSIP requests received per second (this tester's own polls subtracted) / stateful transactions per second
Own 4xx · 5xx /sreplies Kamailio sent itself instead of forwarding (rejections); yellow when > 0
Drops/sdropped messages per second
Connectionsopen TCP connections, of them TLS and WebSocket
Shared memoryshared memory used, %
Restartsrestarts seen since this app started (counters starting over)

What these counters mean and how restarts are detected: Kamailio metrics.

rtpengine ​

Only with the profile's rtpengine source on. One row per pbxsight-agent (one per rtpengine host), polled every 5 s during a run and every 30 s otherwise; rates since the previous poll; all media through that rtpengine.

ColumnMeaning
Agentname, agent version, agent API level
Stateconnection state; also a warning (e.g. agent too old) and "per-call data: …" errors
Sessions · ended/ssessions now (one per SIP leg; rtpengine keeps ended ones ~30 s), sessions ended per second
Streams user · kernelmedia streams forwarded in userspace / in the kernel module; yellow when all are userspace
Packets/s · errorsrelayed packets per second · packet errors per second
Timeouts/ssessions closed because media stopped without a hangup
Offerrtpengine's average offer processing time
MOSRTCP-based MOS of the latest poll interval
Portsmedia ports in use, fullest range, %
CPU host · threadhost CPU (% of all cores) · rtpengine's busiest thread (% of one core; yellow ≥ 80 %). Needs agent API 3
Restartsrestarts seen since this app started

Details: rtpengine metrics.

PBXsight — load testing and monitoring for FreeSWITCH PBXes. Only test systems you own or may test.