Asterisk Espeak provides a "espeak" dialing rule application that allows you to use Espeak speech synthesizer with Asterisk. This module invokes the local Espeak TTS engine and uses it to render text to speech. It supports the following languages: Afrikaans, Albanian, Armenian, Cantonese, Catalan, http://www.aliyun.com/zixun/aggregation/35043.html "> Croatian, Czech, Danish, Dutch, English, Esperanto, Estonian, Finnish, French, Georgian, German, Greek, Hindi, Hungarian, Icelandic, Indonesian, Italian, Kannada, Kurdish, Latvia, Lojban, Macedonian, Malayalam, Mandarin, Norwegian, Polish, Portuguese, English, Swedish, Spanish , Romanian, Russian, Serbian, Slovak, Spanish, Swahili, Swedish, Tamil, Turkish, Vietnamese and Welsh. It supports the 8kHz and 16kHz sampling rates to provide the best sound quality with the use of broadband codecs. It works in the same principle as Asterisk 1.6,1.8 and 10.
Asterisk Espeak 2.0 This version adds broadband audio support. It can now produce 8kHz or 16kHz of sound files.
Use examples:
; Espeak Demo
Exten => 1234,1,answer ()
;; Play Mesage using default language as set in espeak.conf
Exten => 1234,n,espeak ("This was a simple espeak test in Chinese.", any)
;; Play message in Spanish
Exten => 1234,n,espeak ("Esta es una simple prueba espeak en español.", Any,es)
;; Play message in Greek
Exten => 1234,n,espeak ("Αυτόείναιένααπλότέσττουespeakσταελληνικά.", Any,el)
;; Read a text file from disk (relative to the channel language)
;; and play it with Espeak using the Asterisk channel language.
Exten => 1234,n,readfile (mytext=/path/${language}/myfile,200)
Exten => 1234,n,espeak ("${mytexy}", any,${language})
Exten => 1234,n,hangup ()
Download Address: http://cloud.github.com/downloads/zaf/Asterisk-eSpeak/asterisk-espeak-2.0.tar.gz