[asterisk-commits] jpeeler: branch jpeeler/asterisk-sigwork-trunk r193048 - /team/jpeeler/asteri...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu May 7 16:46:26 CDT 2009


Author: jpeeler
Date: Thu May  7 16:46:22 2009
New Revision: 193048

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=193048
Log:
make dahdi restart work

Modified:
    team/jpeeler/asterisk-sigwork-trunk/channels/chan_dahdi.c

Modified: team/jpeeler/asterisk-sigwork-trunk/channels/chan_dahdi.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/jpeeler/asterisk-sigwork-trunk/channels/chan_dahdi.c?view=diff&rev=193048&r1=193047&r2=193048
==============================================================================
--- team/jpeeler/asterisk-sigwork-trunk/channels/chan_dahdi.c (original)
+++ team/jpeeler/asterisk-sigwork-trunk/channels/chan_dahdi.c Thu May  7 16:46:22 2009
@@ -1857,7 +1857,9 @@
 #endif
 
 	reset_conf(p);
-	restart_monitor();
+	if (num_restart_pending == 0) {
+		restart_monitor();
+	}
 }
 
 static int conf_del(struct dahdi_pvt *p, struct dahdi_subchannel *c, int index);




More information about the asterisk-commits mailing list