From 590591c16e11aa8c2923e7ab10d4a0b70a524fe1 Mon Sep 17 00:00:00 2001
From: Joshua Colp <jcolp@digium.com>
Date: Fri, 18 Aug 2006 19:22:33 +0000
Subject: [PATCH] Make a zttest of 20 seconds part of the autosupport script
 (issue #7752 reported by kshumard)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40395 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 contrib/scripts/autosupport | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/contrib/scripts/autosupport b/contrib/scripts/autosupport
index e13d839dcd..557ca6ce2b 100644
--- a/contrib/scripts/autosupport
+++ b/contrib/scripts/autosupport
@@ -22,6 +22,7 @@ fi
 echo
 echo "This will gather information about your system such as:"
 echo "pci listing, dmesg, running processes, and kernel version"
+echo "This may take up to half a minute to run. Please be patient."
 echo "To continue press 'y', to quit press any other key"
 read ans
 
@@ -100,6 +101,13 @@ if [ "$ans" = "y" ]; then
   echo >> $OUTPUT;
   echo >> $OUTPUT;
 
+  echo "------------------" >> $OUTPUT;
+  echo "ZTTEST" >> $OUTPUT;
+  echo "------------------" >> $OUTPUT;
+  /usr/src/zaptel/zttest -c 20 >> $OUTPUT;
+  echo >> $OUTPUT;
+  echo >> $OUTPUT;
+
 else
   echo "terminated";
 exit
-- 
GitLab