<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Thanks for helping me, guys.&nbsp;<div class=""><br class=""></div><div class="">The directory /var/cache/freeswitch didn’t exist (Debian 8.4, debian packages) . I’ve created this one and set appropriate permissions.</div><div class=""><br class=""></div><div class="">Now all works fine!</div><div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><div class="">Best regards,</div><div class="">Alexander Mustafin</div><div class=""><a href="mailto:mustafin.aleksandr@gmail.com" class="">mustafin.aleksandr@gmail.com</a></div><div class=""><br class=""></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>

<br class=""><div><blockquote type="cite" class=""><div class="">20 апр. 2016 г., в 18:34, <a href="mailto:cmrienzo@gmail.com" class="">cmrienzo@gmail.com</a> написал(а):</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="content-type" content="text/html; charset=utf-8" class=""><div dir="auto" class=""><div class=""></div><div class="">Make sure FreeSWITCH process has permission to open /create directories in /var/cache/freeswitch and that directory exists.&nbsp;</div><div class=""><br class=""></div><div class="">Chris</div><div class=""><br class=""></div><div class=""><br class="">On Apr 20, 2016, at 08:26, Alexander Mustafin &lt;<a href="mailto:mustafin.aleksandr@gmail.com" class="">mustafin.aleksandr@gmail.com</a>&gt; wrote:<br class=""><br class=""></div><blockquote type="cite" class=""><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class="">Hi there!<div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">A respond of server look like:</div><div class=""><br class=""></div><div class=""><div class=""><a href="mailto:freeswitch@fs.sip3.net" class="">freeswitch@fs.sip3.net</a>&gt; http_prefetch <a href="http://download.wavetlan.com/SVV/Media/HTTP/WAV/Media-Convert/Media-Convert_test4_Ulaw_Mono_VBR_8SS_22050Hz.wav" class="">http://download.wavetlan.com/SVV/Media/HTTP/WAV/Media-Convert/Media-Convert_test4_Ulaw_Mono_VBR_8SS_22050Hz.wav</a></div><div class="">+OK</div><div class=""><br class=""></div><div class="">2016-04-20 12:22:38.810363 [DEBUG] mod_http_cache.c:565 Locked cache</div><div class="">2016-04-20 12:22:38.810363 [INFO] mod_http_cache.c:653 Cache MISS: size = 1 (0 MB), hit ratio = 0/2</div><div class="">2016-04-20 12:22:38.810363 [DEBUG] mod_http_cache.c:718 Adding <a href="http://download.wavetlan.com/SVV/Media/HTTP/WAV/Media-Convert/Media-Convert_test4_Ulaw_Mono_VBR_8SS_22050Hz.wav(/var/cache/freeswitch/c9/396ca9-b29f-4a97-b40d-cb1430a7f1b6.wav)" class="">http://download.wavetlan.com/SVV/Media/HTTP/WAV/Media-Convert/Media-Convert_test4_Ulaw_Mono_VBR_8SS_22050Hz.wav(/var/cache/freeswitch/c9/396ca9-b29f-4a97-b40d-cb1430a7f1b6.wav)</a> to cache index 1</div><div class="">2016-04-20 12:22:38.810363 [DEBUG] mod_http_cache.c:576 Unlocked cache</div><div class="">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</div><div class="">2016-04-20 12:22:38.810363 [ERR] mod_http_cache.c:1103 open() error: No such file or directory</div><div class="">2016-04-20 12:22:38.810363 [DEBUG] mod_http_cache.c:565 Locked cache</div><div class="">2016-04-20 12:22:38.810363 [INFO] mod_http_cache.c:675 Failed to download URL <a href="http://download.wavetlan.com/SVV/Media/HTTP/WAV/Media-Convert/Media-Convert_test4_Ulaw_Mono_VBR_8SS_22050Hz.wav" class="">http://download.wavetlan.com/SVV/Media/HTTP/WAV/Media-Convert/Media-Convert_test4_Ulaw_Mono_VBR_8SS_22050Hz.wav</a></div><div class="">2016-04-20 12:22:38.810363 [DEBUG] mod_http_cache.c:576 Unlocked cache</div><div class=""><br class=""></div><div class="">And server does not try to obtain file from the url, because I listen 80 port and I can’t see anything.</div><div class=""><br class=""></div><div class="">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 &nbsp;it’s about.</div><div class=""><br class=""></div><div class="">Any clue for this problem?</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">
<div style="font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Best regards,</div><div class="">Alexander Mustafin</div><div class=""><a href="mailto:mustafin.aleksandr@gmail.com" class="">mustafin.aleksandr@gmail.com</a></div><div class=""><br class=""></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>

<br class=""></div></div></blockquote><blockquote type="cite" class=""><div class=""><span class="">_________________________________________________________________________</span><br class=""><span class="">Professional FreeSWITCH Consulting Services: </span><br class=""><span class=""><a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a></span><br class=""><span class=""><a href="http://www.freeswitchsolutions.com/" class="">http://www.freeswitchsolutions.com</a></span><br class=""><span class=""></span><br class=""><span class="">Official FreeSWITCH Sites</span><br class=""><span class=""><a href="http://www.freeswitch.org/" class="">http://www.freeswitch.org</a></span><br class=""><span class=""><a href="http://confluence.freeswitch.org/" class="">http://confluence.freeswitch.org</a></span><br class=""><span class=""><a href="http://www.cluecon.com/" class="">http://www.cluecon.com</a></span><br class=""><span class=""></span><br class=""><span class="">FreeSWITCH-users mailing list</span><br class=""><span class=""><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="">FreeSWITCH-users@lists.freeswitch.org</a></span><br class=""><span class=""><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br class=""><span class="">UNSUBSCRIBE:http://<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" class="">lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br class=""><span class=""><a href="http://www.freeswitch.org/" class="">http://www.freeswitch.org</a></span></div></blockquote></div>_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services: <br class=""><a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">http://www.freeswitchsolutions.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">http://www.freeswitch.org<br class="">http://confluence.freeswitch.org<br class="">http://www.cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org</div></blockquote></div><br class=""></div></body></html>