mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-11-04 05:15:22 +00:00 
			
		
		
		
	Stop any generators running on a channel when
festival is called as described in 5996 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@8140 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		@@ -175,7 +175,8 @@ static int send_waveform_to_channel(struct ast_channel *chan, char *waveform, in
 | 
			
		||||
	if (chan->_state != AST_STATE_UP)
 | 
			
		||||
		ast_answer(chan);
 | 
			
		||||
	ast_stopstream(chan);
 | 
			
		||||
 | 
			
		||||
	ast_indicate(chan, -1);
 | 
			
		||||
	
 | 
			
		||||
	owriteformat = chan->writeformat;
 | 
			
		||||
	res = ast_set_write_format(chan, AST_FORMAT_SLINEAR);
 | 
			
		||||
	if (res < 0) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user