mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	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 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@425759 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -1608,7 +1608,7 @@ AST_TEST_DEFINE(test_cel_dial_pickup) | ||||
|  | ||||
| 	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; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user