Debian Lenny, Asterisk & FreePBX Script update
Following the burning of some midnight oil, the automated Asterisk script has been updated and works as it should with Lenny and the latest version of Asterisk, Dahdi etc. Also added some minor error checking which looks at whether the script has run previously and cleans up the source trees if required. This means if the script is interrupted before it finishes (eg Internet drops out), you can just restart the script and it should continue and recover.
A classic example of the script being interrupted is the error “amportal binary can not be found (/usr/local/sbin/amportal)”
Also added fixes and suggestions from those comments left in the wiki. (thanks for the feedback)
Lastly, Digium seemed to have moved the asterisk-addons version info off the front page of the website with their new design. You can still find the info here. http://downloads.asterisk.org/pub/telephony/asterisk/
As of the date of this post, the Asterisk version information within the script is current.
Feedback is appreciated, get the script from here
http://www.corenetworks.com.au/wiki/doku.php?id=debian_asterisk_freepbx_script
-Matt