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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jun 13 17:55:06 CDT 2013


Author: mjordan
Date: Thu Jun 13 17:55:05 2013
New Revision: 3850

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3850
Log:
Add CDR checks to a variety of Dial tests

This patch adds more CDR checks to Dial tests for Asterisk 12.

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_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=3850&r1=3849&r2=3850
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_answer/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_answer/test-config.yaml Thu Jun 13 17:55:05 2013
@@ -21,6 +21,10 @@
             minversion: '11.0.0'
             maxversion: '12.0.0'
             config-section: 'cdr-config-11'
+            typename: 'cdr.CDRModule'
+        -
+            minversion: '12.0.0'
+            config-section: 'cdr-config-12'
             typename: 'cdr.CDRModule'
         -
             minversion: '12.0.0'
@@ -55,6 +59,30 @@
                 disposition: 'ANSWERED'
                 amaflags: 'DOCUMENTATION'
 
+cdr-config-12:
+    -
+        file: 'Master'
+        lines:
+            -
+                accountcode: ''
+                destination: 's'
+                dcontext: 'default'
+                callerid: '"" <>'
+                channel: 'Local/s at default-.{8};1'
+                dchannel: ''
+                lastapp: 'Echo'
+                disposition: 'ANSWERED'
+                amaflags: 'DOCUMENTATION'
+            -
+                accountcode: ''
+                destination: 's'
+                dcontext: 'default'
+                callerid: '"" <>'
+                channel: 'Local/s at default-.{8};2'
+                dchannel: 'SIP/charlie-.{8}'
+                lastapp: 'Dial'
+                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=3850&r1=3849&r2=3850
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_busy/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_busy/test-config.yaml Thu Jun 13 17:55:05 2013
@@ -24,6 +24,10 @@
             typename: 'cdr.CDRModule'
         -
             minversion: '12.0.0'
+            config-section: 'cdr-config-12'
+            typename: 'cdr.CDRModule'
+        -
+            minversion: '12.0.0'
             config-section: ami-config-12
             typename: 'ami.AMIEventModule'
         -
@@ -42,6 +46,21 @@
                 channel: 'Local/s at default-.{8};2'
                 dchannel: 'SIP/bob-.{8}'
                 lastapp: 'Hangup'
+                disposition: 'BUSY'
+                amaflags: 'DOCUMENTATION'
+
+cdr-config-12:
+    -
+        file: 'Master'
+        lines:
+            -
+                accountcode: ''
+                destination: 's'
+                dcontext: 'default'
+                callerid: '"" <>'
+                channel: 'Local/s at default-.{8};2'
+                dchannel: 'SIP/bob-.{8}'
+                lastapp: 'Dial'
                 disposition: 'BUSY'
                 amaflags: 'DOCUMENTATION'
 

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=3850&r1=3849&r2=3850
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_congestion/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_congestion/test-config.yaml Thu Jun 13 17:55:05 2013
@@ -24,6 +24,10 @@
             typename: 'cdr.CDRModule'
         -
             minversion: '12.0.0'
+            config-section: cdr-config-12
+            typename: 'cdr.CDRModule'
+        -
+            minversion: '12.0.0'
             config-section: ami-config-12
             typename: 'ami.AMIEventModule'
         -
@@ -42,6 +46,21 @@
                 channel: 'Local/s at default-.{8};2'
                 dchannel: 'SIP/bob-.{8}'
                 lastapp: 'Hangup'
+                disposition: 'FAILED'
+                amaflags: 'DOCUMENTATION'
+
+cdr-config-12:
+    -
+        file: 'Master'
+        lines:
+            -
+                accountcode: ''
+                destination: 's'
+                dcontext: 'default'
+                callerid: '"" <>'
+                channel: 'Local/s at default-.{8};2'
+                dchannel: 'SIP/bob-.{8}'
+                lastapp: 'Dial'
                 disposition: 'FAILED'
                 amaflags: 'DOCUMENTATION'
 

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=3850&r1=3849&r2=3850
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_hangup/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_hangup/test-config.yaml Thu Jun 13 17:55:05 2013
@@ -26,6 +26,10 @@
             config-section: cdr-config-11
             typename: 'cdr.CDRModule'
         -
