[Asterisk-Users] Festival as background

Alexander Lopez alex.lopez at opsys.com
Thu Jan 27 11:20:34 MST 2005


I think not since the audio is coming from the festival command not
asterisk.

I would try this,

Exten => s,1,SetVar(FILENAME=FESTIVAL-${EPOCH})
Exten => s,2,AGI(festival-bg|${FILENAME}|Text for festival to speak)
Exten => s,3,BackGround(${FILENAME})


The AGI script would take two args, the filename to put the sound file
in and then pass the phrase to festival.

I don't know what format festival outputs to file in but you could then
run the output thru sox to convert it to gsm.

Alex


-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Howard
Lowndes
Sent: Thursday, January 27, 2005 2:21 AM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] Festival as background

Is it possible to run the Festival command in the same manner as the
Background command so that it can be interrupted by caller key presses?

-- 
Howard.
LANNet Computing Associates;
Your Linux people <http://www.lannetlinux.com>
------------------------------------------
"When you just want a system that works, you choose Linux;
when you want a system that just works, you choose Microsoft."
------------------------------------------
"Flatter government, not fatter government;
Get rid of the Australian states."


_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users





More information about the asterisk-users mailing list