Festival translates the text into speech and can be used on the VitalPBX dial plan.
Copy install.sh to your home directory and procedure to execute.
[root@vitalpbx ~]# cd / [root@vitalpbx ~]# wget https://raw.githubusercontent.com/VitalPBX/pico2wave/master/install.sh [root@vitalpbx ~]# chmod +x install.sh [root@vitalpbx ~]# ./install.sh
If you want to change the voice you must go to the voice configuration files that is in:
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
You should hear the following sentence
This is a simple Vital P B X text to speech test in english.