[asterisk-commits] mjordan: testsuite/asterisk/trunk r5119 - in /asterisk/trunk/tests/bridge/par...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Jun 13 13:10:27 CDT 2014
Author: mjordan
Date: Fri Jun 13 13:10:17 2014
New Revision: 5119
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=5119
Log:
bridge/parkcall_timeout: Update expected events for channel snapshot reduction
This patch updates tests in the Test Suite based on the code review at
https://reviewboard.asterisk.org/r/3568.
The only behaviour change that occurs as a result of r3568 are CDR results in
parkcall_timeout comebacktoorigin tests. The CDRs that changed are those that
occur when a channel is Parked. Previously, those records would contain the
context/extension of the location of the dial back when the park times out;
now, that information is only on the record that occurs when the dial is
made to the parker. This is actually more in line with what should happen: it
doesn't make much sense for information associated with a timeout callback to
be on the parking record.
Review: https://reviewboard.asterisk.org/r/3578/
ASTERISK-23811
Modified:
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_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=5119&r1=5118&r2=5119
==============================================================================
--- asterisk/trunk/tests/bridge/parkcall_timeout/comebacktoorigin_no/test-config.yaml (original)
+++ asterisk/trunk/tests/bridge/parkcall_timeout/comebacktoorigin_no/test-config.yaml Fri Jun 13 13:10:17 2014
@@ -102,8 +102,8 @@
amaflags: 'DOCUMENTATION'
-
source: '4321'
- destination: 'SIP_alice'
- dcontext: 'park_context1'
+ destination: ''
+ dcontext: 'default'
callerid: '"Bob" <4321>'
channel: '.*/bob-.*'
lastapp: 'Park'
@@ -131,8 +131,8 @@
amaflags: 'DOCUMENTATION'
-
source: '4321'
- destination: 's'
- dcontext: 'park_context2'
+ destination: ''
+ dcontext: 'default'
callerid: '"Bob" <4321>'
channel: '.*/bob-.*'
lastapp: 'Park'
@@ -160,7 +160,7 @@
amaflags: 'DOCUMENTATION'
-
source: '4321'
- destination: 's'
+ destination: ''
dcontext: 'default'
callerid: '"Bob" <4321>'
channel: '.*/bob-.*'
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=5119&r1=5118&r2=5119
==============================================================================
--- asterisk/trunk/tests/bridge/parkcall_timeout/comebacktoorigin_yes/test-config.yaml (original)
+++ asterisk/trunk/tests/bridge/parkcall_timeout/comebacktoorigin_yes/test-config.yaml Fri Jun 13 13:10:17 2014
@@ -129,8 +129,8 @@
-
# new in 12
source: '4321'
- destination: 'SIP_alice'
- dcontext: 'park-dial'
+ destination: ''
+ dcontext: 'default'
callerid: '"Bob" <4321>'
channel: '.*/bob-.*'
lastapp: 'Park'
@@ -160,8 +160,8 @@
-
# new in 12
source: '4321'
- destination: 'SIP_alice'
- dcontext: 'park-dial'
+ destination: ''
+ dcontext: 'default'
callerid: '"Bob" <4321>'
channel: '.*/bob-.*'
lastapp: 'Park'
@@ -201,8 +201,8 @@
-
# new in 12
source: '4321'
- destination: 'SIP_alice'
- dcontext: 'park-dial'
+ destination: ''
+ dcontext: 'default'
callerid: '"Bob" <4321>'
channel: '.*/bob-.*'
lastapp: 'Park'
More information about the asterisk-commits
mailing list