[asterisk-bugs] [Asterisk 0010971]: [patch] default context is created even if users.conf does not have users
noreply at bugs.digium.com
noreply at bugs.digium.com
Sun Oct 14 10:04:12 CDT 2007
The following issue has been ASSIGNED.
======================================================================
http://bugs.digium.com/view.php?id=10971
======================================================================
Reported By: dimas
Assigned To: russell
======================================================================
Project: Asterisk
Issue ID: 10971
Category: PBX/pbx_config
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
Asterisk Version: 1.4.13
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 10-13-2007 18:41 CDT
Last Modified: 10-14-2007 10:04 CDT
======================================================================
Summary: [patch] default context is created even if
users.conf does not have users
Description:
pbx_config.c creates user context (usually 'default') too early before it
makes sure there is at least one user defined. If extensions.ael has
definition for 'default context, then depending on order in which modules
are loaded, two 'default' will be created by different registrars.
Presence of two 'default' contexts one of them is empty usually breaks
alot of things. Again, depending on order in which modules were loaded.
======================================================================
----------------------------------------------------------------------
svnbot - 10-14-07 10:04
----------------------------------------------------------------------
Repository: asterisk
Revision: 85540
U branches/1.4/pbx/pbx_config.c
------------------------------------------------------------------------
r85540 | russell | 2007-10-14 10:04:11 -0500 (Sun, 14 Oct 2007) | 7 lines
Don't create the context for users in users.conf until we know at least
one user exists.
(closes issue http://bugs.digium.com/view.php?id=10971)
Reported by: dimas
Patches:
pbxconfig.patch uploaded by dimas (license 88)
------------------------------------------------------------------------
Issue History
Date Modified Username Field Change
======================================================================
10-14-07 10:04 svnbot Checkin
10-14-07 10:04 svnbot Note Added: 0071939
10-14-07 10:04 svnbot Status new => assigned
10-14-07 10:04 svnbot Assigned To => russell
======================================================================
More information about the asterisk-bugs
mailing list