[asterisk-commits] mjordan: testsuite/asterisk/trunk r4243 - in /asterisk/trunk/tests/bridge: pa...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Oct 2 09:53:40 CDT 2013


Author: mjordan
Date: Wed Oct  2 09:53:38 2013
New Revision: 4243

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=4243
Log:
Fix parking test CDRs to expect "Park" as the last application

Asterisk now correctly marks the last application / last argument field in CDRs
involving a parked channel as "Park" with the 'correct' application data. These
tests needed to be updated with the new expected values.

Modified:
    asterisk/trunk/tests/bridge/parkcall/test-config.yaml
    asterisk/trunk/tests/bridge/parkcall_blindxfer/test-config.yaml
    asterisk/trunk/tests/bridge/parkcall_bridgefeatures/test-config.yaml
    asterisk/trunk/tests/bridge/parkcall_timeout/comebacktoorigin_no/test-config.yaml
    asterisk/trunk/tests/bridge/parkcall_timeout/comebacktoorigin_yes/test-config.yaml

Modified: asterisk/trunk/tests/bridge/parkcall/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/bridge/parkcall/test-config.yaml?view=diff&rev=4243&r1=4242&r2=4243
==============================================================================
--- asterisk/trunk/tests/bridge/parkcall/test-config.yaml (original)
+++ asterisk/trunk/tests/bridge/parkcall/test-config.yaml Wed Oct  2 09:53:38 2013
@@ -100,6 +100,8 @@
                 callerid: '"Bob" <4321>'
                 channel: '.*/bob-.*'
                 dchannel: ''
+                lastapp: 'Park'
+                lastarg: 'default:701'
                 disposition: 'ANSWERED'
                 amaflags: 'DOCUMENTATION'
             -
@@ -119,7 +121,8 @@
                 callerid: '"Alice" <1234>'
                 channel: '.*/alice-.*'
                 dchannel: ''
-                lastapp: 'Dial'
+                lastapp: 'Park'
+                lastarg: 'default:701'
                 disposition: 'ANSWERED'
                 amaflags: 'DOCUMENTATION'
 
@@ -131,3 +134,4 @@
         - python : 'starpy'
     tags:
         - bridge
+        - parking

Modified: asterisk/trunk/tests/bridge/parkcall_blindxfer/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/bridge/parkcall_blindxfer/test-config.yaml?view=diff&rev=4243&r1=4242&r2=4243
==============================================================================
--- asterisk/trunk/tests/bridge/parkcall_blindxfer/test-config.yaml (original)
+++ asterisk/trunk/tests/bridge/parkcall_blindxfer/test-config.yaml Wed Oct  2 09:53:38 2013
@@ -316,3 +316,4 @@
         - python : 'starpy'
     tags:
         - bridge
+        - parking

Modified: asterisk/trunk/tests/bridge/parkcall_bridgefeatures/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/bridge/parkcall_bridgefeatures/test-config.yaml?view=diff&rev=4243&r1=4242&r2=4243
==============================================================================
--- asterisk/trunk/tests/bridge/parkcall_bridgefeatures/test-config.yaml (original)
+++ asterisk/trunk/tests/bridge/parkcall_bridgefeatures/test-config.yaml Wed Oct  2 09:53:38 2013
@@ -64,6 +64,8 @@
                 callerid: '"Bob" <4321>'
                 channel: '.*/bob-.*'
                 dchannel: ''
+                lastapp: 'Park'
+                lastarg: 'default:701'
                 disposition: 'ANSWERED'
                 amaflags: 'DOCUMENTATION'
             -
@@ -83,7 +85,8 @@
                 callerid: '"Alice" <1234>'
                 channel: '.*/alice-.*'
                 dchannel: ''
-                lastapp: 'Dial'
+                lastapp: 'Park'
+                lastarg: 'default:701'
                 disposition: 'ANSWERED'
                 amaflags: 'DOCUMENTATION'
 
@@ -95,3 +98,4 @@
         - python : 'starpy'
     tags:
         - bridge
+        - parking

Modified: asterisk/trunk/tests/bridge/parkcall_timeout/comebacktoorigin_no/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/bridge/parkcall_timeout/comebacktoorigin_no/test-config.yaml?view=diff&rev=4243&r1=4242&r2=4243
==============================================================================
--- asterisk/trunk/tests/bridge/parkcall_timeout/comebacktoorigin_no/test-config.yaml (original)
+++ asterisk/trunk/tests/bridge/parkcall_timeout/comebacktoorigin_no/test-config.yaml Wed Oct  2 09:53:38 2013
@@ -85,7 +85,9 @@
 
 cdr-config-12:
     -
-        # In Asterisk 12, there are three phases to each call - Alice's call to bob is first, followed by Bob's time spent parked, and lastly Bob's period after leaving the parking bridge
+        # In Asterisk 12, there are three phases to each call - Alice's call to
+        # bob is first, followed by Bob's time spent parked, and lastly Bob's
+        # period after leaving the parking bridge
         file: 'Master'
         lines:
             -
