<span style='font-family:Verdana'><span style='font-size:12px'>Eduardo Souza bom dia.<br /> 
<br /> 
Claro que pode postar.<br /> 
<br /> 
Quando disponibilizei foi exatamente para outros usarem a imaginação e fazer as adaptações para seus ambientes.<br /> 
<br /> 
Abraços.<br /> 
<p style="margin:0px; padding:0px;" > 
         </p> 
<div> 
        <br /> 
        Eduardo Assis</div> 
<div> 
        Gerente Comercial</div> 
<div> 
        +55 19 3406-7524</div> 
<div> 
        +55 19 9256-4050</div> 
<div> 
        www.proredes.com.br</div> 
<div> 
        www.telefonasti.com.br<br /> 
        <br /> 
         </div> 
<blockquote style="border-left: 1px solid #CCC; padding-left: 5px; margin-left: 5px; margin-bottom: 0px; margin-top: 0px; margin-right: 0px;" type="cite"> 
        <p style="margin:0px; padding:0px;" > 
                <span style="font-family:Verdana"><span style="font-size:12px">----- Original Message -----</span></span></p> 
        <p style="margin:0px; padding:0px;" > 
                <span style="font-family:Verdana"><span style="font-size:12px">From: Eduardo Souza</span></span></p> 
        <p style="margin:0px; padding:0px;" > 
                <span style="font-family:Verdana"><span style="font-size:12px">Sent: 01/18/13 11:27 PM</span></span></p> 
        <p style="margin:0px; padding:0px;" > 
                <span style="font-family:Verdana"><span style="font-size:12px">To: asteriskbrasil@listas.asteriskbrasil.org</span></span></p> 
        <p style="margin:0px; padding:0px;" > 
                <span style="font-family:Verdana"><span style="font-size:12px">Subject: Re: [AsteriskBrasil] URA interativa com reconhecimento de voz</span></span></p> 
        <br /> 
        <div> 
                Eduardo, boa noite chara meu nome tb é Eduardo 
                <div> 
                         </div> 
                <div> 
                        Efetuei algumas alterações no tutorial que você postou, para que pudesse funcionar no elastix, como pendencias e até mesmo a criação das tabelas para teste.</div> 
                <div> 
                         </div> 
                <div> 
                        quero parabenizar pela grande ajuda funcionou 100%, agora é usar a imaginação.</div> 
                <div> 
                         </div> 
                <div> 
                        Se você autorizar poderei postar aqui o tutorial adptado.</div> 
                <div> 
                         </div> 
                <div> 
                        att</div> 
                <div> 
                         </div> 
                <div> 
                        Eduardo Souza</div> 
                <div> 
                         </div> 
                <div> 
                        &nbsp;<br /> 
                        <div> 
                                <div> 
                                        Em 18/01/2013, às 16:13, Eduardo Assis - Pro Redes escreveu:</div> 
                                <br class="Apple-interchange-newline" /> 
                                <blockquote type="cite"> 
                                        <span style="font-family:Verdana"><span style="font-size:12px">Utilizando o AGI do Autor "Lefteris Zafiris" é possivel trabalhar com reconhecimento de voz e conversão de audio para texto do Google. </span></span> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">&nbsp;</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">Para ajudar alguns, fiz uma pequena receita:</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">&nbsp;</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">Site para download:</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">&nbsp;</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px"><a href="http://zaf.github.com/asterisk-googletts/">http://zaf.github.com/asterisk-googletts/</a> </span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">Linux: wget <a href="https://github.com/downloads/zaf/asterisk-googletts/asterisk-googletts-0.6.tar.gz">https://github.com/downloads/zaf/asterisk-googletts/asterisk-googletts-0.6.tar.gz</a> --no-check-certificate</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">&nbsp;</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px"><a href="http://zaf.github.com/asterisk-speech-recog/">http://zaf.github.com/asterisk-speech-recog/</a> </span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">Linux: wget <a href="https://github.com/downloads/zaf/asterisk-speech-recog/asterisk-speech-recog-0.5.tar.gz">https://github.com/downloads/zaf/asterisk-speech-recog/asterisk-speech-recog-0.5.tar.gz</a> --no-check-certificate</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">&nbsp;</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">/tmp# tar xvfz asterisk-googletts-0.6.tar.gz</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">/tmp# tar xvfz asterisk-speech-recog-0.5.tar.gz</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">&nbsp;</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">cp asterisk-googletts-0.6/googletts.agi /var/lib/asterisk/agi-bin/</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">cp asterisk-speech-recog-0.5/speech-recog.agi /var/lib/asterisk/agi-bin/</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">&nbsp;</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">Como utilizo Slackware ( Arrebenta &nbsp;!!! ) tive que instalar a libwww-perl</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">&nbsp;</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">Criei um no Mysql 02 tabelas para registrar as informações:</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">&nbsp;</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">Tabela:consultarecebida</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">Campos: reconheceu - Varchar(255)</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">&nbsp;</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">Tabela:ramais</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">Campos: ramal - Varchar(255)</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">Campos: nome - Varchar(255)</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">&nbsp;</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">&nbsp;</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">&nbsp;</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">; Ura com reconhecimento de Voz</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">;</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">exten =&gt; 4006,1,Answer()</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">&nbsp;</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">exten =&gt; 4006,n,NoOp( Faço gravação para depois ouvir o que ele falou e comparar com o que reconheceu )</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">exten =&gt; 4006,n,Set(AUDIOHOOK_INHERIT(MixMonitor)=yes)</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">exten =&gt; 4006,n,MixMonitor(/pasta_gravacao/arquivo.wav,W(2)W(2))</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">&nbsp;</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">exten =&gt; 4006,n(Inicio),agi(googletts.agi,"Após o sinal, fale o nome para procura",pt-BR)</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">exten =&gt; 4006,n,agi(speech-recog.agi,pt-BR,3)</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">exten =&gt; 4006,n,NoOp( O que reconheceu: ${utterance} )</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">&nbsp;</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">exten =&gt; 4006,n,NoOp( Gravo no BD )</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">exten =&gt; 4006,n,MYSQL(Connect connid localhost user senha banco)</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">exten =&gt; 4006,n,MYSQL(Query resultid ${connid} INSERT INTO consultarecebida (reconheceu) VALUES ("${utterance}"))</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">exten =&gt; 4006,n,MYSQL(Disconnect ${connid})</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">&nbsp;</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">exten =&gt; 4006,n,NoOp( Consulta nome no BD )</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">exten =&gt; 4006,n,MYSQL(Connect connid localhost user senha banco)</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">exten =&gt; 4006,n,MYSQL(Query resultid ${connid} SELECT ramal FROM ramais WHERE nome LIKE "%${utterance}%")</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">&nbsp;</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">exten =&gt; 4006,n,MYSQL(Fetch fetchid ${resultid} ramal)</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">exten =&gt; 4006,n,MYSQL(Clear ${resultid})</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">exten =&gt; 4006,n,MYSQL(Disconnect ${connid})</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">&nbsp;</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">exten =&gt; 4006,n,NoOp( Ramal encontrado -&gt; ${ramal} )</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">&nbsp;</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">exten =&gt; 4006,n,GotoIf($["${ramal}" != ""]?localizado:naolocalizado)</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">&nbsp;</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">exten =&gt; 4006,n(localizado),NoOp( Discando para o ramal de ${utterance} )</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">exten =&gt; 4006,n,Dial(SIP/${ramal},60,Tt)</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">exten =&gt; 4006,n,Hangup()</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">&nbsp;</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">exten =&gt; 4006,n(naolocalizado),NoOp( Nao Localizado)</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">exten =&gt; 4006,n,agi(googletts.agi,"Não foi possivel identificar ou localizar o nome ${utterance}",pt-BR)</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">exten =&gt; 4006,n,agi(googletts.agi,"Estou transferindo para um atendente",pt-BR)</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">exten =&gt; 4006,n,Dial(SIP/200,60,Tt)</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">exten =&gt; 4006,n,Hangup()</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">&nbsp;</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">&nbsp;</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">Com este pequeno exemplo conseguimos Gravar e Ouvir o que nosso cliente falou.</span></span></div> 
                                        <div> 
                                                <br /> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">Como fica registrado como o Google reconheceu, podemos ir adicionando o texto reconhecido pelo Google no Mysql.</span></span></div> 
                                        <div> 
                                                <br /> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">Dando uma certa inteligencia para o reconhecimento.</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">&nbsp;</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">Ex:</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">Eduardo Ramal 200</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">Eduard &nbsp;Ramal 200</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">Edvardo Ramal 200</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">&nbsp;</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">Abraços.</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">&nbsp;</span></span></div> 
                                        <div> 
                                                <span style="font-family:Verdana"><span style="font-size:12px">Eduardo Assis<br /> 
                                                Gerente Comercial<br /> 
                                                +55 19 3406-7524<br /> 
                                                +55 19 9256-4050<br /> 
                                                <a href="http://www.proredes.com.br">www.proredes.com.br</a><br /> 
                                                <a href="http://www.telefonasti.com.br">www.telefonasti.com.br</a><br /> 
                                                &nbsp;</span></span></div> 
                                        _______________________________________________<br /> 
                                        EBS MODULAR: 3 slots para combinação entre E1, GSM, FXS ou FXO;<br /> 
                                        Linha de PORTEIROS IP, abrem até 2 dispositivos com acesso IP remoto;<br /> 
                                        Conheça esses e outros LANÇAMENTOS KHOMP em <a href="http://www.Khomp.com">www.Khomp.com</a>&nbsp;<br /> 
                                        _______________________________________________<br /> 
                                        DIGIVOICE &nbsp;Fabricante de Placas de Voz e Channel Bank<br /> 
                                        20 anos de experiência com E1(R2/ISDN), FXS, FXO e GSM<br /> 
                                        Centro Treinamento - Curso de PABX IP - &nbsp;Asterisk &nbsp;- Site &nbsp;<a href="http://www.digivoice.com.br">www.digivoice.com.br</a><br /> 
                                        _______________________________________________<br /> 
                                        ALIGERA – Fabricante nacional de Gateways SIP-E1 para R2, ISDN e SS7.<br /> 
                                        Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express.<br /> 
                                        Channel Bank – Appliance Asterisk - Acesse <a href="http://www.aligera.com.br">www.aligera.com.br</a>.<br /> 
                                        _______________________________________________<br /> 
                                        Para remover seu email desta lista, basta enviar um email em branco para <a href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a></blockquote> 
                        </div> 
                </div> 
        </div> 
</blockquote> 
<p style="margin:0px; padding:0px;" > 
         </p> 
<br /> 
</span></span>