HOWTO Start

To start PBXware:

  1. Login to PBXware using SSH protocol
  2. Navigate to the 'pbxware' directory 'cd /opt/pbxware/'
  3. Execute 'sh/start'

HOWTO Stop

To stop PBXware:

  1. Login to PBXware using SSH protocol
  2. Navigate to 'pbxware' directory 'cd /opt/pbxware/'
  3. Execute 'sh/stop'

HOWTO Update

To update PBXware:

  1. Login to PBXware using SSH protocol
  2. Navigate to the 'pbxware' directory 'cd /opt/pbxware/'
  3. Execute 'sh/update'
  4. 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:

  1. Login to PBXware using SSH protocol
  2. Navigate to the 'pbxware' directory 'cd /opt/pbxware/'
  3. Execute 'sh/pbxware dreload'

HOWTO DAHDI CFG

(Redirected from HOWTO Dahdi cfg)

To run dahdi_cfg do:

  1. Login to PBXware using SSH protocol
  2. Navigate to the 'pbxware' directory 'cd /opt/pbxware/'
  3. 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