Diagnostics
The Diagnostics page helps you understand and fix an incident without access to the server.
Health
The state of the installation: installed version, telephony engine (responding or not, calls in progress, time since it last started, to the minute), database, last call received, abandoned webhook deliveries, status of customer trunks.
For an operator with a shared trunk, the Shared trunk row gives its status, its provider, the number of customers going through it and its last refusal, with Re-register: an outage affects them all.
For the operator, two more rows concern the computer phone: Computer phone (“ready”, or
“pending” while the internal SIP profile has not been restarted: the PBX does it by itself as
soon as no call is in progress) and TURN server (“not set” without KANADR_TURN_HOTE,
otherwise whether it responds).
When the license expired more than 60 days ago, the Calls line says so (“cut since … (license)”): new calls are refused, except emergency numbers, calls in progress continue; a valid license restores them at once (see License).
If the usage cap alert no longer reaches you, neither by email nor by a subscribed webhook (set to None, see Fleet alerts), the Usage cap alert line says so (“off”): fraud could go unnoticed.
When a new version is available, the health section says so (“update available”). An operator administrator installs it from here with Update (see Updates): only Kanadr is updated, the telephony engine keeps running; support sees the version but cannot install it.
When a system patch (kernel, library) is waiting for the machine to restart before it takes effect, the Machine line says so (“restart to plan”) with the date and the packages concerned: see Restart to plan.
How to read the version: 0.9.1 is the product version, which goes up with each delivery
(minor for new features, patch for fixes only); the package adds the date and commit of its
build (0.9.1~git20261102….abc1234).
- Re-register restarts a trunk; its status updates in a few seconds.
- Reload configuration reloads the telephony engine’s configuration for the whole installation, without cutting calls in progress.
Live calls
Calls across the whole installation: customer, caller, called party, status. Hang up ends a stuck call. A customer’s call log shows, for each past call, its Trace: who hung up, who it was connected to, the media. When the far end refused the call (the trunk provider, for example), the Refused by the far end line gives the SIP code it returned and its reason phrase, for example “SIP 403 · Forbidden”: this is what to pass on to its support.
Audio quality per leg
For choppy audio, gaps or one-way audio, the trace gives the audio of each leg of the call: the caller’s and the one it was connected to (the SIP trunk of an outgoing call, the extension of an incoming call), one column each. These are the telephony engine’s measurements on what it receives from each side; what the other party receives is not measured.
- Codec: the negotiated codec, its sampling rate and the packet duration. Audio conversion says whether the engine converts the audio between the two legs (different codec or sampling rate). The instance’s softphones (browser, computer, mobile) speak Opus with the engine; desk phones, SIP trunks and connectors speak G.711 (PCMA, PCMU in North America). A call between a softphone and a SIP trunk therefore shows an audio conversion: this is expected. The engine keeps a jitter buffer on the Opus legs.
- Packets received / sent, Flaws (loss rate): packets missing from the sequence.
- Skipped packets: intervals where no packet arrived in time (loss, delay, but also silence or hold: nothing abnormal on its own). Discarded packets: received and then dropped to catch up on a delay.
- Comfort noise received / sent: comfort noise packets in place of audio. An extension that receives them from the engine hears a 20 ms gap per packet.
- Jitter min–max, Mean interval (usually 20 ms), MOS (quality), Jitter buffer.
To look at flags a leg whose loss rate reaches 1%, whose jitter reaches 30 ms, that sent no audio while the engine was sending it some (one-way audio), or to which the engine sent comfort noise. The damaged leg tells you where to look: the site’s network for an extension, the provider for a SIP trunk. Calls made before the version that brings these measurements only have the caller’s leg.
Live capture
To understand a failing call or a phone that does not register: choose the customer, Start the capture, then place the call or restart the phone. The SIP messages and telephony engine logs that concern this customer are shown as they arrive, for five minutes at most. Stop ends the capture, Download saves the text to pass on to support. Nothing is kept on the server; each capture is recorded in the audit log.
SIP ladder draws the SIP messages as a ladder diagram: one column per address (the telephony engine and its peers: phones, trunk), one arrow per message, in red for a failure (4xx, 5xx, 6xx). Pick a dialog to follow a single call or registration; click an arrow to read the whole message. Download the pcap gives a file to open in Wireshark (Telephony, SIP Flows): the messages are as the telephony engine sent or received them, already decrypted for TLS; the IP and UDP or TCP headers are rebuilt, and the media (RTP) is not included.
Restart the telephony engine
As a last resort (operator admin only). By default, the restart waits for calls in progress to end and refuses new ones meanwhile; tick Right now, cutting ongoing calls to cut calls in progress. The server is back in about a minute.
Audit log
The Audit log, a tab of the Settings page (the only tab for a reseller), shows who did what, when and from where: sign-ins (successful and
denied), creations, changes, diagnostic actions. Filter by action (start of the name:
utilisateur., connexion) or on denials; click an action for its details. Entries can be
neither changed nor deleted. Everyone sees their organization and what depends on it: the
operator everything, a reseller its customers, a customer admin their company. Automatic IP
address bans, which are numerous, are hidden by default: tick Automatic bans to see them;
those made by hand are always shown.
A customer’s softphone
When a user’s computer phone does not connect or the audio is poor, ask them for their softphone’s Diagnostics screen (see Computer phone): WebSocket and registration status, last SIP response, microphone and its permission, a summary of the last call (packets, losses, jitter, ICE path), and the log of the latest events, which they send you with Export the log. SIP messages in it carry no password or authentication header.
Banned IP addresses
After too many failed SIP registrations from an address (a misconfigured phone, or a bot looking for passwords), the address is banned for SIP and RTP only: the portal stays reachable. The ban ends on its own.
The list shows the reason, the account and the device involved: a misconfigured softphone at a customer blocks their whole site, and the diagnostics show it. Unban lifts the block right away, once the device is fixed. The customer admin also sees their site’s blocked address, the extension and the faulty device in their users’ Phones tab, and can unblock it themselves (Unblock the address); they never see the account or device of another customer behind the same address.
Ban an address bans it by hand, for the duration chosen (the one in the settings by default): a bot spotted in the capture, a device to cut off. An address in the allow list or of a trunk cannot be banned.
Ban settings: number of failures, window and duration (by default 10 failures in 5 minutes, banned for one hour), and an Allow list of networks that are never banned. Trunk networks, addresses with a registered phone and those of a recent portal sign-in are already spared.
Support access
The vendor’s support team has an account on your instance, but it is closed by default: it only gets in if you open it. An admin of your team chooses a duration (from 4 hours to 7 days), then Open access; Close access cuts it at once. When the time is up, it closes by itself. Openings, closings and every action of the support team are in the audit log.
On the machine, the command kanadr acces-assistance ouvrir|fermer|etat does the same.