[Freeswitch-users] mod_httapi caching and sample rate

Neil Patel neilp at cs.stanford.edu
Wed Jul 16 09:58:13 MSD 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140716/26d29802/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list