mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	file.c, channel.c: Don't emit warnings if progress received.
Silently ignore AST_CONTROL_PROGRESS where appropriate, as most control frames already are. Resolves: #696
This commit is contained in:
		
				
					committed by
					
						 channel.c: Don't emit warnings if progress received.
						channel.c: Don't emit warnings if progress received.
					
				
			
			
				
	
			
			
			
						parent
						
							a69b8cdf42
						
					
				
				
					commit
					76b2410143
				
			| @@ -3318,6 +3318,7 @@ int ast_waitfordigit_full(struct ast_channel *c, int timeout_ms, const char *bre | ||||
| 					ast_channel_clear_flag(c, AST_FLAG_END_DTMF_ONLY); | ||||
| 					return res; | ||||
| 				case AST_CONTROL_PVT_CAUSE_CODE: | ||||
| 				case AST_CONTROL_PROGRESS: | ||||
| 				case AST_CONTROL_RINGING: | ||||
| 				case AST_CONTROL_ANSWER: | ||||
| 				case AST_CONTROL_SRCUPDATE: | ||||
|   | ||||
| @@ -1752,6 +1752,7 @@ static int waitstream_core(struct ast_channel *c, | ||||
| 					ast_frfree(fr); | ||||
| 					ast_channel_clear_flag(c, AST_FLAG_END_DTMF_ONLY); | ||||
| 					return -1; | ||||
| 				case AST_CONTROL_PROGRESS: | ||||
| 				case AST_CONTROL_RINGING: | ||||
| 				case AST_CONTROL_ANSWER: | ||||
| 				case AST_CONTROL_VIDUPDATE: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user