mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	Merged revisions 25563 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r25563 | bweschke | 2006-05-08 10:12:20 -0400 (Mon, 08 May 2006) | 3 lines Don't show agents as available when they are in wrap-up time. #6726 (ZX81) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -1602,7 +1602,10 @@ static int agents_show(int fd, int argc, char **argv) | ||||
| 				} | ||||
| 				online_agents++; | ||||
| 			} else if (!ast_strlen_zero(p->loginchan)) { | ||||
| 				snprintf(location, sizeof(location) - 20, "available at '%s'", p->loginchan); | ||||
| 				if (ast_tvdiff_ms(ast_tvnow(), p->lastdisc) > 0 || !(p->lastdisc.tv_sec))  | ||||
| 					snprintf(location, sizeof(location) - 20, "available at '%s'", p->loginchan); | ||||
| 				else  | ||||
| 					snprintf(location, sizeof(location) - 20, "wrapping up at '%s'", p->loginchan); | ||||
| 				talkingto[0] = '\0'; | ||||
| 				online_agents++; | ||||
| 				if (p->acknowledged) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user