[asterisk-bugs] [Asterisk-GUI 0013539]: Extensions file error after incoming call rules (in GUI 2.0) and logout

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Sep 23 12:45:25 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13539 
====================================================================== 
Reported By:                infiniti_guy
Assigned To:                bkruse
====================================================================== 
Project:                    Asterisk-GUI
Issue ID:                   13539
Category:                   General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.21.2 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 3855 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-09-23 00:24 CDT
Last Modified:              2008-09-23 12:45 CDT
====================================================================== 
Summary:                    Extensions file error after incoming call rules (in
GUI 2.0) and logout
Description: 
In GUI 2.0 (build 3855), after changing/setting incoming call rules and
then logout. During next login, several settings are duplicated in the
extensions.conf file. In build 37XX the GUI would get stuck in a loop
(trying to login) and duplicate the foloeing setting durign each login
loop:
[general]
static = yes
writeprotect = no
clearglobalvars = yes
autofallthrough = yes
static = yes
writeprotect = no
clearglobalvars = yes
static = yes
writeprotect = no
clearglobalvars = yes

And then duplicate the following sections again at the bottom of the
file:
[general]

[globals]

In build 3855, the GUI has a similar response after setting incoming
rules, perform logout, then login, except no crash loop is detected, but
the settings are duplicated as follows for each manual login after setting
incoming rules.
[general]
static = yes
writeprotect = no
clearglobalvars = yes
autofallthrough = yes
static = yes
writeprotect = no
clearglobalvars = yes
static = yes
writeprotect = no
clearglobalvars = yes

[globals]
...
FEATURES = 
DIALOPTIONS = 
RINGTIME = 20
FEATURES = 
DIALOPTIONS = 
RINGTIME = 20
FEATURES = 
DIALOPTIONS = 
RINGTIME = 20
FEATURES = 
DIALOPTIONS = 
RINGTIME = 20




[general]

[globals]

[default]

[conferences]

[ringgroups]

[queues]

[voicemenus]

[voicemailgroups]

[directory]

[general]

[globals]

[default]


I am not sure why these settigns keep getting repeated, but it only occurs
after changing the incoming rules and then logout/login (logout does not
have to be immediately after changing incoming rules).
====================================================================== 

---------------------------------------------------------------------- 
 (0092802) pari (developer) - 2008-09-23 12:45
 http://bugs.digium.com/view.php?id=13539#c92802 
---------------------------------------------------------------------- 
Can you start over with the default asterisk config files and see if you
can reproduce the problem.

The only way i could see this happening is when the gui id being used from
two instances at the same time. The config files read are cached in the
browser until the you make any changes, in the mean while - if the files
are changed from another gui instance - these changes will not be reflected
in the first instance's cache, as the first instance still thinks that the
files are not modified. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-23 12:45 pari           Note Added: 0092802                          
======================================================================




More information about the asterisk-bugs mailing list