So I'm looking at tying Elastix in with Microsoft OCS 2007 for a client, looks like I need SIP over TCP which is only in Asterisk-1.6. Time to try the update I thought! I'd previously compiled my own 1.4.22 without a worry, I needed iLBC, and have built a few distributions from a debian net-inst so thought this couldnt be too hard Figured I'd write a quick How-To just to show that its not too difficult, and also so I can just copy / paste everything next time I want to do an upgrade. This assumes you're clever enough to locate all the files & download them yourself (Well I'd really like to hope so. If you cant - You shouldnt be upgrading)!!! Files are: asterisk-184.108.40.206.tar.gz dahdi-linux-2.0.0.tar.gz dahdi-tools-2.0.0.tar.gz freepbx-2.5.1.tar.gz Maybe: asterisk-addons-1.6.0.tar.gz First, login as root, then put all files in /usr/src tar xvzf dahdi-linux-2.0.0.tar.gz cd dahdi-linux-2.0.0 make make install # Note: I dont have my TDM410p in this box, so I havent actually tested the calling in / out using any hardware cards etc... # It'll download a whole lot of firmware and stuff afterwards, just leave it to do its thing. When its done, it will tell you that you should now install the dahdi-tools package. # We're doing everything in this order, so that Asterisk builds with dahdi support. cd .. tar xvzf dahdi-tools-2.0.0.tar.gz cd dahdi-tools-2.0.0 ./configure make make install # You may also want to run make config - it'll copy some sample config files which may or may not help you cd .. tar xvzf asterisk-220.127.116.11.tar.gz cd asterisk-18.104.22.168 # run the following if you want iLBC - Skip it otherwise ./contrib/scripts/get_ilbc_source.sh ./configure # When in the menuselect, go into Codec Translators, scroll down to codec_ilbc and hit Enter to enable it, then press F12 to save & exit make menuselect make # It'll take a few mins to build. It didnt take too long on my 1.6Ghz Atom make install # Note, it'll complain afterwards about all the modules that arent compatible, things like g729, write them down somewhere cd /usr/lib/asterisk/modules # Now you mv all the files it complained about to somewhere else, otherwise it quite possibly wont start. Unfortunately this means you may lose SQL CDR logging amongst other things # Once you've done that, we just need to install FreePBX-2.5.1! cd /usr/src tar xvzf freepbx-2.5.1.tar.gz cd freepbx-2.5.1 ./install_amp amportal restart Around now, it failed due to missing format_au.so which apparently is Sun Microsystems AU format (signed linear). I commented it out by adding a ; in front of the following line in /etc/asterisk/modules.conf: load => format_au.so Ran: amportal restart Now its as good as gold So it kinda sucks Ive lost SQL CDR logging for now (Cant be bothered messing around re-enabling anything - its almost midnight here in New Zealand), and Ive only run a few test calls, nothing major, but its still nicely integrated with Elastix and hasnt died on me as the 1.6 beta versions did. This isnt a high volume box, mostly just used for testing purposes, so Ive not really put it through its paces. This at least shows its relatively easy to upgrade to the new asterisk-22.214.171.124 & freepbx-2.5.1 Comments / feedback welcome, as well as thoughts on how to stop it crashing when trying to load cdr_addon_mysql.so, as this is why I move the modules all to /root Cheers Chill.