[asterisk-commits] mmichelson: branch mmichelson/bridge-tests r3413 - in /asterisk/team/mmichels...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Aug 7 15:13:25 CDT 2012
Author: mmichelson
Date: Tue Aug 7 15:13:21 2012
New Revision: 3413
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3413
Log:
Add CDR checking to bridge tests written so far.
Modified:
asterisk/team/mmichelson/bridge-tests/tests/bridge/atxfer/test-config.yaml
asterisk/team/mmichelson/bridge-tests/tests/bridge/automixmon/test-config.yaml
asterisk/team/mmichelson/bridge-tests/tests/bridge/automon/test-config.yaml
asterisk/team/mmichelson/bridge-tests/tests/bridge/blindxfer/test-config.yaml
asterisk/team/mmichelson/bridge-tests/tests/bridge/disconnect/test-config.yaml
asterisk/team/mmichelson/bridge-tests/tests/bridge/simple_bridge/test-config.yaml
Modified: asterisk/team/mmichelson/bridge-tests/tests/bridge/atxfer/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/mmichelson/bridge-tests/tests/bridge/atxfer/test-config.yaml?view=diff&rev=3413&r1=3412&r2=3413
==============================================================================
--- asterisk/team/mmichelson/bridge-tests/tests/bridge/atxfer/test-config.yaml (original)
+++ asterisk/team/mmichelson/bridge-tests/tests/bridge/atxfer/test-config.yaml Tue Aug 7 15:13:21 2012
@@ -9,6 +9,10 @@
test-object:
config-section: bridge-config
typename: 'BridgeTestCase.BridgeTestCase'
+ modules:
+ -
+ config-section: 'cdr-config'
+ typename: 'cdr.CDRModule'
bridge-config:
-
@@ -48,6 +52,41 @@
what: 'atxfer'
success: 'true'
+cdr-config:
+ -
+ file: 'Master'
+ lines:
+ -
+ source: '1234'
+ destination: 'alice_atxfer'
+ dcontext: 'default'
+ callerid: '"Alice" <1234>'
+ channel: '.*/alice-.*'
+ dchannel: '.*/bob-.*'
+ lastapp: 'Dial'
+ disposition: 'ANSWERED'
+ amaflags: 'DOCUMENTATION'
+ -
+ source: '1234'
+ destination: 'alice_atxfer2'
+ dcontext: 'default'
+ callerid: '"Alice" <1234>'
+ channel: '.*/alice-.*'
+ dchannel: '.*/bob-.*'
+ lastapp: 'Dial'
+ disposition: 'ANSWERED'
+ amaflags: 'DOCUMENTATION'
+ -
+ source: '1234'
+ destination: 'bob_atxfer'
+ dcontext: 'default'
+ callerid: '"Alice" <1234>'
+ channel: '.*/alice-.*'
+ dchannel: '.*/bob-.*'
+ lastapp: 'Dial'
+ disposition: 'ANSWERED'
+ amaflags: 'DOCUMENTATION'
+
properties:
minversion: '11.0.0'
dependencies:
Modified: asterisk/team/mmichelson/bridge-tests/tests/bridge/automixmon/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/mmichelson/bridge-tests/tests/bridge/automixmon/test-config.yaml?view=diff&rev=3413&r1=3412&r2=3413
==============================================================================
--- asterisk/team/mmichelson/bridge-tests/tests/bridge/automixmon/test-config.yaml (original)
+++ asterisk/team/mmichelson/bridge-tests/tests/bridge/automixmon/test-config.yaml Tue Aug 7 15:13:21 2012
@@ -9,6 +9,10 @@
test-object:
config-section: bridge-config
typename: 'BridgeTestCase.BridgeTestCase'
+ modules:
+ -
+ config-section: 'cdr-config'
+ typename: 'cdr.CDRModule'
bridge-config:
-
@@ -36,6 +40,31 @@
what: 'automixmon'
success: 'true'
+cdr-config:
+-
+ file: 'Master'
+ lines:
+ -
+ source: '1234'
+ destination: 'alice_automixmon'
+ dcontext: 'default'
+ callerid: '"Alice" <1234>'
+ channel: '.*/alice-.*'
+ dchannel: '.*/bob-.*'
+ lastapp: 'Dial'
+ disposition: 'ANSWERED'
+ amaflags: 'DOCUMENTATION'
+ -
+ source: '1234'
+ destination: 'bob_automixmon'
+ dcontext: 'default'
+ callerid: '"Alice" <1234>'
+ channel: '.*/alice-.*'
+ dchannel: '.*/bob-.*'
+ lastapp: 'Dial'
+ disposition: 'ANSWERED'
+ amaflags: 'DOCUMENTATION'
+
properties:
minversion: '11.0.0'
dependencies:
Modified: asterisk/team/mmichelson/bridge-tests/tests/bridge/automon/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/mmichelson/bridge-tests/tests/bridge/automon/test-config.yaml?view=diff&rev=3413&r1=3412&r2=3413
==============================================================================
--- asterisk/team/mmichelson/bridge-tests/tests/bridge/automon/test-config.yaml (original)
+++ asterisk/team/mmichelson/bridge-tests/tests/bridge/automon/test-config.yaml Tue Aug 7 15:13:21 2012
@@ -9,6 +9,10 @@
test-object:
config-section: bridge-config
typename: 'BridgeTestCase.BridgeTestCase'
+ modules:
+ -
+ config-section: 'cdr-config'
+ typename: 'cdr.CDRModule'
bridge-config:
-
@@ -48,6 +52,41 @@
what: 'automon'
success: 'true'
+cdr-config:
+ -
+ file: 'Master'
+ lines:
+ -
+ source: '1234'
+ destination: 'alice_automon'
+ dcontext: 'default'
+ callerid: '"Alice" <1234>'
+ channel: '.*/alice-.*'
+ dchannel: '.*/bob-.*'
+ lastapp: 'Dial'
+ disposition: 'ANSWERED'
+ amaflags: 'DOCUMENTATION'
+ -
+ source: '1234'
+ destination: 'alice_automon2'
+ dcontext: 'default'
+ callerid: '"Alice" <1234>'
+ channel: '.*/alice-.*'
+ dchannel: '.*/bob-.*'
+ lastapp: 'Dial'
+ disposition: 'ANSWERED'
+ amaflags: 'DOCUMENTATION'
+ -
+ source: '1234'
+ destination: 'bob_automon'
+ dcontext: 'default'
+ callerid: '"Alice" <1234>'
+ channel: '.*/alice-.*'
+ dchannel: '.*/bob-.*'
+ lastapp: 'Dial'
+ disposition: 'ANSWERED'
+ amaflags: 'DOCUMENTATION'
+
properties:
minversion: '11.0.0'
dependencies:
Modified: asterisk/team/mmichelson/bridge-tests/tests/bridge/blindxfer/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/mmichelson/bridge-tests/tests/bridge/blindxfer/test-config.yaml?view=diff&rev=3413&r1=3412&r2=3413
==============================================================================
--- asterisk/team/mmichelson/bridge-tests/tests/bridge/blindxfer/test-config.yaml (original)
+++ asterisk/team/mmichelson/bridge-tests/tests/bridge/blindxfer/test-config.yaml Tue Aug 7 15:13:21 2012
@@ -9,6 +9,10 @@
test-object:
config-section: bridge-config
typename: 'BridgeTestCase.BridgeTestCase'
+ modules:
+ -
+ config-section: 'cdr-config'
+ typename: 'cdr.CDRModule'
bridge-config:
-
@@ -48,6 +52,41 @@
what: 'blindxfer'
success: 'true'
+cdr-config:
+ -
+ file: 'Master'
+ lines:
+ -
+ source: '1234'
+ destination: 'alice_blindxfer'
+ dcontext: 'default'
+ callerid: '"Alice" <1234>'
+ channel: '.*/alice-.*'
+ dchannel: '.*/bob-.*'
+ lastapp: 'Dial'
+ disposition: 'ANSWERED'
+ amaflags: 'DOCUMENTATION'
+ -
+ source: '1234'
+ destination: 'alice_blindxfer2'
+ dcontext: 'default'
+ callerid: '"Alice" <1234>'
+ channel: '.*/alice-.*'
+ dchannel: '.*/bob-.*'
+ lastapp: 'Dial'
+ disposition: 'ANSWERED'
+ amaflags: 'DOCUMENTATION'
+ -
+ source: '1234'
+ destination: 'bob_blindxfer'
+ dcontext: 'default'
+ callerid: '"Alice" <1234>'
+ channel: '.*/alice-.*'
+ dchannel: '.*/bob-.*'
+ lastapp: 'Dial'
+ disposition: 'ANSWERED'
+ amaflags: 'DOCUMENTATION'
+
properties:
minversion: '11.0.0'
dependencies:
Modified: asterisk/team/mmichelson/bridge-tests/tests/bridge/disconnect/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/mmichelson/bridge-tests/tests/bridge/disconnect/test-config.yaml?view=diff&rev=3413&r1=3412&r2=3413
==============================================================================
--- asterisk/team/mmichelson/bridge-tests/tests/bridge/disconnect/test-config.yaml (original)
+++ asterisk/team/mmichelson/bridge-tests/tests/bridge/disconnect/test-config.yaml Tue Aug 7 15:13:21 2012
@@ -8,6 +8,10 @@
test-object:
config-section: bridge-config
typename: 'BridgeTestCase.BridgeTestCase'
+ modules:
+ -
+ config-section: 'cdr-config'
+ typename: 'cdr.CDRModule'
bridge-config:
-
@@ -43,6 +47,40 @@
who: 'bob'
what: 'disconnect'
success: 'true'
+cdr-config:
+ -
+ file: 'Master'
+ lines:
+ -
+ source: '1234'
+ destination: 'alice_disconnect'
+ dcontext: 'default'
+ callerid: '"Alice" <1234>'
+ channel: '.*/alice-.*'
+ dchannel: '.*/bob-.*'
+ lastapp: 'Dial'
+ disposition: 'ANSWERED'
+ amaflags: 'DOCUMENTATION'
+ -
+ source: '1234'
+ destination: 'alice_disconnect2'
+ dcontext: 'default'
+ callerid: '"Alice" <1234>'
+ channel: '.*/alice-.*'
+ dchannel: '.*/bob-.*'
+ lastapp: 'Dial'
+ disposition: 'ANSWERED'
+ amaflags: 'DOCUMENTATION'
+ -
+ source: '1234'
+ destination: 'bob_disconnect'
+ dcontext: 'default'
+ callerid: '"Alice" <1234>'
+ channel: '.*/alice-.*'
+ dchannel: '.*/bob-.*'
+ lastapp: 'Dial'
+ disposition: 'ANSWERED'
+ amaflags: 'DOCUMENTATION'
properties:
minversion: '11.0.0'
Modified: asterisk/team/mmichelson/bridge-tests/tests/bridge/simple_bridge/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/mmichelson/bridge-tests/tests/bridge/simple_bridge/test-config.yaml?view=diff&rev=3413&r1=3412&r2=3413
==============================================================================
--- asterisk/team/mmichelson/bridge-tests/tests/bridge/simple_bridge/test-config.yaml (original)
+++ asterisk/team/mmichelson/bridge-tests/tests/bridge/simple_bridge/test-config.yaml Tue Aug 7 15:13:21 2012
@@ -8,6 +8,10 @@
test-object:
config-section: bridge-config
typename: 'BridgeTestCase.BridgeTestCase'
+ modules:
+ -
+ config-section: 'cdr-config'
+ typename: 'cdr.CDRModule'
bridge-config:
-
@@ -17,6 +21,32 @@
originate_channel: 'SIP/test_call at uut'
hangup: 'bob'
+cdr-config:
+ -
+ file: 'Master'
+ lines:
+ -
+ source: '1234'
+ destination: 'test_call'
+ dcontext: 'default'
+ callerid: '"Alice" <1234>'
+ channel: '.*/alice-.*'
+ dchannel: '.*/bob-.*'
+ lastapp: 'Dial'
+ disposition: 'ANSWERED'
+ amaflags: 'DOCUMENTATION'
+ -
+ source: '1234'
+ destination: 'test_call'
+ dcontext: 'default'
+ callerid: '"Alice" <1234>'
+ channel: '.*/alice-.*'
+ dchannel: '.*/bob-.*'
+ lastapp: 'Dial'
+ disposition: 'ANSWERED'
+ amaflags: 'DOCUMENTATION'
+
+
properties:
minversion: '11.0.0'
dependencies:
More information about the asterisk-commits
mailing list