pari: trunk r488 - /trunk/gui_configs/gui_sysinfo

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Mon Mar 26 11:22:32 MST 2007


Author: pari
Date: Mon Mar 26 13:22:31 2007
New Revision: 488

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=488
Log:
List of default sound files

Modified:
    trunk/gui_configs/gui_sysinfo

Modified: trunk/gui_configs/gui_sysinfo
URL: http://svn.digium.com/view/asterisk-gui/trunk/gui_configs/gui_sysinfo?view=diff&rev=488&r1=487&r2=488
==============================================================================
--- trunk/gui_configs/gui_sysinfo (original)
+++ trunk/gui_configs/gui_sysinfo Mon Mar 26 13:22:31 2007
@@ -50,3 +50,16 @@
 done
 /bin/echo "</div>" >> /var/lib/asterisk/static-http/config/bkps/sysinfo_output.html
 
+
+
+/bin/echo "<div id=sound_files>" >> /var/lib/asterisk/static-http/config/bkps/sysinfo_output.html
+/bin/mkdir -p /var/lib/asterisk/sounds
+SNDFILES=`ls /var/lib/asterisk/sounds/`
+for i in $SNDFILES
+do
+/bin/echo "$i<BR>" >> /var/lib/asterisk/static-http/config/bkps/sysinfo_output.html
+done
+/bin/echo "</div>" >> /var/lib/asterisk/static-http/config/bkps/sysinfo_output.html
+
+
+



More information about the asterisk-gui-commits mailing list