Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
docs:guide-user:services:voip:freeswitch [2018/11/17 10:51] – [Hotplug] micmac1docs:guide-user:services:voip:freeswitch [2018/11/20 09:44] – [freeswitch-stable init configuration] better warning about write wear and added database storage option bobafetthotmail
Line 7: Line 7:
 </WRAP> </WRAP>
  
-===== freeswitch-stable init command line switches =====+===== freeswitch-stable init configuration =====
  
 The file ''/etc/config/freeswitch'' contains the general on/off switch - FreeSWITCH is disabled by default. Here you can also change the command line switches that are used when starting FreeSWITCH. E.g. you can set which user to switch to and the directories for recordings and logs etc. The file ''/etc/config/freeswitch'' contains the general on/off switch - FreeSWITCH is disabled by default. Here you can also change the command line switches that are used when starting FreeSWITCH. E.g. you can set which user to switch to and the directories for recordings and logs etc.
  
-Last but not least, you can select whether the output streams that are sent to the init process (procd) shall be forwarded to the system logger, STDOUT and STDERR respectively. Defaults to enabled for both.+<WRAP round important> 
 +**WARNING:** FreeSWITCH writes to its databases constantly. Constant writes will quickly kill your device's integrated flash memory. It's recommended to keep the databases on external storage (see [[docs:guide-user:storage:usb-drives|Using storage devices]]).\\ 
 + 
 +If that is not possible they can also be kept in the device's RAM (working memory), on a //tmpfs// filesystem (''/tmp'' is mounted as a //tmpfs// file system on OpenWrt devices). RAM memory is not subject to constant writing wear like flash memory.\\ 
 +The downside of the //tmpfs// approach is that the databases will be lost when the device loses power or is restarted, also the RAM used by these databases will decrease the amount of available RAM of the system by a few MB. Please consider your options and requirements. 
 +</WRAP>  
 + 
 +Last but not least, you can select whether the output streams (//STDOUT// and //STDERR//that are sent to the init process (''procd'')shall be forwarded to the system logger. Defaults to yes for both.
  
 ===== freeswitch-stable packages ===== ===== freeswitch-stable packages =====
  • Last modified: 2022/05/31 20:33
  • by micmac1