Asterisk Project : Application_EAGI
This page last changed on Mar 30, 2011 by wikibot.
EAGI()SynopsisExecutes an EAGI compliant application. DescriptionUsing 'EAGI' provides enhanced AGI, with incoming audio available out of band on file descriptor 3. Executes an Asterisk Gateway Interface compliant program on a channel. AGI allows Asterisk to launch external programs written in any language to control a telephony channel, play audio, read DTMF digits, etc. by communicating with the AGI protocol on stdin and stdout. As of 1.6.0, this channel will not stop dialplan execution on hangup inside of this application. Dialplan execution will continue normally, even upon hangup until the AGI application signals a desire to stop (either by exiting or, in the case of a net script, by closing the connection). A locally executed AGI script will receive SIGHUP on hangup from the channel except when using DeadAGI. A fast AGI server will correspondingly receive a HANGUP inline with the command dialog. Both of theses signals may be disabled by setting the Executes an Asterisk Gateway Interface compliant program on a channel. AGI allows Asterisk to launch external programs written in any language to control a telephony channel, play audio, read DTMF digits, etc. by communicating with the AGI protocol on None - AGISIGHUP channel variable to no before executing the AGI application. Use the CLI command agi show commands to list available agi commands. This application sets the following channel variable upon completion:
SyntaxEAGI(command[,arg1[,arg2]]) Arguments
See AlsoApplication_AGI Import VersionThis documentation was imported from Asterisk version SVN-branch-1.8-r311874. |
![]() |
Document generated by Confluence on Oct 04, 2011 12:42 |