diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-16 21:21:35 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-16 21:21:35 +0000 |
commit | 3e27eafe7b6d1a9e4f830c518a8d8fb30a889ef8 (patch) | |
tree | d10cc18ff2a2743b20d8b9d05233cb4a40d478bb /channels/chan_agent.c | |
parent | dbec3d56c146801fad339a1d46a388865b18ffb4 (diff) |
Merged revisions 79748 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r79748 | mmichelson | 2007-08-16 16:16:40 -0500 (Thu, 16 Aug 2007) | 8 lines
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/trunk@79749 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_agent.c')
-rw-r--r-- | channels/chan_agent.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_agent.c b/channels/chan_agent.c index c4e0ecb61..fbdc756e1 100644 --- a/channels/chan_agent.c +++ b/channels/chan_agent.c @@ -1920,6 +1920,7 @@ static int login_exec(struct ast_channel *chan, void *data) if (ast_tvdiff_ms(ast_tvnow(), p->lastdisc) > 0) { ast_debug(1, "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 |