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