dect
/
asterisk
Archived
13
0
Fork 0

make chan_h323 not load if no config file is found

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1641 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
tholo 2003-10-21 13:12:30 +00:00
parent 6d151c2e13
commit 6528d5f1c7
1 changed files with 2 additions and 2 deletions

View File

@ -1389,7 +1389,7 @@ int reload_config(void)
/* We *must* have a config file otherwise stop immediately */
if (!cfg) {
ast_log(LOG_NOTICE, "Unable to load config %s, H.323 disabled\n", config);
return 0;
return 1;
}
h323debug=0;
@ -1747,7 +1747,7 @@ int load_module()
if (h323_set_gk(gatekeeper_discover, gatekeeper, secret)) {
ast_log(LOG_ERROR, "Gatekeeper registration failed.\n");
// h323_end_process();
return -1;
return 0;
}
}
/* And start the monitor for the first time */