Your Last Visit: 7/25/2008

Datatrak Header 

AsterPas
Object Pascal FastAGI Scripting Server for Asterisk* PBX Systems


What is AsterPas?
AsterPas is a multi-threaded Object Pascal based FastAGI server for the Asterisk PBX system.  FastAGI is the network implementation of the Asterisk AGI (Asterisk Gateway Interface) API for realtime call control of the Asterisk PBX system.  AsterPas uses powerful Object Pascal based scripting to handle FastAGI requests from any Asterisk PBX.

Work has begun to integrate AsterPas with DialplanPro development software for Asterisk PBX systems.  Current support for AsterPas includes Pascal style syntax highlighting, Parameter Hints and script compile/error checking in the DialplanPro script editor.  The DialplanPro Visual Menu Builder also includes a FastAGI menu widget for easily access AsterPas scripts directly from the dialplan using the familiar property sheet to assign the FastAGI server parameters.

How Does it Work?
Because AsterPas is a TCP based server, it can be run on the local Asterisk machine for smaller deployments or it can be run from any available network computer to offload processing from the Asterisk PBX.  AsterPas is cross platform and  has been tested on Windows XP/2003 and Linux CentOS 4.4.

AsterPas listens for requests from Asterisk PBX computers for script services.  Requests are made from the Asterisk dialplan using the syntax:

[sample-context]
exten=>s,1,AGI(agi://192.168.1.104/TestAGI?Arg1=TheStarsOfMars)

Asterisk then uses the information supplied to contact AsterPas.  AsterPas parses the request, determines the script to run with any supplied parameters, compiles the script and finally executes the script.  Because AsterPas uses a powerful pascal language scripting engine, scripts written for AsterPas have great power and flexibility including built in class objects for common functions like AGI commands, Text To Speech, Database Access and more. 

Sample Scripts:

Why Object Pascal Language?
We are biased since many of our products (including AsterPas) are written in Object Pascal.  The truth is that Object Pascal is a powerful, flexible, strongly typed, object oriented language that is very easy to learn and use.  Especially if you're familiar with programming languages such as Java, and C/++.  Pascal is strong like, but easy like BASIC.  

Pascal Central - The Place for Pascal
http://pascal-central.com/

How is AsterPas Licensed?
We are offering the beta version through version 1.x as freeware.  You can use it for both commercial and non-commericial projects and installations.  Version 2.x and forward will be commercialware and optional, but the entire 1.x development cycle will be strictly freeware.


Where Can I Get It?
You can download the binaries for AsterPas using the following links:

   Linux i386 Binary

   Win32 Binary

 
Documentation
Documentation is available for viewing online.  Documentation covers class objects exposed by AsterPas.  It does not cover general pascal, object pascal language.  Please refer to the Pascal Central link above for tutorials and links for pascal.


* The open source and FREE Asterisk PBX software is copyrighted by Digium, Inc. and DataTrak Business Solutions, Inc. has no affiliation with Digium, Inc. other than being appreciative of a great open source product.

Copyright Notice: All trademarks, brandnames, logos, etc. are the property of their respective copyright holders.