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

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


Author: mjordan
Date: Fri May  3 11:47:26 2013
New Revision: 3749

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3749
Log:
Make a note of when we receive a ChanSpyStart event

It's just polite.

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

Modified: asterisk/trunk/tests/apps/chanspy/chanspy_barge/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/chanspy/chanspy_barge/run-test?view=diff&rev=3749&r1=3748&r2=3749
==============================================================================
--- asterisk/trunk/tests/apps/chanspy/chanspy_barge/run-test (original)
+++ asterisk/trunk/tests/apps/chanspy/chanspy_barge/run-test Fri May  3 11:47:26 2013
@@ -76,11 +76,11 @@
         df.addCallback(__finish_stop)
 
     def chanspyEvent(self, ami, event):
+        self.logLastStep('Received ChanSpyStart event')
         self.numSpyEvents += 1
         if event['spyeechannel'].count('end_a') > 0:
             reactor.callLater(3, self.aHangup)
             reactor.callLater(4, self.bHangup)
-        print event
 
     def amiOnConnect(self, ami):
         self.logLastStep("Connected to the AMI")




More information about the asterisk-commits mailing list