+            minversion: '12.0.0'
+            config-section: cdr-config-12
+            typename: 'cdr.CDRModule'
+        -
             minversion: '11.0.0'
             maxversion: '12.0.0'
             config-section: ami-config-11
@@ -47,6 +51,21 @@
                 destination: 's'
                 dcontext: 'default'
                 callerid: ''
+                channel: 'Local/s at default-.{8};2'
+                dchannel: 'SIP/charlie-.{8}'
+                lastapp: 'Dial'
+                disposition: 'NO ANSWER'
+                amaflags: 'DOCUMENTATION'
+
+cdr-config-12:
+    -
+        file: 'Master'
+        lines:
+            -
+                accountcode: ''
+                destination: 's'
+                dcontext: 'default'
+                callerid: '"" <>'
                 channel: 'Local/s at default-.{8};2'
                 dchannel: 'SIP/charlie-.{8}'
                 lastapp: 'Dial'

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=3850&r1=3849&r2=3850
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_no_answer/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_no_answer/test-config.yaml Thu Jun 13 17:55:05 2013
@@ -24,6 +24,10 @@
             typename: 'cdr.CDRModule'
         -
             minversion: '12.0.0'
+            config-section: cdr-config-12
+            typename: 'cdr.CDRModule'
+        -
+            minversion: '12.0.0'
             config-section: ami-config-12
             typename: 'ami.AMIEventModule'
         -
@@ -43,6 +47,21 @@
                 dchannel: 'SIP/bob-.{8}'
                 lastapp: 'Hangup'
                 disposition: 'FAILED'
+                amaflags: 'DOCUMENTATION'
+
+cdr-config-12:
+    -
+        file: 'Master'
+        lines:
+            -
+                accountcode: ''
+                destination: 's'
+                dcontext: 'default'
+                callerid: '"" <>'
+                channel: 'Local/s at default-.{8};2'
+                dchannel: 'SIP/bob-.{8}'
+                lastapp: 'Dial'
+                disposition: 'NO ANSWER'
                 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=3850&r1=3849&r2=3850
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_timeout/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_timeout/test-config.yaml Thu Jun 13 17:55:05 2013
@@ -26,6 +26,10 @@
             typename: 'cdr.CDRModule'
         -
             minversion: '12.0.0'
+            config-section: cdr-config-12
+            typename: 'cdr.CDRModule'
+        -
+            minversion: '12.0.0'
             config-section: ami-config-12
             typename: 'ami.AMIEventModule'
         -
@@ -44,6 +48,21 @@
                 channel: 'Local/s at default-.{8};2'
                 dchannel: 'SIP/bob-.{8}'
                 lastapp: 'Hangup'
+                disposition: 'NO ANSWER'
+                amaflags: 'DOCUMENTATION'
+
+cdr-config-12:
+    -
+        file: 'Master'
+        lines:
+            -
+                accountcode: ''
+                destination: 's'
+                dcontext: 'default'
+                callerid: '"" <>'
+                channel: 'Local/s at default-.{8};2'
+                dchannel: 'SIP/bob-.{8}'
+                lastapp: 'Dial'
                 disposition: 'NO ANSWER'
                 amaflags: 'DOCUMENTATION'
 

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=3850&r1=3849&r2=3850
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_unavail/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_unavail/test-config.yaml Thu Jun 13 17:55:05 2013
@@ -24,6 +24,10 @@
             typename: 'cdr.CDRModule'
         -
             minversion: '12.0.0'
+            config-section: cdr-config-12
+            typename: 'cdr.CDRModule'
+        -
+            minversion: '12.0.0'
             config-section: ami-config-12
             typename: 'ami.AMIEventModule'
         -
@@ -42,6 +46,21 @@
                 channel: 'Local/s at default-.{8};2'
                 dchannel: 'SIP/bob-.{8}'
                 lastapp: 'Hangup'
+                disposition: 'FAILED'
+                amaflags: 'DOCUMENTATION'
+
+cdr-config-12:
+    -
+        file: 'Master'
+        lines:
+            -
+                accountcode: ''
+                destination: 's'
+                dcontext: 'default'
+                callerid: '"" <>'
+                channel: 'Local/s at default-.{8};2'
+                dchannel: 'SIP/bob-.{8}'
+                lastapp: 'Dial'
                 disposition: 'FAILED'
                 amaflags: 'DOCUMENTATION'
 




More information about the asterisk-commits mailing list