#Requires Sox and Festival, from root
yum install sox
yum install festival
#create a user xxxx for text2wave .... Users files are kept in /home/xxxx for example
# To add a user:
adduser xxxx
passwd xxxx
# make WAV file, from root
su - xxxx
echo "Your Test Message Here" | text2wave -scale 1 -o test.wav
# This will convert a wav to the correct format for playback via Asterisk
sox -V test.wav -r 8000 -c 1 -t ul -w test.ulaw
#exit user to root
exit
#CLI syntax command for text2wave, from root
asterisk -r
rpt playback 12345 /home/xxxx/test
#localplay is the same CLI syntax.
rpt localplay 12345 /home/xxxx/test

k5TRY
