[Freeswitch-dev] silence on a native recording

Anthony Minessale anthony.minessale at gmail.com
Tue Sep 8 09:42:50 PDT 2009


You cannot detect silence on an encoded format because you would have to
decode it to be able to detect the silence.
If you want to detect silence use a standard wav/pcm format.


On Fri, Sep 4, 2009 at 3:52 PM, Peter Volchek <pvolchek at voicemobility.com>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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090908/5da27efe/attachment.html 


More information about the FreeSWITCH-dev mailing list