[asterisk-commits] mjordan: testsuite/asterisk/trunk r3795 - /asterisk/trunk/tests/bridge/transf...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon May 20 16:00:46 CDT 2013


Author: mjordan
Date: Mon May 20 16:00:43 2013
New Revision: 3795

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3795
Log:
Listen for DTMFEnd events in Asterisk 12

This probably wont' fix all of this test's failures, but it will
at least pick up some of the DTMF digits.

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

Modified: asterisk/trunk/tests/bridge/transfer_failure/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/bridge/transfer_failure/test-config.yaml?view=diff&rev=3795&r1=3794&r2=3795
==============================================================================
--- asterisk/trunk/tests/bridge/transfer_failure/test-config.yaml (original)
+++ asterisk/trunk/tests/bridge/transfer_failure/test-config.yaml Mon May 20 16:00:43 2013
@@ -18,8 +18,13 @@
         typename: 'BridgeTestCase.BridgeTestCase'
     modules:
         -
-            config-section: 'ami-config'
+            config-section: 'ami-config-11'
             typename: 'ami.AMIEventModule'
+            maxversion: '12'
+        -
+            config-section: 'ami-config-12'
+            typename: 'ami.AMIEventModule'
+            minversion: '12'
         -
             config-section: 'cel-config'
             typename: 'cel.CELModule'
@@ -66,7 +71,7 @@
                 success: 'true'
                 exten: '77'
 
-ami-config:
+ami-config-11:
     -
         type: 'headermatch'
         conditions:
@@ -84,6 +89,23 @@
                 End: 'Yes'
         count: '8'
 
+ami-config-12:
+    -
+        type: 'headermatch'
+        conditions:
+            match:
+                Event: 'VarSet'
+                Variable: 'BLINDTRANSFER'
+        count: '0'
+    -
+        type: 'headermatch'
+        conditions:
+            match:
+                Event: 'DTMFEnd'
+                Digit: '7'
+                Direction: 'Received'
+        count: '8'
+
 cel-config:
     -
         file: 'Master'




More information about the asterisk-commits mailing list