[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
Thu Nov 13 09:40:16 CST 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-11-13 09:40 CST
====================================================================== 
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).
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0013420 GUI - File Editor not working properly
====================================================================== 

---------------------------------------------------------------------- 
 (0094847) awk (manager) - 2008-11-13 09:40
 http://bugs.digium.com/view.php?id=13539#c94847 
---------------------------------------------------------------------- 
infiniti_guy,
There were two sides to this issue. One the loop in the gui, which has
been fixed via pari, so you can svn up to the latest trunk. The loop was
caused by the gui sending an updateconfig that Asterisk failed, reloading
and checking the configs and then re-sending the updateconfig.

and two, a config writing issue in Asterisk. This has been solved in 1.6,
but not investigated for 1.4.
http://bugs.digium.com/view.php?id=13262 - Ast-1.6 related bug 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-13 09:40 awk            Note Added: 0094847                          
======================================================================




More information about the asterisk-bugs mailing list