[svn-commits] mjordan: branch 13 r425758 - in /branches/13: ./ tests/test_cel.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Oct 16 20:45:40 CDT 2014


Author: mjordan
Date: Thu Oct 16 20:45:38 2014
New Revision: 425758

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=425758
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

Modified:
    branches/13/   (props changed)
    branches/13/tests/test_cel.c

Propchange: branches/13/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.

Modified: branches/13/tests/test_cel.c
URL: http://svnview.digium.com/svn/asterisk/branches/13/tests/test_cel.c?view=diff&rev=425758&r1=425757&r2=425758
==============================================================================
--- branches/13/tests/test_cel.c (original)
+++ branches/13/tests/test_cel.c Thu Oct 16 20:45:38 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 svn-commits mailing list