Summary: | ASTERISK-08933: GUI: hardcoded path to gui_sysinfo inside sysinfo.html | ||
Reporter: | Ovidiu Sas (ovi) | Labels: | |
Date Opened: | 2007-03-04 09:58:25.000-0600 | Date Closed: | 2007-03-29 00:55:15 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | The sysinfo.html assumes that gui_sysinfo is located at /etc/asterisk/gui_sysinfo. The path to gui_sysinfo should take in consideration the "prefix" option given during config. I my particular case (asterisk running on embedded sytems), asterisk is installed under /opt and I pass this parameter during configure: ./configure \ --build=i386-pc-linux-gnu \ --host=armv5b-softfloat-linux \ --target=armv5b-softfloat-linux \ --prefix=/opt \ --disable-nls \ --disable-static \ --localstatedir=/opt/var \ --sysconfdir=/opt/etc | ||
Comments: | By: Pari Nannapaneni (pari) 2007-03-29 00:55:14 all the hardcoded paths of the GUI can now be now managed from a centralized location in astman.js. ( http://svn.digium.com/view/asterisk-gui?view=rev&rev=501 ) The first few lines in astman.js are all the variables/paths that you can edit and they will be reflected through out the GUI. Note that the paths also need to be updated in gui_sysinfo script. We are discussing about the build script updating these paths both in gui_sysinfo and in the astman.js - work in progress. thanks Pari |