Festival translates the text into speech and can be used on the VitalPBX dial plan.
Installation
Copy install.sh to your home directory and procedure to execute.
cd /
wget https://raw.githubusercontent.com/VitalPBX/pico2wave/master/install.sh
chmod +x install.sh
./install.sh
Voice Select
If you want to change the voice you must go to the voice configuration files that is in:
/usr/share/festiva/lib
Edit the voices.scm file and near line 328 will show the list of available voices, order in such a way that the first one will be the one we hear.
After selecting the voice, the festival service must be restarted:
systemctl restart festival.service
Now Dial
*8866
You should hear the following sentence
This is a simple Vital P B X text to speech test in english.