[asterisk-commits] file: trunk r75620 - in /trunk: ./ channels/chan_h323.c

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


Author: file
Date: Wed Jul 18 10:26:52 2007
New Revision: 75620

URL: http://svn.digium.com/view/asterisk?view=rev&rev=75620
Log:
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.

........

Modified:
    trunk/   (props changed)
    trunk/channels/chan_h323.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/channels/chan_h323.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_h323.c?view=diff&rev=75620&r1=75619&r2=75620
==============================================================================
--- trunk/channels/chan_h323.c (original)
+++ trunk/channels/chan_h323.c Wed Jul 18 10:26:52 2007
@@ -3091,6 +3091,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