mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Merged revisions 7809 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r7809 | kpfleming | 2006-01-04 18:58:29 -0600 (Wed, 04 Jan 2006) | 2 lines send device state updates for auto-logoff of agents as well ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7810 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -798,6 +798,7 @@ static int agent_hangup(struct ast_channel *ast) | ||||
| 				snprintf(agent, sizeof(agent), "Agent/%s", p->agent); | ||||
| 				ast_queue_log("NONE", ast->uniqueid, agent, "AGENTCALLBACKLOGOFF", "%s|%ld|%s", p->loginchan, logintime, "Autologoff"); | ||||
| 				set_agentbycallerid(p->logincallerid, NULL); | ||||
| 				ast_device_state_changed("Agent/%s", p->agent); | ||||
| 				p->loginchan[0] = '\0'; | ||||
| 				p->logincallerid[0] = '\0'; | ||||
| 			} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user