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

Gregor Nanger gregor at infomedia.si
Tue Jan 10 23:41:14 UTC 2023

Caching files stopped working after upgrade.

First file that is in playback is saved as:

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 playback(
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
(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/20230111/2efb1b91/attachment.html>

More information about the FreeSWITCH-users mailing list