HOWTO Start
To start PBXware:
- Login to PBXware using SSH protocol
- Navigate to the 'pbxware' directory 'cd /opt/pbxware/'
- Execute 'sh/start'
HOWTO Stop
To stop PBXware:
- Login to PBXware using SSH protocol
- Navigate to 'pbxware' directory 'cd /opt/pbxware/'
- Execute 'sh/stop'
HOWTO Update
To update PBXware:
- Login to PBXware using SSH protocol
- Navigate to the 'pbxware' directory 'cd /opt/pbxware/'
- Execute 'sh/update'
- Provide password 'update'
NOTE: Trapping signals are supported. For example 'CTRL + C' can be pressed at any time to stop the update process. If the httpd/http folder is missing, it will be downloaded automatically.
HOWTO Dreload
To reload PBXware with basic debug output messages:
- Login to PBXware using SSH protocol
- Navigate to the 'pbxware' directory 'cd /opt/pbxware/'
- Execute 'sh/pbxware dreload'
HOWTO DAHDI CFG
To run dahdi_cfg do:
- Login to PBXware using SSH protocol
- Navigate to the 'pbxware' directory 'cd /opt/pbxware/'
- Execute 'sh/dahdi_cfg'
Options availabe with dahdi_cfg are:
-c <filename> -- Use <filename> instead of /etc/dahdi/system.conf -d [level] -- Generate debugging output. (Default level is 1.) -f -- Always reconfigure every channel -h -- Generate this help statement -s -- Shutdown spans only -t -- Test mode only, do not apply -v -- Verbose (more -v's means more verbose)
HOWTO Logging Asterisk Activity Into Log File
To make asterisk log the activity to a log file:
asterisk -rx 'stop now asterisk -vvvvvvvvv -g -ddddddddddd >/tmp/log 2>&1 &
HOWTO Content Of OPT Directory
Under '/opt' you have 2 PBXware related directories:
- httpd
- pbxware
httpd - Setup Wizard/Licenser is a kind of controller for 'pbxware' chroot. Httpd is not a chroot and is the only part of the system which requires root privileges. In 'httpd/bin' you have application 'mini_httpd' which will bind to port '81' by default.
pbxware - Consist of a chroot, with no root privileges, and several important processes -
- PBXware daemon (dialling logic, controlling logic),
- Asterisk,
- Sitemanager GUI, and
- several other utils required for normal operation
sitemanager - pre 3.0 GUI had its own chroot in /home/servers/sitemanager but on 3.x systems it is part of the pbxware chroot in /opt/pbxware/pw/gui folder