Files
asterisk/main
Andre Barbosa f57fc18657 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 11:47:31 -05:00
..
2019-08-01 15:31:23 -06:00
2020-05-05 08:56:28 -04:00
2020-05-05 08:56:28 -04:00
2020-04-06 10:58:41 -05:00
2019-08-01 15:31:23 -06:00
2021-07-16 10:23:54 -05:00
2020-10-12 10:50:10 -05:00
2020-06-10 13:56:45 -05:00
2020-06-10 13:56:45 -05:00
2017-12-20 12:40:01 -05:00
2018-06-23 08:26:19 +02:00
2018-07-23 06:47:31 -05:00