Scripts : Asterisk 1.6 : Development

*Experimental* Means these are all beta programs and may not work AT ALL. Notwithstanding these are being used by the PIAF Dev Team every day and work *HERE*. Your mileage may vary, no warranties express or implied, and running these programs may cause you to have to reinstall PBX in a Flash Version 1.2 or 1.3 – Asterisk 1.6 BETA at any time. Do not use PBX in a Flash Version 1.2 or 1.3 – Asterisk 1.6 BETA on a production machine *EVER*!

Asterisk 1.6 PIAF Dev Environment

Note this is not recommended for a production machine at all! it is designed for a PBX type development machine. If you are not a developer we don't recommend you use this script!

Welcome to the uberscript that will do the following:

  • Install a number of missing dependencies that may be required if you are going to recompile Asterisk or develop software for PBX in a Flash.
  • Downloads, installs, and recompiles the latest source from Digium. The net effect of this is it may make your machine unstable and no longer suitable for a production environment.
  • Turns off a number of services that you may be using for PBX in a Flash in a production environment.
  • Installs a number of tools that you can use for PBX developmen.
  • Installs Xwindows-KDE. While the Linux zealots will sneer at this if you are just learning it is nice to have a familiar GUI environment prior to leaning the command line which can be somewhat challenging. A number of development tools are also installed in the GUI such as Kdevelop and KDESVN (See note below for the source to prevent the software police from whining). If Xwindows-KDE is not running it merely takes up space on your hard drive but not processor or memory resources.

Installation

  • Log onto PBX in a Flash via the CLI (Command Line Interface) as user root
  • wget http://pbxinaflash.org/ast14/scripts/install-piafdev.x.gz
  • gunzip install-piafdev.x.gz chmod +x install-piafdev.x ./install-piafdev.x
  • The rest of the install will complete as normal.
  • Your PBX in a Flash system will reboot now.
  • Log onto PBX in a Flash via the CLI (Command Line Interface) as user root.
  • Type rm -f install-piafdev.sh and then tap the ENTER key Type system-config-display and then tap the ENTER key.
  • In the new window select the resolution you want and then save it.
  • Once you are back at the command prompt type startx and tap the ENTER key

When Digium releases new source they sometimes forget to fix the link that allows the automatic downloading of the latest source. In order to compensate for this the install-piafdev program has been updated to support an external configuration file where you can change the values of the files to be downloaded.

Once digium has *fixed-* the link problem with their download site simply delete the conf file and it will go back to the automated way of downloading the latest source files.

  • Download the update-source.gz as above Do Not Run It Until You Complete the Rest of the steps below!
  • Log onto PBX in a Flash via the CLI (Command Line Interface) as user root
  • cd /usr/local/sbin
  • wget http://www.pbxinaflash.org/ast16/files/source16.conf
  • You can have a look in the file with joe and there are complete instructions within.
  • cd /root
  • ./install-piafdev.x

Enjoy. There is enough stuff here to keep you busy for a while. If anyone notices anything else a programmer might benefit from please let me know so I can include it.

Documentation

Script Creator: Tom King

Here is the link to the source of KDESVN and it's related code base:

http://www.alwins-world.de/repos/kdesvn/
or
http://www.pbxinaflash.org/files/kdesvn-0.14.1.tar.bz2

This notice was put in to satisfy the software police that seem to be lurking out there protecting us from ourselves.