OpenWrt Forum Archive

Topic: Asterisk - GUI

The content of this topic has been archived on 29 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

For those interested I've built Asterisk-GUI (SVN Version) for openwrt

Everything is located here, as well as a small "how-to":

https://dev.openwrt.org/ticket/6543

Could you build Asterisk-GUI for OpenWRT 8.0.9.1 CPU Broadcom 5352 ?
Router is WRT54GL.
Or you can tell me how to compile ?


svn co svn://svn.openwrt.org/openwrt/branches/8.09
svn co svn://svn.openwrt.org/openwrt/packages/
downloaded asterisk GUI 2.0.tar.gz
tar -zxvf 2.0.tar.gz                         #extract archive

cd 8.09
make menuconfig
make

I don't know how to continue

Thanks

Read this. BTW, if you want to port Asterisk GUI-2.0 to OpenWRT, please use the OpenWRT SVN trunk version.

@ radu2000v , get it from here smile http://devil.dynip.sapo.pt/~devil/aster … mipsel.ipk

@ mazilo, in this case this package will work on both 8.09.2 and trunk since it has no binaries it's a javascript / html framework, i'll go to IRC later in order to try to officially submit the package, thanks

kadettgte wrote:

@ radu2000v , get it from here smile http://devil.dynip.sapo.pt/~devil/aster … mipsel.ipk

Hi kadettgte may I ask you a favor?
Do you already have an IPK for the Kamikaze 8.09.2 Atheros? (FON)
Or can you point me some directions to somehow detailed tutorial in order to compile it by myself?

I moved from DD to OpenWrt (in fact Gargoyle) last week and it has not been that easy to me to successfully crosscompile sources yet. sad

I already have asterisk (got 14-mini IPK) and FIVN runing fine.  But I'd love to try your GUI.

By the way, have you seem FIVN GUI?  It's a simple approach, but very helpful.  Even the v1.6 that I'm runing now.
They have just release v2.10 (but I'm having some problems to run it...).

Thanks!

(Last edited by wilsonhlacerda on 2 Mar 2010, 17:22)

that host is currently down, but if you follow the ticket link , there's also a x86 you can use in your fonera because there are no binary files there, they're all html/javascript , and if you are familiar with the openwrt buildroot you can use that link as well to build your package.

As for the FIVN, still haven't checked it, this GUI is NOT mine, it's from digium smile

Best Regards

good...
Thanks...

(Last edited by Sam13 on 2 Aug 2010, 02:02)

I have successfully installed GUI and can access it, but it complains about "no USERS.CONF" I added a blank file users.conf in /etc/asterisk.
Now cannot add users or select provider types in "Add Provider".

All seems well but GUI is simply nice to look at right now only....

The above two are SPAM posts that are meaningless but contains SPAM links in the signature.

Mod, please remove the above two posts as well as this one.

wow this thread is still alive,
@michel7more i haven't touched this for a while now, if i recall the users.conf was automatically generated, i'll lonk into this when i have the time.

kadettgte wrote:

wow this thread is still alive,
@michel7more i haven't touched this for a while now, if i recall the users.conf was automatically generated, i'll lonk into this when i have the time.

The link on the ticket #6543 is dead. Can you please update it? Also, the current AsteriskNow is v2.0.4. Can you please update to v2.0.4?

there's a buildroot makefile etc posted at the ticket  that uses svn from digium (if still should work if they haven't changed it)

https://dev.openwrt.org/attachment/tick … gui.tar.gz

you can try to build it yourself as i'm setting up an updated buildroot smile

Thanks. I will wait for you rnew update.

By the way, for what architecture do you want it? i can test it on x86 but can build for whatever you want

kadettgte wrote:

By the way, for what architecture do you want it? i can test it on x86 but can build for whatever you want

I have a NetGear WGT634U hosting my Asterisk PBX System. Also, I have a Seagate DocStar with a built-in of both Asterisk and FreeSWITCH PBX Systems, but only use the FreeSWITCH at the moment.

I don't have a problem to build your Asterisk GUI package. As a matter of fact, I have it up running using uhttpd (the OpenWRT default web server). However, on the Asterisk™ Configuration Engine page, the default admin/admin combination doesn't seem to work to login.

That's weird... try this

Stop Asterisk /etc/init.d/asterisk stop

and start it this way

asterisk -vvvvvvvvvvvc (yeah lot of v's 3 should be ok but i like to abuse on v's)
and try to login, if it fails it should complain in the log

kadettgte wrote:

That's weird... try this

No and I don't see any weirdness on this. What I fail to see is the relevancies of /etc/asterisk/httpd.conf and /etc/asterisk/manager.conf files w.r.t the running uhttpd. Perhaps, you can shed some lights on this.

Stop Asterisk /etc/init.d/asterisk stop

and start it this way

asterisk -vvvvvvvvvvvc (yeah lot of v's 3 should be ok but i like to abuse on v's)
and try to login, if it fails it should complain in the log

I followed you suggestion above and there isn't any activites on the asterisk CLI indicating any complains related to any failures in accessing the asterisk-gui. Does asterisk read the /etc/asterisk/manager.conf file when it starts? If no, then I don't see any correlation between asterisk-gui and asterisk w.r.t a running uhttpd that serves as the default web server for OpenWRT.

yes, asterisk reads it, i'll check this later at home, i don't have any vm here at work smile

Thanks for the build big_smile gonna check it out this evening.

kadettgte wrote:

yes, asterisk reads it, i'll check this later at home, i don't have any vm here at work smile

I read the /etc/asterisk.manager.conf file and it states that one needs to create a file in /etc/asterisk/manager.d directory to se the password, but it fails to mention the file name.

just a question, are you trying to use this against asterisk 1.4 or 1.6? i only tested it with 1.4... maybe the configs at the makefile are messing you up if you're trying to use 1.6

I tried it on Asterisk v1.8.0.

Now, I re-installed asterisk-1.6.x and the problem persists.

I excerpted the /etc/asterisk/manager.conf as shown below:

 No access is allowed by default.
; To set a password, create a file in /etc/asterisk/manager.d
; use creative permission games to allow other serivces to create their own
; files
#include "manager.d/*.conf"

Do you know what is the filename for the file in /etc/asterisk/manager.d directory?

so there's your problem, if you check my makefile, you'll see the 1.4 dependency, i only made this for 1.4 because 1.6 wasn't very stable on openwrt by that time

The discussion might have continued from here.