<div>I changed</div>
<div> </div>
<div>/*! Minimum time for a beep. */<br>#define MIN_TIME 8000<br></div>
<div>to 6500 and it seemed to work, but I'm not sure how many false positives I will get in a real-world environment. at 4000 it fired the event like 5 times in a session, but 6500 only once. Do you think I should expect a lot of false positives after changing this value?</div>
<div> </div>
<div>--matt</div>
<div><a href="http://www.hellohunter.com/">http://www.hellohunter.com</a><br><br></div>
<div class="gmail_quote">On Thu, Aug 20, 2009 at 4:54 PM, Eric des Courtis <span dir="ltr"><<a href="mailto:eric.des.courtis@gmail.com">eric.des.courtis@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Matt,<br><br>As is mod_vmd will not detect tones shorter then 138ms. However I<br>could get that value down to ~30ms at best by making a few<br>
modifications to the algorithm.<br><br>Cheers.<br><br>Eric des Courtis<br><br><br>On Thu, Aug 20, 2009 at 7:51 PM, Eric des<br>
<div class="im">Courtis<<a href="mailto:eric.des.courtis@gmail.com">eric.des.courtis@gmail.com</a>> wrote:<br></div>
<div>
<div></div>
<div class="h5">> Matt,<br>><br>> For your information the tones you gave me are exactly 738Hz. If you<br>> want to try that tone detection thing.<br>><br>> Cheers.<br>><br>> Eric des Courtis<br>><br>
> On Thu, Aug 20, 2009 at 2:20 PM, Michael Collins<<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>> wrote:<br>>><br>>><br>>> On Thu, Aug 20, 2009 at 11:06 AM, Steve Underwood <<a href="mailto:steveu@coppice.org">steveu@coppice.org</a>><br>
>> wrote:<br>>>><br>>>> On 08/20/2009 05:22 AM, Michael Collins wrote:<br>>>> ><br>>>> > There is no noise on those 3 beeps. In fact, for something that's<br>>>> > been<br>
>>> > through ulaw/alaw compression those beeps are very clean. They are<br>>>> > quite<br>>>> > short, though.<br>>>> ><br>>>> ><br>>>> > Heck yeah they're short! Steve, in your experience is there a<br>
>>> > practical way to detect a beep that short without chewing up system<br>>>> > resources or having lots of false positives?<br>>>> > -MC<br>>>> ><br>>>> The tone samples I just looked at are about 130ms long. The problem is<br>
>>> the detector is trying to be a very open ended detector of anything<br>>>> narrowband enough to be a single tone, and of any duration beyond some<br>>>> small minimum. Its difficult to make such a thing voice immune unless<br>
>>> you can also count on a very large signal to noise ratio. With a digital<br>>>> trunk you can probably rely on a large SNR, but what happens when people<br>>>> use analogue lines? There is a reason why DTMF detectors try hard to<br>
>>> work down to about 10dB SNR. :-)<br>>>><br>>>> Steve<br>>><br>>> Thanks for the lesson uncle Steve! I'm guessing that the OP will need a new<br>>> strategy. Possibly waiting for silence? Not sure what's the best way to go<br>
>> but I'm interested in hearing if someone has a solution.<br>>><br>>> -MC<br>>><br>>><br>>><br>>> _______________________________________________<br>>> FreeSWITCH-users mailing list<br>
>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>>> <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
>><br>>><br>><br><br>_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br>