[Asterisk-Users] Demo Weather Report AGI v2.0

Eric Wieling eric at fnords.org
Tue Nov 4 20:06:50 MST 2003


Some of you may know me as ManxPower from #Asterisk at irc.freenode.,net

I've posted my demp weather report Asterisk AGI script at
http://www.fnords.org/~eric/asterisk/downloads/

I have no affiliation with Cepstral.

Below is the README:

	Contact: Eric Wieling <eric at fnords.org>

	If you want a demo of this AGI script you may call via IAXtel
1-700-923-3645 extension 2101.  Option 23 is for Festival and
option 31 is for Cepstral.  Feel free to explore the other
options.  A directory of options is option 11.

You need the following Perl modules installed to use this AGI script:
	Asterisk::AGI (Asterisk AGI interface from http://asterisk.gnuinter.net/)
	Geo::Weather (from CPAN)

	You need either the Festival software or the Cepstral
software installed and working. For Festival you need to be able
to run the "text2wave" utility and be able to generate a .wav
file.  For Cepstral you need to be able to run the "theta"
utility and be able to generate a .wav file.

	Festival can be found at http://www.cstr.ed.ac.uk/projects/festival/ The
software is free and includes several voices. The voice on the demo is the
voice_us2_mbrola.  This voice is not included in the main Festival package,
but a link to MBROLA is on the Festival site.  Personally I don't like any
of the Festival voices.

	Cepstral can be found at http://www.cepstral.com.  The software is is
US$30.00 for one voice, it runs on Linux and Windows and can be purchased
online. The voice on the demo is the "Emily" voice.  The quality of the
Emily voice is amazing, considering how inexpensive the software is.

You call the script like this:
;
; Current weather report for a given Zip Code using Festival
;
exten => 23,1,AGI(/etc/asterisk/system-services/weather/weather.agi,/home/src/festival/festival/bin/text2wave)
;
; Current weather report for a given Zip Code using Cepstral
; The script will automagically set the THETA_HOME environment variable.
;
exten => 31,1,AGI(/etc/asterisk/system-services/weather/weather.agi,/usr/local/theta/bin/theta)


Changelog:

01-SEP-2003 v1.0 Initial Release
	No changes for an initial release
06-NOV-2003 v2.0 Significant updates
	No longer needs Geography::USStates from CPAN
   Uses Festival's text2wave utility instead of app_festival
	No longer needs a patch for app_festival
	Add support for using www.cepstral.com Text-to-Speech
	Now requires calling the script with the fully qualified path to the TTS engine

-- 
Sample configs, scripts, more : http://www.fnords.org/~eric/asterisk/

BTEL Consulting 504-899-1387 or 850-484-4545 or 877-677-9643




More information about the asterisk-users mailing list