[asterisk-users] AGI script that uses google's text to speech engine
Lefteris Zafiris
zaf.000 at gmail.com
Thu Dec 1 11:51:34 CST 2011
On Thu, 1 Dec 2011 11:35:21 -0600
"Danny Nicholas" <danny at debsinc.com> wrote:
> I personally don't like the use of mpg123 for playback - would prefer
> use of the internal "Playback/background" functions. Still seems to
> be a nice effort though.
mpg123 used to convert the mp3 data that we get from google to wav. The
wav file is passed to sox that converts it to raw slinear and then its
played back by asterisk using the 'stream file' agi command.
I don't really like calling all these system commands but I thought it
would be better for the users to have the voice data in sln than mp3
since format_mp3 module isn't available in many installations.
----------------
Lefteris Zafiris
More information about the asterisk-users
mailing list