Comments
The Asterisk Gateway Interface, or AGI, provides a standard interface by which external programs may control the Asterisk dialplan. Usually, AGI scripts are used to do advanced logic, communicate with relational databases (such as PostgreSQL or MySQL), and access other external resources. Turning over control of the dialplan to an external AGI script enables Asterisk to easily perform tasks that would otherwise be difficult or impossible.
Posted by adalson007
Asterisk Gateway Interface (AGI)
The Asterisk Gateway Interface is an interface for adding functionality to Asterisk with many different programming languages. Perl, PHP, C, Pascal, Bourne Shell - it's your choice, really.
* AGI may control the dial plan, called in extensions.conf.
* EAGI gives the application the possibility to access and control the sound channel in addition to interaction with the dial plan.
* FastAGI can be used to do the processing on a remote machine via a network connection.
* DeadAGI gives access to a dead channel, after hangup.
OR
Asterisk Gateway Interface (AGI) is the interface with which the Asterisk communicates with user-created scripts. It is similar to CGI in that any language can be used, and scripts communicate with Asterisk via stdin and stdout.
Posted by sagitraz