[asterisk-commits] mjordan: branch 12 r425757 - /branches/12/tests/test_cel.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Oct 16 20:45:12 CDT 2014
Author: mjordan
Date: Thu Oct 16 20:45:06 2014
New Revision: 425757
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=425757
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.
Modified:
branches/12/tests/test_cel.c
Modified: branches/12/tests/test_cel.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/tests/test_cel.c?view=diff&rev=425757&r1=425756&r2=425757
==============================================================================
--- branches/12/tests/test_cel.c (original)
+++ branches/12/tests/test_cel.c Thu Oct 16 20:45:06 2014
@@ -1583,7 +1583,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