@@ -104,7 +106,8 @@
                 dcontext: 'park_context1'
                 callerid: '"Bob" <4321>'
                 channel: '.*/bob-.*'
-                lastapp: 'AppDial' # There is some expectation that these may later change to 'Park'
+                lastapp: 'Park'
+                lastarg: 'parkinglot_test1:401'
                 disposition: 'ANSWERED'
                 amaflags: 'DOCUMENTATION'
             -
@@ -132,7 +135,8 @@
                 dcontext: 'park_context2'
                 callerid: '"Bob" <4321>'
                 channel: '.*/bob-.*'
-                lastapp: 'AppDial' # There is some expectation that these may later change to 'Park'
+                lastapp: 'Park'
+                lastarg: 'parkinglot_test2:501'
                 disposition: 'ANSWERED'
                 amaflags: 'DOCUMENTATION'
             -
@@ -160,7 +164,8 @@
                 dcontext: 'default'
                 callerid: '"Bob" <4321>'
                 channel: '.*/bob-.*'
-                lastapp: 'AppDial' # There is some expectation that these may later change to 'Park'
+                lastapp: 'Park'
+                lastarg: 'parkinglot_test3:601'
                 disposition: 'ANSWERED'
                 amaflags: 'DOCUMENTATION'
             -
@@ -181,3 +186,4 @@
         - python : 'starpy'
     tags:
         - bridge
+        - parking

Modified: asterisk/trunk/tests/bridge/parkcall_timeout/comebacktoorigin_yes/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/bridge/parkcall_timeout/comebacktoorigin_yes/test-config.yaml?view=diff&rev=4243&r1=4242&r2=4243
==============================================================================
--- asterisk/trunk/tests/bridge/parkcall_timeout/comebacktoorigin_yes/test-config.yaml (original)
+++ asterisk/trunk/tests/bridge/parkcall_timeout/comebacktoorigin_yes/test-config.yaml Wed Oct  2 09:53:38 2013
@@ -133,7 +133,8 @@
                 dcontext: 'park-dial'
                 callerid: '"Bob" <4321>'
                 channel: '.*/bob-.*'
-                lastapp: 'AppDial'  # May be changed to Park at some point.
+                lastapp: 'Park'
+                lastarg: 'parkinglot_test1:401'
                 disposition: 'ANSWERED'
                 amaflags: 'DOCUMENTATION'
             -
@@ -173,17 +174,19 @@
                 dcontext: 'park-dial'
                 callerid: '"Bob" <4321>'
                 channel: '.*/bob-.*'
-                lastapp: 'AppDial'  # May be changed to Park at some point.
-                disposition: 'ANSWERED'
-                amaflags: 'DOCUMENTATION'
-            -
-                source: '4321'
-                destination: 'SIP_alice'
-                dcontext: 'park-dial'
-                callerid: '"Bob" <4321>'
-                channel: '.*/bob-.*'
-                dchannel: '.*/alice-.*'
-                lastapp: 'AppDial'
+                lastapp: 'Park'
+                lastarg: 'parkinglot_test1:402'
+                disposition: 'ANSWERED'
+                amaflags: 'DOCUMENTATION'
+            -
+                source: '4321'
+                destination: 'SIP_alice'
+                dcontext: 'park-dial'
+                callerid: '"Bob" <4321>'
+                channel: '.*/bob-.*'
+                dchannel: '.*/alice-.*'
+                lastapp: 'Park'
+                lastarg: 'parkinglot_test1:402'
                 disposition: 'NO ANSWER'
                 amaflags: 'DOCUMENTATION'
             -
@@ -213,17 +216,19 @@
                 dcontext: 'park-dial'
                 callerid: '"Bob" <4321>'
                 channel: '.*/bob-.*'
-                lastapp: 'AppDial'  # May be changed to Park at some point.
-                disposition: 'ANSWERED'
-                amaflags: 'DOCUMENTATION'
-            -
-                source: '4321'
-                destination: 'SIP_alice'
-                dcontext: 'park-dial'
-                callerid: '"Bob" <4321>'
-                channel: '.*/bob-.*'
-                dchannel: '.*/alice-.*'
-                lastapp: 'AppDial'
+                lastapp: 'Park'
+                lastarg: 'parkinglot_test1:403'
+                disposition: 'ANSWERED'
+                amaflags: 'DOCUMENTATION'
+            -
+                source: '4321'
+                destination: 'SIP_alice'
+                dcontext: 'park-dial'
+                callerid: '"Bob" <4321>'
+                channel: '.*/bob-.*'
+                dchannel: '.*/alice-.*'
+                lastapp: 'Park'
+                lastarg: 'parkinglot_test1:403'
                 disposition: 'BUSY'
                 amaflags: 'DOCUMENTATION'
             -
@@ -246,3 +251,4 @@
         - python : 'starpy'
     tags:
         - bridge
+        - parking




More information about the asterisk-commits mailing list