How to use AGI Script in Asterisk on Ubuntu 22.04
Asterisk Gateway Interface (AGI) provides an interface between the Asterisk dialplan and an external program that wants to manipulate a channel in the dialplan. In general, the interface is synchronous – actions taken on a channel from an AGI block and do not return until the action is completed.
ubuntu