I have a Lua IVR app that is reading files from a remote server. mod_httapi is caching files to local storage. However, I see this error in the logs frequently: freeswitch.log.2014-07-14-20-00-06.1:2014-07-14 19:39:40.690935 [DEBUG] switch_core_file.c:216 File /usr/local/freeswitch/storage/http_file_cache/7b1120ea3a0ebce2718d6f5588846b9e.wav sample rate 44100 doesn't match requested rate 8000 Does this mean there is a cache miss? I am using session:playAndGetDigits to playback the file, how do I adjust my request to ensure a cache hit? Thanks, Neil
it's hitting the cache, but it's sample rate isn't what it's looking for, so it has to resample.
On Jul 16, 2014, at 2:03 AM, Neil Patel <neilp@cs.stanford.edu> wrote:
I have a Lua IVR app that is reading files from a remote server. mod_httapi is caching files to local storage. However, I see this error in the logs frequently:
freeswitch.log.2014-07-14-20-00-06.1:2014-07-14 19:39:40.690935 [DEBUG] switch_core_file.c:216 File /usr/local/freeswitch/storage/http_file_cache/7b1120ea3a0ebce2718d6f5588846b9e.wav sample rate 44100 doesn't match requested rate 8000
Does this mean there is a cache miss? I am using session:playAndGetDigits to playback the file, how do I adjust my request to ensure a cache hit?
Thanks, Neil _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
participants (2)
-
Michael Jerris
-
Neil Patel