Google text to speech for asterisk: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
Created page with "Here is a nifty little text to speech API for Asterisk using google Voice called [http://zaf.github.com/asterisk-googletts/ Google's text to speech for asterisk] [[Category : As..."
 
No edit summary
Line 1: Line 1:
Here is a nifty little text to speech API for Asterisk using google Voice called [http://zaf.github.com/asterisk-googletts/ Google's text to speech for asterisk]
Here is a nifty little text to speech API for Asterisk using google Voice called [http://zaf.github.com/asterisk-googletts/ Google's text to speech for asterisk]
<pre>
wget http://waix.dl.sourceforge.net/project/mpg123/mpg123/1.13.4/mpg123-1.13.4.tar.bz2
tar jxf mpg123-1.13.4.tar.bz2
cd mpg123-1.13.4
./configure
make
make install
</pre>
<pre>
yum -y install perl perl-libwww-perl sox
</pre>
<pre>
wget https://github.com/downloads/zaf/asterisk-googletts/asterisk-googletts-0.5.tar.gz
tar xvzf asterisk-googletts-0.5.tar.gz
cp asterisk-googletts-0.5/googletts.agi /var/lib/asterisk/agi-bin/
</pre>
<pre>
exten => 1234,1,Answer
exten => 1234,n,agi(googletts.agi,"Google text to speech for Asteirsk",en)
exten => 1234,n,agi(googletts.agi,"has been successfully installed.",en)
exten => 1234,n,agi(googletts.agi,"Hip Hip Horray",en)
exten => 1234,n,HangUp
</pre>


[[Category : Asterisk]]
[[Category : Asterisk]]

Revision as of 04:13, 24 February 2012

Here is a nifty little text to speech API for Asterisk using google Voice called Google's text to speech for asterisk

wget http://waix.dl.sourceforge.net/project/mpg123/mpg123/1.13.4/mpg123-1.13.4.tar.bz2
tar jxf mpg123-1.13.4.tar.bz2
cd mpg123-1.13.4
./configure
make
make install
yum -y install perl perl-libwww-perl sox
wget https://github.com/downloads/zaf/asterisk-googletts/asterisk-googletts-0.5.tar.gz
tar xvzf asterisk-googletts-0.5.tar.gz
cp asterisk-googletts-0.5/googletts.agi /var/lib/asterisk/agi-bin/
exten => 1234,1,Answer
exten => 1234,n,agi(googletts.agi,"Google text to speech for Asteirsk",en)
exten => 1234,n,agi(googletts.agi,"has been successfully installed.",en)
exten => 1234,n,agi(googletts.agi,"Hip Hip Horray",en)
exten => 1234,n,HangUp