Files
asterisk/main
Andre Barbosa 2451dfd89f media_cache: Don't lock when curl the remote file
When playing a remote sound file, which is not in cache, first we need
to download it with ast_bucket_file_retrieve.

This can take a while if the remote host is slow. The current CURL
timeout is 180secs, so in extreme situations, it can take 3 minutes to
return.

Because ast_media_cache_retrieve has a lock on all function, while we
are waiting for the delayed download, Asterisk is not able to play any
more files, even the files already cached locally.

ASTERISK-29544 #close

Change-Id: I8d4142b463ae4a1d4c41bff2bf63324821567408
2021-08-20 09:36:32 -05:00
..
2019-08-01 15:31:48 -06:00
2020-05-05 10:06:43 -05:00
2020-05-05 10:06:43 -05:00
2020-04-06 10:23:20 -05:00
2019-08-01 15:31:48 -06:00
2021-07-16 10:26:52 -05:00
2020-10-02 12:58:18 -05:00
2020-06-10 09:33:28 -05:00
2020-08-18 05:16:43 -05:00
2021-01-04 05:00:58 -06:00
2020-06-10 09:33:28 -05:00
2018-06-23 08:26:19 +02:00
2018-07-23 06:47:20 -05:00