astpp-rate-engine.pl
Submitted by dkwiebe on Wed, 2006-11-29 02:00.This needs to be updated
This is the script that actually rates the calls for you. It can write charges to AgileBill, the main ASTPP database, and CSV files or any combination of the above. I run it from a cron job but it can be run from the dialplan.
If you call astpp-rate-engine with a uniqueid number, it will only process that particular call. Otherwise it will process all the calls it can. ie ./astpp-rate-engine.pl 123125123123.5 Please set the csv_file to a location you can use. The "default" variable should be set to whatever your standard price is as that will be used in the event that the brand the card belongs to does not have a specific price.
Features
Submitted by dkwiebe on Wed, 2006-11-29 01:58.
Current Features and Status:
|
Asterisk
|
Freeswitch
|
|
| Customer & Reseller Features |
|
|
| - Unlimited number of clients |
Y
|
Y
|
| - Multiple levels of resellers |
Y Frequently Asked QuestionsSubmitted by dkwiebe on Wed, 2006-11-29 01:56.1. How is the cost for a call calculated? It is calculated like this shows: Please check your permissions and file ownerships. This is almost always the problem. If you are not running this on an Asterisk@Home box, edit the Makefile and change USER to reflect the owner of your apache process. ASTPP DownloadsSubmitted by dkwiebe on Wed, 2006-11-29 01:47.Download from our svn server, from [url=http://sourceforge.net/project/showfiles.php?group_id=205663]Sourceforge[/url], or download one of the releases attached to this page:
* svn co https://astpp.svn.sourceforge.net/svnroot/astpp/tags/stable [path/to/where/you/want/it] To grab a development copy: (Recommended at present) These releases are outdated. Newer releases are to be found on the sourceforge page. Version 1.4 OSCommerce IntegrationSubmitted by dkwiebe on Wed, 2006-11-29 01:45.The files mentioned here, as well as these installation instructions can now be found in the ASTPP svn tree OSCommerce: www.oscommerce.org We have chosen to integrate with oscommerce. This will allow you to setup a webstore selling postpaid or prepaid voip services as well as calling cards using only open source software. Instructions 1. Add field to OSCommerce database: "ALTER TABLE products ADD notify_astpp tinyint(4) NOT NULL default 0;" 2. Add these lines at the bottom of catalog/admin/includes/configure.php and catalog/includes/configure.php. ASTPP Success StoriesSubmitted by dkwiebe on Wed, 2006-11-29 01:39.Who has a success story to post? We have been using ASTPP for the last month. more than anything i want to say thank you darren for all the help with the setup of astpp. u rock man, so does the product. keep up the good work zack We have been using ASTPP with Asterisk@Home for the past 4 Months. We did try the lot of Open Source Billing Software that was available, but most had no documentation available and were that difficult to install, we were about to give up untill we came across ASTPP. The program has the makings of an excellent piece of Billing Software and with the documentation getting better all the time, combined with very helpfull support from Darren, the program is very easy to install. With the current version of 1.2, it would fulfill the needs of most and certainly saves us a heap of time every Month. With all the additional features in the pipeline, it will leave most other Billing Programs in it's wake ! Asterisk Auto Call Out ScriptSubmitted by aqcohen on Wed, 2006-11-29 01:35.A seperate project has been setup for this. Please visit it here: www.callblast.org Aleph-AAC is designed to be used to deliver prerecorded automated messages via the telephone. It is written in Perl and uses a MySQL database to track phone numbers. There is a readme file and sql included in the most recent attachment to this article Asterisk Extensions.conf lines It would be GREAT if somebody would have the time to clean up this page and provide some better documentation. Calling CardsSubmitted by dkwiebe on Wed, 2006-11-29 01:31.Calling card support has been fully integrated into astpp. Once you have your 'brands' and your 'routes' setup, you are ready to start setting up your calling cards brands. Each 'calling card brand' is linked to a 'brand'. The calling cards will use the selling prices from the regular 'brand'. Calling card options such as disconnect fees and expiry times are configurable by 'calling card brand'. This scheme also allows several 'calling card brands' to use the same list of selling prices. ASTPP also supports calling card callback from the web using astpp-callback.cgi. This script can easily be Interface SecuritySubmitted by dkwiebe on Wed, 2006-11-29 01:31.The users/admin/reseller logins are handled with cookies. If you do not have cookies enabled in your webbrowser they will not work. The “auth” code from in /var/lib/astpp/astpp-enh-config.conf also functions as an override password that will give you access to your admin interface. Passwords are stored in clear test in the database. Reseller SupportSubmitted by dkwiebe on Wed, 2006-11-29 01:30.Reseller support is present in ASTPP. Every reseller must have a pricelist that matches their account number. That pricelist will contain that resellers default selling prices and is automatically created upon reseller account creation. When you are logged with administrator permissions, you can set accounts to belong to specific resellers. Resellers have the ability to login to astpp-admin.cgi as well as astpp-users.cgi. |
Who's onlineThere are currently 0 users and 5 guests online.
Who's new
Active forum topics |
|
|

Recent comments
49 weeks 1 day ago
1 year 28 weeks ago
1 year 28 weeks ago
1 year 29 weeks ago
1 year 38 weeks ago
1 year 43 weeks ago
1 year 43 weeks ago
1 year 44 weeks ago
1 year 44 weeks ago
1 year 44 weeks ago