Re: [asterisk-users] Using Flite in a call file.
It's ALIVEThanks Russell, that's been bugging for a couple of days now. Flite is pretty wicked, you don't' have to preprocess a text file now, you simply give it the text to speak and you're done. I first read about it here: http://nerdvittles.com/?p=134 --joeyOn 8/3/06, Russell Bryant < [EMAIL PROTECTED]> wrote:On Thu, 2006-08-03 at 14:32 -0600, Joey McDonald wrote: > I'm stuck however getting the application 'Flite' working in the call> file. By way of example, the CGI generates> the following:Interesting, I've never heard of this application ... > -> channel: Local/[EMAIL PROTECTED]> maxretries: 3> retrytime: 60> waittime: 60> callerid: "WakeUp" <*62> > application: Flite("Wake me up")> data:> -Your problem is the format of your call file. Your "application" and "data" lines should read:application: Flitedata: "Wake me up"--Russell BryantSoftware DeveloperDigium, Inc. ___ --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
Re: [asterisk-users] Run a script at certain CLI writes
Have you looked to see if they're being logged to /var/log/asterisk/full ? That would be much easier to detect. --joeyOn 8/3/06, Bart Fisher <[EMAIL PROTECTED]> wrote:I'm trying to detect when a T1 goes to Yellow or Red alarm. I noticed these events will be displayed on the CLI.What I'd like to do is cause an email to be sent when from a script onthese events, but somehow I would need tocapture the CLI outputs to detect messagesMessage are: wct4xxp: Setting yellow alarm on span 1wct4xxp: Clearing yellow alarm on span 1Any clues?Bart___--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --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
[asterisk-users] Using Flite in a call file.
Greetings, I've created a perl CGI that will generate an asterisk call file in /var/spool/asterisk/outgoing/I'm stuck however getting the application 'Flite' working in the call file. By way of example, the CGI generates the following:-channel: Local/[EMAIL PROTECTED]maxretries: 3retrytime: 60waittime: 60callerid: "WakeUp" <*62> application: Flite("Wake me up")data:-Where xx is a phone number to dial and "Wake me up" is text entered by the form. Asterisk correctly dial's the number but Flite isn't executed properly. If I change the application line toapplication: MusicOnHoldIt executes that just fine. I have Flite working in my dialplan, like so: exten => *65,1,Answerexten => *65,2,Flite("Your phone number is ${CALLERIDNUM}, now go do some work.")exten => *65,3,HangupThat works just fine; lastely asterisk has Flite properly registered as an application: pbx*CLI> show application flitepbx*CLI> -= Info about application 'Flite' =-[Synopsis]Say text to the user, using Flite[Description] Flite(text[|intkeys]): This will invoke the Flite TTS engine, send a text string, get back the resulting waveform and play it tothe user, allowing any given interrupt keys to immediately terminateand return.So, I'm stuck and not too sure how to get this to go. Any suggestions, thanks! --joey ___ --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