[svn-commits] dvossel: testsuite/asterisk/trunk r319 - /asterisk/trunk/tests/mixmonitor/
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Tue Jun 1 09:37:25 CDT 2010
Author: dvossel
Date: Tue Jun 1 09:37:23 2010
New Revision: 319
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=319
Log:
fixes issue with mixmonitor test failing with 1.6.1 and above
Modified:
asterisk/trunk/tests/mixmonitor/run-test
Modified: asterisk/trunk/tests/mixmonitor/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/mixmonitor/run-test?view=diff&rev=319&r1=318&r2=319
==============================================================================
--- asterisk/trunk/tests/mixmonitor/run-test (original)
+++ asterisk/trunk/tests/mixmonitor/run-test Tue Jun 1 09:37:23 2010
@@ -94,9 +94,15 @@
self.asterisk.cli_exec("core set verbose 10")
self.asterisk.cli_exec("core set debug 3")
- self.asterisk.cli_exec("core set global TESTAUDIO1 " + self.audiofile1)
- self.asterisk.cli_exec("core set global TESTAUDIO2 " + self.audiofile2)
- self.asterisk.cli_exec("core set global TESTAUDIO3 " + self.audiofile3)
+
+ if self.ast_version < AsteriskVersion("1.6.1"):
+ self.asterisk.cli_exec("core set global TESTAUDIO1 " + self.audiofile1)
+ self.asterisk.cli_exec("core set global TESTAUDIO2 " + self.audiofile2)
+ self.asterisk.cli_exec("core set global TESTAUDIO3 " + self.audiofile3)
+ else:
+ self.asterisk.cli_exec("dialplan set global TESTAUDIO1 " + self.audiofile1)
+ self.asterisk.cli_exec("dialplan set global TESTAUDIO2 " + self.audiofile2)
+ self.asterisk.cli_exec("dialplan set global TESTAUDIO3 " + self.audiofile3)
def stop_asterisk(self):
self.asterisk.stop()
More information about the svn-commits
mailing list