[asterisk-commits] rmudgett: trunk r400759 - in /trunk: ./ apps/app_agent_pool.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Oct 8 16:20:21 CDT 2013


Author: rmudgett
Date: Tue Oct  8 16:20:19 2013
New Revision: 400759

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=400759
Log:
app_agent_pool: Fix AMI/CLI AgentLogoff soft preventing agents from logging back in.

* Clear the deferred_logoff flag when an agent logs in.

(closes issue ASTERISK-22669)
Reported by: John Bigelow
........

Merged revisions 400754 from http://svn.asterisk.org/svn/asterisk/branches/12

Modified:
    trunk/   (props changed)
    trunk/apps/app_agent_pool.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.

Modified: trunk/apps/app_agent_pool.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_agent_pool.c?view=diff&rev=400759&r1=400758&r2=400759
==============================================================================
--- trunk/apps/app_agent_pool.c (original)
+++ trunk/apps/app_agent_pool.c Tue Oct  8 16:20:19 2013
@@ -2032,6 +2032,7 @@
 	agent->logged = ast_channel_ref(chan);
 	agent->last_disconnect = ast_tvnow();
 	time(&agent->login_start);
+	agent->deferred_logoff = 0;
 	agent_unlock(agent);
 
 	agent_login_channel_config(agent, chan);




More information about the asterisk-commits mailing list