Asterisk Gateway Interface 1.4 and 1.6 Programming
共享用户信息
|
书籍简介
Product Description
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.
Approach
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.
From the Publisher
Who this book is written 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.
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