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.