[Asterisk-Users] Answering Machine Detection

Michiel Betel michiel at betel.nl
Wed Oct 29 06:10:35 MST 2003


See
http://resource.intel.com/telecom/support/documentation/unix/SR50_linux/html
_files/vox_feat/contents.html#TopOfPage chapter 2 for a basic insight on
Dialogic does it...

-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Eric Wieling
Sent: woensdag 29 oktober 2003 3:12
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] Answering Machine Detection


Humans tend to say "Hello?" (short burst of audio followed by silence), and
answering machines tend to say "I'm sorry I'm not here right now, please
leave a message after the beep" (long burst of audio followed by a beep and
silence).  

So, basically you need to decide 1) what is audio and what is background
noise and 2) how long should there be audio followed by silence.

On Tue, 2003-10-28 at 19:25, Alastair Maw wrote:
> On 27/10/03 21:57, DUSTIN WILDES wrote:
> > Does anyone have any recommendations on implementing Answering 
> > Machine detection for call generation programs?
> 
> There's obviously no nice way of doing this.
> If you're doing telemarketing, and you're playing pre-recorded audio,
> which of course is a nasty thing to do, the algorithm is something like:
> 
> 1. Dial out.
> 2. Wait for answer.
> 3. Start playing audio.
> 4. If you hear something that sounds like a beep, either hang up
>     and try again later, or stop the audio, pause for two seconds
>     and start playing it again.
> 5. Hang up when finished playing audio.
> 
> Step 4 is accomplished by doing a FFT on the incoming audio into
> frequency buckets and taking a rolling average of the mean and standard 
> deviation, such that you can detect when a fixed monotone beep occurs at 
> the other end.
> 
> 
> If you don't want to play audio files and wait for beeps, and want to
> connect real humans to each other, then there's no decent way to do 
> this, as the only difference between humans and arbitrary answering 
> machines is that the answering machines give you a beep prompt to record 
> your message.
> 
> Regards,
-- 
Sample configs, scripts, more : http://www.fnords.org/~eric/asterisk/

BTEL Consulting 504-899-1387 or 850-484-4545 or 877-677-9643

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users





More information about the asterisk-users mailing list