rubempro
Nuevo
Karma: 0
Mensajes: 1
|
 |
« : 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
|