I installed the latest distro on a cheap thin client off of ebay.
The questions I have are:
Can I set the location for all voicemail and log files to a
USB memory stick instead of the internal flash?
Any other items that need to be changed to extend the
internal flash memory’s life?
The directories are defined in /etc/asterisk/asterisk.conf (and settable somewhere in the GUI under hidden settings I believe).
But there are are other places where a normal FreePBX system will write to, so I would leave the defaults as they are and “loop mount” from your usb stick over these directories:-
and if you use them:-
i always move /tmp into ram for other reasons but that also gets used by voicemail a lot and is better redesigned to be in ram as it SHOULD be ephemeral in nature over reboots for other nasty reasons.
Be aware that usb memory technology is also susceptible to degradation so make sure you keep a recent copy of the whole stick off site for when you need it.
(any other services you deploy like mail should be similarly considered and maybe /var/log would be more ubiquitous)