[asterisk-commits] trunk r10138 - in /trunk: ./ channels/chan_agent.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Feb 14 18:22:55 MST 2006


Author: kpfleming
Date: Tue Feb 14 19:22:54 2006
New Revision: 10138

URL: http://svn.digium.com/view/asterisk?rev=10138&view=rev
Log:
Merged revisions 10137 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r10137 | kpfleming | 2006-02-14 19:21:33 -0600 (Tue, 14 Feb 2006) | 2 lines

ensure that agents logged in via the manager interface are stored in the persistence database (related to issue #6301)

........

Modified:
    trunk/   (props changed)
    trunk/channels/chan_agent.c

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

Modified: trunk/channels/chan_agent.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_agent.c?rev=10138&r1=10137&r2=10138&view=diff
==============================================================================
--- trunk/channels/chan_agent.c (original)
+++ trunk/channels/chan_agent.c Tue Feb 14 19:22:54 2006
@@ -2193,6 +2193,8 @@
 			ast_verbose(VERBOSE_PREFIX_2 "Callback Agent '%s' logged in on %s\n", p->agent, p->loginchan);
 		ast_device_state_changed("Agent/%s", p->agent);
 		ast_mutex_unlock(&p->lock);
+		if (persistent_agents)
+			dump_agents();
 	}
 	AST_LIST_UNLOCK(&agents);
 



More information about the asterisk-commits mailing list