[asterisk-users] app_swift.c:338 engine: Failed to set voice

Jeremy Kister asterisk-01 at jeremykister.com
Wed Jul 28 19:21:51 CDT 2010


On 7/28/2010 6:22 PM, Landy Landy wrote:
> [Jul 28 18:29:16] NOTICE[5191]: app_swift.c:304 engine: Text to Speak : Hello this is ceptral
> [Jul 28 18:29:16] ERROR[5191]: app_swift.c:338 engine: Failed to set voice.

Do you have cepstral installed and have the voice(s) registered ?
try: swift --voices

assuming swift is installed an a valid voice is registered,
what happens when you type: swift "Test Message" -o /tmp/file.wav

is /tmp/file.wav created ?  does it play ?

what is the output of: grep ^[a-z] /etc/asterisk/swift.conf

somewhere should say "voice=X".  Is that voice installed as per the 
above "swift --voices" command ?

also, if you're going to be dialing digits with swift, you'll probably 
run into detection issues unless you use my patch at 
http://jeremy.kister.net/code/app_swift-1.6.2.patch


-- 

Jeremy Kister
http://jeremy.kister.net./



More information about the asterisk-users mailing list