mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 18:55:19 +00:00 
			
		
		
		
	Fix agent recording issue (bug #4551)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5933 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -447,6 +447,10 @@ static struct ast_frame *agent_read(struct ast_channel *ast) | |||||||
|  					f = &null_frame; |  					f = &null_frame; | ||||||
|  				} else { |  				} else { | ||||||
|  					p->acknowledged = 1; |  					p->acknowledged = 1; | ||||||
|  |  					/* Use the builtin answer frame for the  | ||||||
|  | 					   recording start check below. */ | ||||||
|  |  					ast_frfree(f); | ||||||
|  |  					f = &answer_frame; | ||||||
|  				} |  				} | ||||||
|  			} |  			} | ||||||
|  			break; |  			break; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user