Browse code

Removed the needless message file

Nils Ohlmeier authored on 14/06/2002 16:41:00
Showing 1 changed files
... ...
@@ -11,8 +11,8 @@ SERHOME=/home/srouter
11 11
 SERDIR=$SERHOME/sip_router
12 12
 TESTDIR=$SERDIR/test
13 13
 BIN=$TESTDIR/sipsak
14
-MESSAGE=$TESTDIR/sipsak.sip
15
-SERHOST=sip:iptel.org
14
+# MESSAGE=$TESTDIR/sipsak.sip
15
+SIPURI=sip:sipsak@iptel.org
16 16
 LOCKFILE=/var/lock/serresponse
17 17
 TMP=/tmp/serresponse.$$
18 18
 MAILCOMMAND=/usr/bin/mail
... ...
@@ -24,9 +24,9 @@ if [ ! -e $LOCKFILE ] ; then
24 24
 		echo "serresponse did not find the required sipsak executable $BIN" > $TMP
25 25
 	else
26 26
 		echo "The execution of this command:" > $TMP
27
-		echo "  $BIN -f $MESSAGE -s $SERHOST" >> $TMP
27
+		echo "  $BIN -s $SIPURI" >> $TMP
28 28
 		echo "produced this output:" >> $TMP
29
-		$BIN -f $MESSAGE -s $SERHOST >> $TMP 2>&1
29
+		$BIN -s $SIPURI >> $TMP 2>&1
30 30
 		if [ $? -eq 0 ] ; then
31 31
 			rm -f $TMP
32 32
 		fi