pari: trunk r482 - /trunk/gui_configs/gui_sysinfo

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Sun Mar 25 13:47:14 MST 2007


Author: pari
Date: Sun Mar 25 15:47:13 2007
New Revision: 482

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=482
Log:
Getting recorded files from filesystem instead of from gui_custommenus.conf

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=482&r1=481&r2=482
==============================================================================
--- trunk/gui_configs/gui_sysinfo (original)
+++ trunk/gui_configs/gui_sysinfo Sun Mar 25 15:47:13 2007
@@ -38,3 +38,15 @@
 /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
+
+
+
+/bin/echo "<div id=rec_files>" >> /var/lib/asterisk/static-http/config/bkps/sysinfo_output.html
+/bin/mkdir -p /var/lib/asterisk/sounds/record
+RECFILES=`ls /var/lib/asterisk/sounds/record/`
+for i in $RECFILES
+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