pari: branch asterisknow r1908 - /branches/asterisknow/config/digital.html
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Wed Dec 5 13:51:45 CST 2007
Author: pari
Date: Wed Dec 5 13:51:44 2007
New Revision: 1908
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1908
Log:
make sure we have an applyzap.conf before we write to it
Modified:
branches/asterisknow/config/digital.html
Modified: branches/asterisknow/config/digital.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/digital.html?view=diff&rev=1908&r1=1907&r2=1908
==============================================================================
--- branches/asterisknow/config/digital.html (original)
+++ branches/asterisknow/config/digital.html Wed Dec 5 13:51:44 2007
@@ -338,7 +338,7 @@
// check if the channels in zapchan are within max and min
// if yes then set the current range values
runZtscan: function(){
- parent.astmanEngine.run_tool(asterisk_guiZtscan, function(t) { // run ztscan and then try loading ztscan.conf
+ parent.astmanEngine.run_tool(asterisk_guiZtscan + '; touch /etc/asterisk/applyzap.conf', function(t) { // run ztscan and then try loading ztscan.conf
setTimeout( function(){ loadConfigFiles.readZtscanConf(); } , 700); // leave some time for ztscan to generate ztscan.conf
});
},
More information about the asterisk-gui-commits
mailing list