Frequently Asked Question

Data Collection (For the HelpDesk)
Last Updated 2 months ago

Configuration Collection Script

Sometimes we need to collect configuration and logfile data from a system to analyse the dial-plan and behaviour offline. This is more efficient since we have tools to asses dial-plans for errors and for parsing logfiles for anomalies. 

This collection script simply creates an archive of: 

  • Logfiles in /var/log
  • Configuration files in /etc/asterisk
  • Current Versions for Asterisk & FreePBX

Installation

To install this script, connect to your switch via SSH. 

Download the script with

curl -o collect.sh https://support.gen.uk/assets/asterisk_collect.sh


Enable the script with

chmod +x collect.sh


Run the script with

./collect.sh


And you should receive a response similar to: 

Archive created at: /root/asterisk_debug_20250424_112853.tar.gz

Take the file above and supply this to the HelpDesk, either by attaching it to the ticket (for smaller configurations) or by uploading it to your GEN Secure storage. 

This website relies on temporary cookies to function, but no personal data is ever stored in the cookies.
OK
Powered by GEN UK CLEAN GREEN ENERGY

Loading ...