Merge #exec functionality (must be explicitly enabled!)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4950 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2005-02-02 03:38:24 +00:00
parent 67f3a558e0
commit b4f05e2c98
3 changed files with 43 additions and 7 deletions

View File

@@ -70,6 +70,7 @@
int option_verbose=0;
int option_debug=0;
int option_exec_includes=0;
int option_nofork=0;
int option_quiet=0;
int option_console=0;
@@ -1547,6 +1548,8 @@ static void ast_readconfig(void) {
while(v) {
if (!strcasecmp(v->name, "verbose")) {
option_verbose= atoi(v->value);
} else if (!strcasecmp(v->name, "execincludes")) {
option_exec_includes = ast_true(v->value);
} else if (!strcasecmp(v->name, "debug")) {
option_debug= ast_true(v->value);
} else if (!strcasecmp(v->name, "nofork")) {