Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Server settings

The service settings are in /etc/centrex-v3/centrex.env (root:centrex, 0640: it contains passwords). On a VM installed from the image, the first boot fills them in. After a change: sudo systemctl restart centrex.

Everything else (brand, language, time zone, email, transcription, SSO, assistant, license…) is set in the portal: see Instance settings.

Required

VariableValue
CENTREX_BASE_URLFusionPBX’s PostgreSQL database (postgres://user:password@127.0.0.1:5432/fusionpbx); the PBX creates its centrex schema in it.
CENTREX_URL_PUBLIQUEPublic address of the portal (https://pbx.operator.example): links sent by email, phone links, passkeys.
CENTREX_ESL_ADRESSEFreeSWITCH event socket (127.0.0.1:8021).
CENTREX_ESL_MOT_DE_PASSEIts password.
CENTREX_CDR_IDENTIFIANTSusername:password expected from mod_json_cdr; without them, no call reaches the log.
CENTREX_TROUSSEAUKeyring of the encryption keys (/etc/centrex-v3/cles).

Optional

VariableDefaultFor
CENTREX_PIPER, CENTREX_VOIX_PIPERabsent (set by the image)Text-to-speech (Piper program and French voice model); without it, announcements are uploaded as audio files.
CENTREX_VOIX_PIPER_ENabsent (set by the image)English voice model, for customers set to English.
CENTREX_HUB_URLabsentThe vendor’s Hub, which receives license reports; without it, the report is downloaded from the portal.
CENTREX_PARE_FEUnftablesAddress banning (nftables) or nothing (aucun, bans only recorded in the database).
CENTREX_ECOUTE127.0.0.1:8080Listening address of the portal and API, behind nginx.
CENTREX_CDR_ECOUTE127.0.0.1:8085Listening address for FreeSWITCH CDRs.
CENTREX_LOGinfoLog level (debug for troubleshooting: it may write signed links).

Commands

They run on the VM with the service’s settings: sudo sh -c 'set -a; . /etc/centrex-v3/centrex.env; centrex <command>'.

CommandFor
initialiser --operateur … --admin-courriel … --admin-nom …Create the operator and its first administrator, once.
inviter --courriel …Print a new link to choose one’s password (email not set up yet).
reinitialiser-second-facteur --courriel …Lost phone: remove an account’s two-step verification and close its sessions.
sauvegarder, restaurerBackup and restore.
verifierCheck the machine: settings, keyring, database and schema, FusionPBX, FreeSWITCH (SIP profiles, CDRs), files, portal, service. Each item ok, attention or ÉCHEC; exit code 1 on failure. Read-only.
migrateApply database migrations (the service does it on start).
bascule …Active/passive.
acces-assistance ouvrir --heures …, fermer, etatVendor support access, closed by default, 7 days at most.
audit verifierCheck that the audit log has not been tampered with (exit code 1 otherwise).
secrets nouvelle-cle, rechiffrer, etatRotation of the secrets encryption key.