LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

fwconsole

command-line interface for FreePBX administration

TLDR

Apply the configuration changes made in the web interface
$ fwconsole reload
copy
Start Asterisk and the services FreePBX depends on
$ fwconsole start
copy
Stop them
$ fwconsole stop
copy
Restart them
$ fwconsole restart
copy
List the modules installed
$ fwconsole ma list
copy
Install a module that is already downloaded
$ fwconsole ma install [module_name]
copy
Download and install a module from the online repository
$ fwconsole ma downloadinstall [module_name]
copy
Upgrade every module that has an update waiting
$ fwconsole ma upgradeall
copy
Read or change a setting
$ fwconsole setting [keyword] [new_value]
copy
List the backups that exist
$ fwconsole backup --list
copy
Repair file ownership after editing files by hand
$ fwconsole chown
copy
List every fwconsole command
$ fwconsole list
copy

SYNOPSIS

fwconsole command [options]

DESCRIPTION

fwconsole is the command-line interface for managing FreePBX, an open-source web-based GUI for managing Asterisk PBX systems. It provides administrative control over the FreePBX configuration, modules, and underlying Asterisk server.The tool handles configuration reloads, service management, module administration, backups, and system maintenance tasks. It's essential for automation, scripting, and troubleshooting FreePBX installations.Configuration changes made through the web interface typically require fwconsole reload to apply to the running Asterisk instance.

PARAMETERS

reload

Apply configuration changes without restarting Asterisk
start [module]
Start FreePBX and Asterisk services (optionally a single module)
stop [module]
Stop FreePBX and Asterisk services
restart
Restart FreePBX and Asterisk services
setting keyword [value]
View or modify FreePBX settings
backup [--list | --file file]
Manage or restore FreePBX backups
chown
Fix file ownership for web server access
ma (module admin)
Install, enable, disable, upgrade or remove FreePBX modules
sysadmin
System administration tasks
list
Display all available fwconsole commands
-h, --help
Display help for a given command
-v, -vv, -vvv
Increase verbosity level
-q, --quiet
Suppress output

CAVEATS

Most commands require root privileges or appropriate sudo access. Running reload during active calls may cause brief service interruption. The chown command is necessary after manual file modifications to maintain proper web server permissions.

HISTORY

fwconsole is part of FreePBX, which began as a web GUI for Asterisk in 2004. Originally known as AMP (Asterisk Management Portal), it was renamed to FreePBX in 2006. The fwconsole command-line tool was introduced as part of FreePBX's modernization efforts.

SEE ALSO

asterisk(8), fs_cli(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid