Problem installing Google TTS


(Jra2fael) #1

I’m trying to use Google TTS, I followed the tutorial:

Unfortunately it’s not working,

The logs are showing the errors below.

I checked and it seems it’s not using the script from the tutorial

/var/www/html/admin/modules/tts/agi-bin/propolys-tts.agi

And instead tries to use

/var/lib/asterisk/agi-bin/propolys-tts.agi

What am I missing ?
Thanks

res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/propolys-tts.agi

489679[2021-08-15 19:43:38] VERBOSE[46757][C-00000001] res_agi.c: propolys-tts.agi,“Hello, I’m working”,GoogleTTS,/usr/bin/node: TTS AGI Started

489680[2021-08-15 19:43:38] VERBOSE[46757][C-00000001] res_agi.c: propolys-tts.agi,“Hello, I’m working”,GoogleTTS,/usr/bin/node: Generated WAV file: /var/lib/asterisk/sounds/tts/GoogleTTS-tts-c439f83bee5c13c6de0638d59754119d.sln16

489681[2021-08-15 19:43:38] VERBOSE[46757][C-00000001] res_agi.c: propolys-tts.agi,“Hello, I’m working”,GoogleTTS,/usr/bin/node: TXT file: /var/lib/asterisk/sounds/tts/GoogleTTS-tts-c439f83bee5c13c6de0638d59754119d.txt

489682[2021-08-15 19:43:38] VERBOSE[46757][C-00000001] res_agi.c: propolys-tts.agi,“Hello, I’m working”,GoogleTTS,/usr/bin/node: Text to speech wave file doesnt exist, lets create it.

489683[2021-08-15 19:43:38] VERBOSE[46757][C-00000001] res_agi.c: propolys-tts.agi,“Hello, I’m working”,GoogleTTS,/usr/bin/node: Executing GoogleTTS

489684[2021-08-15 19:43:38] VERBOSE[46757][C-00000001] res_agi.c: propolys-tts.agi,“Hello, I’m working”,GoogleTTS,/usr/bin/node: GoogleTTS is not a valid engine!

489685[2021-08-15 19:43:38] VERBOSE[46757][C-00000001] res_agi.c: propolys-tts.agi,“Hello, I’m working”,GoogleTTS,/usr/bin/node: File was not created!

489686[2021-08-15 19:43:38] VERBOSE[46757][C-00000001] res_agi.c: propolys-tts.agi,“Hello, I’m working”,GoogleTTS,/usr/bin/node: TTS AGI end

489687[2021-08-15 19:43:38] VERBOSE[46757][C-00000001] res_agi.c: <PJSIP/106-00000000>AGI Script propolys-tts.agi completed, returning 0


(system) closed #2

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.