I've verified everything, can't work out what is wrong:-
swift --voices
| Voice |
Version |
Lic? |
Gender |
Age |
Language |
Sample Rate |
| Allison |
5.1.0 |
Yes |
Female |
28 |
US English |
16000 Hz |
/etc/asterisk/swift.conf
voice=Allison
[2013-02-25 06:55:38] VERBOSE[18887] pbx.c: == Registered application 'Swift'
[2013-02-25 06:55:38] VERBOSE[18887] config.c: == Parsing '/etc/asterisk/swift.conf': [2013-02-25 06:55:38] VERBOSE[18887] config.c: == Found
[2013-02-25 06:55:38] DEBUG[18887] app_swift.c: Config buffer_size is 65535
[2013-02-25 06:55:38] DEBUG[18887] app_swift.c: Config goto_exten is 0
[2013-02-25 06:55:38] DEBUG[18887] app_swift.c: Config voice is Allison
[2013-02-25 06:55:38] VERBOSE[18887] loader.c: app_swift.so => (Cepstral Swift TTS Application)
[2013-02-25 06:55:55] VERBOSE[18955] pbx.c: -- Executing [1234@from-internal:1] Set("SIP/301-00000000", "SWIFT_VOICE=Allison") in new stack
[2013-02-25 06:55:55] VERBOSE[18955] pbx.c: -- Executing [1234@from-internal:2] Swift("SIP/301-00000000", "Congratulations! You have installed Cepstral.") in new stack
[2013-02-25 06:55:55] DEBUG[18955] app_swift.c: Text to Speak : Congratulations! You have installed Cepstral.
[2013-02-25 06:55:55] ERROR[18955] app_swift.c: Failed to set voice.
swift -n "Allison" -o test.wav "This is a test"
-> works and generates test.wav
CentOS release 5.8 (Final)
Connected to Asterisk 1.8.15-cert1
I've verified everything, can't work out what is wrong:-
swift --voices
/etc/asterisk/swift.conf
voice=Allison
[2013-02-25 06:55:38] VERBOSE[18887] pbx.c: == Registered application 'Swift'
[2013-02-25 06:55:38] VERBOSE[18887] config.c: == Parsing '/etc/asterisk/swift.conf': [2013-02-25 06:55:38] VERBOSE[18887] config.c: == Found
[2013-02-25 06:55:38] DEBUG[18887] app_swift.c: Config buffer_size is 65535
[2013-02-25 06:55:38] DEBUG[18887] app_swift.c: Config goto_exten is 0
[2013-02-25 06:55:38] DEBUG[18887] app_swift.c: Config voice is Allison
[2013-02-25 06:55:38] VERBOSE[18887] loader.c: app_swift.so => (Cepstral Swift TTS Application)
[2013-02-25 06:55:55] VERBOSE[18955] pbx.c: -- Executing [1234@from-internal:1] Set("SIP/301-00000000", "SWIFT_VOICE=Allison") in new stack
[2013-02-25 06:55:55] VERBOSE[18955] pbx.c: -- Executing [1234@from-internal:2] Swift("SIP/301-00000000", "Congratulations! You have installed Cepstral.") in new stack
[2013-02-25 06:55:55] DEBUG[18955] app_swift.c: Text to Speak : Congratulations! You have installed Cepstral.
[2013-02-25 06:55:55] ERROR[18955] app_swift.c: Failed to set voice.
swift -n "Allison" -o test.wav "This is a test"
-> works and generates test.wav
CentOS release 5.8 (Final)
Connected to Asterisk 1.8.15-cert1