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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Howard
Lowndes
Sent: Thursday, January 27, 2005 2:21 AM
To: asterisk-users@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@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
___
Asterisk-Users mailing list
Asterisk-Users@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