[asterisk-commits] pabelanger: branch pabelanger/SWP-2712 r1182 - in /asterisk/team/pabelanger/S...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Dec 15 18:48:39 UTC 2010
Author: pabelanger
Date: Wed Dec 15 12:48:35 2010
New Revision: 1182
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=1182
Log:
Use cli_originate so we don't require a soundcard.
Modified:
asterisk/team/pabelanger/SWP-2712/tests/mixmonitor/configs/ast1/extensions.conf
asterisk/team/pabelanger/SWP-2712/tests/mixmonitor/run-test
asterisk/team/pabelanger/SWP-2712/tests/mixmonitor/test-config.yaml
Modified: asterisk/team/pabelanger/SWP-2712/tests/mixmonitor/configs/ast1/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/pabelanger/SWP-2712/tests/mixmonitor/configs/ast1/extensions.conf?view=diff&rev=1182&r1=1181&r2=1182
==============================================================================
--- asterisk/team/pabelanger/SWP-2712/tests/mixmonitor/configs/ast1/extensions.conf (original)
+++ asterisk/team/pabelanger/SWP-2712/tests/mixmonitor/configs/ast1/extensions.conf Wed Dec 15 12:48:35 2010
@@ -1,6 +1,10 @@
[general]
[globals]
+
+[listener]
+exten => s,1,Answer()
+exten => s,n,Echo()
[test1]
exten => s,1,Answer()
Modified: asterisk/team/pabelanger/SWP-2712/tests/mixmonitor/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/pabelanger/SWP-2712/tests/mixmonitor/run-test?view=diff&rev=1182&r1=1181&r2=1182
==============================================================================
--- asterisk/team/pabelanger/SWP-2712/tests/mixmonitor/run-test (original)
+++ asterisk/team/pabelanger/SWP-2712/tests/mixmonitor/run-test Wed Dec 15 12:48:35 2010
@@ -43,6 +43,7 @@
self.ast1 = Asterisk(base=workingdir)
self.ast1.install_configs("%s/configs/ast1" % (testdir))
+
self.audiofile1 = os.path.join(os.getcwd(), "%s/testaudio1" % (testdir))
self.audiofile2 = os.path.join(os.getcwd(), "%s/testaudio2" % (testdir))
self.audiofile3 = os.path.join(os.getcwd(), "%s/testaudio3" % (testdir))
@@ -88,11 +89,11 @@
def launch_test1(self):
self.log_last_step("Placing call to test1 exten")
- self.ast1.cli_exec("console dial s at test1")
+ self.ast1.cli_originate("Local/s at listener extension s at test1")
def launch_test2(self):
self.log_last_step("Placing call to test2 exten")
- self.ast1.cli_exec("console dial s at test2")
+ self.ast1.cli_originate("Local/s at listener extension s at test2")
def start_asterisk(self):
self.log_last_step("Starting Asterisk")
@@ -142,7 +143,7 @@
self.read_result()
def ami_on_connect1(self, ami):
- self.log_last_step("Connected to AMI 2")
+ self.log_last_step("Connected to AMI 1")
self.ami = ami
self.ami.registerEvent("UserEvent", self.check_test1)
Modified: asterisk/team/pabelanger/SWP-2712/tests/mixmonitor/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/pabelanger/SWP-2712/tests/mixmonitor/test-config.yaml?view=diff&rev=1182&r1=1181&r2=1182
==============================================================================
--- asterisk/team/pabelanger/SWP-2712/tests/mixmonitor/test-config.yaml (original)
+++ asterisk/team/pabelanger/SWP-2712/tests/mixmonitor/test-config.yaml Wed Dec 15 12:48:35 2010
@@ -8,4 +8,3 @@
minversion: '1.4'
dependencies:
- python : 'twisted'
- - custom : 'soundcard'
More information about the asterisk-commits
mailing list