From f5610ad0be253241af9a18911506183b445f6beb Mon Sep 17 00:00:00 2001 From: mmichelson Date: Thu, 16 Aug 2007 21:16:40 +0000 Subject: Fixes a problem where agents would get stuck busy due to their wrapuptime being longer than the queue's wrapuptime and ringinuse=no for the queue. (closes issue #10215, reported by Doug, repaired by me) Special thanks to fkasumovic for pointing out the source of the problem and to bweschke for helping to come up with a solution! git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@79748 f38db490-d61c-443f-a65b-d21fe96a405b --- channels/chan_agent.c | 1 + 1 file changed, 1 insertion(+) (limited to 'channels/chan_agent.c') diff --git a/channels/chan_agent.c b/channels/chan_agent.c index 04314a514..7f1d1cb7c 100644 --- a/channels/chan_agent.c +++ b/channels/chan_agent.c @@ -2090,6 +2090,7 @@ static int __login_exec(struct ast_channel *chan, void *data, int callbackmode) if (option_debug) ast_log(LOG_DEBUG, "Wrapup time for %s expired!\n", p->agent); p->lastdisc = ast_tv(0, 0); + ast_device_state_changed("Agent/%s", p->agent); if (p->ackcall > 1) check_beep(p, 0); else -- cgit v1.2.3