[asterisk-commits] tilghman: branch tilghman/callparking_retrieval r815 - in /asterisk/team/tilg...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Oct 29 15:34:40 CDT 2010


Author: tilghman
Date: Fri Oct 29 15:34:38 2010
New Revision: 815

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=815
Log:
Test ***finally*** works, though the spool error is not fixed (yet).

Modified:
    asterisk/team/tilghman/callparking_retrieval/tests/pbx/call-files2/run-test
    asterisk/team/tilghman/callparking_retrieval/tests/pbx/call-files2/userB/extensions.conf

Modified: asterisk/team/tilghman/callparking_retrieval/tests/pbx/call-files2/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/tilghman/callparking_retrieval/tests/pbx/call-files2/run-test?view=diff&rev=815&r1=814&r2=815
==============================================================================
--- asterisk/team/tilghman/callparking_retrieval/tests/pbx/call-files2/run-test (original)
+++ asterisk/team/tilghman/callparking_retrieval/tests/pbx/call-files2/run-test Fri Oct 29 15:34:38 2010
@@ -59,8 +59,8 @@
 	  echo "Extension: $2"
 	  echo "Priority: 1"
 	  echo "MaxRetries: 3"
-	  echo "WaitTime: 1"
-	  echo "RetryTime: 3"
+	  echo "WaitTime: 3"
+	  echo "RetryTime: 5"
 	  echo "Archive: yes"
 	)
 }
@@ -107,6 +107,7 @@
 		install -m 644 $i $dst
 	done
 	( echo "[directories]"; echo "astetcdir => $conf"; echo "astrundir => $conf"; echo "astlogdir => $testdir/$user"; echo "[options]"; echo "verbose = 10"; echo "documentation_language = en_US" ) > $conf/asterisk.conf
+	( echo "noload => pbx_lua.so" ; echo "noload => pbx_ael.so" ) >> $conf/modules.conf
 
 	# Verify that files got created properly
 	if test -s $conf/asterisk.conf ; then : ; else
@@ -125,6 +126,7 @@
 	fi
 
 	$ASTERISK -C $conf/asterisk.conf -rx 'core set debug 1 pbx_spool'
+	$ASTERISK -C $conf/asterisk.conf -rx 'dialplan show'
 done
 
 echo " >>> Spooling first file"
@@ -155,7 +157,7 @@
 sleep 5
 
 # Count before cleanup, because cleanup removes the log
-count=`grep -c 'No such file or directory, deleting' $userA_tmpdir/messages`
+count=`grep -c 'No such file or directory, deleting' $testdir/userA/messages`
 
 cleanup
 

Modified: asterisk/team/tilghman/callparking_retrieval/tests/pbx/call-files2/userB/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/tilghman/callparking_retrieval/tests/pbx/call-files2/userB/extensions.conf?view=diff&rev=815&r1=814&r2=815
==============================================================================
--- asterisk/team/tilghman/callparking_retrieval/tests/pbx/call-files2/userB/extensions.conf (original)
+++ asterisk/team/tilghman/callparking_retrieval/tests/pbx/call-files2/userB/extensions.conf Fri Oct 29 15:34:38 2010
@@ -5,7 +5,7 @@
 
 [spoolfile]
 exten => answer,1,Answer
-exten => answer,n,Wait(1)
+exten => answer,n,Wait(10)
 exten => answer,n,Hangup
 
 exten => noanswer,1,Wait(100)




More information about the asterisk-commits mailing list