AMD Default Settings vs amd.conf

I’m using using Asterisk 1.4.21.1 and am trying to incorporate Answering Machine Detection into my apps. However the settings which the Asterisk CLI show vs what is set into the amd.conf file differs.

When I reload the app_amd module, Asterisk replies as:

– Reloading module ‘app_amd.so’ (Answering Machine Detection Application)

== Parsing ‘/etc/asterisk/amd.conf’: Found

– AMD defaults: initialSilence [2500] greeting [1500] afterGreetingSilence [800] totalAnalysisTime [5000] minimumWordLength [100] betweenWordsSilence [50] maximumNumberOfWords [3] silenceThreshold [256]

My amd.conf file is as follows:

[AMD]
initial_silence = 2500
greeting = 1500
after_greeting_silence = 300
total_analysis_time = 4000
min_word_length = 120
between_words_silence = 50
maximum_number_of_words = 5
silence_threshold = 256

As you can see, the after_greeting_silence, total_analysis_time, min_word_length, and maximum_number_of_words values are different.

Any ideas what I may be doing wrong?

Try changing [AMD] to [general]

Thanks, that did the trick!