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: https://origsvn.digium.com/svn/asterisk/branches/1.4@79748 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Michelson
2007-08-16 21:16:40 +00:00
parent ec2f24b901
commit 6ec280adfc

View File

@@ -2090,6 +2090,7 @@ static int __login_exec(struct ast_channel *chan, void *data, int callbackmode)
if (option_debug) if (option_debug)
ast_log(LOG_DEBUG, "Wrapup time for %s expired!\n", p->agent); ast_log(LOG_DEBUG, "Wrapup time for %s expired!\n", p->agent);
p->lastdisc = ast_tv(0, 0); p->lastdisc = ast_tv(0, 0);
ast_device_state_changed("Agent/%s", p->agent);
if (p->ackcall > 1) if (p->ackcall > 1)
check_beep(p, 0); check_beep(p, 0);
else else