[asterisk-commits] mjordan: testsuite/asterisk/trunk r3750 - /asterisk/trunk/tests/apps/chanspy/...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri May 3 11:59:24 CDT 2013


Author: mjordan
Date: Fri May  3 11:59:22 2013
New Revision: 3750

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3750
Log:
Log when we get a ChanSpyStart event

Again, this is helpful.

Modified:
    asterisk/trunk/tests/apps/chanspy/chanspy_w_mixmonitor/run-test

Modified: asterisk/trunk/tests/apps/chanspy/chanspy_w_mixmonitor/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/chanspy/chanspy_w_mixmonitor/run-test?view=diff&rev=3750&r1=3749&r2=3750
==============================================================================
--- asterisk/trunk/tests/apps/chanspy/chanspy_w_mixmonitor/run-test (original)
+++ asterisk/trunk/tests/apps/chanspy/chanspy_w_mixmonitor/run-test Fri May  3 11:59:22 2013
@@ -68,6 +68,7 @@
 
     def chanspyEvent(self, ami, event):
         self.numSpyEvents += 1
+        self.logLastStep('Received ChanSpyStart event for %s' % event['spyeechannel'])
         if event['spyeechannel'].count('end_a') > 0:
             reactor.callLater(1, self.aHangup)
             reactor.callLater(3, self.bCall)
@@ -77,7 +78,6 @@
         if event['spyeechannel'].count('end_c') > 0:
             reactor.callLater(2, self.cHangup)
             reactor.callLater(3, self.hangupChanSpy)
-        print event
 
     def amiOnConnect(self, ami):
         self.logLastStep("Connected to the AMI")




More information about the asterisk-commits mailing list