res_http_media_cache: Introduce options and customize

Make the existing CURL parameters configurable and allow
to specify the usable protocols, proxy and DNS timeout.

ASTERISK-30340

Change-Id: I2eb02ef44190e026716720419bcbdbcc8125777b
This commit is contained in:
Holger Hans Peter Freyther
2022-10-16 17:03:53 +08:00
committed by Joshua Colp
parent 030b7b9009
commit 8f088aa0f7
3 changed files with 334 additions and 4 deletions

View File

@@ -0,0 +1,12 @@
Subject: res_http_media_cache
The res_http_media_cache module now attempts to load
configuration from the res_http_media_cache.conf file.
The following options were added:
* timeout_secs
* user_agent
* follow_location
* max_redirects
* protocols
* redirect_protocols
* dns_cache_timeout_secs