<br><br><div class="gmail_quote">On Wed, Aug 19, 2009 at 1:43 AM, Matthew Fong <span dir="ltr">&lt;<a href="mailto:mattdfong@gmail.com">mattdfong@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Eric,<div><br></div><div>Thanks for these recommendations.</div><div><br></div><div>for vmd-not-panasonic-home-ans.wav changing MAX_FREQ to 1450 WORKED!</div><div><br></div><div>but I&#39;m still having problems picking out the ~750Hz beep of sprint, tmobile, and verizon. I tried first cutting POINTS and VALID in half, then in half again, while also reducing MIN_AMPL in half but still no luck. I assumed from the descriptions of each, that reducing the numbers would make the algorithm less picky at finding a beep. Is this correct?</div>

<div><br></div><div>Any other recommendations on picking up these ~750Hz beeps? Thanks again for the help.</div></blockquote><div><br>How close are they to 750Hz? If they&#39;re not more than say +/- 16Hz then the tone_detect app *should* be able to detect them. At the very least I would try it. See if tone_detect can detect those beeps. While it may not be the most elegant solution, having mod_vmd looking for one set of tones and tone_detect looking for the 750Hz tones might actually get the job done, at least until you and Eric can get together to see what&#39;s happening on the 750&#39;s.<br>
<br>-MC<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div></div><div><br></div><div>--matt</div><div><br><div class="gmail_quote">
On Mon, Aug 17, 2009 at 2:15 PM, Eric des Courtis <span dir="ltr">&lt;<a href="mailto:eric.des.courtis@gmail.com" target="_blank">eric.des.courtis@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Matt,<br>
<br>
Okay the good news is vmd should be able to handle these cases. The<br>
bad news is for whatever reason they are not getting detected at the<br>
moment.<br>
<br>vmd-not-panasonic-home-ans.wav is a sine at ~1400Hz you can change<br>MAX_FREQ to 1450 and play with MIN_AMPL  if that still doesn&#39;t help.</blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


