Thanks for helping me, guys. 

The directory /var/cache/freeswitch didn’t exist (Debian 8.4, debian packages) . I’ve created this one and set appropriate permissions.

Now all works fine!

Best regards,
Alexander Mustafin
mustafin.aleksandr@gmail.com




20 апр. 2016 г., в 18:34, cmrienzo@gmail.com написал(а):

Make sure FreeSWITCH process has permission to open /create directories in /var/cache/freeswitch and that directory exists. 

Chris


On Apr 20, 2016, at 08:26, Alexander Mustafin <mustafin.aleksandr@gmail.com> wrote:

Hi there!

I am testing mod_http_cache module and unfortunately it doesn’t work for me properly. I loaded module, and trying console commands such as ‘http_prefetch’ and others.

A respond of server look like:

+OK

2016-04-20 12:22:38.810363 [DEBUG] mod_http_cache.c:565 Locked cache
2016-04-20 12:22:38.810363 [INFO] mod_http_cache.c:653 Cache MISS: size = 1 (0 MB), hit ratio = 0/2
2016-04-20 12:22:38.810363 [DEBUG] mod_http_cache.c:576 Unlocked cache
2016-04-20 12:22:38.810363 [DEBUG] mod_http_cache.c:1069 opening /var/cache/freeswitch/c9/396ca9-b29f-4a97-b40d-cb1430a7f1b6.wav for URL cache
2016-04-20 12:22:38.810363 [ERR] mod_http_cache.c:1103 open() error: No such file or directory
2016-04-20 12:22:38.810363 [DEBUG] mod_http_cache.c:565 Locked cache
2016-04-20 12:22:38.810363 [INFO] mod_http_cache.c:675 Failed to download URL http://download.wavetlan.com/SVV/Media/HTTP/WAV/Media-Convert/Media-Convert_test4_Ulaw_Mono_VBR_8SS_22050Hz.wav
2016-04-20 12:22:38.810363 [DEBUG] mod_http_cache.c:576 Unlocked cache

And server does not try to obtain file from the url, because I listen 80 port and I can’t see anything.

Possibly the problem here '2016-04-20 12:22:38.810363 [INFO] mod_http_cache.c:653 Cache MISS: size = 1 (0 MB), hit ratio = 0/2’ but I don’t know what  it’s about.

Any clue for this problem?


Best regards,
Alexander Mustafin




_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org