[Asterisk-Users] Dialing status detection

Mark Ackroyd mark.ackroyd at cencion.com
Mon May 8 11:25:02 MST 2006


Hiya,

the disconnected number and fax are fairly easy to detect, as the behavior
on these connections is consistent. Answering machines and Human is a bit
trickier.  You can :

1) do a Background detect for noise to try and pick the "hello", then a  
   pause that happens when a human answers. 

2) Play a "there is a message for you, to hear press 1". 

   This is much more accurate, but not very friendly, as most people just 
   put the phone down.

3) Listen for the answering machine beep. 

   You start by assuming it's a human, and if you hear a answering machine

   style beep, restart a machine answered style voice file.  

All the these methods have their pro's and con's.  If you can come up with a
better and more accurate way, then slap and a patent on it and try sell it.
<rant>random disclaimer about how crap software patent are here</rant>

Mark









>   Anyone has hints to share about dialing result detection. By that I
> mean the ability to detect what answered:
>     - Human
>     - Answering machine
>     - Fax
>     - Disconnected number.




More information about the asterisk-users mailing list