Page 1 of 1

Asterisk and Cepstral

PostPosted: Mon Aug 27, 2007 10:39 am
by stephane

I am using Asterisk 1.4 and I bought the voice (on Windows)
My idea was to generate the voice on my windows machine :

c:> swift -n millie -p audio/encoding=ulaw -o welcome.wav 'Welcome'

I don't use any : app_cepstral 1.4

Then, copy the file on the right directory

Unfortunately, Asterisk seems NOT to read the file :
My message :

48] WARNING[20416] file.c: File /var/lib/asterisk/sounds/welcome-ulaw does not exist in any format
[Aug 27 15:31:48] WARNING[20416] file.c: Unable to open /var/lib/asterisk/sounds/welcome-ulaw (format 0x4 (ulaw)): No such file or directory
[Aug 27 15:31:48] WARNING[20416] pbx.c: ast_streamfile failed on SIP/220-b78d4780 for /var/lib/asterisk/sounds/welcome-ulaw

But the file exist and right are 777

exten => 558,1,background(/var/lib/asterisk/sounds/welcome-ulaw)

Any help would be appreciated



PostPosted: Mon Aug 27, 2007 12:01 pm
by stephane
I found the correct syntax :

swift -o /tmp/greeting.wav -p audio/channels=1,audio/sampling-rate=8000 "Welcome to asterisk."

This work fine

THanks !

PostPosted: Thu Apr 02, 2009 2:19 am
by Razor73
If you've longed for a text-to-speech Asterisk toolkit that sounds just like the default Allison prompts that ship with Asterisk 1.4, then today is your lucky day. We're going to walk you through installing Cepstral with Asterisk 1.4 or 1.6 and FreePBX 2.4