<p>lvl <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/15175">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Introduce astcachedir, to be used for temporary bucket files<br><br>As described in the issue, /tmp is not a suitable location for a<br>large amount of cached media files, since most distributions make<br>/tmp a RAM-based tmpfs mount with limited capacity.<br><br>I opted for a location that can be configured separately, as opposed<br>to using a subdirectory of spooldir, given the different storage<br>profile (transient files vs files that might stay there indefinitely).<br><br>This commit just makes the cache directory configurable, and changes<br>the default location from /tmp to /var/cache/asterisk.<br><br>ASTERISK-29143<br><br>Change-Id: Ic54e95199405abacd9e509cef5f08fa14c510b5d<br>---<br>M Makefile<br>M build_tools/install_subst<br>M build_tools/make_defaults_h<br>M build_tools/mkpkgconfig<br>M configs/samples/asterisk.conf.sample<br>M configure<br>M configure.ac<br>A doc/CHANGES-staging/media_cache_cachedir.txt<br>M include/asterisk/paths.h<br>M main/bucket.c<br>M main/options.c<br>M main/pbx_variables.c<br>M makeopts.in<br>M tests/CI/installAsterisk.sh<br>14 files changed, 36 insertions(+), 4 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/75/15175/2</pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/15175">change 15175</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/15175"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ic54e95199405abacd9e509cef5f08fa14c510b5d </div>
<div style="display:none"> Gerrit-Change-Number: 15175 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: lvl <digium@lvlconsultancy.nl> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>