[asterisk-bugs] [JIRA] (ASTERISK-29544) Media Cache - Delayed remote sound file retrieve delays all playbacks
Andre Barbosa (JIRA)
noreply at issues.asterisk.org
Thu Aug 5 11:49:33 CDT 2021
Andre Barbosa created ASTERISK-29544:
----------------------------------------
Summary: Media Cache - Delayed remote sound file retrieve delays all playbacks
Key: ASTERISK-29544
URL: https://issues.asterisk.org/jira/browse/ASTERISK-29544
Project: Asterisk
Issue Type: Improvement
Security Level: None
Components: Core/General
Affects Versions: 18.5.0
Reporter: Andre Barbosa
When playing a remote sound file that 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, to in extreme situations it can take 3 minutes to return.
Because ast_media_cache_retrieve as a lock on all function, while we are waiting for the delayed retrieve Asterisk is not able to play any more files, even the files already cached locally.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list