[asterisk-users] How to tune Asterisk AMD - Answering Machine Detection "hacks"

James FitzGibbon james.fitzgibbon at gmail.com
Wed Oct 24 10:15:03 CDT 2007


On 10/24/07, Costa Dinoteli <javmob at gmail.com> wrote:
>
> Most everytime Asterisk calls  it thinks it is an Answering Machine and it
> starts playing
> the AMD message, instead of the delivering the "1st real message"
>

Why is it thinking that it's a machine?  If you're on the console at verbose
3 or higher, you'll see what thresholds were tripped.  You can also get the
reason in the ${AMDCAUSE} variable:

[Oct 23 09:58:34] VERBOSE[25147] logger.c:     -- AMD: Zap/81-1 416XXXXXXX
(null) (Fmt: 4)
[Oct 23 09:58:34] VERBOSE[25147] logger.c:     -- AMD: initialSilence [2500]
greeting [1500] afterGreetingSilence [800] totalAnalysisTime [5000]
minimumWordLength [100] betweenWordsSilence [50] maximumNumberOfWords [4]
silenceThreshold [256]
[Oct 23 09:58:37] VERBOSE[25147] logger.c:     -- AMD: ANSWERING MACHINE:
silenceDuration:2500 initialSilence:2500

or

[Oct 23 09:43:37] VERBOSE[24313] logger.c:     -- AMD: Zap/4-1 4166XXXXXXX
(null) (Fmt: 4)
[Oct 23 09:43:37] VERBOSE[24313] logger.c:     -- AMD: initialSilence [2500]
greeting [1500] afterGreetingSilence [800] totalAnalysisTime [5000]
minimumWordLength [100] betweenWordsSilence [50] maximumNumberOfWords [4]
silenceThreshold [256]
[Oct 23 09:43:38] VERBOSE[24313] logger.c:     -- AMD: Word detected.
iWordsCount:1
[Oct 23 09:43:38] VERBOSE[24313] logger.c:     -- AMD: Changed state to
STATE_IN_SILENCE
[Oct 23 09:43:39] VERBOSE[24313] logger.c:     -- AMD: HUMAN:
silenceDuration:800 afterGreetingSilence:800

Figure out why AMD thinks it's a machine and you can change the thresholds,
either in amd.conf or in the call to AMD().

-- 
j.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071024/1f38544f/attachment.htm 


More information about the asterisk-users mailing list