[AsteriskBrasil] Problemas com amd.conf

Wagner Mazuchi wagner em sincronismotelecom.com
Sexta Outubro 7 16:51:42 BRT 2016


Realmente não tem uma forma fácil de fazer isso apenas ir alterando os
parâmetros e ver qual o retorno.
Você pode gravar o áudio da Claro e tentar compreender o parametrização
você pode fazer para que ele pegue apenas esse seu áudio.




2016-09-17 10:48 GMT-03:00 Renato Mello <rmello007 at gmail.com>:

> Bom dia!
>
> Estou com um problema na configuração do amd.conf.
> preciso bloquear as mensagens de saldo da operadora claro, tenho uma
> configuração que funciona só que estou perdendo muitas chamadas mais de 50%.
>
> segue meus modelos.
>
>   extensions.conf
>
> exten => _XX.,1,Progress()
> exten => _XX.,n,Noop(CHAMADA CLARO)
> exten => _XX.,n,Noop(NUMERO DISCADO: ${EXTEN})
> exten => _XX.,n,Dial(DGV/g4/021${EXTEN:6},60,M(atende,${CHANNEL})S(900))
> exten => _XX.,n,noop(STATUS ${HANGUPCAUSE},${DIALSTATUS})
> exten => _XX.,n,GotoIf($["${DIALSTATUS}" = "NOANSWER"]?nao_atende:)
> exten => _XX.,n,HangUp(34)
> exten => _XX.,n(nao_atende),Hangup(19)
> ;-----------------------------------------------------------
> ---------------
> ;Regra que desliga a chamada se for atendimento de maquina
> exten => _100,1,Hangup(19)
> ;-----------------------------------------------------------
> ---------------
> ;-----------------------------------------------------------
> ---------------
> [macro-atende]
> exten => s,1,MixMonitor(${CALLERID(num)}_${STRFTIME(${EPOCH},,%d%m%Y_
> %H:%M:%S$
> exten => s,1,AMD
> exten => s,n,Noop(STATUS: ${AMDSTATUS} / NUM_B: ${CALLERID(num)})
> exten => s,n,GoToIf($["${AMDSTATUS}" = "HUMAN"]?macro-atende,s,10)
> exten => s,n,GoToIf($["${AMDSTATUS}" = "NOTSURE"]?macro-atende,s,10)
> exten => s,n,ChannelRedirect(${ARG1},from-pstn,100,1)
>
> amd.conf
>
> ; Answering Machine Detection Configuration
> ;
>
> [general]
> initial_silence = 3000          ; Maximum silence duration before the
> greeting.
>                                 ; If exceeded then MACHINE.
> greeting = 750                  ; 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 = 3000      ; Maximum time allowed for the algorithm
> to decide
>                                 ; on a HUMAN or MACHINE
> min_word_length = 210           ; Minimum duration of Voice to considered
> as a word
> between_words_silence = 30      ; 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
> maximum_word_length = 3000  ; Maximum duration of a single Voice utterance
> allowed.
> silence_threshold = 256
>
> Obrigado pela atenção de todos!
>
> _______________________________________________
> 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
> Intercomunicador e acesso remoto via rede IP e telefones IP
> Conheça todo o portfólio em www.Khomp.com
> _______________________________________________
> Para remover seu email desta lista, basta enviar um email em branco para
> asteriskbrasil-unsubscribe at listas.asteriskbrasil.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20161007/11e6027c/attachment.html>


Mais detalhes sobre a lista de discussão AsteriskBrasil