<br>
The following seem to use the same beep:<br>
<br>vmd-not-tmobile.wav is a sine at ~750Hz but has a bit of noise<br>
vmd-not-sprint.wav is a sine at ~750Hz but has a bit of noise<br>
vmd-not-sprint.wav is a sine at ~750Hz but has a bit of noise<br>
<br>
You can try to play with these values:<br>
<br>
POINTS 32<br>
VALID 22<br>
MAX_CHIRP 22<br>
<br>
If that doesn&#39;t work let me know I will try to improve the algorithm<br>
to detect the providers.<br>
<br>
Cheers!<br>
<font color="#888888"><br>
Eric des Courtis<br>
</font><div><div></div><div><br>
<br>
<br>
On Mon, Aug 17, 2009 at 1:52 PM, Matthew Fong&lt;<a href="mailto:mattdfong@gmail.com" target="_blank">mattdfong@gmail.com</a>&gt; wrote:<br>
&gt; Hi Eric,<br>
&gt; Thanks for the response. I had tried emailing you @<a href="http://brenbria.com" target="_blank">brenbria.com</a> and the<br>
&gt; email had bounced, thanks for responding to my mail.<br>
&gt; If you&#39;d be interested I .zipped up my sample voicemail beeps<br>
&gt; at <a href="http://bandcon.hellohunter.com/vmd_wav.zip" target="_blank">http://bandcon.hellohunter.com/vmd_wav.zip</a><br>
&gt; I&#39;m relatively new to telephony, but can you point me in the right direction<br>
&gt; for figuring out if the beeps are sinewaves. About as far as I&#39;ve come with<br>
&gt; audio is being able to open the .wav files in audacity. Any website<br>
&gt;  recommendations I can read? Thanks so much.<br>
&gt; --matt<br>
&gt;<br>
&gt; On Mon, Aug 17, 2009 at 10:29 AM, Eric des Courtis<br>
&gt; &lt;<a href="mailto:eric.des.courtis@gmail.com" target="_blank">eric.des.courtis@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Matt,<br>
&gt;&gt;<br>
&gt;&gt; You must first capture the audio beeps and verify that they are sine<br>
&gt;&gt; waves. If not, simply tweaking the algorithm will not give you better<br>
&gt;&gt; results.<br>
&gt;&gt;<br>
&gt;&gt; It might be possible to use FFT and I would be happy to help you<br>
&gt;&gt; implement such a solution but keep in mind FFT is very very demanding<br>
&gt;&gt; on the hardware. Ideally what you want to find out is what functions<br>
&gt;&gt; was use to generate the beep in the first place so that it can be<br>
&gt;&gt; detected. Is it two sines waves like in DTMF? Or something more<br>
&gt;&gt; complex?<br>
&gt;&gt;<br>
&gt;&gt; Anyway my email is <a href="mailto:eric.des.courtis@benbria.ca" target="_blank">eric.des.courtis@benbria.ca</a>.<br>
&gt;&gt;<br>
&gt;&gt; Cheers.<br>
&gt;&gt;<br>
&gt;&gt; Eric des Courtis<br>
&gt;&gt;<br>
&gt;&gt; On Mon, Aug 17, 2009 at 12:26 AM, Matthew Fong&lt;<a href="mailto:mattdfong@gmail.com" target="_blank">mattdfong@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; I tried emailed Eric, seeking advice on this, but his email (the one in<br>
&gt;&gt; &gt; the<br>
&gt;&gt; &gt; source code) is bouncing email (invalid user), so thought I would ask<br>
&gt;&gt; &gt; here<br>
&gt;&gt; &gt; instead. If anyone has eric&#39;s new email address, I&#39;d be interesting in<br>
&gt;&gt; &gt; it.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I did some tests with mod_vmd this afternoon, but I&#39;m only finding about<br>
&gt;&gt; &gt; 33%<br>
&gt;&gt; &gt; of the voice mail beeps and did have 1 false-positive in my test of<br>
&gt;&gt; &gt; 7 voice<br>
&gt;&gt; &gt; mail machines. I&#39;ve recorded the audio of the session in .wav files that<br>
&gt;&gt; &gt; were both successful and not, as a comparison. I can upload the .wav<br>
&gt;&gt; &gt; files<br>
&gt;&gt; &gt; if they would be useful.<br>
&gt;&gt; &gt; mod_vmd works great for voicemails of Skype Users, and <a href="http://kall8.com" target="_blank">kall8.com</a>, but<br>
&gt;&gt; &gt; has<br>
&gt;&gt; &gt; issues dealing with mobile phone carriers.<br>
&gt;&gt; &gt; sprint - not successful<br>
&gt;&gt; &gt; tmobile - not successful<br>
&gt;&gt; &gt; verizon - not successful<br>
&gt;&gt; &gt; panasonic home answering machine system - not successful<br>
&gt;&gt; &gt; kall8 - SUCCESS<br>
&gt;&gt; &gt; skype - SUCCESS<br>
&gt;&gt; &gt; I&#39;m wondering if you can recommend a simple fix, like changing some of<br>
&gt;&gt; &gt; the<br>
&gt;&gt; &gt; constants like MAX_FREQ, or MIN_TIME at the top of the mod_vmd.c source<br>
&gt;&gt; &gt; file, or if better success requires more complex analysis.  Do you have<br>
&gt;&gt; &gt; any<br>
&gt;&gt; &gt; recommendations on how this might be done? Listening to the .wav&#39;s<br>
&gt;&gt; &gt; its apparent the beeps are not as loud for the mobile phone carriers as<br>
&gt;&gt; &gt; they<br>
&gt;&gt; &gt; are with skype and kall8. Any guidance would be greatly appreciated.<br>
&gt;&gt; &gt; --matt<br>
&gt;&gt; &gt; hello hunter<br>
&gt;&gt; &gt; <a href="http://www.hellohunter.com" target="_blank">http://www.hellohunter.com</a><br>
&gt;&gt; &gt; voice broadcasting &amp; hosted dialer<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; FreeSWITCH-users mailing list<br>
&gt;&gt; &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt; &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; &gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div>
<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></blockquote></div><br>