[asterisk-users] agi+cepstral driving me nuts

Anton Krall akrall at intruder.com.mx
Tue Dec 26 19:46:19 MST 2006


Too bad Cepstral hasn’t still made a decent Spanish voice, the ones they
have still sound too "computer" like, not like the English ones they have
which sound great!
 


|-----Original Message-----
|From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
|bounces at lists.digium.com] On Behalf Of Julian J. M.
|Sent: Tuesday, December 26, 2006 6:26 PM
|To: Asterisk Users Mailing List - Non-Commercial Discussion
|Subject: Re: [asterisk-users] agi+cepstral driving me nuts
|
|Why don't you try app_swift?
|http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+Swift
|
|This one even compiles on 1.4, and has buffering, meaning that it
|doesn't have to wait for the tts to generate the complete output.
|
|http://www.loopfree.net/app_swift/
|
|exten => s,1,AGI(getinfo.php)
|exten => s,2,Swift( ${RESULT_INFORMATION} )
|
|Julián J. M.
|
|On 12/26/06, blackwater dev <blackwaterdev at gmail.com> wrote:
|> I just got cepstal working fine in the dial plan using code like:
|>
|> exten => 511,5,AGI(cepstral.pl|Welcome to my house finder.  At the beep
|> enter your zip code.)
|>
|>
|> The php script it calls is based on the nerdvittles weather one so it
calls
|> a webpage which prints to the screen, the nerdvittles code uses system to
|> generate the .wav file then has the dial plan call it via:
|>
|> //php script
|> $retcode2 = system ("flite -f  $tmptext -o $tmpwave") ;
|>
|> //extensions
|> exten => 411,9,NoOp(Wave file: ${TMPWAVE})
|> exten => 411,10,Playback(${TMPWAVE})
|>
|>
|> Since I am using capstral, I simply changed the line to below which works
|> fine from the command line but when calling, I never hear it, it just
hangs
|> up.  Is it timing out?  Is there a better way to do this?  How can I
return
|> just a string of Text to read so I don't have to create the .wav file
then
|> play it?
|>
|> $retcode2 = system ("swift -n Diane -m text -f  $tmptext -o $tmpwave") ;
|>
|>
|> Thanks!
|>
|_______________________________________________
|--Bandwidth and Colocation provided by Easynews.com --
|
|asterisk-users mailing list
|To UNSUBSCRIBE or update options visit:
|   http://lists.digium.com/mailman/listinfo/asterisk-users





More information about the asterisk-users mailing list