[AsteriskBrasil] verbio

Breno bernini breno.bernini em yahoo.com.br
Terça Novembro 6 13:30:58 BRST 2012


bom tive alguns erros 
 
grep
verbiod /var/log/syslog
starting verbiod
Nov  6 10:30:57 e-itt-088 verbiod: StartUp ASR Configurations: pt-br
Nov  6 10:30:57 e-itt-088 verbiod: Default ASR Language: pt-br
Nov  6 10:30:57 e-itt-088 verbiod: StartUp TTS Speakers: pt-brPA
Nov  6 10:30:59 e-itt-088 verbiod: Service started. Serial number = IDEBBA3E
Nov  6 11:10:34 e-itt-088 verbiod: starting verbiod
Nov  6 11:10:34 e-itt-088 verbiod: StartUp ASR Configurations: pt-br
Nov  6 11:10:34 e-itt-088 verbiod: Default ASR Language: pt-br
Nov  6 11:10:34 e-itt-088 verbiod: StartUp TTS Speakers: pt-brPA
Nov  6 11:10:35 e-itt-088 verbiod: BlockingSocketException: Bind error #98
Nov  6 13:14:24 e-itt-088 verbiod: starting verbiod
Nov  6 13:14:24 e-itt-088 verbiod: StartUp ASR Configurations: es,es_ca,es_eu,es_ga,es_ca_eu_ga
Nov  6 13:14:24 e-itt-088 verbiod: Default ASR Language: es
Nov  6 13:14:24 e-itt-088 verbiod: TTS: Unable to access Registry entries or missing mandatory fields.
Nov  6 13:15:53 e-itt-088 verbiod: starting verbiod
Nov  6 13:15:53 e-itt-088 verbiod: StartUp ASR Configurations: es,es_ca,es_eu,es_ga,es_ca_eu_g

verbiod -d
 esse mudou agora antes tava dando erro de key code 

verbiod-6: starting verbiod
verbiod-6: StartUp ASR Configurations: es,es_ca,es_eu,es_ga,es_ca_eu_ga
verbiod-6: Default ASR Language: es
verbiod-3: TTS: Unable to access Registry entries or missing mandatory fields.

load app_verbio...
Loaded app_verbio_speech.so
  == Registered application 'VerbioInfo'
  == Registered application 'VerbioLastErr'
  == Registered application 'VerbioFreeChannel'
  == Parsing '/etc/asterisk/verbio.conf':   == Found
[Nov  6 13:28:33] NOTICE[31229]: app_verbio_speech.c:729 init_verbio: Starting ASR engine [conf:pt_br, lang:pt_br]
[Nov  6 13:29:46] ERROR[31229]: app_verbio_speech.c:756 init_verbio: Can not init ASR (tried primary [192.168.5.42] and backup [127.0.0.1] hosts) NETWORK ERROR
[Nov  6 13:29:46] NOTICE[31229]: app_verbio_speech.c:766 init_verbio: Starting TTS engine [lang:pt_br]
[Nov  6 13:29:56] ERROR[31229]: app_verbio_speech.c:793 init_verbio: Can not init TTS (tried primary [192.168.5.42] and backup [127.0.0.1] hosts) NETWORK ERROR
[Nov  6 13:29:56] ERROR[31229]: app_verbio_speech.c:5738 load_module: Error initing verbio. Please check that /etc/asterisk/verbio.conf is properly configured,
and your voxserver is up and running. Loaded app_verbio_speech.so => (Verbio Speech Technologies Applications)





________________________________
 De: Eng Eder de Souza <eder.souza em bsd.com.br>
Para: Breno bernini <breno.bernini em yahoo.com.br>; asteriskbrasil em listas.asteriskbrasil.org 
Enviadas: Terça-feira, 6 de Novembro de 2012 12:08
Assunto: Re: [AsteriskBrasil] verbio
 

Oi

Pare o daemon verbiod e inicie novamente verifique o log em /var/log/messages

veja um exemplo de como ele deve subir :

