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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Aug 26 22:09:33 CDT 2013


Author: mjordan
Date: Mon Aug 26 22:09:31 2013
New Revision: 4084

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=4084
Log:
Provide some additional determinism in the CDR tests

This does the following for various tests that check CDRs:
* For the actual CDR tests, it provides a sufficient delay after processing
  snapshot updates that the CDRs will actually get written to disk before
  Asterisk exits
* For the parallel dial tests, it better ensures an ordering in the written
  CDR entries by delaying the 'winning' channel from hanging up, and by
  killing the CDR for the Local channel in the Echo application.

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_no_answer/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_busy/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_congestion/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_no_answer/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_unavail/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/configs/ast1/extensions.conf
    asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/sipp/charlie.xml
    asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_busy/configs/ast1/extensions.conf
    asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_busy/sipp/charlie.xml
    asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_busy/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_congestion/configs/ast1/extensions.conf
    asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_congestion/sipp/charlie.xml
    asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_congestion/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/configs/ast1/extensions.conf
    asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/sipp/charlie.xml
    asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_unavail/configs/ast1/extensions.conf
    asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_unavail/sipp/charlie.xml
    asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_unavail/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_timeout/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_unavail/test-config.yaml
    asterisk/trunk/tests/apps/queues/queue_all_paused_no_answer/test-config.yaml
    asterisk/trunk/tests/apps/queues/queue_no_answer/test-config.yaml
    asterisk/trunk/tests/apps/queues/queue_one_paused_no_answer/test-config.yaml
    asterisk/trunk/tests/cdr/batch_cdrs/configs/ast1/extensions.conf
    asterisk/trunk/tests/cdr/batch_cdrs/test-config.yaml
    asterisk/trunk/tests/cdr/cdr_manipulation/cdr_fork_end_time/test-config.yaml
    asterisk/trunk/tests/cdr/cdr_originate_sip_congestion_log/test-config.yaml
    asterisk/trunk/tests/cdr/cdr_properties/cdr_accountcode/test-config.yaml
    asterisk/trunk/tests/cdr/cdr_properties/cdr_userfield/test-config.yaml
    asterisk/trunk/tests/cdr/cdr_unanswered_yes/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=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_answer/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_answer/test-config.yaml Mon Aug 26 22:09:31 2013
@@ -133,6 +133,7 @@
     application: 'Echo'
     ignore-originate-failure: 'yes'
     trigger: 'ami_connect'
+    async: True
 
 sipp-config:
     fail-on-any: True

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=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_busy/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_busy/test-config.yaml Mon Aug 26 22:09:31 2013
@@ -117,6 +117,7 @@
     application: 'Echo'
     ignore-originate-failure: 'yes'
     trigger: 'scenario_start'
+    async: True
 
 sipp-config:
     fail-on-any: True

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=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_congestion/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_congestion/test-config.yaml Mon Aug 26 22:09:31 2013
@@ -117,6 +117,7 @@
     application: 'Echo'
     ignore-originate-failure: 'yes'
     trigger: 'scenario_start'
+    async: True
 
 sipp-config:
     fail-on-any: True

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=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_no_answer/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_no_answer/test-config.yaml Mon Aug 26 22:09:31 2013
@@ -117,6 +117,7 @@
     application: 'Echo'
     ignore-originate-failure: 'yes'
     trigger: 'scenario_start'
+    async: True
 
 sipp-config:
     fail-on-any: True

Modified: asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_busy/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_busy/test-config.yaml?view=diff&rev=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_busy/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_busy/test-config.yaml Mon Aug 26 22:09:31 2013
@@ -196,6 +196,7 @@
     application: 'Echo'
     ignore-originate-failure: 'yes'
     trigger: 'ami_connect'
+    async: True
 
 sipp-config:
     fail-on-any: True

Modified: asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_congestion/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_congestion/test-config.yaml?view=diff&rev=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_congestion/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_congestion/test-config.yaml Mon Aug 26 22:09:31 2013
@@ -196,6 +196,7 @@
     application: 'Echo'
     ignore-originate-failure: 'yes'
     trigger: 'ami_connect'
+    async: True
 
 sipp-config:
     fail-on-any: True

