Author: mjordan
Date: Sat Nov 22 21:55:14 2014
New Revision: 5994

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=5994
Log:
bridge/atxfer_retries: Unilaterally kill all channels on scenario end

When the atxfer_retries test ends, it does properly hangup the 'test' channels
that it controls. However, because it dials several other channels in the test,
and those channels are transferred to different extensions, there are several
channels still active and not controlled by the AppTest framework active. When
Asterisk is shut down gracefully, the graceful shutdown fails and we end up
having to kill Asterisk.

This patch updates the test to send a 'Hangup all the channels' AMI action
just prior to scenario end. That causes all of the transferred channels to be
hung up as well.

Modified:
    asterisk/trunk/tests/bridge/atxfer_retries/test-config.yaml

Modified: asterisk/trunk/tests/bridge/atxfer_retries/test-config.yaml
URL: 
http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/bridge/atxfer_retries/test-config.yaml?view=diff&rev=5994&r1=5993&r2=5994
==============================================================================
--- asterisk/trunk/tests/bridge/atxfer_retries/test-config.yaml (original)
+++ asterisk/trunk/tests/bridge/atxfer_retries/test-config.yaml Sat Nov 22 
21:55:14 2014
@@ -180,6 +180,11 @@
                                     action-type: 'hangup'
                                     delay: 2
                                 -
+                                    action-type: 'send-ami-message'
+                                    fields:
+                                        Action: 'Hangup'
+                                        Channel: '/^Local/.*$/'
+                                -
                                     action-type: 'end-scenario'
 
 


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

svn-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/svn-commits

Reply via email to