[asterisk-bugs] [Asterisk 0012594]: [patch] Add manager users from users.conf to the users LIST
noreply at bugs.digium.com
noreply at bugs.digium.com
Wed May 7 15:16:02 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=12594
======================================================================
Reported By: bkruse
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 12594
Category: Core/ManagerInterface
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!): 115414
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 05-06-2008 14:49 CDT
Last Modified: 05-07-2008 15:16 CDT
======================================================================
Summary: [patch] Add manager users from users.conf to the
users LIST
Description:
Users.conf is only read when a user authenticates, and not when manager
init's.
Therefore, the users from users.conf are not added to the "users" LIST.
Example where this is a problem:
When you issue the command "manager show users", it traverses the users
LIST, and only finds users from users.conf
This patch fixes that problem, and possibly other problems that use the
list.
Note: There might be a better way to do this, I just did it the way I knew
best :]
======================================================================
----------------------------------------------------------------------
bkruse - 05-07-08 15:16
----------------------------------------------------------------------
v2 Works great.
I did not look over the probability that trunks could have been added as
manager users, and my variables names were not right.
Thanks for fixing this Qwell, err, rewriting it really :)
Works great, tested!
Issue History
Date Modified Username Field Change
======================================================================
05-07-08 15:16 bkruse Note Added: 0086565
======================================================================
More information about the asterisk-bugs
mailing list