[asterisk-commits] mjordan: testsuite/asterisk/trunk r3839 - in /asterisk/trunk/tests/apps/dial:...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jun 11 12:43:38 CDT 2013


Author: mjordan
Date: Tue Jun 11 12:43:36 2013
New Revision: 3839

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3839
Log:
Add basic CDR checking to dial tests for Asterisk 11

Modified:
    asterisk/trunk/tests/apps/dial/dial_answer/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_busy/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_congestion/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_dtmf_hangup_cancel/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_hangup/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_no_answer/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_timeout/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_unavail/test-config.yaml

Modified: asterisk/trunk/tests/apps/dial/dial_answer/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_answer/test-config.yaml?view=diff&rev=3839&r1=3838&r2=3839
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_answer/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_answer/test-config.yaml Tue Jun 11 12:43:36 2013
@@ -18,12 +18,43 @@
         typename: 'sipp.SIPpTestCase'
     modules:
         -
+            minversion: '11.0.0'
+            maxversion: '12.0.0'
+            config-section: 'cdr-config-11'
+            typename: 'cdr.CDRModule'
+        -
             minversion: '12.0.0'
             config-section: ami-config-12
             typename: 'ami.AMIEventModule'
         -
             config-section: originator-config
             typename: 'PluggableModules.Originator'
+
+cdr-config-11:
+    -
+        file: 'Master'
+        lines:
+            -
+                accountcode: ''
+                destination: 's'
+                dcontext: 'default'
+                callerid: ''
+                channel: 'Local/s at default-.{8};2'
+                dchannel: 'SIP/charlie-.{8}'
+                lastapp: 'Dial'
+                disposition: 'ANSWERED'
+                amaflags: 'DOCUMENTATION'
+            -
+                accountcode: ''
+                destination: 's'
+                dcontext: 'default'
+                callerid: ''
+                channel: 'Local/s at default-.{8};1'
+                dchannel: ''
+                lastapp: 'Echo'
+                disposition: 'ANSWERED'
+                amaflags: 'DOCUMENTATION'
+
 
 ami-config-12:
     -

Modified: asterisk/trunk/tests/apps/dial/dial_busy/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_busy/test-config.yaml?view=diff&rev=3839&r1=3838&r2=3839
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_busy/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_busy/test-config.yaml Tue Jun 11 12:43:36 2013
@@ -18,12 +18,32 @@
         typename: 'sipp.SIPpTestCase'
     modules:
         -
+            minversion: '11.0.0'
+            maxversion: '12.0.0'
+            config-section: 'cdr-config-11'
+            typename: 'cdr.CDRModule'
+        -
             minversion: '12.0.0'
             config-section: ami-config-12
             typename: 'ami.AMIEventModule'
         -
             config-section: originator-config
             typename: 'PluggableModules.Originator'
+
+cdr-config-11:
+    -
+        file: 'Master'
+        lines:
+            -
+                accountcode: ''
+                destination: 's'
+                dcontext: 'default'
+                callerid: ''
+                channel: 'Local/s at default-.{8};2'
+                dchannel: 'SIP/bob-.{8}'
+                lastapp: 'Hangup'
+                disposition: 'BUSY'
+                amaflags: 'DOCUMENTATION'
 
 ami-config-12:
     -

Modified: asterisk/trunk/tests/apps/dial/dial_congestion/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_congestion/test-config.yaml?view=diff&rev=3839&r1=3838&r2=3839
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_congestion/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_congestion/test-config.yaml Tue Jun 11 12:43:36 2013
@@ -18,12 +18,32 @@
         typename: 'sipp.SIPpTestCase'
     modules:
         -
+            minversion: '11.0.0'
+            maxversion: '12.0.0'
+            config-section: cdr-config-11
+            typename: 'cdr.CDRModule'
+        -
             minversion: '12.0.0'
             config-section: ami-config-12
             typename: 'ami.AMIEventModule'
         -
             config-section: originator-config
             typename: 'PluggableModules.Originator'
+
+cdr-config-11:
+    -
+        file: 'Master'
+        lines:
+            -
+                accountcode: ''
+                destination: 's'
+                dcontext: 'default'
+                callerid: ''
+                channel: 'Local/s at default-.{8};2'
+                dchannel: 'SIP/bob-.{8}'
+                lastapp: 'Hangup'
+                disposition: 'FAILED'
+                amaflags: 'DOCUMENTATION'
 
 ami-config-12:
     -

Modified: asterisk/trunk/tests/apps/dial/dial_dtmf_hangup_cancel/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_dtmf_hangup_cancel/test-config.yaml?view=diff&rev=3839&r1=3838&r2=3839
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_dtmf_hangup_cancel/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_dtmf_hangup_cancel/test-config.yaml Tue Jun 11 12:43:36 2013
@@ -23,6 +23,11 @@
         -
             minversion: '11.0.0'
             maxversion: '12.0.0'
+            config-section: cdr-config-11
+            typename: 'cdr.CDRModule'
+        -
+            minversion: '11.0.0'
+            maxversion: '12.0.0'
             config-section: ami-config-11
             typename: 'ami.AMIEventModule'
         -
@@ -32,6 +37,21 @@
         -
             config-section: originator-config
             typename: 'PluggableModules.Originator'
