Hi Michael

Editing the contents of /etc is not normally recommended:

http://doc.astlinux.org/userdoc:tt_editable_files

Can you revert your changes, and instead follow the DAHDI instructions here:

http://doc.astlinux.org/userdoc:dahdi

Specifically, create /mnt/kd/dahdi/system.conf, rather than where you put
the file. I believe a symlink should take care of things from there.

Tell us how you get on

Tom


-----Original Message-----
From: Michael [mailto:auslands...@gmx.de] 
Sent: 26 January 2012 09:35
To: astlinux-users@lists.sourceforge.net
Subject: [Astlinux-users] SOLVED Re: Bugs in Asterisk GUI

Guys, I have found the problem.

There is a nice DEBUG option for the gui. Just set DEBUG_MODE to true in 
index.html. That made it easy to find the problem.

The gui writes "#include "../dahdi/system.conf" into 
"/etc/asterisk/dahdi_guiread.conf". It loops, because it cannot find 
/etc/dahdi/system.conf. That can easily be solved from the shell with "touch

/etc/dahdi/system.conf".

Now it seems to be working. :-)

Cheers,

Michael

Darrick Hartman wrote:

> My understanding is the asterisk-gui implementation for Asterisk 1.8 is
> preliminary and you may need to add some extra config variables to get it
> to work.  I'll check if there is an update available that we can include
> in 1.0.2.
> 
> Darrick
> 
> -----Original Message-----
> From: Michael [mailto:auslands...@gmx.de]
> Sent: Thursday, January 12, 2012 12:13 PM
> To: astlinux-users@lists.sourceforge.net
> Subject: Re: [Astlinux-users] Bugs in Asterisk GUI
> 
> Hmm, I downloaded the 1.4.42 version and installed it. This one seems to
> work correctly. Don't know if this is the asterisk version that matters or
> if something was borked on my first install.
> 
> I'll check now if everything works. One thing which doesn't is watching
> Asterisk logs. But I could live with that...
> 
> Thanks
> 
> Michael
> 
> Michael wrote:
> 
>> Lonnie
>> 
>> Thanks for your answer.
>> 
>> Well, I totally agree, I would like to use it without any special
>> treatment.
>> 
>> I did exactly as you said. I installed a fresh 1.0.img.gz on a CF card
>> and started my alix box with it. After installation, I only entered a new
>> user/password in manager.conf and went to the site
>> http://pbx:8088/static/config/index.html. This is where I experienced
>> these problems. First, the one stating "Updating the configuration", then
>> after "chmod" one step further.
>> 
>> Maybe it is an alix problem? Maybe I should try the virtualbox version
>> and see if it happens there, too...
>> 
>> Can it be installation specific? I chose only one partition (the default)
>> in the installation menu.
>> 
>> Btw. the "chmod" problem is also described in the internet. That's why I
>> tried that.
>> 
>> Thanks for your help
>> 
>> Michael
>> 
>> Lonnie Abelbeck wrote:
>> 
>>> Michael,
>>> 
>>> We don't *recommend* using the Asterisk GUI, but offer it as an option
>>> which some use.
>>> 
>>> For AstLinux 1.0 I briefly tried the Asterisk GUI and it seemed to work
>>> with the default sample asterisk configs (edited manager.conf and
>>> http.conf), but I did not exercise it very much.
>>> 
>>> Some have reported it works better with Asterisk 1.4 vs 1.8, but can't
>>> confirm that.
>>> 
>>> If you want to use the Asterisk GUI, I would test first with a fresh
>>> AstLinux 1.0 .img.gz image and play with it first.  You should not have
>>> to do any 'chmod' or anything extra other than enabling the
>>> /etc/asterisk/manager.conf and maybe /etc/asterisk/http.conf.  If you
>>> have
>>> some tips please report back so we can add them to the wiki.  None of
>>> the AstLinux developers use the Asterisk GUI on a daily basis, so we
>>> can't
>>> offer much help.  Maybe others can...
>>> 
>>> Lonnie
>>> 
>>> 
>>> On Jan 12, 2012, at 10:01 AM, Michael wrote:
>>> 
>>>> Hi
>>>> 
>>>> I just loaded astlinux 1.0 on my Alix box. Looks great so far, but the
>>>> asterisk GUI (Digium) has some bugs, it seems.
>>>> 
>>>> After adding a user and password to manager.conf, I am able to log in
>>>> to the gui. But it then states, it needs to update configuration files
>>>> and gets into an endless loop reloading the page and updating files.
>>>> 
>>>> I was able to get one step further by "chmod -R 777 /etc/asterisk". Now
>>>> the gui finishes the file updating, but still reloads (without a
>>>> popup). I can stop the browser manually and then click on the menu on
>>>> the left side.
>>>> 
>>>> It seems that I can use the system normally afterwards. only when the
>>>> GUI thinks a reload is necessary the loop starts again (which I again
>>>> can stop in the browser).
>>>> 
>>>> While in the loop, the system is accumulating small files in
>>>> /var/tmp/asterisk-gui/, all like "sysinfo_outputXXX.html".
>>>> 
>>>> Anybody an idea what that is?
>>>> 
>>>> On a sidenote, does anybody at all use this GUI? Or are all of you
>>>> using the text editor GUI?
>>>> 
>>>> Regards
>>>> 
>>>> Michael
>>> 
>>> 
>>> 
>>> 
>> 
> 
----------------------------------------------------------------------------
--
>>> RSA(R) Conference 2012
>>> Mar 27 - Feb 2
>>> Save $400 by Jan. 27
>>> Register now!
>>> http://p.sf.net/sfu/rsa-sfdev2dev2
>> 
>> 
>> 
>> 
> 
----------------------------------------------------------------------------
--
>> RSA(R) Conference 2012
>> Mar 27 - Feb 2
>> Save $400 by Jan. 27
>> Register now!
>> http://p.sf.net/sfu/rsa-sfdev2dev2
> 
> 
> 
> 
----------------------------------------------------------------------------
--
> RSA(R) Conference 2012
> Mar 27 - Feb 2
> Save $400 by Jan. 27
> Register now!
> http://p.sf.net/sfu/rsa-sfdev2dev2
> _______________________________________________
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via PayPal to
> pay...@krisk.org.
> 
> 
----------------------------------------------------------------------------
--
> RSA(R) Conference 2012
> Mar 27 - Feb 2
> Save $400 by Jan. 27
> Register now!
> http://p.sf.net/sfu/rsa-sfdev2dev2



----------------------------------------------------------------------------
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to
pay...@krisk.org.


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to