OpenWrt Forum Archive

Topic: Asterisk on Kamikaze 7.09?

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

Hi All!

First time playing with OpenWRT!  I want to thank everyone who's made this terrific product so wonderful!  I've been learning a lot from using it!  So far, I've been able to use a 2GB Flash Drive (one of those Corsair ones) as my root drive on my Asus WL-500gP loaded up with Kamikaze 7.09.

I finally want to get Asterisk off my aging Linux box and move it over to my Asus WL-500gP running 7.09.  I was wondering what's currently the best way to go in doing so?  I saw zandbelt's contribution for 7.06 and Asterisk 1.4.9, but saw that it is now obsolete since Asterisk has been merged into the official OpenWRT repositories.  I looked around the repositories and did an 'ipkg update' but don't see any Asterisk packages for 7.09.

So my question now is what is the best way for me to go about getting a nice new version of Asterisk installed onto 7.09?  Any helps, comments, suggestions welcomed!  And thanks in advance!

Cheers,
Kermee

Hi All!

Thought I would update my own thread as I finally figured it out!

I got Asterisk 1.4.11 installed and working great!  This was a huge upgrade for me from Asterisk 1.2.13 which I've been running on a Fedora Core 4 Linux box for a couple of years now.  The quick and dirty is the following:

1. Install Kamikaze 7.09.

2. With much thanks to Bob Keyes in compiling all the 7.09 packages (http://forum.openwrt.org/viewtopic.php?pid=57145) and hosting the packages for mipsel's at the following repository: http://sigil.eecs.harvard.edu/OpenWRT/K … /packages/

3. Add the above repository and ipkg install asterisk14 and whichever other modules you need (i.e. asterisk14-sounds, asterisk14-voicemail).

4. ipkg install by URL, http://nslu2-linux.dyoung-mirror.net/fe … mipsel.ipk ... This adds all the GUI stuff. (You may have to force-override the dependencies.  It's okay!)

5. For some odd-reason, the asterisk14 1.4.11 package from step 3 is missing codec_gsm.so.  Grab the following ipkg, http://members.home.nl/hans.zandbelt/op … mipsel.ipk, and do a tar zxvf on the file and tar zxvf on the resulting data.tar.gz.  Inside, grab the ./usr/lib/asterisk/modules/codec_gsm.so and copy it over to your installation.  Don't forget to chmod 700 the codec_gsm.so!

6. Edit /etc/asterisk/httpd.conf and set "enabled=yes", "enabledstatic=yes", change "bindaddr=0.0.0.0" and uncomment "prefix=asterisk".

7. Edit /etc/asterisk/manager.conf and make sure it's "enabled=yes", "webenabled=yes", "port=5038" and "bindaddr=0.0.0.0".  *THEN* add a section titled "[administrator]" or something similar, (The section "[mark]" is the sample one.).  Then make sure you create a "secret = yourpasshere" under the [administrator] section.  Uncomment the last two lines of the file which starts with "read =" and "write =".

8. /etc/init.d/asterisk start

9. Pray.

10. http://192.168.x.x:8088/asterisk/static … stall.html

Good luck!

Cheers,
Kermee

P.S. I see a 1.4.12 package has been compiled for mipsel, but I haven't had a chance to play with it yet.

The discussion might have continued from here.