projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1692747
)
make chan_h323 not load if no config file is found
author
Thorsten lockert
<tholo@sigmasoft.com>
Tue, 21 Oct 2003 13:12:30 +0000
(13:12 +0000)
committer
Thorsten lockert
<tholo@sigmasoft.com>
Tue, 21 Oct 2003 13:12:30 +0000
(13:12 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1641
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_h323.c
patch
|
blob
|
history
diff --git
a/channels/chan_h323.c
b/channels/chan_h323.c
index
312a8bd
..
8d5c720
100755
(executable)
--- 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 */