Siplepbx
Páginas: 8 (1955 palabras)
Publicado: 25 de noviembre de 2012
Introduction Thank you for downloading SimplePBX. This is my attempt to create a multitenant system that is easy to use. SimplePBX is not a complete package, it relies having a working Asterisk (TM) installation.Please contact me if you have any suggestions or if you are interested in helping out in any capacity. As with most open source projects this is not a full time effort and does take time to achieve a usable package. I'm interested in hearing from everyone, whether you have something good or bad to say. My motivation for creating SimplePBX is based on several goals: 1. Learn about about Asterisk as much as possible. 2.Learn Linux/Unix as much as possible 3. Learn Freepascal/Mysql I would say at this stage some of these goals have been met half way. Coming from Windows Networking background I feel comfortable working at the command prompt in Linux now. Everyday I find myself learning so much more. In creating SimplePBX i have learned about many of the configuration files, codecs, log files, and protocols that Asterisk relies on.Programming has always been a hobby of mine but mostly in Borlands Turbo Pascal. I was really happy to discover that an open source “Borland Pascal” like compiler was available. Even more of surprise was how good this compiler was. I was able to use my existing Turbo Pascal knowledge to quickly start programming in Freepascal.Besides SimplePBX I have also creatined a simple billing program for Think Simplicity (http://www.thinksimplicity.ca) that calculates rates based on channel and DID. This has not been released as open source but is available from me if anyone is interested.
Requirements 1. Compatible Linux installation. CentOS 4.x, Red Hat Fedora Core 2. Asterisk 1.2 installation. Go to to www.asterisk.org to download and follow installation instructions You will also need to install the asterisk addon package. You do not need to install the zaptel or libpri packages because at this point SimplePBX cannot make use of this hardware. 3. Freepacal 2.0.4 compiler if you are compiling from source code. Can be downloaded from http://www.freepascal.org Follow instruction on how install Freepascal from the freepascal web site. 4. SimplePBX is available from http://sourceforge.net in source format. A binary for Fedora Core 5 is also available for download. 5. SIP account from a TSP (Telephony Service Provider), in order to receive and make calls.
Downloading SimplePBX 1. Download the latest source release from Sourceforge.net Select the file in the format of simplepbx.0.0.3.tar.gz Where x.x.x is the latest version. http://sourceforge.net/project/showfiles.php?group_id=182006Compiling SimplePBX 1. Create a folder somewhere on your system. The /usr/src directory is probably a good choice. mkdir /usr/src/simplepbx 2. Go to that folder by typing cd /usr/src/simplepbx 3. tar zxvf /download/simplepbx.0.0.3.tar.gz Replace download with the actual directory you downloaded simplepbx.0.0.3.tar.gz file. 4.Type fp to launch freepascal compiler IDE. From the file menu select Open and select the simplepbx.pas file, From the Compile menu select Build. This will create the binary file of simplepbx in the current directory You can also compile using the freepascal command line compiler by typing fpc simplepbx.pas This will build all the files automatically. 5.You can copy the simplepbx binary file to any location on your system. /usr/local/simplepbx might be a good location. If you receive a linking error during compiling it is probably because the libmysqlclient.so library is not in the /usr/lib directory but in /usr/lib/mysq. The error looks like this when compiling from the command line. Linking simplepbx /usr/bin/ld: cannot find lmysqlclient...
Leer documento completo
Regístrate para leer el documento completo.