Asterisk 1.6 and 1.4 with FreePBX auto install script for debian lenny 32bit



We are publishing the latest Asterisk install that will setup basically Asterisk 1.6.20 and 1.4.28 respectively. It is designed to be a single command line execution where you key in your MySQL password when you run the script and it will install everything in about 30 minutes with 200kbps download speed.
It has multiple tools via cli and web that we feel makes the whole installation simply sufficient to manage, monitor and administer your Asterisk box. It also enables SSL where possible.
All components of FreePBX works with default passwords, so you must change that after.
These scripts only works with Debian 5 fresh bare metal install. Do read the headers of the script file before doing anything.
1.4 – http://nagios.intuitinnovations.com/downloads/asterisk/asterisk1.4.2-A-install (MD5: 54af3cb0583bca1d059ae6bcbd65fadb)
1.6 – http://nagios.intuitinnovations.com/downloads/asterisk/v1.6/asterisk1.6.2-A-install (MD5: bfbd86acd7712ef61cc006528bb7b3da)
Have fun and please do give us your feedback and if you’ve improvised the script, please do share it back with us so we can share it back with the world.
Sharing is caring.
Merry Christmas and Happy New Year from all of us at 

December 28th, 2009 at 6:59 pm
The script stops here with the following error——————————
make[2]: Leaving directory `/usr/src/zaptel-1.4.12.1/menuselect’
echo “You do not appear to have the sources for the 2.6.31 kernel installed.”
You do not appear to have the sources for the 2.6.31 kernel installed.
exit 1
make[1]: *** [modules] Error 1
make[1]: Leaving directory `/usr/src/zaptel-1.4.12.1′
make: *** [all] Error 2 Exiting.
I have tried to get kernel 2.6.31 to /usr/src and unpack it but still does not help
January 2nd, 2010 at 3:21 pm
Ok, it seems I have solved the problem by compiling new kernel source. However, upon running the script this problem appears. Any suggestion?
————————————————————————————————
make -C /lib/modules/2.6.32.2-custom/build ARCH=i386 SUBDIRS=/usr/src/zaptel-1.4.12.1/kernel HOTPLUG_FIRMWARE=yes KBUILD_OBJ_M=”pciradio.o tor2.o torisa.o wcfxo.o wct1xxp.o wctdm.o wcte11xp.o wcusb.o zaptel.o ztd-eth.o ztd-loc.o ztdummy.o ztdynamic.o zttranscode.o wct4xxp/ wctc4xxp/ xpp/ wctdm24xxp/ wcte12xp/” modules
make[2]: Entering directory `/usr/src/linux-2.6.32.2′
CC [M] /usr/src/zaptel-1.4.12.1/kernel/pciradio.o
/usr/src/zaptel-1.4.12.1/kernel/pciradio.c: In function ‘pciradio_start_dma’:
/usr/src/zaptel-1.4.12.1/kernel/pciradio.c:1701: error: implicit declaration of function ’set_current_state’
/usr/src/zaptel-1.4.12.1/kernel/pciradio.c:1701: error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function)
/usr/src/zaptel-1.4.12.1/kernel/pciradio.c:1701: error: (Each undeclared identifier is reported only once
/usr/src/zaptel-1.4.12.1/kernel/pciradio.c:1701: error: for each function it appears in.)
/usr/src/zaptel-1.4.12.1/kernel/pciradio.c:1702: error: implicit declaration of function ’schedule_timeout’
make[3]: *** [/usr/src/zaptel-1.4.12.1/kernel/pciradio.o] Error 1
make[2]: *** [_module_/usr/src/zaptel-1.4.12.1/kernel] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.32.2′
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/zaptel-1.4.12.1′
make: *** [all] Error 2 Exiting.
January 3rd, 2010 at 4:42 am
Can you post your system config? Like OS version etc? This scripts works all the time when i install a fresh debian.
January 3rd, 2010 at 3:10 pm
I am using Debian Lenny 5.0 with customer kernel 2.6.32.2-custom #1 SMP Sat Jan 2 04:12:44 UTC 2010 i686 GNU/Linux
I have installed new kernel source after the first problem, then it ended up with the second problem. Is it possible that zaptel version is not compatible with kernel source 2.6.32-2?
My machine is: Intel Core i5-750,4 x 2,66 GHz, 6 GB DDR3-RAM, 2 x 1.000 GB SATA
Any suggestions?
January 3rd, 2010 at 3:11 pm
Which kernel source you are using? thanks
January 4th, 2010 at 1:34 pm
It turned out that the latest Zaptel driver from Digium (version 1.4.12.1) couldn’t compile because
of the kernel-source 2.6.32.2. The solution is: I downloaded the latest SVN snapshot from the
Digium website, instead of the tarball with the latest stable release (revision
r4692), Also, I have deleted zaptel download from your script. and changed asterisk folder to 1.4.27.1 but in the script it is run as from the directory asterisk-1.4.28. So, after some minor corrections it went all right. Fantastic script
February 24th, 2010 at 10:55 am
Hi!
The script for asterisk 1.4 installs and works 100%, but there is a problem with the script for asterisk 1.6, it shows erros line 839 and 842.
March 10th, 2010 at 12:01 am
Hi Carlos, try the new one. http://intuitinnovations.com/blog/archives/241
April 8th, 2010 at 11:41 pm
hi, congrats for these scripts that make it easier for non linux experts! I tried the 1.6 option last month and it worked very nice. I’ve upgraded my lab hardware and used this script again from a fresh deb5.04 netinstall but now it fails in several lines, it looks like there’re some dependencies are now old and then it fails to compile. I’ll really appreciate it if you have an updated version ….
April 9th, 2010 at 2:00 am
Hi Leandro, yes we have, its in this post here: http://intuitinnovations.com/blog/archives/234