Landy Landy
2010-Jul-28 22:22 UTC
[asterisk-users] app_swift.c:338 engine: Failed to set voice
Hello. I'm trying to set TTS with Cepstral and Swift but can't get it to work. I get this error when testing it: -- <SIP/101-00000000> Playing 'welcome.gsm' (language 'es') -- Executing [702 at local-calls:3] Swift("SIP/101-00000000", "Hello this is ceptral") in new stack [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. I'm using: asterisk*CLI> core show version Asterisk 1.6.1.18 built by root @ optimum-asterisk on a i686 running Linux on 2010-04-10 01:42:25 UTC I googled around but, there isnt a real solution I could find. Any suggestions? Thanks in advanced for your help.
Jeremy Kister
2010-Jul-29 00:21 UTC
[asterisk-users] app_swift.c:338 engine: Failed to set voice
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./