[asterisk-bugs] [AsteriskNOW 0010630]: Redirected to setup page

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Sep 12 02:32:22 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10630 
====================================================================== 
Reported By:                michianawireless
Assigned To:                bkruse
====================================================================== 
Project:                    AsteriskNOW
Issue ID:                   10630
Category:                   GUI Issues
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
====================================================================== 
Date Submitted:             09-03-2007 00:33 CDT
Last Modified:              09-12-2007 02:32 CDT
====================================================================== 
Summary:                    Redirected to setup page
Description: 
Whenever I try to login to the asterisk now web admin after I enter the
credentials I am always redirected to the setup page. 

I did edit /etc/asterisk/extensions.conf and set 
hasbeensetup = Y in the asterisk_guitools and it still does it. However if
I use firefox tools > clear private data and wipe everything and try to
login to the admin page again it will work. This only works for a bit and
it always comes back. I do not want to erase my browser evertime I need to
login obviously.

* version 1.4.9
firefox version 2.0.0.6
* gui is the latest from the web site

====================================================================== 

---------------------------------------------------------------------- 
 michianawireless - 09-12-07 02:32  
---------------------------------------------------------------------- 
Yes. That is the problem it happens and I can not get into the gui. It
happens from more than 1 computer via firefox and IE does not work right.

Extensions.conf

;!
;! Automatically generated configuration file
;! Filename: extensions.conf (/etc/asterisk/extensions.conf)
;! Generator: Manager
;! Creation Date: Fri Aug 31 20:27:57 2007
;!
[general]
;
; If static is set to no, or omitted, then the pbx_config will rewrite
; this file when extensions are modified.  Remember that all comments
; made in the file will be lost when that happens.
;
; XXX Not yet implemented XXX
;
static = yes
;
; if static=yes and writeprotect=no, you can save dialplan by
; CLI command 'save dialplan' too
;
writeprotect = no
;
; If autofallthrough is set, then if an extension runs out of
; things to do, it will terminate the call with BUSY, CONGESTION
; or HANGUP depending on Asterisk's best guess. This is the default.
;
; If autofallthrough is not set, then if an extension runs out of
; things to do, Asterisk will wait for a new extension to be dialed
; things to do, Asterisk will wait for a new extension to be dialed
; (this is the original behavior of Asterisk 1.0 and earlier).
;
;autofallthrough=no
;
; If clearglobalvars is set, global variables will be cleared
; and reparsed on an extensions reload, or Asterisk reload.
;
; If clearglobalvars is not set, then global variables will persist
; through reloads, and even if deleted from the extensions.conf or
; one of its included files, will remain set to the previous value.
;
clearglobalvars = no
;
; If priorityjumping is set to 'yes', then applications that support
; 'jumping' to a different priority based on the result of their
operations
; will do so (this is backwards compatible behavior with pre-1.2 releases
; of Asterisk). Individual applications can also be requested to do this
; by passing a 'j' option in their arguments.
;
;priorityjumping=yes
;
; User context is where entries from users.conf are registered.  The
; default value is 'default'
;
;
;userscontext=default
;
; You can include other config files, use the #include command
; (without the ';'). Note that this is different from the "include"
command
; that includes contexts within other contexts. The #include command
works
; in all asterisk configuration files.
;#include "filename.conf"
; The "Globals" category contains global variables that can be referenced
; in the dialplan with the GLOBAL dialplan function:
; ${GLOBAL(VARIABLE)}
; ${${GLOBAL(VARIABLE)}} or ${text${GLOBAL(VARIABLE)}} or any hybrid
; Unix/Linux environmental variables can be reached with the ENV dialplan
; function: ${ENV(VARIABLE)}
;
[globals]
CONSOLE = Console/dsp  ; Console interface for demo
;CONSOLE=Zap/1
;CONSOLE=Phone/phone0
IAXINFO = guest  ; IAXtel username/password
;IAXINFO=myuser:mypass
;TRUNK = Zap/g2  ; Trunk interface
TRUNK = SIP/trunk_2
; Note the 'g2' in the TRUNK variable above. It specifies which group
(defined
; in zapata.conf) to dial, i.e. group 2, and how to choose a channel to
use in
; in zapata.conf) to dial, i.e. group 2, and how to choose a channel to
use in
; the specified group. The four possible options are:
;
; g: select the lowest-numbered non-busy Zap channel
;    (aka. ascending sequential hunt group).
; G: select the highest-numbered non-busy Zap channel
;    (aka. descending sequential hunt group).
; r: use a round-robin search, starting at the next highest channel than
last
;    time (aka. ascending rotary hunt group).
; R: use a round-robin search, starting at the next lowest channel than
last
;    time (aka. descending rotary hunt group).
;
TRUNKMSD = 1  ; MSD digits to strip (usually 1 or 0)
trunk_2 = SIP/trunk_2
;TRUNK=IAX2/user:pass at provider
;
; Any category other than "General" and "Globals" represent
; extension contexts, which are collections of extensions.
;
; Extension names may be numbers, letters, or combinations
; thereof. If an extension name is prefixed by a '_'
; character, it is interpreted as a pattern rather than a
; literal.  In patterns, some characters have special meanings:
;
;   X - any digit from 0-9
; literal.  In patterns, some characters have special meanings:
;
;   X - any digit from 0-9
;   Z - any digit from 1-9
;   N - any digit from 2-9
;   [1235-9] - any digit in the brackets (in this example,
1,2,3,5,6,7,8,9)
;   . - wildcard, matches anything remaining (e.g. _9011. matches
;       anything starting with 9011 excluding 9011 itself)
;   ! - wildcard, causes the matching process to complete as soon as
;       it can unambiguously determine that no other matches are possible
% 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-12-07 02:32  michianawirelessNote Added: 0070375                          
======================================================================




More information about the asterisk-bugs mailing list