[Asterisk-cvs] asterisk/channels chan_sip.c,1.291,1.292

markster at lists.digium.com markster at lists.digium.com
Mon Feb 2 17:42:43 CST 2004


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv22292/channels

Modified Files:
	chan_sip.c 
Log Message:
Don't get stuck in loop


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.291
retrieving revision 1.292
diff -u -d -r1.291 -r1.292
--- chan_sip.c	2 Feb 2004 23:48:31 -0000	1.291
+++ chan_sip.c	2 Feb 2004 23:51:25 -0000	1.292
@@ -5716,6 +5716,7 @@
 		/* Check for a reload request */
 		ast_mutex_lock(&sip_reload_lock);
 		reloading = sip_reloading;
+		sip_reloading = 0;
 		ast_mutex_unlock(&sip_reload_lock);
 		if (reloading) {
 			if (option_verbose > 0)
@@ -6722,7 +6723,6 @@
 
 	prune_peers();
 	/* And start the monitor for the first time */
-	restart_monitor();
 	ast_mutex_lock(&regl.lock);
 	for (reg = regl.registrations; reg; reg = reg->next) 
 		__sip_do_register(reg);




More information about the svn-commits mailing list