Support Services - How to use the autosupport.sh script

For gathering system information as well as Asterisk and DAHDI configuration files, the 'autosupport' script can be run using these steps.

  • Replace any instance of '$(CASE)' with the Digium Technical Support Ticket number, which will be in the format '00000000'

  • YYYYMMDD represents the current year, month, and day.

  • Lines prefixed with a '#' character need to be run as root.

From the command prompt, run these commands to acquire and execute autosupport:

# wget http://svn.asterisk.org/svn/asterisk/trunk/contrib/scripts/autosupport -O /usr/sbin/autosupport
# chmod +x /usr/sbin/autosupport
# autosupport $(CASE)

The script will generate a file in the current directory that looks like this: $(CASE)_digium-info_YYYYMMDD.tar.gz
The resulting tarball can then be easily sent to (or obtained by) Digium Technical Support.

 

Related content