mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Clear acknowledged flag on hangup
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1258 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -390,6 +390,7 @@ static int agent_hangup(struct ast_channel *ast) | ||||
| 	if (p->chan) { | ||||
| 		/* If they're dead, go ahead and hang up on the agent now */ | ||||
| 		if (strlen(p->loginchan)) { | ||||
| 			p->acknowledged = 0; | ||||
| 			if (p->chan) { | ||||
| 				/* Recognize the hangup and pass it along immediately */ | ||||
| 				ast_hangup(p->chan); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user