aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_h323.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-07-18 15:26:52 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-07-18 15:26:52 +0000
commit899643789e9fbda1c780074121bf1fdb2f5e02ca (patch)
treebb384df3967eac2046d8db9f38c390fa29f1f037 /channels/chan_h323.c
parent5d2824769362d1a06355bb5cccae10b5eae5612e (diff)
Merged revisions 75619 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r75619 | file | 2007-07-18 12:25:45 -0300 (Wed, 18 Jul 2007) | 2 lines Don't bother reloading chan_h323 if it did not load successfully in the first place. This would otherwise cause a crash. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@75620 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_h323.c')
-rw-r--r--channels/chan_h323.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/channels/chan_h323.c b/channels/chan_h323.c
index 10d704dc1..d43fc7728 100644
--- a/channels/chan_h323.c
+++ b/channels/chan_h323.c
@@ -3091,6 +3091,10 @@ static int h323_do_reload(void)
static int reload(void)
{
+ if (!sched || !io) {
+ ast_log(LOG_NOTICE, "Unload and load chan_h323.so again in order to receive configuration changes.\n");
+ return 0;
+ }
return h323_reload(0, 0, NULL);
}