bkruse: branch asterisknow r1729 - in /branches/asterisknow: ./ scripts/

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Wed Oct 24 16:09:01 CDT 2007


Author: bkruse
Date: Wed Oct 24 16:09:00 2007
New Revision: 1729

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1729
Log:
Merged revisions 1727 via svnmerge from 
https://origsvn.digium.com/svn/asterisk-gui/branches/1.4

........
r1727 | bkruse | 2007-10-24 16:06:17 -0500 (Wed, 24 Oct 2007) | 3 lines

changing so that editzap will now PRESERVE the settings
the gui writes for zapscan! I need to document this better.

........

Modified:
    branches/asterisknow/   (props changed)
    branches/asterisknow/scripts/editzap.sh

Propchange: branches/asterisknow/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: branches/asterisknow/scripts/editzap.sh
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/scripts/editzap.sh?view=diff&rev=1729&r1=1728&r2=1729
==============================================================================
--- branches/asterisknow/scripts/editzap.sh (original)
+++ branches/asterisknow/scripts/editzap.sh Wed Oct 24 16:09:00 2007
@@ -7,6 +7,7 @@
 # Quick script for applying zaptel settings from the GUI.
 
 ZAPCONF="/etc/zaptel.conf"
+ZAPATACONF="/etc/asterisk/zapata.conf"
 ZTCFG_OUTPUT="/var/lib/asterisk/static-http/config/ztcfg_output.html"
 FILENAME="/etc/asterisk/applyzap.conf"
 MISDNCONF="/etc/misdn-init.conf"
@@ -37,6 +38,9 @@
 			grep -v "\[general\]" ${MISDNFILE} | grep -v "\;" > ${MISDNCONF}
 		else
 			grep -v "\[general\]" ${FILENAME} | grep -v "\;" > ${ZAPCONF} 
+			cp -rf ${ZAPCONF} ${ZAPCONF}.zapscan # save the gui settings!
+			cp -rf ${ZAPATACONF} ${ZAPATACONF}.zapscan # save the user settings
+			zapscan
 		fi
 		;;
 	ztcfg)




More information about the asterisk-gui-commits mailing list