Modified: asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_no_answer/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_no_answer/test-config.yaml?view=diff&rev=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_no_answer/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_no_answer/test-config.yaml Mon Aug 26 22:09:31 2013
@@ -196,6 +196,7 @@
     application: 'Echo'
     ignore-originate-failure: 'yes'
     trigger: 'ami_connect'
+    async: True
 
 sipp-config:
     fail-on-any: True

Modified: asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_unavail/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_unavail/test-config.yaml?view=diff&rev=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_unavail/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_unavail/test-config.yaml Mon Aug 26 22:09:31 2013
@@ -196,6 +196,7 @@
     application: 'Echo'
     ignore-originate-failure: 'yes'
     trigger: 'ami_connect'
+    async: True
 
 sipp-config:
     fail-on-any: True

Modified: asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/configs/ast1/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/configs/ast1/extensions.conf?view=diff&rev=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/configs/ast1/extensions.conf (original)
+++ asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/configs/ast1/extensions.conf Mon Aug 26 22:09:31 2013
@@ -7,6 +7,9 @@
 exten => apply_handler,1,NoOp()
 	same => n,Set(CHANNEL(hangup_handler_push)=handler,s,1)
 	same => n,Return()
+
+exten => echo,1,NoCDR()
+	same => n,Echo()
 
 [handler]
 

Modified: asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/sipp/charlie.xml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/sipp/charlie.xml?view=diff&rev=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/sipp/charlie.xml (original)
+++ asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/sipp/charlie.xml Mon Aug 26 22:09:31 2013
@@ -78,7 +78,7 @@
         crlf="true">
   </recv>
 
