RE: [Asterisk-java-users] Text-to-voice conversion options?
Brought to you by:
srt
From: Darren H. <dha...@gh...> - 2006-02-27 17:55:23
|
Hey all, Found the answer to my question and sharing it. The command for asterisk-java for Festival does look like this: exec("Festival", "('I like asterisk java')"); Unsure with the paranthesis/single-quote, but it's a start. The ACTUAL problem I had was that the Festival Server was not running on the Asterisk box, but the exec() method still returned -1 instead of -2 (with -2 being application not found). The 'full' log on the asterisk server will show 'calling festival_client: but can't find festival_server' or similar. Thanky! -D > -----Original Message----- > From: Darren Hartford=20 > Sent: Thursday, February 23, 2006 8:26 AM > To: 'ast...@li...' > Subject: RE: [Asterisk-java-users] Text-to-voice conversion options? >=20 > Forgive me, can you show an example with asterisk-java using Festival? > My attempts have mostly been along the lines of: >=20 > Code: exec("Festival('Hello asterisk user, how are you today?')";=20 >=20 > and that has not met with success :-( > I have had some success with sound files *on the server* so calls like >=20 > Code: data =3D getData("pls-try-again"); >=20 > do work where pls-try-again is a sound file on the asterisk server. >=20 > Thanks, still learnin'! >=20 > -D >=20 |