[asterisk-commits] mmichelson: branch 1.4 r79748 - /branches/1.4/channels/chan_agent.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Aug 16 16:16:40 CDT 2007


Author: mmichelson
Date: Thu Aug 16 16:16:40 2007
New Revision: 79748

URL: http://svn.digium.com/view/asterisk?view=rev&rev=79748
Log:
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!


Modified:
    branches/1.4/channels/chan_agent.c

Modified: branches/1.4/channels/chan_agent.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_agent.c?view=diff&rev=79748&r1=79747&r2=79748
==============================================================================
--- branches/1.4/channels/chan_agent.c (original)
+++ branches/1.4/channels/chan_agent.c Thu Aug 16 16:16:40 2007
@@ -2090,6 +2090,7 @@
 									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




More information about the asterisk-commits mailing list