Asterisk Gateway Interface Development

Ranked #83,354 in Computers & Electronics, #1,289,522 overall

Welcome

There are very few resources online for those wanting assistance in the development of Asterisk Gateway Interface (AGI) applications. On this page, I hope to collate information to assist those wanting to learn more.

Getting Started

The fountain of VoIP knowledge

One of the best places to start when beginning to write AGI scripts, is to come to terms with VoIP fundamentals. The ultimate resource for all things VoIP is a wonderful online wiki, VoIP-Info, found at http://voip-info.org .

Start by using the search box found on the left, and search for topics such as:
SIP
Channels
IVR
Zaptel
AIX
Asterisk Dialplan
AGI
AGI-PHP

Step 1 : Choose a Frame Work

um.... not too many options unfortunately

Once you have wrapped your mind around the various VoIP features, terminology and technologies, you will want to choose a platform or framework on which to develop your AGI scripts.

The most widely used, though utterly "obese", framework is the OpenSource project PHP-AGI. This is hosted by SourceForge and makes use of OOP techniques to access Asterisk functionality.

However, if you wish for more control, you might consider writing your own mini-framework, as I did. You can have a look at my single-file function library for PHP I wrote here:
PHP AGI Function Library by Ralfe Poisson.

Links

Some good web resources

PHP AGI function library by Ralfe Poisson
Here is a simple function library for easy inclusion into your AGI script which gives you easy to use access to Asterisk functionality.
Voip Info wiki
Everything you could possibly want to know about anything VoIP related.
PHP-AGI Frame Work
The most commonly used AGI frame work for PHP.
Asterisk Home Page
Here is where you can find forums, blogs, the actual software to download and other community features around the Asterisk system.

Books

Here are some books on I highly recommend

Excellent reference for all things Asterisk related. There is also a great appendix for AGI functions, and a whole chapter on how to go about writing AGI scripts. This book has excellent content which you won't easily find online.
Loading

Additional References

Here is what Google has found....

Sorry, there are no matching results available from Google

Reader Feedback

submit

by

ralfe

I am currently 23 years old, have a degree in Information Technology and Psychology from the University of KwaZulu-Natal and am currently employed as... more »

Feeling creative? Create a Lens!