-  <pause/>
+  <pause milliseconds="2000" />
 
   <send retrans="500">
     <![CDATA[

Modified: asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/test-config.yaml?view=diff&rev=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/test-config.yaml Mon Aug 26 22:09:31 2013
@@ -54,31 +54,11 @@
                 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'
 
 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'
@@ -218,9 +198,12 @@
 
 originator-config:
     channel: 'Local/s at default'
-    application: 'Echo'
+    context: 'default'
+    exten: 'echo'
+    priority: 1
     ignore-originate-failure: 'yes'
     trigger: 'ami_connect'
+    async: True
 
 sipp-config:
     fail-on-any: True

Modified: asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_busy/configs/ast1/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_busy/configs/ast1/extensions.conf?view=diff&rev=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_busy/configs/ast1/extensions.conf (original)
+++ asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_busy/configs/ast1/extensions.conf Mon Aug 26 22:09:31 2013
@@ -7,6 +7,9 @@
 exten => apply_handler,1,NoOp()
 	same => n,Set(CHANNEL(hangup_handler_push)=handler,s,1)
 	same => n,Return()
+
+exten => echo,1,NoCDR()
+	same => n,Echo()
 
 [handler]
 

Modified: asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_busy/sipp/charlie.xml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_busy/sipp/charlie.xml?view=diff&rev=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_busy/sipp/charlie.xml (original)
+++ asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_busy/sipp/charlie.xml Mon Aug 26 22:09:31 2013
@@ -78,7 +78,7 @@
         crlf="true">
   </recv>
 
-  <pause/>
+  <pause milliseconds="2000" />
 
   <send retrans="500">
     <![CDATA[

Modified: asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_busy/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_busy/test-config.yaml?view=diff&rev=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_busy/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_busy/test-config.yaml Mon Aug 26 22:09:31 2013
@@ -53,31 +53,11 @@
                 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'
 
 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'
@@ -213,9 +193,12 @@
 
 originator-config:
     channel: 'Local/s at default'
-    application: 'Echo'
+    context: 'default'
+    exten: 'echo'
+    priority: 1
     ignore-originate-failure: 'yes'
     trigger: 'ami_connect'
+    async: True
 
 sipp-config:
     fail-on-any: True

Modified: asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_congestion/configs/ast1/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_congestion/configs/ast1/extensions.conf?view=diff&rev=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_congestion/configs/ast1/extensions.conf (original)
+++ asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_congestion/configs/ast1/extensions.conf Mon Aug 26 22:09:31 2013
@@ -7,6 +7,9 @@
 exten => apply_handler,1,NoOp()
 	same => n,Set(CHANNEL(hangup_handler_push)=handler,s,1)
 	same => n,Return()
+
+exten => echo,1,NoCDR()
+	same => n,Echo()
 
 [handler]
 

Modified: asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_congestion/sipp/charlie.xml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_congestion/sipp/charlie.xml?view=diff&rev=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_congestion/sipp/charlie.xml (original)
+++ asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_congestion/sipp/charlie.xml Mon Aug 26 22:09:31 2013
@@ -78,7 +78,7 @@
         crlf="true">
   </recv>
 
-  <pause/>
+  <pause milliseconds="2000" />
 
   <send retrans="500">
     <![CDATA[

Modified: asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_congestion/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_congestion/test-config.yaml?view=diff&rev=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_congestion/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_congestion/test-config.yaml Mon Aug 26 22:09:31 2013
@@ -43,16 +43,6 @@
     -
         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'
@@ -88,16 +78,6 @@
                 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-11:
     -
@@ -213,9 +193,12 @@
 
 originator-config:
     channel: 'Local/s at default'
-    application: 'Echo'
+    context: 'default'
+    exten: 'echo'
+    priority: 1
     ignore-originate-failure: 'yes'
     trigger: 'ami_connect'
+    async: True
 
 sipp-config:
     fail-on-any: True

Modified: asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/configs/ast1/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/configs/ast1/extensions.conf?view=diff&rev=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/configs/ast1/extensions.conf (original)
+++ asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/configs/ast1/extensions.conf Mon Aug 26 22:09:31 2013
@@ -7,6 +7,9 @@
 exten => apply_handler,1,NoOp()
 	same => n,Set(CHANNEL(hangup_handler_push)=handler,s,1)
 	same => n,Return()
+
+exten => echo,1,NoCDR()
+	same => n,Echo()
 
 [handler]
 

Modified: asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/sipp/charlie.xml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/sipp/charlie.xml?view=diff&rev=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/sipp/charlie.xml (original)
+++ asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/sipp/charlie.xml Mon Aug 26 22:09:31 2013
@@ -78,6 +78,8 @@
         crlf="true">
   </recv>
 
+  <pause milliseconds="2000" />
+
   <send retrans="500">
     <![CDATA[
 

Modified: asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/test-config.yaml?view=diff&rev=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/test-config.yaml Mon Aug 26 22:09:31 2013
@@ -53,31 +53,11 @@
                 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'
 
 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'
@@ -213,9 +193,12 @@
 
 originator-config:
     channel: 'Local/s at default'
-    application: 'Echo'
+    context: 'default'
+    exten: 'echo'
+    priority: 1
     ignore-originate-failure: 'yes'
     trigger: 'ami_connect'
+    async: True
 
 sipp-config:
     fail-on-any: True

Modified: asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_unavail/configs/ast1/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_unavail/configs/ast1/extensions.conf?view=diff&rev=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_unavail/configs/ast1/extensions.conf (original)
+++ asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_unavail/configs/ast1/extensions.conf Mon Aug 26 22:09:31 2013
@@ -7,6 +7,9 @@
 exten => apply_handler,1,NoOp()
 	same => n,Set(CHANNEL(hangup_handler_push)=handler,s,1)
 	same => n,Return()
+
+exten => echo,1,NoCDR()
+	same => n,Echo()
 
 [handler]
 

Modified: asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_unavail/sipp/charlie.xml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_unavail/sipp/charlie.xml?view=diff&rev=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_unavail/sipp/charlie.xml (original)
+++ asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_unavail/sipp/charlie.xml Mon Aug 26 22:09:31 2013
@@ -80,6 +80,8 @@
 
   <pause/>
 
+  <pause milliseconds="2000" />
+
   <send retrans="500">
     <![CDATA[
 

Modified: asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_unavail/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_unavail/test-config.yaml?view=diff&rev=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_unavail/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_unavail/test-config.yaml Mon Aug 26 22:09:31 2013
@@ -43,16 +43,6 @@
     -
         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'
@@ -88,16 +78,6 @@
                 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-11:
     -
@@ -213,9 +193,12 @@
 
 originator-config:
     channel: 'Local/s at default'
-    application: 'Echo'
+    context: 'default'
+    exten: 'echo'
+    priority: 1
     ignore-originate-failure: 'yes'
     trigger: 'ami_connect'
+    async: True
 
 sipp-config:
     fail-on-any: True

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=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_timeout/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_timeout/test-config.yaml Mon Aug 26 22:09:31 2013
@@ -102,6 +102,7 @@
     application: 'Echo'
     ignore-originate-failure: 'yes'
     trigger: 'scenario_start'
+    async: True
 
 sipp-config:
     fail-on-any: True

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=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_unavail/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_unavail/test-config.yaml Mon Aug 26 22:09:31 2013
@@ -117,6 +117,7 @@
     application: 'Echo'
     ignore-originate-failure: 'yes'
     trigger: 'scenario_start'
+    async: True
 
 sipp-config:
     fail-on-any: True

Modified: asterisk/trunk/tests/apps/queues/queue_all_paused_no_answer/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/queues/queue_all_paused_no_answer/test-config.yaml?view=diff&rev=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/apps/queues/queue_all_paused_no_answer/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/queues/queue_all_paused_no_answer/test-config.yaml Mon Aug 26 22:09:31 2013
@@ -25,13 +25,16 @@
 test-object-config:
     spawn-after-hangup: True
     ignore-originate-failures: True
+    end-test-delay: 2
     test-iterations:
         -
             channel: 'Local/pause_queue_member at default'
             application: 'Echo'
+            async: True
         -
             channel: 'Local/caller at default'
             application: 'Echo'
+            async: True
 
 cdr-config:
     -

Modified: asterisk/trunk/tests/apps/queues/queue_no_answer/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/queues/queue_no_answer/test-config.yaml?view=diff&rev=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/apps/queues/queue_no_answer/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/queues/queue_no_answer/test-config.yaml Mon Aug 26 22:09:31 2013
@@ -22,10 +22,12 @@
 test-object-config:
     spawn-after-hangup: True
     ignore-originate-failures: True
+    end-test-delay: 2
     test-iterations:
         -
             channel: 'Local/caller at default'
             application: 'Echo'
+            async: True
 
 cdr-config:
     -

Modified: asterisk/trunk/tests/apps/queues/queue_one_paused_no_answer/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/queues/queue_one_paused_no_answer/test-config.yaml?view=diff&rev=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/apps/queues/queue_one_paused_no_answer/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/queues/queue_one_paused_no_answer/test-config.yaml Mon Aug 26 22:09:31 2013
@@ -23,13 +23,16 @@
 test-object-config:
     spawn-after-hangup: True
     ignore-originate-failures: True
+    end-test-delay: 2
     test-iterations:
         -
             channel: 'Local/pause_queue_member at default'
             application: 'Echo'
+            async: True
         -
             channel: 'Local/caller at default'
             application: 'Echo'
+            async: True
 
 cdr-config:
     -

Modified: asterisk/trunk/tests/cdr/batch_cdrs/configs/ast1/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/cdr/batch_cdrs/configs/ast1/extensions.conf?view=diff&rev=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/cdr/batch_cdrs/configs/ast1/extensions.conf (original)
+++ asterisk/trunk/tests/cdr/batch_cdrs/configs/ast1/extensions.conf Mon Aug 26 22:09:31 2013
@@ -16,5 +16,5 @@
 exten => dial_answer,1,NoOp()
 	same => n,Set(CDR(accountcode)=cdrtest_local)
 	same => n,Answer()
-	same => n,Wait(1)
+	same => n,Wait(2)
 	same => n,Hangup()

Modified: asterisk/trunk/tests/cdr/batch_cdrs/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/cdr/batch_cdrs/test-config.yaml?view=diff&rev=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/cdr/batch_cdrs/test-config.yaml (original)
+++ asterisk/trunk/tests/cdr/batch_cdrs/test-config.yaml Mon Aug 26 22:09:31 2013
@@ -23,33 +23,43 @@
         -
             channel: 'Local/dial_busy at default'
             application: 'Echo'
+            async: True
         -
             channel: 'Local/dial_busy at default'
             application: 'Echo'
+            async: True
         -
             channel: 'Local/dial_busy at default'
             application: 'Echo'
+            async: True
         -
             channel: 'Local/dial_busy at default'
             application: 'Echo'
+            async: True
         -
             channel: 'Local/dial_busy at default'
             application: 'Echo'
+            async: True
         -
             channel: 'Local/dial_busy at default'
             application: 'Echo'
+            async: True
         -
             channel: 'Local/dial_busy at default'
             application: 'Echo'
+            async: True
         -
             channel: 'Local/dial_busy at default'
             application: 'Echo'
+            async: True
         -
             channel: 'Local/dial_answer at default'
             application: 'Echo'
+            async: True
         -
             channel: 'Local/dial_answer at default'
             application: 'Echo'
+            async: True
 
 cdr-config:
     -

Modified: asterisk/trunk/tests/cdr/cdr_manipulation/cdr_fork_end_time/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/cdr/cdr_manipulation/cdr_fork_end_time/test-config.yaml?view=diff&rev=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/cdr/cdr_manipulation/cdr_fork_end_time/test-config.yaml (original)
+++ asterisk/trunk/tests/cdr/cdr_manipulation/cdr_fork_end_time/test-config.yaml Mon Aug 26 22:09:31 2013
@@ -31,6 +31,7 @@
     config-path: 'tests/cdr/configs/basic'
     spawn-after-hangup: True
     ignore-originate-failures: True
+    end-test-delay: 2
     test-iterations:
         -
             channel: 'Local/1 at default'

Modified: asterisk/trunk/tests/cdr/cdr_originate_sip_congestion_log/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/cdr/cdr_originate_sip_congestion_log/test-config.yaml?view=diff&rev=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/cdr/cdr_originate_sip_congestion_log/test-config.yaml (original)
+++ asterisk/trunk/tests/cdr/cdr_originate_sip_congestion_log/test-config.yaml Mon Aug 26 22:09:31 2013
@@ -21,10 +21,12 @@
 test-object-config:
     spawn-after-hangup: True
     ignore-originate-failures: True
+    end-test-delay: 2
     test-iterations:
         -
             channel: 'Local/1 at default'
             application: 'Echo'
+            async: True
 
 cdr-config-pre-12:
     -

Modified: asterisk/trunk/tests/cdr/cdr_properties/cdr_accountcode/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/cdr/cdr_properties/cdr_accountcode/test-config.yaml?view=diff&rev=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/cdr/cdr_properties/cdr_accountcode/test-config.yaml (original)
+++ asterisk/trunk/tests/cdr/cdr_properties/cdr_accountcode/test-config.yaml Mon Aug 26 22:09:31 2013
@@ -22,10 +22,12 @@
 test-object-config:
     config-path: 'tests/cdr/configs/basic'
     spawn-after-hangup: True
+    end-test-delay: 2
     test-iterations:
         -
             channel: 'Local/1 at default'
             application: 'Echo'
+            async: True
 
 cdr-config-pre-12:
     -

Modified: asterisk/trunk/tests/cdr/cdr_properties/cdr_userfield/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/cdr/cdr_properties/cdr_userfield/test-config.yaml?view=diff&rev=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/cdr/cdr_properties/cdr_userfield/test-config.yaml (original)
+++ asterisk/trunk/tests/cdr/cdr_properties/cdr_userfield/test-config.yaml Mon Aug 26 22:09:31 2013
@@ -20,10 +20,12 @@
 test-object-config:
     config-path: 'tests/cdr/configs/basic'
     spawn-after-hangup: True
+    end-test-delay: 2
     test-iterations:
         -
             channel: 'Local/1 at default'
             application: 'Echo'
+            async: True
 
 cdr-config-pre-12:
     -

Modified: asterisk/trunk/tests/cdr/cdr_unanswered_yes/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/cdr/cdr_unanswered_yes/test-config.yaml?view=diff&rev=4084&r1=4083&r2=4084
==============================================================================
--- asterisk/trunk/tests/cdr/cdr_unanswered_yes/test-config.yaml (original)
+++ asterisk/trunk/tests/cdr/cdr_unanswered_yes/test-config.yaml Mon Aug 26 22:09:31 2013
@@ -21,10 +21,12 @@
     config-path: 'tests/cdr/configs/unanswered'
     spawn-after-hangup: True
     ignore-originate-failures: True
+    end-test-delay: 2
     test-iterations:
         -
             channel: 'Local/1 at default'
             application: 'Echo'
+            async: True
 
 cdr-config-pre-12:
     -




More information about the asterisk-commits mailing list