Revision: 7508 http://sourceforge.net/p/ipcop/svn/7508 Author: owes Date: 2014-04-30 18:12:33 +0000 (Wed, 30 Apr 2014) Log Message: ----------- Try to fix a sporadic reconnect problem on some connections.
Modified Paths: -------------- ipcop/trunk/src/scripts/scheduler.pl ipcop/trunk/updates/2.1.5/ROOTFILES.i486-2.1.5 Modified: ipcop/trunk/src/scripts/scheduler.pl =================================================================== --- ipcop/trunk/src/scripts/scheduler.pl 2014-04-30 17:25:57 UTC (rev 7507) +++ ipcop/trunk/src/scripts/scheduler.pl 2014-04-30 18:12:33 UTC (rev 7508) @@ -15,7 +15,7 @@ # You should have received a copy of the GNU General Public License # along with IPCop. If not, see <http://www.gnu.org/licenses/>. # -# (c) 2009-2012, the IPCop team +# (c) 2009-2014, the IPCop team # # $Id$ # @@ -63,9 +63,13 @@ sub reconnect { - &General::log("Scheduler reconnect"); + &General::log('Scheduler reconnect'); - &hangup() if (-e '/var/ipcop/red/active'); + if (-e '/var/ipcop/red/active') { + &hangup(); + # Some providers/connections exist that reconnect better after a small delay + sleep 15; + } &dial(); } Modified: ipcop/trunk/updates/2.1.5/ROOTFILES.i486-2.1.5 =================================================================== --- ipcop/trunk/updates/2.1.5/ROOTFILES.i486-2.1.5 2014-04-30 17:25:57 UTC (rev 7507) +++ ipcop/trunk/updates/2.1.5/ROOTFILES.i486-2.1.5 2014-04-30 18:12:33 UTC (rev 7508) @@ -13,6 +13,7 @@ /usr/local/bin/makegraphs.pl /usr/local/bin/makesquidconf.pl /usr/local/bin/upgrade.sh +/usr/local/bin/scheduler.pl /usr/local/sbin/setup /usr/share/locale/af_ZA/LC_MESSAGES/ipcop.mo /usr/share/locale/bg_BG/LC_MESSAGES/ipcop.mo This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Ipcop-svn mailing list Ipcop-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipcop-svn