I do see that AMD.conf offers more parameters, but my initial testing has
had vastly varying results. (I meant "AMD" in the subject line. :/)
Thanks again.
_____
From: John Regal [mailto:jregal at gmail.com]
Sent: Tuesday, June 23, 2009 12:03 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: ADM v. homemade code
Hi,
I am attempting to implement Answering Machine Detect and have also played
with using BackgroundDetect instead. Does anyone recommend one over the
other? Here is the code I am using for the BackgroundDetect method (from
voip-info.org).
Thanks.
[detect]
exten => s,1,Set(MACHINE=0)
exten => s,2,Answer
exten => s,3,BackgroundDetect(silence/5, 1000, 50)
exten => s,4,Noop(answering machine detected)
exten => s,5,Set(MACHINE=1)
exten => s,6,BackgroundDetect(silence/30, 1000, 50, 30050)
exten => s,7,Noop(too long of a message)
exten => s,8,Hangup
exten => talk,1,GotoIf($[${MACHINE}=1]?2:3)
exten => talk,2,Goto(detect-machine,s,1) ; this is a machine
exten => talk,3,Goto(detect-human,s,1) ; this is a human
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20090623/04394d96/attachment.htm