Foros de la comunidad Asterisk-ES
Febrero 07, 2012, 04:24:41 *
Bienvenido(a), Visitante. Por favor, ingresa o regístrate.

Ingresar con nombre de usuario, contraseña y duración de la sesión
Noticias: Cuando una cuestión esté resuelta, coméntalo en un "post" para marcarla como resuelta:
 
   Inicio   Ayuda Ingresar Registrarse  
Páginas: [1]
  Imprimir  
Autor Tema: AYUDA CON FESTIVAL Y ASTERISK EN DEBIAN LENNY  (Leído 331 veces)
0 Usuarios y 1 Visitante están viendo este tema.
rubempro
Nuevo
*

Karma: 0
Mensajes: 1



Email
« : Julio 29, 2010, 11:11:29 »

¡Saludos Compañeros!

Instale festival en debian 5.0 y asterisk asterisk 1.4.2. Ahora bien, al principio me funciono bien y me reprodujo el audio cuando marco el numero de extension, pero luego no me funciono mas. No se pr que?

Por fa, ayuda al respecto y estare agradecido. Aqui les dejo mi pequeña configuración.

En extensions.conf:

exten => 88,1,answer()
exten => 88,n,festival(hola saludos)
exten => 88,n,hangup

En festival.scm (/usr/share/festival/festival.scm) tengo:

;(language__spanish)
(set! voice_default 'voice_el_diphone)

    (define (tts_textasterisk string mode)
    "(tts_textasterisk STRING MODE)
    Apply tts to STRING. This function is specifically designed for
    use in server mode so a single function call may synthesize the string.
    This function name may be added to the server safe functions."
    (let ((wholeutt (utt.synth (eval (list 'Utterance 'Text string)))))
    (utt.wave.resample wholeutt 8000)
    (utt.wave.rescale wholeutt 5)
    (utt.send.wave.clien t wholeutt)))

En init.scm ((/usr/share/festival/festival.scm) tengo:

;;; Default voice (have to do something cute so autoloads still work)
(eval (list voice_el_diphone))

(provide 'init)

En festival.conf (/etc/asterisk/festival.conf) tengo:

host=localhost
port=1314
usecache=yes
cachedir=/var/lib/asterisk/festivalcache/

NOTA: cuando hago festival --server, me sale en consola lo siguiente:

server    Thu Jul 29 12:29:06 2010 : Festival server started on port 1314
client(1) Thu Jul 29 12:29:15 2010 : accepted from localhost
client(1) Thu Jul 29 12:29:15 2010 : disconnected

Gracias por cualquier apoyo o ayuda



En línea
Páginas: [1]
  Imprimir  
 
Ir a:  

Impulsado por MySQL Impulsado por PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC XHTML 1.0 válido! CSS válido!