Sep 19 09:17:55 sip verbiod: starting verbiod
Sep 19 09:17:55 sip verbiod: StartUp ASR Configurations: pt-br
Sep 19 09:17:55 sip verbiod: Default ASR Language: pt-br
Sep 19 09:17:55 sip verbiod: StartUp TTS Speakers: pt-brPA
Sep 19 11:37:13 sip verbiod: starting verbiod
Sep 19 11:37:13 sip verbiod: StartUp ASR Configurations: pt-br
Sep 19 11:37:13 sip verbiod: Default ASR Language: pt-br
Sep 19 11:37:13 sip verbiod: StartUp TTS Speakers: pt-brPA
Sep 19 11:37:13 sip verbiod: Verbio evaluation mode.#012The server will terminat e in 60 minutes.#012#012SERIAL NUMBER: H90A8234
Sep 19 11:37:29 sip verbiod: Service started. Serial number = H90A8234


Se tudo está OK suba o módulo do verbio na mão dentro do console do asterisk !

Primeiro garanta que ele não esteja rodando fazendo um unload assim:

sip*CLI> module unload app_verbio_speech.so
Unloaded app_verbio_speech.so


Agora leia o módulo:

sip*CLI> module load app_verbio_speech.so
Loaded app_verbio_speech.so
== Registered application 'VerbioInfo'
== Registered application 'VerbioLastErr'
== Registered application 'VerbioFreeChannel'
== Parsing '/etc/asterisk/verbio.conf': == Found
[Sep 19 11:43:21] NOTICE[8693]: app_verbio_speech.c:729 init_verbio: Starting ASR engine [conf:pt-br, lang:pt-br]
[Sep 19 11:43:22] NOTICE[8693]: app_verbio_speech.c:754 init_verbio: success starting ASR engine
[Sep 19 11:43:22] NOTICE[8693]: app_verbio_speech.c:766 init_verbio: Starting TTS engine [lang:pt-br]
[Sep 19 11:43:23] NOTICE[8693]: app_verbio_speech.c:791 init_verbio: success starting TTS engine
== Registered application 'VerbioLoadVcb'
== Registered application 'VerbioUnloadVcb'
== Registered application 'VerbioRec'
== Registered application 'VerbioStreamAndRec'
== Registered application 'VerbioPromptAndRec'
== Registered application 'VerbioPrompt'
Loaded app_verbio_speech.so => (Verbio Speech Technologies Applications)

Veja se nenhum erro está subindo após isso tudo tem que funcionar!


Olhe que no meu ele subiu com sucesso o TTS e o ASR!

Eng Eder de Souza


2012/11/6 Breno bernini <breno.bernini em yahoo.com.br>

eu ainda não consegui fazer o asterisk registrar o app verbio loadvcb
>
>
>alguem pode ajudar ? 
>
>
>
>
>== Starting SIP/189.76.171.5:5060-00000003 at inicio,1007,1 failed so falling back to exten 's'
>    -- Executing [s em inicio:1] NoOp("SIP/189.76.171.5:5060-00000003", "Entrando em inicio") in new stack
>    -- Executing [s em inicio:2] Wait("SIP/189.76.171.5:5060-00000003", "2") in new stack
>   
>
>-- Executing [s em inicio:3] Set("SIP/189.76.171.5:5060-00000003", "SOMEVAR=0") in new stack
>[Nov  6 11:11:21] WARNING[28277]: pbx.c:4235 pbx_extension_helper: No application 'VerbioLoadVcb' for extension (inicio, s, 4)
>  
>
>== Spawn extension (inicio, s, 4) exited non-zero on 'SIP/189.76.171.5:5060-00000003'
>[Nov  6 11:11:21] NOTICE[28277]: pbx_spool.c:366 attempt_thread: Call completed to SiP/30660#5
>
>
>
>
>
>_______________________________________________
>KHOMP Inovação: External Board Series
>Módulos de 1/2 rack e 1U para todas as interfaces e soluções Asterisk e FreeSWITCH.
>Tenha a External Series Experience na sua aplicação. Visite www.khomp.com
>_______________________________________________
>DIGIVOICE  Fabricante de Placas de Voz e Channel Bank
>20 anos de experiência com E1(R2/ISDN), FXS, FXO e GSM
>Centro Treinamento - Curso de PABX IP -  Asterisk  - Site  www.digivoice.com.br
>________
>YEALINK: Telefones IP e VídeoPhones IP com o melhor custo/benefício do mercado.
>email: yealink em commlogik.com.br | www.commlogik.com.br | (11) 5503-1011
>______________________________________________
>Para remover seu email desta lista, basta enviar um email em branco para asteriskbrasil-unsubscribe em listas.asteriskbrasil.org
>
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20121106/3bced30b/attachment-0001.htm 


Mais detalhes sobre a lista de discussão AsteriskBrasil