Asterisk Gateway Interface
Asterisk Gateway Interface (AGI) is a software interface and communications protocol for application level control of selected features of the Asterisk PBX.[src] AGI allows an external, user-written program, launched from the Asterisk dial plan via pipes to control telephony operations on its associated control and voice channels.[src] It is similar to the CGI feature of web servers in allowing any language to be used for writing the external program which communicates with Asterisk via stdin and stdout.[src] While the initial feature set of AGI included only a procedural control of Asterisk operations via commands and response handshake, Enhanced AGI (EAGI) also provided out-of-band access to the incoming audio stream.[src] FastAGI is an extension to AGI which allows the external program to run at a separate network host to avoid the overhead of creating a new process for every call on the Asterisk server.[src] It uses a TCP socket for communication to the external host which provides the function of an AGI service, in a manner of the client–server model.[src] The default TCP port for FastAGI is 4573.[src] Similar to HTTP uniform resource identifiers (URIs), FastAGI employs a URI format of .[src] The AGI feature set of Asterisk is implemented as an Asterisk loadable module (res_agi).…[src]
Asterisk Gateway Interface (AGI) is a software interface and communications protocol for application level control of selected features of the Asterisk PBX.[src] AGI allows an external, user-written program, launched from the Asterisk dial plan via pipes to control telephony operations on its associated control and voice channels.[src] It is similar to the CGI feature of web servers in allowing any language to be used for writing the external program which communicates with Asterisk via stdin and stdout.[src] While the initial feature set of AGI included only a procedural control of Asterisk operations via commands and response handshake, Enhanced AGI (EAGI) also provided out-of-band access to the incoming audio stream.[src] FastAGI is an extension to AGI which allows the external program to run at a separate network host to avoid the overhead of creating a new process for every call on the Asterisk server.[src] It uses a TCP socket for communication to the external host which provides the function of an AGI service, in a manner of the client–server model.[src] The default TCP port for FastAGI is 4573.[src] Similar to HTTP uniform resource identifiers (URIs), FastAGI employs a URI format of .[src] The AGI feature set of Asterisk is implemented as an Asterisk loadable module (res_agi).[src] The features may be access by a variety of application programming interfaces in various languages, such as phpagi, Perl AGI Library, CAGI, NanoAGI, and PyST ==References==[src]
19 sentences · 19 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Asterisk Gateway Interface." encyclopegia.org, 2025, https://encyclopegia.org/wiki/asterisk-gateway-interface. Accessed 03 December 2026.
Chicago
"Asterisk Gateway Interface." encyclopegia.org. Accessed December 3, 2026. https://encyclopegia.org/wiki/asterisk-gateway-interface.
APA
encyclopegia.org. (2025). Asterisk Gateway Interface. Retrieved December 3, 2026, from https://encyclopegia.org/wiki/asterisk-gateway-interface
Accessed December 3, 2026 · CC BY-SA 4.0 · citation page · JSON