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.
- Async AGI Introduced in Asterisk 1.6, allows asynchronous AGI scripting.
- 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. Deprecated since Asterisk 1.6
Gigahz' fork of this, with online lookup if local failsApplications
- AGI, DeadAGI, and EAGI: Applications to use in extensions.conf
- FastAGI: Allows running of AGI applications on a remote machine (improves performance for Asterisk)
Dialing out
If the AGI application dials outward by executing Dial, the script will suspend contact with the Asterisk server until the Dial exits. If you'd like to have additional control after the Dial completes, be sure to pass the 'g' option to the Dial application. ...