[asterisk-bugs] [Asterisk 0011414]: [patch] Move loading users from authenticate() to __init_manager()

noreply at bugs.digium.com noreply at bugs.digium.com
Sun Dec 16 07:29:43 CST 2007


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=11414 
====================================================================== 
Reported By:                ys
Assigned To:                oej
====================================================================== 
Project:                    Asterisk
Issue ID:                   11414
Category:                   Core/ManagerInterface
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 90150 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-29-2007 09:13 CST
Last Modified:              12-16-2007 07:29 CST
====================================================================== 
Summary:                    [patch] Move loading users from authenticate() to
__init_manager()
Description: 
I try to move users loading process from authenticate() to __init_manager()
function for better performance.

Now, if AMI user try to authenticate, manager interface load user
information from users.conf and manager.conf file. I try to move this into
init process, and now user information loaded or reloaded, if module loaded
or reloaded  correspondingly.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0010961 [patch] Add HTTP Basic Authentication S...
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 12-16-07 07:29  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 93165

U   trunk/CHANGES
U   trunk/main/manager.c

------------------------------------------------------------------------
r93165 | oej | 2007-12-16 07:29:41 -0600 (Sun, 16 Dec 2007) | 11 lines

Change manager so that registered accounts are stored in memory. This
opens for a
manager realtime implementation.

If you change accounts in manager.conf, you now need to reload to activate
the
changes (deletions, additions). This was not the case with 1.4.

Reported by: ys
Patches: 
      trunk93163_manager_reload.c.diff uploaded by ys (license 281)
(closes issue http://bugs.digium.com/view.php?id=11414)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=93165 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-16-07 07:29  svnbot         Checkin                                      
12-16-07 07:29  svnbot         Note Added: 0075515                          
12-16-07 07:29  svnbot         Status                   new => assigned     
12-16-07 07:29  svnbot         Assigned To               => oej             
======================================================================




More information about the asterisk-bugs mailing list