forked from VitalPBX/Google_TTS_VitalPBX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
23 lines (23 loc) · 1013 Bytes
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
set -e
# Authors: Rodrigo Cuadra
# with Collaboration of Jose Miguel Rivera
#
# Support: [email protected]
#
echo -e "\n"
echo -e "************************************************************"
echo -e "* Welcome to the VitalPBX Google TTS Integration *"
echo -e "************************************************************"
yum install -y perl perl-LWP-Protocol-https mpg123 sox perl-libwww-perl
cd /var/lib/asterisk/agi-bin/
wget https://raw.githubusercontent.com/VitalPBX/Google_TTS_VitalPBX/master/googletts.agi
chown asterisk:asterisk googletts.agi
chmod +x googletts.agi
cd /etc/asterisk/ombutel
wget https://raw.githubusercontent.com/VitalPBX/Google_TTS_VitalPBX/master/extensions__60-google_tts.conf
asterisk -rx"dialplan reload"
echo -e "\n"
echo -e "************************************************************"
echo -e "* For test dial *887 or *8870 *"
echo -e "************************************************************"