Pessoal, boa tarde!
Estou tentando configurar o AMD, porém sem sucesso... recebo sempre MACHINE.
Tenho dois ambientes, a mesma configuração, porém dois resultados
diferentes:
O teste eu faço ligando para 0800 e digo Alô.
Ambiente 1:
Recedo mesmo falando Alô:
ANSWERING MACHINE: silenceDuration:3500 initialSilence:3500
Ambiente 2:
Recebo:
Word detected. iWordsCount:1
Detected Talk, previous silence duration: 80
ANSWERING MACHINE: voiceDuration:1500 greeting:1500
amd.conf
[general]
initial_silence = 3500 ; Maximum silence duration before the
greeting.
; If exceeded then MACHINE.
greeting = 1500 ; Maximum length of a greeting. If exceeded
then MACHINE.
after_greeting_silence = 1000 ; 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 = 100 ; 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
Teste:
0800 => {
Answer;
AMD;
Verbose(1, AMDSTATUS: ${AMDSTATUS});
Verbose(1, AMDCAUSE: ${AMDCAUSE});
GotoIf($[${AMDSTATUS}=HUMAN]?humn:mach);
mach:
WaitForSilence(2500,2,16);
Verbose(1,Machine identificado: ${WAITSTATUS} );
HangUp();
humn:
WaitForSilence(500,2,16);
Verbose(1,Humano identificado: ${WAITSTATUS} );
HangUp();
}
_______________________________________________
KHOMP: completa linha de placas externas FXO, FXS, GSM e E1
Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7
Intercomunicadores para acesso remoto via rede IP e telefones IP
Conheça todo o portfólio em www.Khomp.com
_______________________________________________
DIGIVOICE: Fabricante pioneiro em Banco de Canais e Placas E1, GSM, FXO e FXS
para Asterisk e Elastix. Temos Cursos de Telefonia IP e Asterisk.
Construa soluções de PABX IP com produtos DigiVoice - visite
www.digivoice.com.br
_______________________________________________
Para remover seu email desta lista, basta enviar um email em branco para
[email protected]