[asterisk-commits] twilson: testsuite/asterisk/trunk r290 - /asterisk/trunk/tests/cdr/console_di...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed May 12 00:40:17 CDT 2010


Author: twilson
Date: Wed May 12 00:40:13 2010
New Revision: 290

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=290
Log:
Fix hang possibility in this test as well

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

Modified: asterisk/trunk/tests/cdr/console_dial_sip_busy/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/cdr/console_dial_sip_busy/run-test?view=diff&rev=290&r1=289&r2=290
==============================================================================
--- asterisk/trunk/tests/cdr/console_dial_sip_busy/run-test (original)
+++ asterisk/trunk/tests/cdr/console_dial_sip_busy/run-test Wed May 12 00:40:13 2010
@@ -62,6 +62,9 @@
             reactor.stop()
 
     def end(self, ami, event):
+        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))




More information about the asterisk-commits mailing list