Asterisk Gateway Interface 1.4 and 1.6 Programming
|Also available on:|
- Develop voice-enabled applications utilizing the collective power of Asterisk, PHP, and the PHPAGI class library
- Learn basic elements of a FastAGI server utilizing PHP and PHPAGI
- Develop new Voice 2.0 mash ups using the Asterisk Manager
- Add Asterisk application development skills to your development arsenal, enriching your market offering and experience
- Up to date for Asterisk version 1.6 and covers all previous versions
Book DetailsLanguage : English
Paperback : 220 pages [ 235mm x 191mm ]
Release Date : February 2009
ISBN : 184719446X
ISBN 13 : 9781847194466
Author(s) : Nir Simionovich
Topics and Technologies : All Books, Linux Servers, Networking & Telephony, Open Source
Table of Contents
Chapter 1: Installing a 'Vanilla' Asterisk
Chapter 2: Basic IVR Development: Using the Asterisk DialPlan
Chapter 3: More IVR Development: Input, Recordings, and Call Control
Chapter 4: A Primer to AGI: Asterisk Gateway Interface
Chapter 5: AGI Scripting with PHP
Chapter 6: PHPAGI: An AGI Class Library in PHP
Chapter 7: FastAGI: AGI as a TCP Server
Chapter 8: AMI: The Asterisk Manager Interface
Chapter 9: Final Programming Project
Chapter 10: Scaling Asterisk Applications
Download the code and support files for this book.
Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.
Errata- 1 submitted: last submission 10 Sep 2012
Errata type: Typo | Page number: 69
In the note section at the bottom of the page, a piece of text reads: (be it TDM of VoIP) This should be: (be it TDM or VoIP).
What you will learn from this book
- Create AGI applications with Asterisk easily using PHPAGI, a PHP class library
- Avoid going through the normal pitfalls of novice developers when developing Asterisk-based applications and services for the first time
- Develop AGI scripts and FastAGI servers using Asterisk-PERL modules
- Configure your AMI login information in the phpagi.conf file in order to utilize the AMI interface with PHPAGI
- Understand the Asterisk Manager Interface and its utilization in Asterisk applications
- Develop full web-based call-back platforms and highly interactive IVR applications using PHP and PHPAGI
- Learn proper development paradigms to easily scale your services and applications
- Get ideas for various Asterisk-based services and applications that you can create
Asterisk is the world's leading open-source PBX, telephony engine, and telephony applications toolkit with immense flexibility.
This book will give you a firm understanding of Asterisk Gateway Interface (AGI) development and proper AGI development practices. You will learn how to formulate Atomic AGI-enabled scripts, enabling rapid development within a well-defined Asterisk execution and runtime environment.
This book builds from the simplest form of an Asterisk application, the dialplan-based application, gradually building a full understanding of AGI scripting. The book also introduces a new concept of AGI development named "Atomic AGI" or "Particle Programming". It will introduce you to various techniques of interacting with the user, where user interaction isn't limited to keypad-based input, but also includes recording messages from the user, sending output to the user, and controlling the call flow.
The book takes a pragmatic approach with clear and complete examples, and a service development project â€” allowing you to understand the project cycle of developing an Asterisk-based service or application.
Get started with AGI development and use the dynamic features of Asterisk AGI to build your own VoIP-based telephony system
This friendly, clear tutorial takes a pragmatic approach to developing Asterisk applications, helping you to find the best solutions for your needs. Unlike most books, which simply show you how to do or what to do, this book tries to show you: "why to do?"—thus explaining the logic behind certain Asterisk development paradigms.
Who this book is for
This book is intended for developers wishing to utilize Asterisk, system administrators wishing to gain better control over their Asterisk installation, and telephony service providers wishing to deploy Asterisk-based solutions to their infrastructure. You are expected to have some experience with Asterisk and a basic understanding of programming. No knowledge of Asterisk programming is required.