[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 12:03:33 CDT 2021
[ https://issues.asterisk.org/jira/browse/ASTERISK-29544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andre Barbosa updated ASTERISK-29544:
-------------------------------------
Description:
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, 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 slow download, Asterisk is not able to play any more files, even the files already cached locally.
was:
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.
> 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, 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 slow download, 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