CLI stands for Command-Line Interface. It is a text-based method for interacting with a computer or software program by entering commands into a terminal or console. In a CLI, users type specific textual commands, often accompanied by arguments and options, to perform tasks, configure settings, and execute various functions.
This document is a guide for general information about CLI commands which can be used for troubleshooting PBXware systems. Visit this link for more detailed guide: https://support.bicomsystems.com/a/solutions/articles/67000725750
In this section commands for performing some basic actions will be listed:
Here is the list of the most important directories:
All logs can be found under the path /opt/pbxware/pw/var/log/
All configuration files can be found under the path /opt/pbxware/pw/etc/
Location for recordings: /opt/pbxware/pw/var/spool/asterisk/monitor/
Location for voicemails : /opt/pbxware/pw/var/lib/asterisk/voicemail
Location for asterisk sound files: /opt/pbxware/pw/var/lib/asterisk/sounds/
Location for moh: /opt/pbxware/pw/var/lib/asterisk/moh/
Location for asterisk configuration files: /opt/pbxware/pw/etc/asterisk/
Location for polycom firmware and phone configuration files: /opt/pbxware/pw/tftp
Location where asterisk core dumps are being saved: /opt/pbxware/pw/tmp
Log file is a text file that contains records of events, activities, and messages generated by the operating system, system services, and applications. Log files are essential for system administrators and users to monitor and troubleshoot various aspects of the system's performance and behavior.
You can view the contents of log files using text editors or command-line utilities such as cat, less, or tail. For example, you can use the tail command to view the last few lines of a log file in real-time, which is often useful for monitoring ongoing events. There commands are being used if you want to check the most recent log file, but if you want to check older log files which are compressed (.gz) format, the command to check it is zcat.
Below is a table with list of PBXware services, purpose of the services and log files location:
Here is the list of restart commands which could be executed if there are issues with specific service, these restart commands are service specific, so they will affect that specific service: