[Freeswitch-dev] tone_detect_sleep & tone_detect_expires
enst.bupt at gmail.com
Tue Mar 20 23:01:54 MSK 2012
later I found this bug,
I thought the short one worked and the long one didn't work, I was wrong.
Actually my real problems was caused by that bug. the second tone spec I
set didn't work.
I'm still wondering what is the exactly length does a hit stand for. I'm
also curious to know what do these two variables mean.
I did some tests. I found that the hits doesn't mean the duration, a long
tone doesn't hit more times. If a tone goes on and off, that will increase
the hits number
On Tue, Mar 20, 2012 at 12:08 PM, Michael Collins <msc at freeswitch.org>wrote:
> 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.
> On Sat, Mar 17, 2012 at 11:58 AM, Bing LI <enst.bupt at gmail.com> wrote:
>> 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
>> 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?
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> Official FreeSWITCH Sites
>> FreeSWITCH-dev mailing list
>> FreeSWITCH-dev at lists.freeswitch.org
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> Official FreeSWITCH Sites
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev