mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	If a caller is listen-only, then don't bother with doing talker detection.
(closes issue #10911, reported by junky, patched by me) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87428 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -1803,7 +1803,7 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c | ||||
| 			x = 1; | ||||
| 			ast_channel_setoption(chan, AST_OPTION_TONE_VERIFY, &x, sizeof(char), 0); | ||||
| 		}	 | ||||
| 		if (!(dsp = ast_dsp_new())) { | ||||
| 		if (!(confflags & CONFFLAG_MONITOR) && !(dsp = ast_dsp_new())) { | ||||
| 			ast_log(LOG_WARNING, "Unable to allocate DSP!\n"); | ||||
| 			res = -1; | ||||
| 		} | ||||
| @@ -2060,7 +2060,7 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c | ||||
| 					if (user->talk.actual) | ||||
| 						ast_frame_adjust_volume(f, user->talk.actual); | ||||
|  | ||||
| 					{ | ||||
| 					if (!(confflags & CONFFLAG_MONITOR)) { | ||||
| 						int totalsilence; | ||||
|  | ||||
| 						if (user->talking == -1) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user