[asterisk-commits] rmudgett: branch 12 r400754 - /branches/12/apps/app_agent_pool.c

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


Author: rmudgett
Date: Tue Oct  8 16:19:17 2013
New Revision: 400754

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

Modified:
    branches/12/apps/app_agent_pool.c

Modified: branches/12/apps/app_agent_pool.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/apps/app_agent_pool.c?view=diff&rev=400754&r1=400753&r2=400754
==============================================================================
--- branches/12/apps/app_agent_pool.c (original)
+++ branches/12/apps/app_agent_pool.c Tue Oct  8 16:19:17 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