[Freeswitch-users] mod_http_cache in version 1.10.8 is not working

Gregor Nanger gregor at infomedia.si
Thu Jan 12 08:32:24 UTC 2023


Am I the only one that has this issue?

Br, Gregor

On Wed, 11 Jan 2023, 00:41 Gregor Nanger, <gregor at infomedia.si> wrote:

> Caching files stopped working after upgrade.
>
> First file that is in playback is saved as:
> storage/http_file_cache/00000000000000000000000000000000.wav
>
> And after that all files are played as this cache. Basically it doesn't
> cache files anymore and always pulls this one from cache.
>
> This is the log when it is first cached:
> EXECUTE [depth=0] sofia/external/041600611 at 91.199.161.142 playback(
> http://wav.files.com/109da642-87ed-4596-8b82-ddefd379c3bb.wav)
> 2023-01-10 23:59:45.823739 97.05% [DEBUG] mod_httapi.c:2665 caching: url:
> http://wav.files.com/109da642-87ed-4596-8b82-ddefd379c3bb.wav to
> C:/Program
> Files/FreeSWITCH/storage/http_file_cache/00000000000000000000000000000000.wav
> (344649 bytes)
>
> It looks like it doesn't pass file name down to http_cache or it is passed
> as 00000...
>
> I checked source code of this module and there is some md5 functions that
> hash name. Could this function returns 00000000... as name? We are using FS
> on windows, but version 1.10.7 works ok.
>
> BR, Greg
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20230112/0393c00a/attachment-0001.html>


More information about the FreeSWITCH-users mailing list