[asterisk-users] Answer Machine Detection

Matheus Rossato matheusrossatolista at gmail.com
Tue Nov 21 13:36:22 MST 2006


Hi all,

    i'm trying to make AMD, Answer Machine Detection, to work on my 
outbound context but i can't get it to work, just on inbound context 
like whe i use the application Answer before AMD, but i need to make AMD 
to do the detection on an outbound predictive dialer integration. Follow 
are the inbound and outbound examples. My current environment is 
Asterisk 1.4beta3 and a Digum TE105P with ISDN E1. Have any one managed 
to do answer machine detection already?

[outbound]
exten => _x.,1,AMD
exten => _x.,2,Dial(SIP/${EXTEN}@10.1.1.203,,tT)
exten => _x.,3,Wait(2)
exten => _x.,4,Set(RECORDEDFILE=${CALLERID(num)}.wav)
exten => _x.,5,Record(${RECORDEDFILE},,,skip)
exten => _x.,6,Hangup

[inbound]

exten => _x.,1,Answer
exten => _x.,2,AMD
exten => _x.,3,Wait(2)
exten => _x.,4,Set(RECORDEDFILE=${CALLERID(num)}.wav)
exten => _x.,5,Record(${RECORDEDFILE},,,skip)
exten => _x.,6,Hangup



My AMD conf

;
; Answering Machine Detection Configuration
;

[general]
initial_silence = 2500              ; Maximum silence duration before 
the greeting.
                                              ; If exceeded then MACHINE.
greeting = 1500                      ; Maximum length of a greeting. If 
exceeded then MACHINE.
after_greeting_silence = 300   ; Silence after detecting a greeting.
                                              ; If exceeded then HUMAN
total_analysis_time = 5000      ; Maximum time allowed for the algorithm 
to decide
                                              ; on a HUMAN or MACHINE
min_word_length = 120          ; Minimum duration of Voice to considered 
as a word
between_words_silence = 50  ; Minimum duration of silence after a word 
to consider
                                               ; the audio what follows 
as a new word
maximum_number_of_words = 3     ; Maximum number of words in the greeting.
                                                       ; If exceeded 
then MACHINE
silence_threshold = 256





More information about the asterisk-users mailing list