On 10/24/07, Costa Dinoteli <[EMAIL PROTECTED]> 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.
_______________________________________________ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users