[svn-commits] twilson: testsuite/asterisk/trunk r337 - /asterisk/trunk/tests/cdr/console_fo...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jun 3 23:10:51 CDT 2010


Author: twilson
Date: Thu Jun  3 23:10:47 2010
New Revision: 337

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=337
Log:
Don't stop asterisk before we get the event we want :-)

Modified:
    asterisk/trunk/tests/cdr/console_fork_before_dial/run-test

Modified: asterisk/trunk/tests/cdr/console_fork_before_dial/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/cdr/console_fork_before_dial/run-test?view=diff&rev=337&r1=336&r2=337
==============================================================================
--- asterisk/trunk/tests/cdr/console_fork_before_dial/run-test (original)
+++ asterisk/trunk/tests/cdr/console_fork_before_dial/run-test Thu Jun  3 23:10:47 2010
@@ -64,10 +64,10 @@
             reactor.stop()
 
     def end(self, ami, event):
-        self.stop_asterisk()
-
         if event.get('channel').lower() != "console/dsp":
             return
+        
+        self.stop_asterisk()
 
         cdr1 = AsteriskCSVCDR(fn="%s/var/log/asterisk/cdr-csv/Master.csv" % (self.asterisk1.base))
         cdr2 = AsteriskCSVCDR(fn="%s/var/log/asterisk/cdr-csv/Master.csv" % (self.asterisk2.base))




More information about the svn-commits mailing list