<p>lvl <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/15076">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, but leaves<br>it at /tmp by default, to ensure backwards compatibility.<br><br>A future commit that only targets master could change the default<br>location to something more sensible such as /var/tmp/asterisk. At<br>that point, the cachedir could be created and cleaned up during<br>uninstall by the Makefile script.<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>13 files changed, 31 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/76/15076/2</pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/15076">change 15076</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/+/15076"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-Change-Id: Ic54e95199405abacd9e509cef5f08fa14c510b5d </div>
<div style="display:none"> Gerrit-Change-Number: 15076 </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-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>