Quick start
From the VPS or the image to the first call, on one page. Each step is detailed in the following pages.
- Install the machine, with at least 2 vCPUs and 4 GB, an SSH key and the fully
qualified name of the machine (
pbx.operator.example).-
VPS (the most common case): a VPS installed with the provider’s Debian 13 template, then one command over SSH, which installs Kanadr, runs the first boot and shows the setup link; see Installing on a VPS:
JETON='paste your token here' curl -fsSL -u "jeton:$JETON" https://apt.kanadr.com/installer.sh \ | sudo bash -s -- --nom pbx.operator.example --jeton "$JETON"The download token is given to you by the vendor; see Access to the repository.
-
On a hypervisor, from the image; see Installing from the image.
-
Proxmox: one command in the host shell, which creates the VM, starts it and waits for the setup link:
JETON='paste your token here' curl -fsSL -u "jeton:$JETON" https://apt.kanadr.com/images/proxmox.sh | bash -s -- --id 120 \ --nom pbx.operator.example --ip 192.0.2.50/24 --passerelle 192.0.2.254 \ --cle "ssh-ed25519 AAAA… admin@operator" --jeton "$JETON" -
VMware: import the OVA and fill in its properties (name, SSH key, and the fixed IP address, gateway and DNS, or nothing for DHCP).
-
- Let the first boot finish (one to three minutes; on a VPS, the installer waits for it): the VM generates its own secrets, sets
up the telephony engine, then starts Kanadr and nginx; until then, the console and the
SSH login show “first boot in progress”. Connect over SSH (
ssh debian@192.0.2.50, or the account given to cloud-init), then check the machine:sudo kanadr verifier. - Open the setup link, shown at the end of the VPS installer or of the Proxmox script, at
SSH login and on the VM
console (with a QR code for a phone); see Connecting to the VM.
It is given under the machine name and under its IP address
(
https://192.0.2.50/mise-en-route#…), which works without DNS; single use, 24 h; a new one:sudo kanadr mise-en-route. The page creates the operator and your administrator account (name, address, password), then asks for the second factor (mandatory). Without a valid link, it refuses. For automation,sudo kanadr initialiserdoes the same without a link. - Follow the wizard, which opens next: nine steps, each Save and continue or Skip
this step, to resume later (Setup tile on the home page, or the frequent action of the
same name):
- Language and region: the instance language (Français or English), its time zone
(
Europe/Parisby default, to search in the list) and its default country, suggested from the time zone (Paris: France, Brussels: Belgium, Zurich: Switzerland, London: United Kingdom, America: United States or Canada) and editable; it sets the customers’ numbering plan and date format; finally the installation’s currency, suggested from the country (France, Belgium: euro; Switzerland: Swiss franc; United Kingdom: pound sterling; United States: US dollar; Canada: Canadian dollar) and editable as long as no rate table exists. The portal switches to the chosen language right away, and every following step with it; your resellers, your customers and their emails inherit it. Save and continue writes the instance language, time zone, country and currency, and your account now follows the instance language (each account can then choose its own in My account). Everything is then found in Settings, Language and region tab. - Identity: name, logo and color of the portal.
- Domains: what the DNS gives for the machine’s name, and the customers’
domain suffix (
pbx.operator.example), with its wildcard record (*.pbx.operator.example) towards the machine. - Certificate: Get a Let’s Encrypt certificate, in one click, for the machine’s name
(it must point to it, port 80 reachable); renewed by itself, also given to SIP over TLS. A
certificate of your own:
sudo kanadr-certificat-sip chain.pem key.pemfor SIP, on top of nginx. - Emails: SMTP server, then Send the test. Without it, invitations are not sent.
- Network: HTTPS, SIP 5060, 5061 (TLS) and 5080, RTP 16384 to 32768 (see Prerequisites); your addresses in the ban allow list.
- Provider: the profile of your transit carrier (Instance settings).
- Numbers: the stock, from the Numbers page (Number pool).
- First customer: Customers page, New customer, with its name and identifier
(
customer, which gives the SIP domaincustomer.pbx.operator.example), its trunk (A customer’s trunk), a user with an extension, then Open the customer’s space, Users, Phones tab, Add a device: Email the link or Show the code (QR code) installs and sets up the phone (Users and extensions).
- Language and region: the instance language (Français or English), its time zone
(
- Call: extension to extension, then out and in. The Diagnostics page shows the health of the instance, live calls and the trace of each call.
Next: check the update repository, schedule backups, plug in monitoring.