diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-16 21:16:40 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-16 21:16:40 +0000 |
commit | f5610ad0be253241af9a18911506183b445f6beb (patch) | |
tree | 60ca2e69e6f2ae1248c2ff0a365f3d147e53e1bc /channels/chan_agent.c | |
parent | 77480da067a80bff11471ad5b371afe1e8e45b04 (diff) |
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
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 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 |