I'd like to propose a change to where the GUI saves output from system commands. Presently it attempts to write to the source (./static/config/) directory and verifies write access to this with a echo command on startup.<div>
<br></div><div>As this is a source directory I think it mildly bad practice to be writing here. Better would be to write to a system defined temporary directory. One could look for a system environment variable and/or we could define one in asterisk.conf like...</div>
<div><br></div><div><div>[directories]</div><div>asttmpdir => /tmp</div><div><br></div><div>which would be picked up in index.js and assigned to sessionData on GUI initialization. Then systemCmdWithOutput would be modified in astman.js to use that directory.</div>
<div><br></div><div>Thoughts or comments?</div><div><br></div><div>David</div></div>