Installing A2Billing

Only available on StudyMode
  • Topic: Comparison of database tools, SQL, MySQL
  • Pages : 20 (4530 words )
  • Download(s) : 297
  • Published : February 15, 2013
Open Document
Text Preview
Installation Guide
Preparing your system for Asterisk2Billing
This chapter aims to help you to prepare you system for Asterisk2Billing. Choose an Operating System / Distribution Know Os working with A2billing ( tested)
Fedora Core 2,3,4,5
Debian 3.01
Centos
The Asterisk PBX was originally designed for the Linux operating system. Due to the popularity of Asterisk, it has since been ported to BSD and Mac OS X. Nevertheless, Digium PSTN cards are designed to work on Linux i386. The use of Linux is recommended. I personally love Fedora :D but it's a question of preferences... Install Asterisk & have it up running Information is from the VoIP-Info Wiki : http://voip-info.org Get Asterisk from precompiled binary packages There are precompiled binary packages available for download, created by non-Digium contributors: •RPM packages for Linux : http://voip-info.org/tiki-index.php?page=Asterisk+RPM •DEB packages for Linux : http://voip-info.org/tiki-index.php?page=Asterisk+DEB •Asterisk.pkg install package for MacOS X : http://www.astmasters.net/stuff/Asterisk.pkg.tgz For those who are using Trixbox, you can follow the instructions here - TrixboxInstall Additionally, Trixbox user who wants to use the SVN Trunk can upgrade to MySQL5 with the instructions at TrixboxMysql Get Asterisk from sources & compile

Please check out : http://www.asterisk.org Commands to get the current snapshot from the release branch of SVN: # svn checkout http://svn.digium.com/svn/asterisk/branches/1.2 asterisk-1.2 # svn checkout http://svn.digium.com/svn/zaptel/branches/1.2 zaptel-1.2 # svn checkout http://svn.digium.com/svn/libpri/branches/1.2 libpri-1.2

Now, you have to compile the sources.
cd /usr/src/libpri
make && make install
cd /usr/src/zaptel
make && make install
cd /usr/src/asterisk
make && make install
Links for Asterisk installation
Asterisk OS Platforms
10-minute guide to Asterisk
Step-by-step Installation
Asterisk Download
Asterisk Compile
Linux Requirements
Apache
PHP
POSTGRESQL or Mysql
php-pcntl ( check with php -m )
use phpagi 2.14 included http://phpagi.sourceforge.net
need GD library
jpgraph_lib (included)
Verify the server installation
________________________________________
Verify that Asterisk is working
Are you able to make calls between two SIP/IAX friends registered on your Asterisk PBX? Are you able to make an outgoing call through one of your registrars (e.g. fwd...) from a SIP phone? If you answered no to any of the above questions, you should check your Asterisk configuration, that is unfortunately not covered in this document. If you need information about Asterisk configuration, we will advise you to read the Asterisk Handbook Verify Apache/PHP installation APACHE Check if the httpd server is installed with rpm -qa|grep httpd if you don't find httpd, it means that you didn't find it, lol :) To install the Apache server, you can quickly use YUM or APT-GET, or you can find the appropriate packages for your distribution and install them. apt-get install httpd

(debian OS)
Or
yum install httpd
(Fedora OS. etc.)
Check httpd status if it's install already (On RedHat? Linux 9 & Fedora) /etc/init.d/httpd status
Normally, you should get something like this
httpd (pid 7486 3710 3709 3708 3707 3706 3705 3704 3703 3700) is running... if you see that it's not running
/etc/init.d/httpd start
Starting httpd: [ OK ]
To enable apache server permanently to start after reboot, please check chkconfig or something similar if you are running another distro: if you don't check your Apache configuration. [edit] PHP check if it's install

rpm -qa | grep php
you should get something like
php-imap-4.3.10-2.4 php-pgsql-4.3.10-2.4 php-4.3.10-2.4 php-mysql-4.3.10-2.4 php-mbstring-4.3.10-2.4 php-mmcache-4.3.10_2.4.6-4.1.fc2 php-pear-4.3.10-2.4 php-pcntl-4.3.9-3.1.1 PHP

Requirements are :
php, php-pgsql or php-mysql,...
tracking img