Thanks Ben,<br><br>I&#39;m new to FreeSWITCH so just wanted to confirm that I wasn&#39;t doing something wrong before adding a bug to JIRA.<br><br>See: <a href="http://jira.freeswitch.org/browse/FS-5220">http://jira.freeswitch.org/browse/FS-5220</a><br>
<br><div class="gmail_quote">On Tue, Mar 26, 2013 at 11:22 PM, Ben Langfeld <span dir="ltr">&lt;<a href="mailto:ben@langfeld.co.uk" target="_blank">ben@langfeld.co.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">This is almost certainly a bug and you will very shortly have chants of &quot;JIRA!&quot; shouted at you ;)</div><div class="gmail_extra"><br clear="all"><div>Regards,<br>Ben Langfeld</div>
<br><br><div class="gmail_quote"><div><div class="h5">On 26 March 2013 12:30, David Wilkie <span dir="ltr">&lt;<a href="mailto:dwilkie@gmail.com" target="_blank">dwilkie@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5">
I&#39;m using FreeSWITCH Version 1.2.7+git~20130307T181046Z~93e2a38efd with mod_http_cache and mod_httapi loaded with the default mod_http_cache configuration as follows:<br><br>configuration name=&quot;http_cache.conf&quot; description=&quot;HTTP GET cache&quot;&gt;<br>


  &lt;settings&gt;<br>    &lt;param name=&quot;max-urls&quot; value=&quot;10000&quot;/&gt;<br>    &lt;param name=&quot;location&quot; value=&quot;$${base_dir}/http_cache&quot;/&gt;<br>    &lt;param name=&quot;default-max-age&quot; value=&quot;86400&quot;/&gt;<br>


    &lt;param name=&quot;prefetch-thread-count&quot; value=&quot;8&quot;/&gt;<br>    &lt;param name=&quot;prefetch-queue-size&quot; value=&quot;100&quot;/&gt;<br>  &lt;/settings&gt;<br>&lt;/configuration&gt;<br><br>After placing a call with the following dialplan:<br>


<br>&lt;extension name=&quot;Adhearsion&quot;&gt;<br>  &lt;condition field=&quot;destination_number&quot; expression=&quot;.*$&quot;&gt;<br>    &lt;action application=&quot;playback&quot; data=&quot;<a href="http://s3.amazonaws.com/chibimp3/en/welcome.mp3" target="_blank">http://s3.amazonaws.com/chibimp3/en/welcome.mp3</a>&quot;/&gt;<br>


  &lt;/condition&gt;<br>&lt;/extension&gt;<br><br>it saves the following files to: /usr/local/freeswitch/storage/http_file_cache<br><br>d79f3de20148020fd468d1a16c578aba.mp3.mp3<br>d79f3de20148020fd468d1a16c578aba.mp3.meta<br>


<br>(note the double .mp3)<br><br>After I make another phone call<br><br>I get the following error:<br><br>2013-03-26 22:21:20.039296 [ERR] mod_shout.c:683 Error opening /usr/local/freeswitch/storage/http_file_cache/d79f3de20148020fd468d1a16c578aba.mp3<br>


2013-03-26 22:21:20.039296 [ERR] mod_shout.c:862 Error from mpg123: File access error. (code 22)<br>2013-03-26 22:21:20.039296 [ERR] mod_httapi.c:2763 Invalid cache file /usr/local/freeswitch/storage/http_file_cache/d79f3de20148020fd468d1a16c578aba.mp3 opening url <a href="http://s3.amazonaws.com/chibimp3/en/welcome.mp3" target="_blank">s3.amazonaws.com/chibimp3/en/welcome.mp3</a> Discarding file.<br>


<br>Note that from the log it looks like it is trying to open d79f3de20148020fd468d1a16c578aba.mp3 instead of d79f3de20148020fd468d1a16c578aba.mp3.mp3<br><br>Is this a bug in http_cache or am I doing something wrong?<br>

<br>
<br>
<br></div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>