PicoTTS not working with FreePBX-15?

The picospeaker wrapper is installed and working but FreePBX 15 doesn’t seem to be able to use it. Troubleshooting hints greatly appreciated, here’s what I’ve done so fat:

Copy picospeaker script into root’s home directory.
$ cd ~
$ chmod +x picospeaker
$ install -m 755 picospeaker /usr/bin
$ rm picospeaker
$ /usr/bin/picospeaker -o test.wav hello
Check the wave file contains audio: hello
$ rm test.wav

Settings / Text to Speech Engines / + Add TTS Engine:
Engine Name: pico
Engine Path: /usr/bin/picospeaker

Applications / Misc Applications / + Add Misc Application
Enable: Yes
Description: Pico TTS
Feature Code: 778
Destination: Text to Speech Pico TTS

Now I dial extension 778 and it should say: hello
But all I get is 3 quick beeps and it hangs up.

FreePBX 16 is not a thing.

Corrected. Should I report this as a bug? Here is some more info:

$ tail -f /var/log/asterisk
[2019-12-20 11:33:36] VERBOSE[3696][C-00000026] res_agi.c: propolys-tts.agi,“Example text.”,pico,/usr/bin/picospeaker: Text to speech wave file doesnt exist, lets create it.
[2019-12-20 11:33:36] VERBOSE[3696][C-00000026] res_agi.c: propolys-tts.agi,“Example text.”,pico,/usr/bin/picospeaker: Executing pico
[2019-12-20 11:33:37] VERBOSE[3696][C-00000026] res_agi.c: propolys-tts.agi,“Example text.”,pico,/usr/bin/picospeaker: File was not created!

removed duplicate

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