<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] Need Less CPU Intensive Way to Detect Voicemail and Answering Machines</TITLE>
</HEAD>
<BODY>
<FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>Detecting the tone is exactly what mod_vmd and mod_avmd do now... Not exactly the most efficient way to detect this sort of thing, but it does work<BR>
<BR>
K<BR>
<BR>
<BR>
On 1/9/12 9:22 AM, "curriegrad2004" <<a href="curriegrad2004@gmail.com">curriegrad2004@gmail.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>Since an answering machine creates a tone, have you looked into mod_spandsp's tone_detect feature? I think it does what you want it to do.<BR>
<BR>
On 2012-01-09 3:50 AM, "Avi Marcus" <<a href="avi@avimarcus.net">avi@avimarcus.net</a>> wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>Yes, even with no other way of making it work more efficiently... 1<BR>
machine can handle 50 calls that have actually picked up, before<BR>
sending it to the recording.<BR>
So your actual window is maximum 30? seconds per calls that picks up<BR>
that mod_avmd needs to be running. So then that's 50 per 30 second<BR>
windows so 100 calls per minute. That's 1,000 actual connected calls<BR>
within 10 minutes. Is that within your threshold? For using ONE<BR>
machine?<BR>
(What happens if a person picks up? On silence it just starts the<BR>
recording..? Or do you just have a looping first 30 seconds so it's ok<BR>
if they miss the start?)<BR>
<BR>
-Avi<BR>
<BR>
<BR>
On Mon, Jan 9, 2012 at 12:06 PM, Anita Hall <<a href="anita.hall@simmortel.com">anita.hall@simmortel.com</a>> wrote:<BR>
> Hi David<BR>
><BR>
> Question: Do you want to use only 1 machine for doing AMD on 1k+ calls ? If<BR>
> not, you can distribute the load between 2 or more machines.<BR>
><BR>
> Have you tried this? (from Wiki)<BR>
><BR>
> For best results in getting accurate detection as well a saving system<BR>
> resources (CPU & memory), you should do the following:<BR>
><BR>
> Wait until AFTER the call has been answered before starting AVMD. In many<BR>
> cases you may find it best to wait a few seconds after the call is answered<BR>
> before starting AVMD.<BR>
><BR>
> Starting AVMD before the call is answered will often result in false beeps<BR>
> and wastes CPU resources.<BR>
><BR>
> Once you have received the AVMD event, you should explicitly stop AVMD, even<BR>
> though it will not return another event.<BR>
><BR>
><BR>
><BR>
> regards,<BR>
> Anita<BR>
><BR>
><BR>
><BR>
> On Sun, Jan 8, 2012 at 7:20 AM, David Stein <<a href="dstein@ieee.org">dstein@ieee.org</a>> wrote:<BR>
>><BR>
>> Hello.<BR>
>><BR>
>> I need to detect answering machine beeps on 1,000+ channels<BR>
>> simultaneously. Unfortunately, this is a real requirement, not a<BR>
>> pseudo-requirement that can be engineered away. This is for a mass<BR>
>> emergency notification system for government, K-12, and higher education..<BR>
>><BR>
>> In the past, I have done this with proprietary hardware (Dialogic and<BR>
>> Aculab), which handles this sort of thing without overloading the host CPU,<BR>
>> as the hardware's DSPs handle the detections. I want to see if I can do the<BR>
>> same thing with FreeSWITCH.<BR>
>><BR>
>> Alas, I find the following warning in the wiki page for mod_avmd:<BR>
>><BR>
>> AVMD (and VMD) are both very CPU intensive. You need to be aware of this<BR>
>> fact when using it. It will drastically reduce your call capacity if you do<BR>
>> not manage it correctly. On the other hand it is a very useful tool, and if<BR>
>> managed properly will be a great aid for calls needing to do Voice Mail<BR>
>> Detection.<BR>
>><BR>
>> Eric states, "You can expect about ~50 simultaneous instances on an<BR>
>> Intel i7 920 CPU."<BR>
>><BR>
>> So, it sounds like VMD and AVMD won't work for what I need to do. I also<BR>
>> don't think that the tone_detect application will work, as this requires<BR>
>> specific frequencies (as opposed to ranges of frequencies), and answering<BR>
>> machines and voicemail come with beeps at all sorts of frequencies.<BR>
>><BR>
>> Does anyone know anything, either free or commercial, that I can use with<BR>
>> FreeSWITCH to do this many simultaneous detections? I know of commercial<BR>
>> software-only platforms (e.g., Aculab's Prosody S) that claim to be able to<BR>
>> this, so it seems like it should be possible.<BR>
>><BR>
>> Thanks in advance,<BR>
>> David Stein<BR>
>><BR>
>><BR>
>> _________________________________________________________________________<BR>
>> Professional FreeSWITCH Consulting Services:<BR>
>> <a href="consulting@freeswitch.org">consulting@freeswitch.org</a><BR>
>> <a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><BR>
>><BR>
>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR>
>> <a href="http://www.cudatel.com">http://www.cudatel.com</a><BR>
>><BR>
>> Official FreeSWITCH Sites<BR>
>> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
>> <a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><BR>
>> <a href="http://www.cluecon.com">http://www.cluecon.com</a><BR>
>><BR>
>> FreeSWITCH-users mailing list<BR>
>> <a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
>> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
>><BR>
><BR>
><BR>
> _________________________________________________________________________<BR>
> Professional FreeSWITCH Consulting Services:<BR>
> <a href="consulting@freeswitch.org">consulting@freeswitch.org</a><BR>
> <a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><BR>
><BR>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR>
> <a href="http://www.cudatel.com">http://www.cudatel.com</a><BR>
><BR>
> Official FreeSWITCH Sites<BR>
> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
> <a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><BR>
> <a href="http://www.cluecon.com">http://www.cluecon.com</a><BR>
><BR>
> FreeSWITCH-users mailing list<BR>
> <a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
><BR>
<BR>
_________________________________________________________________________<BR>
Professional FreeSWITCH Consulting Services:<BR>
<a href="consulting@freeswitch.org">consulting@freeswitch.org</a><BR>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><BR>
<BR>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR>
<a href="http://www.cudatel.com">http://www.cudatel.com</a><BR>
<BR>
Official FreeSWITCH Sites<BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><BR>
<a href="http://www.cluecon.com">http://www.cluecon.com</a><BR>
<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'><BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_________________________________________________________________________<BR>
Professional FreeSWITCH Consulting Services:<BR>
<a href="consulting@freeswitch.org">consulting@freeswitch.org</a><BR>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><BR>
<BR>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR>
<a href="http://www.cudatel.com">http://www.cudatel.com</a><BR>
<BR>
Official FreeSWITCH Sites<BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><BR>
<a href="http://www.cluecon.com">http://www.cluecon.com</a><BR>
<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE>
</BODY>
</HTML>