mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	If the recorded file is found, don't actually start to play it.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32633 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -1018,6 +1018,8 @@ static int app_exec(struct ast_channel *chan, void *data) | ||||
| 				/* just checking to see if we *can* play it. 						*/ | ||||
| 				if (ast_streamfile(chan, namerecloc, chan->language)) | ||||
| 					ast_copy_string(namerecloc, "", sizeof(namerecloc));					 | ||||
| 				else | ||||
| 					ast_stopstream(chan); | ||||
|  | ||||
| 				if (ast_streamfile(chan, targs.plsholdprompt, chan->language)) | ||||
| 					goto outrun; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user