[asterisk-commits] file: branch 1.4 r75619 - /branches/1.4/channels/chan_h323.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jul 18 10:25:45 CDT 2007


Author: file
Date: Wed Jul 18 10:25:45 2007
New Revision: 75619

URL: http://svn.digium.com/view/asterisk?view=rev&rev=75619
Log:
Don't bother reloading chan_h323 if it did not load successfully in the first place. This would otherwise cause a crash.

Modified:
    branches/1.4/channels/chan_h323.c

Modified: branches/1.4/channels/chan_h323.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_h323.c?view=diff&rev=75619&r1=75618&r2=75619
==============================================================================
--- branches/1.4/channels/chan_h323.c (original)
+++ branches/1.4/channels/chan_h323.c Wed Jul 18 10:25:45 2007
@@ -2999,6 +2999,10 @@
 
 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);
 }
 




More information about the asterisk-commits mailing list