[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
Wed Nov 5 13:02:40 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-05 13:02 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
======================================================================
----------------------------------------------------------------------
(0094594) bkruse (manager) - 2008-11-05 13:02
http://bugs.digium.com/view.php?id=13539#c94594
----------------------------------------------------------------------
That's great awk.
I believe the problems experienced here are not related to AEL (as ael
does not touch extensions.conf), but rather the manager interface had
changes to it which introduced this problem.
If you really look into the problem, like I am doing now, it's seems to be
with
the 'append' action in the uri action "updateconfig"
The problem is that when you add a line eg
[6000]
foo=bar
Then want to "append" to foo you will get
[6000]
[6000]
foo=bar
(then 238953874985798347598433 blank lines)
I am trying to figure this out now.
Issue History
Date Modified Username Field Change
======================================================================
2008-11-05 13:02 bkruse Note Added: 0094594
======================================================================
More information about the asterisk-bugs
mailing list