1. Bicom Systems
  2. Solution home
  3. PBXware
  4. HOWTOs

HOWTO System Deamon

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

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article