On 10/24/07, <b class="gmail_sendername">Costa Dinoteli</b> <<a href="mailto:javmob@gmail.com">javmob@gmail.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Most everytime Asterisk calls it thinks it is an Answering Machine and it starts playing
<br>the AMD message, instead of the delivering the "1st real message"<br></blockquote></div><br>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:
<br><br>[Oct 23 09:58:34] VERBOSE[25147] logger.c: -- AMD: Zap/81-1 416XXXXXXX (null) (Fmt: 4)<br>[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]
<br>[Oct 23 09:58:37] VERBOSE[25147] logger.c: -- AMD: ANSWERING MACHINE: silenceDuration:2500 initialSilence:2500<br><br>or<br><br>[Oct 23 09:43:37] VERBOSE[24313] logger.c: -- AMD: Zap/4-1 4166XXXXXXX (null) (Fmt: 4)
<br>[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]
<br>[Oct 23 09:43:38] VERBOSE[24313] logger.c: -- AMD: Word detected. iWordsCount:1<br>[Oct 23 09:43:38] VERBOSE[24313] logger.c: -- AMD: Changed state to STATE_IN_SILENCE<br>[Oct 23 09:43:39] VERBOSE[24313] logger.c
: -- AMD: HUMAN: silenceDuration:800 afterGreetingSilence:800<br clear="all"><br>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().<br><br>-- <br>
j.