diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-01-30 05:37:39 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-01-30 05:37:39 +0000 |
commit | 4f0a3a4d8201ded1803c7f7f83a98b7835954b6a (patch) | |
tree | b8b4dbd763892a8af626052403565c5ea2f795f3 /apps/app_agi.c | |
parent | c8c5aa94b7f7f9731b40bf77b2d0c4f59014cd85 (diff) |
Minor app agi documentation fix (bug #943)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2094 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_agi.c')
-rwxr-xr-x | apps/app_agi.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/apps/app_agi.c b/apps/app_agi.c index 39ac20a0a..2be4987bb 100755 --- a/apps/app_agi.c +++ b/apps/app_agi.c @@ -71,15 +71,19 @@ static char *app = "AGI"; static char *eapp = "EAGI"; static char *synopsis = "Executes an AGI compliant application"; +static char *esynopsis = "Executes an EAGI compliant application"; static char *descrip = " [E]AGI(command|args): Executes an Asterisk Gateway Interface compliant\n" -"program on a channel. AGI allows Asterisk to launch external programs\n" +"program on a channel. AGI allows Asterisk to launch external programs\n" "written in any language to control a telephony channel, play audio,\n" "read DTMF digits, etc. by communicating with the AGI protocol on stdin\n" -"and stdout. Returns -1 on hangup or if application requested hangup, or\n" -"0 on non-hangup exit. Using 'EAGI' provides enhanced AGI, with audio\n" -"available out of band on file descriptor 3\n"; +"and stdout.\n" +"Returns -1 on hangup or if application requested hangup, or\n" +"0 on non-hangup exit. \n" +"Using 'EAGI' provides enhanced AGI, with incoming audio available out of band" +"on file descriptor 3\n\n" +"Use the CLI command 'show agi' to list available agi commands\n"; STANDARD_LOCAL_USER; @@ -1484,7 +1488,7 @@ int load_module(void) { ast_cli_register(&showagi); ast_cli_register(&dumpagihtml); - ast_register_application(eapp, eagi_exec, synopsis, descrip); + ast_register_application(eapp, eagi_exec, esynopsis, descrip); return ast_register_application(app, agi_exec, synopsis, descrip); } |