Skip navigation.
Home
ASTPP is an open source VOIP billing and calling card application for Asterisk(TM) and Freeswitch(TM).

IRC Channel

ASTPP now has it's own channel on irc.freenode.net.  Visit us at #astpp, we'll try to keep a couple of people in there.  Please be patient when asking questions in there as there are some time zone related problems and it may be a number of hours before anybody is on there to answer.

Spammers

This site was recently trashed by spammers.  If you come across any pages they messed up please email me at darren at aleph-com.net and i'll fix it.

Update on MySQL + ASTPP + Freeswitch Installation

Before building and installing Freeswitch, please be sure to install MySQL, unixODBC and their drivers.

However improbable this sounds, the fact is that in CentOs entering “yum install unixODBC” and "yum install unixODBC-devel" commands on the command line may not install all you need for interconnection of MySQL with unixODBC.

Hence, be sure you resolve any interconnectivity issues between MySQL and unixODBC as Freeswitch would seek out unixODBC so as to make provisions and incorporate it for use while building.

Since all servers would not be configured by one method, Please see these resources for assistance as per your scenario:

Updated Installation Manual - Freeswitch on CentOs

Install Operating System

Install Centos 5.x. ( I Only Selected  Server, Server GUI Options ).  Then Did yum update and yum upgrade all sofware default dependacies to the latest versions.  This would upgraded a Centos 5.x to Cenos 5.4
Note:- please be sure to disable SELINUX

Install Required Software

  1. Install MySql, MySql-Server and  be sure to set the password for the root user.  Note:- please do not remove the “test database” or disable the “anonymous user access” at this time.
  2. Install Apache
  3. Install PHP & PHPMyAdmin (Optional but recommended)
  4. Install Freeswitch
    • Full instructions for installing Freeswitch may be found here http://wiki.freeswitch.org/wiki/Installation_Guide
    • If you’ll use sangoma Card or any other card that needs installing before Freeswitch is installed, please Install it’s dependencies and relevant Drivers, then install OpenZap in the case of WanPipe; so Freeswitch could build making provision for the sangoma wares.
    • You'll need to install the FreeSwitch Mod_Perl.  This is done by uncommenting the "mod_perl" line the in the Freeswitch modules.conf file.  You may be missing more dependencies.  A lot of systems need "gdbm-devel" and "db4-devel" installed.  (yum install gdbm-devel db4-devel
    • Install Freeswitch (make && make install)

3. Install dependencies of ASTPP, please see 3b.

Updated Installation Manual - Freeswitch on CentOs

Please Note:-

This Manual was prepared with the Active & Dedicated contributions of Darren and Aleph Communications Staff.
The Purpose of this updated manual is to assist people Install ASTPP properly and smoothly.
I’ll submit the Debian Version soon, Just started work on it.

Install Centos 5.3. ( I Only Selected Server, Server GUI Options )- My initial attempt with a 5.4 NetInst Disk failed, reasons unknown. So i used version 5.3 then upgraded to Version 5.4.

Then Did (>$) yum update and (>$) yum upgrade to update and upgrade all sofware default dependacies to the latest versions.

Modify Accountcode

I've added support to apply regex code to accountcodes before rating.  This only applies during the rating process and is necessary for those that store extra data in their accountcodes.  It does not come populated in the configuration by default as it shouldn't be used unless necessary.

cdr_regex_accountcode

Example: -\d\d\d\d$

This will strip a taililng hyphen and 4 digits.

Edit Configuration

As of a few minutes ago svn -trunk has the ability to edit the configuration from within the web interface.

Sample cdr_csv.conf.xml

<configuration name="cdr_csv.conf" description="CDR CSV Format">
  <settings>
    <!-- 'cdr-csv' will always be appended to log-base -->
    <!--<param name="log-base" value="/var/log"/>-->
    <param name="default-template" value="astpp"/>
    <!-- This is like the info app but after the call is hung up -->
    <!--<param name="debug" value="true"/>-->

Updated Features List

The features page (http://www.astpp.org/?q=node/165) has been entirely redone and updated.  Check it out!

Freeswitch Callingcards

Freeswitch calling card support is "working" in svn -trunk.  I'm using it in testing but I'd like to get more testers on board to handle different environments.  You need astpp-fs-monitor.pl running to get the calls rated.