Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

CommandShortDescription
Bulk ImportbiThis command is used to import extensions and dids
certificates
Certificate Management
Chown
Change ownership of files
contextcxShows the specified context from the dialplan
Doctrine
Specific database documentation (for Development)
debugdbugStream log files for debugging
EPM
Endpoint Manager
externalipextipGet External IP
firewall
Firewall functions
help
Displays help for a command
list
Lists commands
Localization
Localization Utilities
DatabasemRuns MySQL Client using freepbx credentials
Module AdministrationmaModule Administration
Notification
Manage notifications
Qxact Reportsqxact
ReloadrReload Configs and Asterisk
restart
Start Asterisk and run other needed FreePBX commands
Paging Pro
Paging Pro Interface
Phone Apps
Debug Phone App Problems (For XML Style BLFs)
pm2
Process Management
Settingset
System AdminsaSystem Admin Functions
Trunks
Enable and disable trunks from the command line
UnlockunUnlock Session
Userman
User Manager
Util
Common Utilities
validate
Validate the PBX against hacks
vqplus
VQPlus functions

...

  • List Notifications

    Code Block
    [root@freepbxdev1 faxpro]# fwconsole notification --list
    +---------------+-------------------------+----------------------------------------------------------+
    | Module        | ID                      | Text                                                     |
    +---------------+-------------------------+----------------------------------------------------------+
    | freepbx       | FW_UNSIGNED             | You have 95 unsigned modules                             |
    | freepbx       | NEWUPDATES              | There are 3 modules available for online upgrades        |
    | cron_manager  | EXECFAIL                | Cronmanager encountered 1 Errors                         |
    | dahdiconfig   | etcdahdimodules         | File /etc/dahdi/modules is not owned by asterisk         |
    | dahdiconfig   | etcdahdisystem.conf     | File /etc/dahdi/system.conf is not owned by asterisk     |
    | dahdiconfig   | etcmodprobe.ddahdi.conf | File /etc/modprobe.d/dahdi.conf is not owned by asterisk |
    | freepbx       | modules_disabled        | You have 10 disabled modules                             |
    | cidlookup     | noauth                  | OpenCNAM Requires Authentication                         |
    | fax           | invalid_email           | Invalid Email for Inbound Fax                            |
    | freepbx       | NEWMODS                 | 1 New modules are available                              |
    | retrieve_conf | SYMLINKNOTICE           | Symlink Conflict Resolved                                |
    | sipstationdid | ss7149223196            | SIPSTATION DID routed                                    |
    +---------------+-------------------------+----------------------------------------------------------+


    Code Block
    [root@freepbxdev1 faxpro]# fwconsole notification --list --json
    [["freepbx","FW_UNSIGNED","You have 95 unsigned modules"],["freepbx","NEWUPDATES","There are 3 modules available for online upgrades"],["cron_manager","EXECFAIL","Cronmanager encountered 1 Errors"],["dahdiconfig","etcdahdimodules","File \/etc\/dahdi\/modules is not owned by asterisk"],["dahdiconfig","etcdahdisystem.conf","File \/etc\/dahdi\/system.conf is not owned by asterisk"],["dahdiconfig","etcmodprobe.ddahdi.conf","File \/etc\/modprobe.d\/dahdi.conf is not owned by asterisk"],["freepbx","modules_disabled","You have 10 disabled modules"],["cidlookup","noauth","OpenCNAM Requires Authentication"],["fax","invalid_email","Invalid Email for Inbound Fax"],["freepbx","NEWMODS","1 New modules are available"],["retrieve_conf","SYMLINKNOTICE","Symlink Conflict Resolved"],["sipstationdid","ss7149223196","SIPSTATION DID routed"]]


  • Delete notification (by ID)

    Code Block
    [root@freepbxdev1 faxpro]# fwconsole notification --delete dahdiconfig etcdahdimodules
    Deleting notification
    Notification Deleted
    [root@freepbxdev1 faxpro]# fwconsole notification --list
    +---------------+-------------------------+----------------------------------------------------------+
    | Module        | ID                      | Text                                                     |
    +---------------+-------------------------+----------------------------------------------------------+
    | freepbx       | FW_UNSIGNED             | You have 95 unsigned modules                             |
    | freepbx       | NEWUPDATES              | There are 3 modules available for online upgrades        |
    | cron_manager  | EXECFAIL                | Cronmanager encountered 1 Errors                         |
    | dahdiconfig   | etcdahdisystem.conf     | File /etc/dahdi/system.conf is not owned by asterisk     |
    | dahdiconfig   | etcmodprobe.ddahdi.conf | File /etc/modprobe.d/dahdi.conf is not owned by asterisk |
    | freepbx       | modules_disabled        | You have 10 disabled modules                             |
    | cidlookup     | noauth                  | OpenCNAM Requires Authentication                         |
    | fax           | invalid_email           | Invalid Email for Inbound Fax                            |
    | freepbx       | NEWMODS                 | 1 New modules are available                              |
    | retrieve_conf | SYMLINKNOTICE           | Symlink Conflict Resolved                                |
    | sipstationdid | ss7149223196            | SIPSTATION DID routed                                    |
    +---------------+-------------------------+----------------------------------------------------------+


Anchor
Qxact
Qxact
Qxact Reports

Note

Feature added in 14+

Running fwconsole qxact will display help text:

Code Block
languagetext
# fwconsole qxact
Usage:
  qxactreports [options]

Arguments:
  command                    The command to execute

Options:
      --sync                 Syncronize
      --dryrun               Dont execute any SQL statements
      --forcetype=FORCETYPE  Force Type: database or file
      --import=IMPORT        Files to import separate by comma
      --reimport=REIMPORT    Files to reimport separate by comma
  -h, --help                 Display this help message
  -q, --quiet                Do not output any message
  -V, --version              Display this application version
      --ansi                 Force ANSI output
      --no-ansi              Disable ANSI output
  -n, --no-interaction       Do not ask any interactive question
  -v|vv|vvv, --verbose       Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Help:
  QXact Reports

To re-import all the existing rotated queue_log files run:

Code Block
languagetext
for i in $(ls -1tr /var/log/asterisk/queue_log*); do fwconsole qxact --reimport=$i --sync --verbose; done

Paging Pro

Code Block
[root@freepbxdev1 restapps]# fwconsole pagingpro --help
Usage:
 pagingpro [-c|--clean] [-e|--execute="..."] [-l|--list[="..."]]
Options:
 --clean (-c)          Cleanup stale pages and add needed pages
 --execute (-e)        Execute a scheduled page now
 --list (-l)           List Scheduled Pages
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

...