Summary: | ASTERISK-06141: chan_agent & persistentagents=yes | ||
Reporter: | dillec (dillec) | Labels: | |
Date Opened: | 2006-01-19 21:58:56.000-0600 | Date Closed: | 2008-01-15 16:47:51.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_agent |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | The chan_agent persistency function "dump_agents()" is only be called if an agent logs off. So if no user logs off, no users are dumped into ASdb. possible Solution: * Add dump_agents() to __login_exec() function | ||
Comments: | By: Olle Johansson (oej) 2006-01-31 12:04:25.000-0600 It should be called when the module is unloaded, shouldn't it. By: Juan Pablo Abuyeres (jpabuyer) 2006-02-04 06:47:54.000-0600 well... I'm using 1.2.3. I'm checking the database with ast1*CLI> database show /Agents When an agent logs in, the correct entry is inserted in the database. By: Kevin P. Fleming (kpfleming) 2006-02-14 18:22:20.000-0600 The only path through which an agent login was not persisted was if you logged them in via the manager interface, but I have fixed that in branch-1.2 and trunk. By: Digium Subversion (svnbot) 2008-01-15 16:47:50.000-0600 Repository: asterisk Revision: 10137 U branches/1.2/channels/chan_agent.c ------------------------------------------------------------------------ r10137 | kpfleming | 2008-01-15 16:47:50 -0600 (Tue, 15 Jan 2008) | 2 lines ensure that agents logged in via the manager interface are stored in the persistence database (related to issue ASTERISK-6141) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=10137 By: Digium Subversion (svnbot) 2008-01-15 16:47:51.000-0600 Repository: asterisk Revision: 10138 _U trunk/ U trunk/channels/chan_agent.c ------------------------------------------------------------------------ r10138 | kpfleming | 2008-01-15 16:47:51 -0600 (Tue, 15 Jan 2008) | 10 lines 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 ASTERISK-6141) ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=10138 |