[asterisk-bugs] [JIRA] (ASTERISK-29544) Media Cache - Delayed remote sound file retrieve delays all playbacks

Asterisk Team (JIRA) noreply at issues.asterisk.org
Wed Sep 14 10:40:11 CDT 2022


     [ https://issues.asterisk.org/jira/browse/ASTERISK-29544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asterisk Team updated ASTERISK-29544:
-------------------------------------

    Target Release Version/s: 20.0.0

> 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
>            Assignee: Andre Barbosa
>      Target Release: 16.21.0, 18.7.0, 19.0.0, 20.0.0
>
>
> 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