+
+cdr-config-11:
+    -
+        file: 'Master'
+        lines:
+            -
+                accountcode: ''
+                destination: 's'
+                dcontext: 'default'
+                callerid: ''
+                channel: 'Local/s at default-.{8};2'
+                dchannel: 'SIP/bob-.{8}'
+                lastapp: 'Hangup'
+                disposition: 'NO ANSWER'
+                amaflags: 'DOCUMENTATION'
 
 ami-config-11:
     -

Modified: asterisk/trunk/tests/apps/dial/dial_hangup/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_hangup/test-config.yaml?view=diff&rev=3839&r1=3838&r2=3839
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_hangup/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_hangup/test-config.yaml Tue Jun 11 12:43:36 2013
@@ -23,6 +23,11 @@
         -
             minversion: '11.0.0'
             maxversion: '12.0.0'
+            config-section: cdr-config-11
+            typename: 'cdr.CDRModule'
+        -
+            minversion: '11.0.0'
+            maxversion: '12.0.0'
             config-section: ami-config-11
             typename: 'ami.AMIEventModule'
         -
@@ -32,6 +37,21 @@
         -
             config-section: originator-config
             typename: 'PluggableModules.Originator'
+
+cdr-config-11:
+    -
+        file: 'Master'
+        lines:
+            -
+                accountcode: ''
+                destination: 's'
+                dcontext: 'default'
+                callerid: ''
+                channel: 'Local/s at default-.{8};2'
+                dchannel: 'SIP/charlie-.{8}'
+                lastapp: 'Dial'
+                disposition: 'NO ANSWER'
+                amaflags: 'DOCUMENTATION'
 
 ami-config-11:
     -

Modified: asterisk/trunk/tests/apps/dial/dial_no_answer/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_no_answer/test-config.yaml?view=diff&rev=3839&r1=3838&r2=3839
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_no_answer/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_no_answer/test-config.yaml Tue Jun 11 12:43:36 2013
@@ -18,12 +18,32 @@
         typename: 'sipp.SIPpTestCase'
     modules:
         -
+            minversion: '11.0.0'
+            maxversion: '12.0.0'
+            config-section: cdr-config-11
+            typename: 'cdr.CDRModule'
+        -
             minversion: '12.0.0'
             config-section: ami-config-12
             typename: 'ami.AMIEventModule'
         -
             config-section: originator-config
             typename: 'PluggableModules.Originator'
+
+cdr-config-11:
+    -
+        file: 'Master'
+        lines:
+            -
+                accountcode: ''
+                destination: 's'
+                dcontext: 'default'
+                callerid: ''
+                channel: 'Local/s at default-.{8};2'
+                dchannel: 'SIP/bob-.{8}'
+                lastapp: 'Hangup'
+                disposition: 'FAILED'
+                amaflags: 'DOCUMENTATION'
 
 ami-config-12:
     -

Modified: asterisk/trunk/tests/apps/dial/dial_timeout/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_timeout/test-config.yaml?view=diff&rev=3839&r1=3838&r2=3839
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_timeout/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_timeout/test-config.yaml Tue Jun 11 12:43:36 2013
@@ -20,12 +20,32 @@
         typename: 'sipp.SIPpTestCase'
     modules:
         -
+            minversion: '11.0.0'
+            maxversion: '12.0.0'
+            config-section: cdr-config-11
+            typename: 'cdr.CDRModule'
+        -
             minversion: '12.0.0'
             config-section: ami-config-12
             typename: 'ami.AMIEventModule'
         -
             config-section: originator-config
             typename: 'PluggableModules.Originator'
+
+cdr-config-11:
+    -
+        file: 'Master'
+        lines:
+            -
+                accountcode: ''
+                destination: 's'
+                dcontext: 'default'
+                callerid: ''
+                channel: 'Local/s at default-.{8};2'
+                dchannel: 'SIP/bob-.{8}'
+                lastapp: 'Hangup'
+                disposition: 'NO ANSWER'
+                amaflags: 'DOCUMENTATION'
 
 ami-config-12:
     -

Modified: asterisk/trunk/tests/apps/dial/dial_unavail/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_unavail/test-config.yaml?view=diff&rev=3839&r1=3838&r2=3839
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_unavail/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_unavail/test-config.yaml Tue Jun 11 12:43:36 2013
@@ -18,12 +18,32 @@
         typename: 'sipp.SIPpTestCase'
     modules:
         -
+            minversion: '11.0.0'
+            maxversion: '12.0.0'
+            config-section: cdr-config-11
+            typename: 'cdr.CDRModule'
+        -
             minversion: '12.0.0'
             config-section: ami-config-12
             typename: 'ami.AMIEventModule'
         -
             config-section: originator-config
             typename: 'PluggableModules.Originator'
+
+cdr-config-11:
+    -
+        file: 'Master'
+        lines:
+            -
+                accountcode: ''
+                destination: 's'
+                dcontext: 'default'
+                callerid: ''
+                channel: 'Local/s at default-.{8};2'
+                dchannel: 'SIP/bob-.{8}'
+                lastapp: 'Hangup'
+                disposition: 'FAILED'
+                amaflags: 'DOCUMENTATION'
 
 ami-config-12:
     -




More information about the asterisk-commits mailing list