[asterisk-commits] mjordan: testsuite/asterisk/trunk r2752 - /asterisk/trunk/tests/fastagi/recor...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Nov 15 11:06:01 CST 2011


Author: mjordan
Date: Tue Nov 15 11:05:58 2011
New Revision: 2752

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=2752
Log:
Updated test to properly use location of sound file

Modified:
    asterisk/trunk/tests/fastagi/record-file/run-test

Modified: asterisk/trunk/tests/fastagi/record-file/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fastagi/record-file/run-test?view=diff&rev=2752&r1=2751&r2=2752
==============================================================================
--- asterisk/trunk/tests/fastagi/record-file/run-test (original)
+++ asterisk/trunk/tests/fastagi/record-file/run-test Tue Nov 15 11:05:58 2011
@@ -15,7 +15,7 @@
 sys.path.append("lib/python")
 from asterisk.asterisk import Asterisk
 
-workingdir = "fastagi/execute"
+workingdir = "fastagi/sounds"
 testdir = "tests/fastagi"
 
 
@@ -38,7 +38,7 @@
 
         self.ast1 = Asterisk(base=workingdir)
         self.ast1.install_configs("%s/configs/ast1" % (testdir))
-	self.audio_file = "%s/out.ulaw" % (workingdir)
+	self.audio_file = "%s/talking.ulaw" % (workingdir)
 
     def on_record_failure(self, reason):
         if os.path.exists(self.audio_file):
@@ -87,7 +87,7 @@
     # This gets invoked by the dialplan when the call is answered
     def do_test(self, agi):
         self.agi = agi
-        return agi.recordFile("%s/out" % (workingdir), "ulaw", "#", "3"
+        return agi.recordFile("%s/talking" % (workingdir), "ulaw", "#", "3"
             ).addCallback(self.on_record_success).addErrback(self.on_record_failure)
 
     def read_result(self):




More information about the asterisk-commits mailing list