[AsteriskBrasil] verbio

Breno bernini breno.bernini em yahoo.com.br
Terça Novembro 6 14:11:01 BRST 2012


so por garantia mesmo eder
vc usou esses comandos para copilar o verbio ? nao fiquei muito confiante vendo o --forceall no dpkg 
e qual veribo vc usou o 3.8 ou 4.3 ?
segue comandos

Uninstall any previous installation of Verbio: 
 
        # for i in `dpkg --get-selections | grep verbio | grep -v engines | awk '{print $1}'`; do dpkg --purge $i; done 
        # dpkg --purge verbio-engines 
 
1.2 - Install i386 compatibility packages: 
 
        # apt-get install ia32-libs  
 
1.3 - Install verbio-engines,  
 
        # dpkg -i --force-all verbio-engines-8.09.deb 
 
 
1.4 - Install verbio-clients package (x86_64 version):: 
 
        # dpkg -i --force-all verbio-clients-8.09.deb 
 
1.5 - Create the following symlinks: 
 
        # ln -s /usr/lib/libmcvoxsrv.so /usr/lib32/libmcvoxsrv.so 
        # ln -s /usr/lib/libthread.so /usr/lib32/libthread.so 
        # ln -s /usr/lib/libnxpro.so /usr/lib32/libnxpro.so 
        # ln -s /usr/lib/libcotoviaTTS.so /usr/lib32/libcotoviaTTS.so 
        # ln -s /usr/lib/libmltts.so /usr/lib32/libmltts.so 
        # ln -s /usr/lib/libnorm.so /usr/lib32/libnorm.so 
        # ln -s /usr/lib/libTrn.so /usr/lib32/libTrn.so
 
        # ln -s /usr/lib/libTrnTTS.so /usr/lib32/libTrnTTS.so 
        # ln -s /usr/lib/libhtts.so /usr/lib32/libhtts.so 
 
1.6 - Install ASR/TTS packages: 
 
        # dpkg -i --force-all verbio-tts-*.deb 
        # dpkg -i --force-all verbio-asr-*.deb  
 
1.7 - Run verbiod: 
 
    # verbiod -e 
 
1.8 - Check verbiod init messages ("Service started"): 
 
    grep verbiod /var/log/messages 
 
    or 
 
    grep verbiod /var/log/syslog




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

Algumas coisas,

Em /etc/asterisk/verbio.conf no campo primary_vox_dserver deixe como sendo 127.0.0.1


Deu para notar também que o deamon está subindo com suporte a várias linguagens coloque aquenas pt-br para isso vá em  vi /etc/software-verbio-server

Coloque tudo para  pt-br

string VERBIO_ASR_CONF   = "pt-br,";
string VERBIO_START_CONF = "pt-br,";
string VERBIO_START_LANG = "pt-br";
string VERBIO_TTS_SPK    = "pt-brPA,";
string VERBIO_START_SPK  = "pt-brPA,";


depois suba o verbiod -e 

Vá ao consolo do asterisk :

core set verbose 999999999

module unload app_verbio_speech.so

module load app_verbio_speech.so 


Veja se funciona !


Eng Eder de Souza

Em 6 de novembro de 2012 13:41, Breno bernini <breno.bernini em yahoo.com.br> escreveu:

então eder eu não tenio a key porém eu sempre uso o verbiod -e 
>
>e o verbio.conf configurei igual ao manual
>
>
>segue a veerbio.conf peguei so os dados deletei os comentários
>;
>[general]
>primary_vox_server      = 192.168.5.42
>backup_vox_server       = 127.0.0.1
>net_timeout             = 5
>[tts]
>default_language        = pt_br 
>default_speaker         = julia
>text_prompts_path       =/var/lib/asterisk/verbio/text
>init_delay              = 300
>end_delay               = 20
>[asr]
>default_config          = pt_br
>default_language        =
 pt_br
>grammar_path            = /var/lib/asterisk/verbio/gram
>init_sil                = 300
>max_sil                 = 200
>min_ref         = 50
>apartir daki está default
>
>
>
>
>
>
>________________________________
> De: Eng Eder de Souza <eder.souza em bsd.com.br>
>Para: Breno bernini <breno.bernini em yahoo.com.br> 
>Cc: "asteriskbrasil em listas.asteriskbrasil.org" <asteriskbrasil em listas.asteriskbrasil.org> 
>Enviadas: Terça-feira, 6 de Novembro de 2012 13:35
>Assunto: Re: [AsteriskBrasil] verbio
> 
>
>
>Bom duas coisas você tem a licença comprada do verbio ?
>
>
>
>Se não tiver suba ele em modo evaluation:
>
>
>verbiod -e
>
>
>Pelos seus logs você não tem licença válida pra rodar ele !
>
>
>Outro ponto configure corretamente o /etc/asterisk/verbio.conf, ele esta reclamando !
>
>
>
>
>Eder
>
>
>Em 6 de novembro de 2012 13:30, Breno bernini <breno.bernini em yahoo.com.br> escreveu:
>
>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/5471380a/attachment-0001.htm 


Mais detalhes sobre a lista de discussão AsteriskBrasil