Appearance
Profiles
A PBX profile is one system under test — dev, qa, staging, a customer's PBX: where the tester sends SIP, how it sends media, how PBXsight reaches FreeSWITCH's ESL and the optional Kamailio and rtpengine sources, the safety limits and the default pass/fail criteria. Runs, extension sets and schedules belong to a profile. This page explains the two profile pages field by field; why profiles exist and how to set one up for your PBX is in PBX profiles.
Everyone can open the profiles; only admins can create, change or delete them (others see View and a read-only form with "Only admins can change profiles.").
First step: open your profile and press Test connection on each card (Test connection).
The list

- New profile (admins).
- Name, the selected chip and a test running badge.
- SIP entry point and transport, media mode.
- ESL state (hover for the error).
- Other sources and warnings.
- Select, Edit / View.
| Column | Meaning |
|---|---|
| Name | opens the profile; selected = the one the top bar has now; test running when a run uses it |
| SIP entry point | host:port and transport |
| Media | SRTP, RTP or NONE |
| ESL | connected, connecting, disconnected or off; hover for the last error |
| Other sources | Kamailio · rtpengine · stuck calls, and red warnings (e.g. a token file that can't be read) |
| Select makes it the top bar's profile; Edit / View |
All profiles stay connected at the same time (ESL, Kamailio, rtpengine), so switching is instant and a schedule can run against any profile. The list refreshes every 3 s, so connection states update after a save.
Capacity and the always-on watch
Above an existing profile's settings — usable while a test runs on it — are its Always-on watch switch (see Monitor) and its Capacity card: real peak load vs the measured limit, the headroom and the weekly trend, as on the Dashboard. See Capacity and headroom.
The editor

The header shows the ESL state live (refreshed every 2 s) with its last error, Select, and Delete. While a test runs on the profile the form is locked: "A test on this profile is running: it can be changed once the test has ended."
Save (or Create profile) validates everything at once and lists every problem; on success "Saved. Its connections (ESL, Kamailio, rtpengine) restart with the new settings." A new profile becomes the selected one. Each change is recorded in the activity log (secrets are never logged).
Durations are written like 90s, 5m, 2h. The defaults below are those of a new profile.
Name
Profile name, up to 60 characters, e.g. dev, qa, staging.
SIP entry point
| Field | Default | Meaning |
|---|---|---|
| Host | — | where the tester sends SIP: a proxy / SBC in front of FreeSWITCH (e.g. Kamailio), or FreeSWITCH itself. A name with several addresses: one is picked per run |
| Port | 5060 | e.g. 5061 for TLS |
| Transport | UDP | UDP, TCP or TLS |
| Default domain | — | the SIP domain (tenant) for CSV rows without one |
| Registrar (sofia profile) | internal | the FreeSWITCH SIP profile the extensions register on; used to count test registrations on the PBX |
Media
| Field | Default | Meaning |
|---|---|---|
| Mode | None | SRTP (SDES), RTP (both by the built-in media engine) or None — SDP only, no audio. Some media relays require SRTP from TLS clients; plain RTP suits FreeSWITCH reached directly. Calls between test extensions and busy hour need RTP or SRTP |
| SIP from (local IP) | auto | the tester's address in Via/Contact; empty = the interface that routes to the target |
| Media from (IP) | same as SIP | the address in the SDP, when RTP must leave by another interface (e.g. a VPN) |
FreeSWITCH event socket (ESL)
Switch collect PBX-side metrics (on by default). Without ESL, load tests still run with tester-side metrics only; the PBX watch, the setup breakdown and the stuck-call check need it.
| Field | Default |
|---|---|
| Host | FreeSWITCH's address |
| Port | 8021 |
| Password | ClueCon (FreeSWITCH's default) — write-only: shows "unchanged (set)"; type to replace, clear it to remove |
| Poll interval (during runs) | 1s |
| Poll interval (idle) | 5s |
stuck / zombie call check during runs (on by default, needs ESL): Ringing longer than 3m, Answered longer than 4h, No media for 30s (rtpengine only), Orphan rtpengine session after 2m (rtpengine only). What the rules mean: Stuck calls. ESL access setup: ESL access.
Kamailio
Switch optional source. One JSON-RPC URL of each Kamailio per input (+ Add Kamailio, Remove), e.g. http://10.0.0.5:5060/RPC; all nodes are summed. Poll (runs) 5s, Poll (idle) 30s, Timeout 3s. Setup: Kamailio.
rtpengine
Switch optional source. One pbxsight-agent URL of each rtpengine host per input (+ Add rtpengine host), e.g. http://10.0.0.10:9310; a URL may carry its own token (http://TOKEN@host:port). Token (write-only, like the ESL password) or token file (read by the app, e.g. /etc/pbxsight/agent.token). Poll (runs) 5s, Poll (idle) 30s, Timeout 8s (longer than the agent's own 5 s request timeout). per-call data during runs (agent API 2) (on): needed for one-way detection, the stuck-call rules "no media" and "rtpengine only", and rtpengine's view in the Media path card. Setup: rtpengine and the agent.
Safety limits
Hard limits the server enforces for every test on this profile, whatever the form or the API request says. They exist so that a typo (60 instead of 6 CPS) or a scheduled test can't overload a PBX.
| Field | Default | Meaning |
|---|---|---|
| Allowed call destinations | *9196, 9196 | numbers call tests may dial — numbers the PBX answers itself, e.g. an echo test. Comma or space separated. Calls between test extensions don't need this |
| Max calls per second | 50 | call load, busy hour rate, the limit's max CPS |
| Max concurrent calls | 500 | caps every call test's concurrency |
| Max registrations per second | 50 | registration tests; virtual phones register at most 10/s and never faster than this |
| Max virtual phones | 100 | callees / busy-hour phones; 0 = calls between test extensions off |
| Max test duration | 2h | the estimated duration of any load test |
| Max PBX watch duration | 24h | a PBX watch |
Default pass/fail criteria
One tab per test type (call, registration, busy hour, find the limit, PBX watch) with the same criteria editor as New test. These values are pre-filled on New test for this profile; each run can still override them. Reset to defaults here restores the built-in defaults. The defaults and how each criterion is evaluated: Pass / fail verdict.
Always-on watch card
On a saved profile, above the form: the always-on watch switch, the window size (1 min … 60 min, default 5 min) and a state line (Watching since …, last window … : window OK, the reason when paused, today's segment). Operators and admins can change it; viewers see it read-only. It stays usable while a test runs on the profile (the form below stays locked then) and switching it doesn't restart the profile's connections. A new window size starts a new segment at once.
Test connection
Each source card — SIP entry point, FreeSWITCH event socket (ESL), Kamailio, rtpengine — has a Test connection button (operators and admins; viewers don't see it). It tests the values as they are in the form, so it works before you save and for a new profile too; a password or token you didn't retype comes from the stored profile. For operators, a stored secret is only used for the stored address: if you change the ESL host or port or the agent URLs, type the password / token again; the test REGISTER only runs against the saved SIP entry point; a token file can only be changed and tested by an admin. Nothing is saved and no connection restarts. The result appears under the card as a list of steps, each marked ok, warn (works, but have a look), fail or skipped (an earlier step failed), with what was found and how long it took. Kamailio and rtpengine list one block per URL; the test only passes when every URL does. Each test is recorded in the activity log as profile.test (source and result, never a secret).
SIP entry point
Optionally pick Test REGISTER with an extension set of this profile and an Extension (empty = the first of the set) to add a real registration; without a set only OPTIONS runs.
| Step | What it checks | Messages |
|---|---|---|
| resolve | the host's DNS records (all are shown; the first IPv4 address is tested, as a run picks one) | "DNS: no such host …" — a typo, or the name only exists on another DNS server / VPN |
| connect | TCP, and for TLS the handshake; shows the TLS version and the server certificate's name and expiry (not verified, like the caller engine). UDP has no connection: OPTIONS shows whether it answers | "connection refused … (wrong port or transport?)", "timed out … (firewall/VPN?)", "TLS handshake failed: … (is port N TLS?)", a warning for an expired certificate |
| OPTIONS | an OPTIONS request: the response code, the server's name and the round trip | 2xx ok; 403/404/405 and other 4xx are a warning — the server is reachable but doesn't answer OPTIONS from here, REGISTER may still work; 5xx fails; "no answer to OPTIONS within 5s" |
| REGISTER | one REGISTER with digest auth for the chosen extension (only with a set) | "authentication failed for 1001@example.com (403 Forbidden): check the password in the extension set"; a 407 loop and a timeout have their own message |
| un-REGISTER | removes that registration again at once (Expires: 0) | a warning if it fails: the test registration expires by itself within 60 s |
The whole test takes at most about 15 s. While a test runs on the profile the form is locked; through the API a test REGISTER is refused then ("a run is active on this profile"), OPTIONS still works.
ESL
| Step | Messages |
|---|---|
| connect | "connection refused … check listen-ip/listen-port in event_socket.conf.xml", "no response … host unreachable or a firewall drops the ESL port" |
| login | "ESL password rejected", "FreeSWITCH closed the connection before authentication: … apply-inbound-acl" |
| api status | the FreeSWITCH version, its uptime and the calls up now |
It uses its own connection; the profile's running ESL connection is not touched.
Kamailio
Per URL: HTTP (refused, timed out, TLS, "HTTP 401 … put the credentials in the URL", "HTTP 403 … this machine's IP isn't in the RPC route's allowed networks", "HTTP 404: is xhttp/jsonrpcs loaded at this path?"), core.version (the version and uptime), stats.fetch (how many counters).
rtpengine
Per agent: reachable (refused, timed out), token ("agent token rejected", "agent refused this machine … allow list", "no agent token set"), health (the agent's version and API version; a warning below API 3, which adds the host CPU), rtpengine ng and rtpengine metrics (as the agent sees them: latency, the agent's error, or "not configured on the agent" as a warning).
Fixes for each message: Troubleshooting.
Deleting a profile
Delete (admins; not while a test runs on it) asks once more and says what goes with it: "2 extension sets and 1 schedule are deleted with it; its 48 runs stay in Results." Runs keep their profile name.
The first profile
On a fresh installation there is no profile yet and every page shows "No PBX profile yet …". The first profile's name defaults to default. If config.yaml has a target section (pbx:, esl:, …) on the first start, PBXsight imports it once as profile default; afterwards those sections are ignored and the profile is edited here. See Configuration.