Scripting with the Asterisk Gateway Interface (AGI)

What is AGI?

Asterisk supports advanced scripting with an interface known as AGI. AGI allows your dial plans to do things such as query an external database, lookup weather reports, etc. that would normally be impossible without writing your own application for Asterisk.