[asterisk-commits] mjordan: testsuite/asterisk/trunk r4057 - /asterisk/trunk/tests/apps/bridge/b...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Aug 22 09:32:27 CDT 2013


Author: mjordan
Date: Thu Aug 22 09:32:25 2013
New Revision: 4057

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=4057
Log:
Update bridge_baseline test for Asterisk 1.8

The AMI event for a bridge unlink is different in 1.8 than in 11. This patch updates
the test to look for the right event.

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

Modified: asterisk/trunk/tests/apps/bridge/bridge_baseline/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/bridge/bridge_baseline/test-config.yaml?view=diff&rev=4057&r1=4056&r2=4057
==============================================================================
--- asterisk/trunk/tests/apps/bridge/bridge_baseline/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/bridge/bridge_baseline/test-config.yaml Thu Aug 22 09:32:25 2013
@@ -12,8 +12,14 @@
             config-section: originator-config
             typename: 'PluggableModules.Originator'
         -
+            minversion: '1.8.0.0'
+            maxversion: '10.0.0'
+            config-section: ami-config-1.8
+            typename: 'ami.AMIEventModule'
+        -
+            minversion: '11.0.0'
             maxversion: '12.0.0'
-            config-section: ami-config-pre-12
+            config-section: ami-config-11
             typename: 'ami.AMIEventModule'
         -
             maxversion: '12.0.0'
@@ -68,7 +74,23 @@
             Bridgestate: 'Link'
             Bridgetype: 'core'
 
-ami-config-pre-12:
+ami-config-1.8:
+    -
+        type: 'headermatch'
+        conditions:
+            match:
+                Event: 'Bridge'
+                Bridgestate: 'Link'
+                Bridgetype: 'core'
+        count: '1'
+    -
+        type: 'headermatch'
+        conditions:
+            match:
+                Event: 'Unlink'
+        count: '1'
+
+ami-config-11:
     -
         type: 'headermatch'
         conditions:




More information about the asterisk-commits mailing list