Jelajahi Sumber

units/tlcust0001: info about executed steps

Daniel-Constantin Mierla 7 tahun lalu
induk
melakukan
259d0e49ec
1 mengubah file dengan 3 tambahan dan 2 penghapusan
  1. 3 2
      units/tlcust0001/tlcust0001.sh

+ 3 - 2
units/tlcust0001/tlcust0001.sh

@@ -14,14 +14,14 @@ echo "--- restart nc -ulp 24680 | tee /tmp/kamailio-tlcust0001.netcat &"
 killall nc
 nc -ulp 24680 | tee /tmp/kamailio-tlcust0001.netcat &
 echo "--- run sipsak -s sip:[email protected]"
-sipsak -vvv -s sip:[email protected]
+sipsak -s sip:[email protected]
 sleep 1
 kill_pidfile ${KAMPID}
 sleep 1
 killall nc
 sleep 1
 echo
-echo "--- grep output"
+echo "--- output files"
 echo
 ls -l /tmp
 echo "---"
@@ -29,6 +29,7 @@ cat /tmp/kamailio-tlcust0001.netcat
 echo "---"
 cat /tmp/kamailio-tlcust0001.log
 echo "---"
+echo "--- grep output"
 grep "logcustom" /tmp/kamailio-tlcust0001.netcat
 ret=$?
 if [ ! "$ret" -eq 0 ] ; then