diff --git a/channels/chan_h323.c b/channels/chan_h323.c index 312a8bd2a4978526f999e63f6c1351b4e4faf52b..8d5c7206357d8365a6e5007de7cc0017e14333b3 100755 --- a/channels/chan_h323.c +++ b/channels/chan_h323.c @@ -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 */