The whole point of mod_native_file is to skip decoding, so you can record in unsupported codecs like G729, you would need to record to a wav file if you want silence detection since the core needs the audio samples. Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene@avgs.ca On 4-Sep-09, at 1:52 PM, Peter Volchek wrote:
Hi, I am getting the warnings in the freeswitch.org , saying...
[WARNING] switch_ivr_play_say.c:567 Can't detect silence on a native recording.
This is thrown each time I am calling session:recordFile in my lua scripts. I am not specifying any extensions, thus relaying on the encoding type chosen by freeswitch. So the files are given extensions .PCMU. I've been told that this is a harmful warning. However, we need an ability to detect the silence in the following scenario. In a voicemail, while the caller is leaving a message, he can mute his phone. The application may kick up the event, saying that silence is detected, so we would pause the recording and play the prompt "Are you still there?" to the caller.
Thanks.
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org