<div class="gmail_extra">Sync with latest version of FS; I added https support. There is a cacert.pem file in mod_http_cache/conf directory that you'll want to put in freeswitch/conf directory.<br><br>The following new params are available in http_cache.conf<br>
<br>ssl-cacert : this is the absolute path to the cacert.pem file. default is /usr/local/freeswitch/conf/cacert.pem<br>ssl-verifypeer : if false the cert is not verified<br>ssl-verifyhost : if false the host name does not have to match the cert<br>
<br>Let me know if there are any problems.<br><br>Chris<br><br><br><div class="gmail_quote">On Tue, Apr 24, 2012 at 6:39 PM, RaviRaj Mulasa <span dir="ltr"><<a href="mailto:rml@tollfreeforwarding.com" target="_blank">rml@tollfreeforwarding.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal">Hi<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I am trying to prefetch a file to play using mod_http_cache.<u></u><u></u></p><p class="MsoNormal">The URL @ which the file is located uses <b>HTTPS instead of HTTP</b><u></u><u></u></p><p class="MsoNormal">
<u></u> <u></u></p><p class="MsoNormal"><u>HTTPS<u></u><u></u></u></p><p class="MsoNormal">freeswitch@myplayground> http_prefetch <a href="https://myfiles/file_1.wav" target="_blank">https://myfiles/file_1.wav</a><u></u><u></u></p>
<p class="MsoNormal">USAGE: <url><u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u>HTTP<u></u><u></u></u></p><p class="MsoNormal">freeswitch@myplayground> http_prefetch <a href="http://myfiles/file_1.wav" target="_blank">http://myfiles/file_1.wav</a><u></u><u></u></p>
<p class="MsoNormal">+OK<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">2012-04-24 08:25:48.108625 [DEBUG] mod_http_cache.c:396 Locked cache<u></u><u></u></p><p class="MsoNormal">2012-04-24 08:25:48.108625 [INFO] mod_http_cache.c:476 Cache MISS: size = 0 (0 MB), hit ratio = 0/1<u></u><u></u></p>
<p class="MsoNormal">2012-04-24 08:25:48.108625 [DEBUG] mod_http_cache.c:541 Adding <a href="http://myfiles/file_1.wav%28/tmp/http_cache/c4/9828e2-8e21-11e1-9e33-017c98d37fa6.wav%29" target="_blank">http://myfiles/file_1.wav(/tmp/http_cache/c4/9828e2-8e21-11e1-9e33-017c98d37fa6.wav)</a> to cache index 0<u></u><u></u></p>
<p class="MsoNormal">2012-04-24 08:25:48.108625 [DEBUG] mod_http_cache.c:407 Unlocked cache<u></u><u></u></p><p class="MsoNormal">2012-04-24 08:25:48.108625 [DEBUG] mod_http_cache.c:728 opening /tmp/http_cache/<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Please let me know how can I <u></u><u></u></p><p class="MsoNormal">HTTP_PREFETCH <u></u><u></u></p>
<p class="MsoNormal">HTTP_GET using a URL that uses HTTPS.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thanks<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p>
<span class="HOEnZb"><font color="#888888"><p class="MsoNormal">RaviRaj.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p></font></span></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>