Skip to content
Snippets Groups Projects
user avatar
lvl authored
As described in the issue, /tmp is not a suitable location for a
large amount of cached media files, since most distributions make
/tmp a RAM-based tmpfs mount with limited capacity.

I opted for a location that can be configured separately, as opposed
to using a subdirectory of spooldir, given the different storage
profile (transient files vs files that might stay there indefinitely).

This commit just makes the cache directory configurable, and changes
the default location from /tmp to /var/cache/asterisk.

ASTERISK-29143

Change-Id: Ic54e95199405abacd9e509cef5f08fa14c510b5d
b0842713
History
Name Last commit Last update
..
CI
Makefile
test_abstract_jb.c
test_acl.c
test_ami_security_events.sh
test_amihooks.c
test_aoc.c
test_app.c
test_ari.c
test_ari_model.c
test_ast_format_str_reduce.c
test_astobj2.c
test_astobj2_thrash.c
test_astobj2_weaken.c
test_bridging.c
test_bucket.c
test_callerid.c
test_cdr.c
test_cel.c
test_channel.c
test_channel_feature_hooks.c
test_config.c
test_conversions.c
test_core_codec.c
test_core_format.c
test_data_buffer.c
test_db.c
test_devicestate.c
test_dlinklists.c
test_dns.c
test_dns_naptr.c
test_dns_query_set.c
test_dns_recurring.c
test_dns_srv.c
test_endpoints.c
test_event.c
test_expr.c
test_file.c
test_format_cache.c
test_format_cap.c
test_func_file.c
test_gosub.c
test_hashtab_thrash.c
test_heap.c
test_http_media_cache.c
test_jitterbuf.c
test_json.c
test_linkedlists.c
test_locale.c
test_logger.c
test_media_cache.c
test_message.c
test_mwi.c
test_named_lock.c
test_netsock2.c
test_optional_api.c
test_pbx.c
test_poll.c
test_res_pjsip_scheduler.c
test_res_pjsip_session_caps.c
test_res_prometheus.c
test_res_rtp.c
test_res_stasis.c
test_sched.c
test_scope_trace.c
test_scoped_lock.c
test_security_events.c
test_skel.c
test_sorcery.c
test_sorcery_astdb.c
test_sorcery_memory_cache_thrash.c
test_sorcery_realtime.c
test_stasis.c
test_stasis_channels.c
test_stasis_endpoints.c
test_stasis_state.c
test_stream.c
test_stringfields.c
test_strings.c
test_substitution.c
test_taskprocessor.c
test_threadpool.c
test_time.c
test_uri.c
test_utils.c
test_uuid.c
test_vector.c
test_voicemail_api.c
test_websocket_client.c
test_xml_escape.c