Scripts : Deprecated : Development

These scripts will only run with PBX In A Flash ISO version 1.0 and 1.1 with Asterisk 1.4.15 or earlier. If you use it on "other pbx" systems you may have problems.

Deprecated Update Source

This script is now included in new installs of PBX in a Flash. If you want to update your existing PBX in a Flash install with the latest scripts please click here.

NOTE: Sometimes Digium releases new source and "forgets" to add the link to download the source files automatically. For the moment if you experience this I recommend you Ctrl-C out of the updatesource.sh script and try again much later. I am in the midst of adding some extra error checking code to automate this process. On Nov 29 Digium the source for asterisk and they forgot the put the automated link in.

This script will update your PBX in a Flash system to the latest source code from Digium. Do we recommend this? If you have a program you wish to install that mandates you have to recompile the Digium source then yes.

Another time to recompile is if there is a security alert that may effect your system In all cases it is a good idea to look in the forum prior to running this script. Should this be used routinely on a production system? NO!!! It is recommended you do not use this script on a production system at all unless you know you have to.

NOTE: This script is partially interactive so pay attention. The script will check to see if zaptel is running and if not it will turn it off and reboot. Once the system has rebooted rerun the script. You will be asked if you want to upgrade the kernel choose yes or no. If you choose yes the system will update the kernel if available and reboot. If you choose not the install will continue.

The next interactive prompt is the HPEC menu. Choose yes or no to install it.

The last prompt is the "turn off ooh323 as below.

The system will reboot once more and all should be well.

Caveats

There seems to be some warnings in the compile process. So far you can safely ignore these warnings.

Installation

NOTE NEW SPELLING OF UPDATE-SOURCE

  • Log onto PBX in a Flash via the CLI (Command Line Interface) as user root
  • cd /root
  • wget http://www.pbxinaflash.org/scripts/update-source.gz
  • gunzip update-source.gz
  • chmod +x update-source
  • ./update-source
  • This is a partially interactive script which requires user intervention. Below are some of the screens you may see.

step 1

Please tap the ENTER key and after a short delay you will see the following screen:

step 2

Please tap the ENTER key and you should see the screen below:

step 3

Using the arrow keys navigate down to the 4th selection and press the SPACEBAR whcih will deselect this choice. Now tap the X key and you will see the screen below:

step 4

The rest of the install will complete as normal
Your PBX in a Flash system will reboot now.

Ain't it cool? No more waiting for pre-compiled binaries! You can do your own thing.

Documentation

Script Creator: Tom King