[asterisk-commits] dlee: branch dlee/matts-ari-patch r4146 - in /asterisk/team/dlee/matts-ari-pa...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Sep 10 13:39:03 CDT 2013
Author: dlee
Date: Tue Sep 10 13:39:02 2013
New Revision: 4146
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=4146
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.
........
Merged revisions 4057 from http://svn.asterisk.org/svn/testsuite/asterisk/trunk
Modified:
asterisk/team/dlee/matts-ari-patch/ (props changed)
asterisk/team/dlee/matts-ari-patch/tests/apps/bridge/bridge_baseline/test-config.yaml
Propchange: asterisk/team/dlee/matts-ari-patch/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Tue Sep 10 13:39:02 2013
@@ -1,1 +1,1 @@
-/asterisk/trunk:1-4047
+/asterisk/trunk:1-4064
Modified: asterisk/team/dlee/matts-ari-patch/tests/apps/bridge/bridge_baseline/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/dlee/matts-ari-patch/tests/apps/bridge/bridge_baseline/test-config.yaml?view=diff&rev=4146&r1=4145&r2=4146
==============================================================================
--- asterisk/team/dlee/matts-ari-patch/tests/apps/bridge/bridge_baseline/test-config.yaml (original)
+++ asterisk/team/dlee/matts-ari-patch/tests/apps/bridge/bridge_baseline/test-config.yaml Tue Sep 10 13:39:02 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