Also check that host name "download.wavetlan.com" is not configured in "hosts" file. FreeSwitch is ignores hosts file. Sergey ср, 20 апр. 2016 г. в 16:35, <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:
freeswitch@fs.sip3.net> http_prefetch http://download.wavetlan.com/SVV/Media/HTTP/WAV/Media-Convert/Media-Convert_... +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:718 Adding http://download.wavetlan.com/SVV/Media/HTTP/WAV/Media-Convert/Media-Convert_...) to cache index 1 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_... 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 mustafin.aleksandr@gmail.com
_________________________________________________________________________ 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
_________________________________________________________________________ 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