[asterisk-commits] mjordan: trunk r425759 - in /trunk: ./ tests/test_cel.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Oct 16 20:46:10 CDT 2014
Author: mjordan
Date: Thu Oct 16 20:46:07 2014
New Revision: 425759
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=425759
Log:
test_cel: Update pickup test to expect CANCEL instead of ANSWSER
The CEL pickup test previously looked for a disposition of ANSWER between the
original caller/peer when the call is picked up. This is actually incorrect:
the disposition should, at the very least, not be ANSWER as the call was
never ANSWERed. The disposition is now CANCEL; this patch updates the test
accordingly.
........
Merged revisions 425757 from http://svn.asterisk.org/svn/asterisk/branches/12
........
Merged revisions 425758 from http://svn.asterisk.org/svn/asterisk/branches/13
Modified:
trunk/ (props changed)
trunk/tests/test_cel.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-13-merged' - no diff available.
Modified: trunk/tests/test_cel.c
URL: http://svnview.digium.com/svn/asterisk/trunk/tests/test_cel.c?view=diff&rev=425759&r1=425758&r2=425759
==============================================================================
--- trunk/tests/test_cel.c (original)
+++ trunk/tests/test_cel.c Thu Oct 16 20:46:07 2014
@@ -1608,7 +1608,7 @@
ast_channel_publish_dial(chan_caller, chan_callee, NULL, "ANSWER");
- HANGUP_CHANNEL(chan_caller, AST_CAUSE_NORMAL, "ANSWER");
+ HANGUP_CHANNEL(chan_caller, AST_CAUSE_NORMAL, "CANCEL");
HANGUP_CHANNEL(chan_callee, AST_CAUSE_NORMAL, "");
return AST_TEST_PASS;
More information about the asterisk-commits
mailing list