Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

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


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
gregor at infomedia.si
Guest





PostPosted: Tue Jan 10, 2023 7:01 pm    Post subject: [Freeswitch-users] mod_http_cache in version 1.10.8 is not w Reply with quote

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@91.199.161.142 (041600611@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
Back to top
gregor at infomedia.si
Guest





PostPosted: Thu Jan 12, 2023 4:04 am    Post subject: [Freeswitch-users] mod_http_cache in version 1.10.8 is not w Reply with quote

Am I the only one that has this issue? 

Br, Gregor 


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

Quote:
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@91.199.161.142 (041600611@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


Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services