<p> Attention is currently required from: Andre Barbosa, Kevin Harwell. </p>
<p>Andre Barbosa <strong>uploaded patch set #3</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/16233">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">media_cache: Don't lock when curl the remote file<br><br>When playing a remote sound file, which is not in cache, first we need to download<br>it with ast_bucket_file_retrieve.<br><br>This can take a while if the remote host is slow. The current CURL timeout is<br>180secs, so in extreme situations, it can take 3 minutes to return.<br><br>Because ast_media_cache_retrieve has a lock on all function, while we are waiting<br>for the delayed download, Asterisk is not able to play any more files, even the<br>files already cached locally.<br><br>ASTERISK-29544 #close<br><br>Change-Id: I8d4142b463ae4a1d4c41bff2bf63324821567408<br>---<br>M main/media_cache.c<br>1 file changed, 23 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/33/16233/3</pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/16233">change 16233</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/16233"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I8d4142b463ae4a1d4c41bff2bf63324821567408 </div>
<div style="display:none"> Gerrit-Change-Number: 16233 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: Andre Barbosa <andre.emanuel.barbosa@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-Attention: Andre Barbosa <andre.emanuel.barbosa@gmail.com> </div>
<div style="display:none"> Gerrit-Attention: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>