[asterisk-commits] mjordan: testsuite/asterisk/trunk r4651 - /asterisk/trunk/tests/feature_call_...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Feb 2 17:58:59 CST 2014


Author: mjordan
Date: Sun Feb  2 17:58:53 2014
New Revision: 4651

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=4651
Log:
feature_call_pickup: Correct channel variable usage in check_bridge_enter

In the handler for the BridgeEnter event, the 'channel2' variable was still
being used to  reference the pickup channel to hangup. In Asterisk 12,
this should have just been 'channel'. Note that the test still passed even
with this error; it would just time-out. This change now lets the test
run to completion and terminate itself appropriately.

Modified:
    asterisk/trunk/tests/feature_call_pickup/run-test

Modified: asterisk/trunk/tests/feature_call_pickup/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/feature_call_pickup/run-test?view=diff&rev=4651&r1=4650&r2=4651
==============================================================================
--- asterisk/trunk/tests/feature_call_pickup/run-test (original)
+++ asterisk/trunk/tests/feature_call_pickup/run-test Sun Feb  2 17:58:53 2014
@@ -72,7 +72,7 @@
         if self.pickerJoined and self.pickeeJoined:
             if self.pickupComplete:
                 self.set_passed(True)
-                self.ami[0].hangup(channel2).addCallback(self.hangup)
+                self.ami[0].hangup(channel).addCallback(self.hangup)
             else:
                 self.bridgeComplete = True
 




More information about the asterisk-commits mailing list