[asterisk-gui] Asterisk-GUI does not have write access

bkruse bkruse at digium.com
Fri May 16 12:29:32 CDT 2008


Wow,

Please read the links I provide for you.

http://asterisknow.org/install-related

You can CLEARLY see that it does NOT currently work with trunk.

Please try this on a 1.4 based system.

You told me:

http://downloads.digium.com/pub/asterisk/asterisk-1.4-current.tar.gz

Yet your core show version has asterisk-trunk svn?

-brandon.


Saad wrote:
> Ok, I followed your recommendations , still  not able to add users through GUI.  Please find bellow some more info.
>
> My  Mozilla browser version:
> =================
> Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
>
>
> My SVN revision:
> ===========
> [root at SaadAsterisk ~]# svn --version
> svn, version 1.4.2 (r22196)
>    compiled Mar 14 2007, 20:55:55
>
> Copyright (C) 2000-2006 CollabNet.
> Subversion is open source software, see http://subversion.tigris.org/
> This product includes software developed by CollabNet (http://www.Collab.Net/).
>
> The following repository access (RA) modules are available:
>
> * ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
>   - handles 'http' scheme
>   - handles 'https' scheme
> * ra_svn : Module for accessing a repository using the svn network protocol.
>   - handles 'svn' scheme
> * ra_local : Module for accessing a repository on local disk.
>   - handles 'file' scheme
>
>
>
> Command> core show version
> Asterisk SVN-trunk-r114700 built by root @ SaadAsterisk on a i686 running Linux on 2008-04-27 15:19:29 UTC
>
> Also from the GUI , when I click on "system info" , "Record a Menu", "voice Menu", "Back up", and "file Editor" I receive the error 404 not found. I reinstalled the Linux and followed Oreilly's (The future of telephoney) document to install asterisk ...Same problem. (pulling my hair). 
>
> What else can I do now?
>
> Regards,
> Saad
>
>
>
>
>
> -----Original Message-----
> From: Brandon Kruse [mailto:bkruse at digium.com] 
> Sent: May-15-08 9:56 AM
> To: Saad
> Cc: asterisk-gui at lists.digium.com
> Subject: Re: [asterisk-gui] Asterisk-GUI does not have write access
>
> After you make those changes, stop/start asterisk, then clear
> your cache from your browser and retry.
>
>
> What revision of the GUI / Browser are you using?
>
> That should have fixed it.
>
> -bk
>
> ----- Original Message -----
> From: "Saad" <skhankan at gmail.com>
> To: "bkruse" <bkruse at digium.com>
> Cc: asterisk-gui at lists.digium.com
> Sent: Wednesday, May 14, 2008 10:34:04 PM GMT -06:00 US/Canada Central
> Subject: RE: [asterisk-gui] Asterisk-GUI does not have write access
>
> Unfortunately, I Still have the same problem.
>
> I did the change as you mentioned on my manager.conf, reloaded Asterisk and
> even rebooted the box.
> 1. I added few extensions through the GUI.
> 2. Saved the change.
> 3. When I clicked on "user and phone configuration", this caused to lose all
> of the previously added extensions..
> 4. When I add a conferencing extension it stays there after clicking on the
> "user and phone configuration"..so this one is working fine.
>
> Where to go now :-( 
> Saad
>
> -----Original Message-----
> From: bkruse [mailto:bkruse at digium.com] 
> Sent: May-14-08 11:44 AM
> To: Saad
> Cc: asterisk-gui at lists.digium.com
> Subject: Re: [asterisk-gui] Asterisk-GUI does not have write access
>
> Nevermind!
>
> I see the problem
>
> read = system,call,log,verbose,command,agent,user,config
> write = system,call,log,verbose,command,agent,user,config
>
> should be:
>
> read = system,call,log,verbose,command,agent,user,config,read,write
> write = system,call,log,verbose,command,agent,user,config,read,write
>
>
> -bk
>
> Saad wrote:
>   
>> The 501 error:
>> ========
>> I apologize for the confusion, I believe this 501 error was generated
>> because I forgot to add the prefix "asterisk" to the link, after I added
>> this prefix the error changed to 404. I'm able to login to the
>> http://192.168.1.xxx:8088/asterisk/static/config/cfgbasic.html ; however,
>> the advanced page http://192.168.1.xxx:8088/static/config/cfgadvanced.html
>> is now showing this 404 error on the login attempts (404 Not Found,
>>     
> Nothing
>   
>> to see here. Move along) 
>>
>> The http.conf:
>> ========
>> [general]
>> enabled = yes
>> enablestatic = yes
>> bindaddr = 0.0.0.0
>> bindport = 8088
>> prefix = asterisk
>>
>>
>> The manager.conf:
>> ===========
>> [general]
>> displaysystemname = yes
>> enabled = yes
>> webenabled = yes
>> port = 5038
>> httptimeout = 60
>> bindaddr = 0.0.0.0
>>
>> [admin]
>> secret = admin
>> read = system,call,log,verbose,command,agent,user,config
>> write = system,call,log,verbose,command,agent,user,config
>>
>>
>> I changed the port number to 8440 but still experiencing the same problem
>> (not able to save users through GUI, only conferencing users can be
>>     
> saved).
>   
>> I also see "Restarted Asterisk!! " message continuously appears and
>> disappears on the 1st page when I login to the Asterisk GUI. 
>>
>> I'm not sure how to capture the SVN info of the GUI directory as I'm still
>> very new to asterisk.
>>
>> Kind Regards,
>> Saad
>>
>>     
> ____________________________________________________________________________
>   
>> ____________________________________________________
>> -----Original Message-----
>> From: bkruse [mailto:bkruse at digium.com] 
>> Sent: May-13-08 1:40 PM
>> To: Saad
>> Cc: asterisk-gui at lists.digium.com
>> Subject: Re: [asterisk-gui] Asterisk-GUI does not have write access
>>
>> That is super interesting.
>>
>> The only place in http.c (the asterisk http server) that issues a 501
>> is if you try a method other than 'get'.
>>
>> Can you paste the svn info of the GUI directory, and your 
>> http.conf/manager.conf?
>>
>> Can you try using a different port than 8088, incase something else is 
>> using that?
>>
>> A screenshot would also be useful (does the 501 message include the 
>> asterisk footer)
>>
>> -bk
>>
>> Saad wrote:
>>   
>>     
>>> FYI, The Asterisk packages I installed on my server are:
>>> *# wget 
>>> http://downloads.digium.com/pub/asterisk/asterisk-1.4-current.tar.gz
>>>
>>> # wget http://downloads.digium.com/pub/libpri/libpri-1.4-current.tar.gz
>>>
>>> # wget http://downloads.digium.com/pub/zaptel/zaptel-1.4-current.tar.gz
>>>
>>>  
>>>
>>> Regards,
>>>
>>> Saad
>>>
>>> *
>>>
>>> On Mon, May 12, 2008 at 3:10 PM, Saido <skhankan at gmail.com 
>>> <mailto:skhankan at gmail.com>> wrote:
>>>
>>>     Dear Brandon and All,
>>>
>>>     Here's my OS version:
>>>     ===============
>>>     [root at SaadAsterisk ~]# uname -a
>>>     Linux SaadAsterisk 2.6.18-53.1.14.el5xen #1 SMP Wed Mar 5 12:39:19
>>>     EST 2008 i686 i686 i386 GNU/Linux
>>>
>>>     Asterisk GUI:
>>>     ==========
>>>     [root at SaadAsterisk asterisk-gui]# make -v
>>>     GNU Make 3.81
>>>     Copyright (C) 2006  Free Software Foundation, Inc.
>>>     This is free software; see the source for copying conditions.
>>>     There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
>>>     PARTICULAR PURPOSE.
>>>     This program built for i686-redhat-linux-gnu
>>>
>>>
>>>     One morething, this page:
>>>     http://192.168.1.xxx:8088/static/config/cfgadvanced.html    is not
>>>     working as well( it shows" 501 Not Implemented" message)
>>>
>>>     Thank you
>>>     Saad
>>>
>>>
>>>
>>>
>>>     ----- Original Message ----- From: "Brandon Kruse"
>>>     <bkruse at digium.com <mailto:bkruse at digium.com>>
>>>     To: "Asterisk GUI project discussion"
>>>     <asterisk-gui at lists.digium.com
>>>       
> <mailto:asterisk-gui at lists.digium.com>>
>   
>>>     Sent: Monday, May 12, 2008 9:56 AM
>>>     Subject: Re: [asterisk-gui] Asterisk-GUI does not have write access
>>>
>>>
>>>
>>>         What version of the GUI are you running?
>>>
>>>         http://asteriskNOW.org/install-related
>>>         <http://asterisknow.org/install-related>
>>>
>>>         (Thanks for the answer too Brandon :)   )
>>>
>>>         -bk
>>>
>>>         ----- Original Message -----
>>>         From: "Saad" <skhankan at gmail.com <mailto:skhankan at gmail.com>>
>>>         To: asterisk-gui at lists.digium.com
>>>         <mailto:asterisk-gui at lists.digium.com>
>>>         Sent: Sunday, May 11, 2008 10:07:09 PM GMT -06:00 US/Canada
>>>         Central
>>>         Subject: [asterisk-gui] Asterisk-GUI does not have write access
>>>
>>>         Hello,
>>>
>>>
>>>
>>>         I'm using a CentOS 5 for the OS and Asterisk 1.4.19.
>>>         <http://1.4.19./> The gui is running and
>>>         fully accessible but when changes made  will not save (i.e.:
>>>         add new
>>>         extension) . When i click on few other tabs on the side menu
>>>         sections i get
>>>         a Config Error: 404: Not Found. The manager.conf has write
>>>         access  ;
>>>         however, I still receive  a message "GUI does not have write
>>>         access!! Please
>>>         check manager.conf" when I log in to the gui.
>>>
>>>         Here is my managers.conf:
>>>
>>>         [manager.conf]
>>>         [admin]
>>>         secret={password}
>>>         read = system, call, log, verbose, agent, user, config, dtmf,
>>>         reporting,
>>>         cdr, dailplan
>>>         write = system, call, log, verbose, agent, user, config, dtmf,
>>>         reporting,
>>>         cdr, dailplan
>>>
>>>
>>>         Your help is greatly appreciated,
>>>
>>>
>>>
>>>         Saad
>>>
>>>
>>>
>>>
>>>         _______________________________________________
>>>         --Bandwidth and Colocation Provided by
>>>         http://www.api-digital.com-- <http://www.api-digital.com--/>
>>>
>>>         asterisk-gui mailing list
>>>         To UNSUBSCRIBE or update options visit:
>>>          http://lists.digium.com/mailman/listinfo/asterisk-gui
>>>
>>>         -- 
>>>         ******************************
>>>         Brandon Kruse
>>>         Software Technician
>>>         Digium, Inc.
>>>         150 West Park Loop, Suite 100
>>>         Huntsville, AL 35806
>>>         Phone: +1-256-428-6115
>>>         877.546.8963
>>>         877.linux.me!
>>>         www.digium.com <http://www.digium.com/>
>>>         www.asterisk.org <http://www.asterisk.org/>
>>>         ******************************
>>>
>>>         _______________________________________________
>>>         --Bandwidth and Colocation Provided by
>>>         http://www.api-digital.com-- <http://www.api-digital.com--/>
>>>
>>>         asterisk-gui mailing list
>>>         To UNSUBSCRIBE or update options visit:
>>>          http://lists.digium.com/mailman/listinfo/asterisk-gui
>>>
>>>
>>>
>>>     
>>>       
>>   
>>     
>
>
>
>
>   




More information about the asterisk-gui mailing list