[Freeswitch-dev] tone_detect_sleep & tone_detect_expires

Michael Collins msc at freeswitch.org
Tue Mar 20 19:08:41 MSK 2012


hits is what controls how "long" the tone needs to be present for the
detection to be considered positive. The higher the number of hits, the
longer the duration of the tone needs to be to form a positive detect. I
would experiment with the hits value and see what you can learn.

-MC

On Sat, Mar 17, 2012 at 11:58 AM, Bing LI <enst.bupt at gmail.com> wrote:

> Hi,
>
> I just found that tone_detect worked sometimes and sometimes it didn't
> work. For a short length of tone like 100ms, it worked well. But for a much
> longer one (700ms or 1sec without pause), it didn't work. This one has not
> been detected but in the recording file, it was obvious.
>
> by this wiki
> http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_tone_detect
> I don't know how exactly the *hits* works.
>
> And later I found these 2 variables called *tone_detect_sleep* and *tone_detect_expires.
> *But I didn't find any explanations about them.
> Can anybody bring more details?
>
>
> Thanks.
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20120320/71651449/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev mailing list