Conditionally load the AGI command gosub, depending on whether or not res_agi

has been loaded, fix a return value in the loader, and ensure that the help
workhorse header does not print on load.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@120602 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2008-06-05 15:58:11 +00:00
parent 77f9f76bc2
commit 90d75af346
3 changed files with 30 additions and 13 deletions

View File

@@ -2722,7 +2722,6 @@ static char *handle_cli_agi_show(struct ast_cli_entry *e, int cmd, struct ast_cl
" When called with a topic as an argument, displays usage\n"
" information on the given command. If called without a\n"
" topic, it provides a list of AGI commands.\n";
break;
case CLI_GENERATE:
return NULL;
}