[asterisk-commits] dvossel: testsuite/asterisk/trunk r692 - /asterisk/trunk/tests/chanspy/chansp...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Aug 3 16:49:45 CDT 2010


Author: dvossel
Date: Tue Aug  3 16:49:41 2010
New Revision: 692

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=692
Log:
addes transmit_silence=yes to chanspy_barge test

Modified:
    asterisk/trunk/tests/chanspy/chanspy_barge/run-test
    asterisk/trunk/tests/chanspy/chanspy_barge/test-config.yaml

Modified: asterisk/trunk/tests/chanspy/chanspy_barge/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/chanspy/chanspy_barge/run-test?view=diff&rev=692&r1=691&r2=692
==============================================================================
--- asterisk/trunk/tests/chanspy/chanspy_barge/run-test (original)
+++ asterisk/trunk/tests/chanspy/chanspy_barge/run-test Tue Aug  3 16:49:41 2010
@@ -42,7 +42,13 @@
         reactor.listenTCP(4573, self.agi, self.test_to, '127.0.0.1')
 
         print self.ast_version
-        self.asterisk = Asterisk(base="/tmp/asterisk-testsuite/chanspy/chanspy_barge")
+
+        ast_conf_options = {
+            "transmit_silence" : "yes",
+        }
+
+        self.asterisk = Asterisk(base="/tmp/asterisk-testsuite/chanspy/chanspy_barge",
+            ast_conf_options=ast_conf_options)
         self.asterisk.install_config("tests/chanspy/chanspy_barge/configs/extensions.conf")
         self.asterisk.install_config("tests/chanspy/chanspy_barge/configs/sip.conf")
         self.asterisk.install_config("tests/chanspy/chanspy_barge/configs/manager.conf")

Modified: asterisk/trunk/tests/chanspy/chanspy_barge/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/chanspy/chanspy_barge/test-config.yaml?view=diff&rev=692&r1=691&r2=692
==============================================================================
--- asterisk/trunk/tests/chanspy/chanspy_barge/test-config.yaml (original)
+++ asterisk/trunk/tests/chanspy/chanspy_barge/test-config.yaml Tue Aug  3 16:49:41 2010
@@ -5,9 +5,10 @@
          barge option set. MixMonitor is used to record the audio on the
          spied on channel to verify the barging spy channel audio is received.  
          Also, since the Wait() application is used during barge, this verifies 
-         that the default behavior of transmitting silence during ast_safe_sleep remains. 
-         Without transmitting silence during wait, the barge audio will not be mixed and
-         this test will fail.'
+         that the behavior of transmitting silence during ast_safe_sleep works with
+         transmit_silence=yes configured in asterisk.conf. Without transmitting
+         silence during wait, the barge audio will not be mixed and this test will
+         fail.'
 
 properties:
     minversion: '1.6.2'




More information about the asterisk-commits mailing list