I am trying to use festival (latest version 1.4.3) I have downloaded all the files needed and patched it with the provided diff. festival does work and does tts fine. but when I call Festival either from an extention or an AGI script, I get this in my asterisk messages log, but no sound on the channels (H323 or SIP) - they (the clients) just say "trying" and then hangup... Sep 24 23:05:32 WARNING[606231]: File app_festival.c, Line 304 (festival_exec): Text passed to festival server : Hello 1010 Sep 24 23:05:32 WARNING[606231]: File app_festival.c, Line 381 (festival_exec): Passing text to festival... Sep 24 23:05:32 WARNING[606231]: File app_festival.c, Line 400 (festival_exec): Passing data to channel... Sep 24 23:05:33 WARNING[606231]: File app_festival.c, Line 410 (festival_exec): Festival WV command Any ideas? Bryan Nolen Lead Developer http://Arc.Net.AU http://cdonline.com.au
Run the command "festival" Give it the command (SayText "Would you like to play a game?") Does it say anything? If not, then there's a problem Festival. Type (Quit) to quit the festival app. On Wed, 2003-09-24 at 08:22, Bryan Nolen wrote:> I am trying to use festival (latest version 1.4.3) > I have downloaded all the files needed and patched it with the provided > diff. > festival does work and does tts fine. > but when I call Festival either from an extention or an AGI script, I get > this in my asterisk messages log, but no sound on the channels (H323 or SIP) > - they (the clients) just say "trying" and then hangup... > > Sep 24 23:05:32 WARNING[606231]: File app_festival.c, Line 304 > (festival_exec): Text passed to festival server : Hello 1010 > Sep 24 23:05:32 WARNING[606231]: File app_festival.c, Line 381 > (festival_exec): Passing text to festival... > Sep 24 23:05:32 WARNING[606231]: File app_festival.c, Line 400 > (festival_exec): Passing data to channel... > Sep 24 23:05:33 WARNING[606231]: File app_festival.c, Line 410 > (festival_exec): Festival WV command > > Any ideas? > > Bryan Nolen > Lead Developer > http://Arc.Net.AU > http://cdonline.com.au > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users-- Sample configs and more: http://www.fnords.org/~eric/asterisk/ BTEL Consulting +1-850-484-4535 x2111 (Pensacola) +1-504-595-3916 x2111 (New Orleans) +1-877-677-9643 x2111 (Toll Free) -------------- next part -------------- A non-text attachment was scrubbed... Name: sanitizer.log Type: text/sanitizer-log Size: 502 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20030924/e35413f2/sanitizer.bin
I have exactly the same symptoms with app_festival and I suspect that send_waveform_to_channel routine in app_festival.c doesn't work correctly. Festival works correctly since it sends wave file to asterisk, which saves it in cache. If I strip app_festival header in that file I can play it. The problem lies in playback of this wave to channel. Ant ideas? Best regards Borut> Run the command "festival" > Give it the command (SayText "Would you like to play a game?") > Does it say anything? If not, then there's a problem Festival. > Type (Quit) to quit the festival app. > > On Wed, 2003-09-24 at 08:22, Bryan Nolen wrote: > > I am trying to use festival (latest version 1.4.3) > > I have downloaded all the files needed and patched it with > the provided > > diff. > > festival does work and does tts fine. > > but when I call Festival either from an extention or an AGI > script, I get > > this in my asterisk messages log, but no sound on the > channels (H323 or SIP) > > - they (the clients) just say "trying" and then hangup... > > > > Sep 24 23:05:32 WARNING[606231]: File app_festival.c, Line 304 > > (festival_exec): Text passed to festival server : Hello 1010 > > Sep 24 23:05:32 WARNING[606231]: File app_festival.c, Line 381 > > (festival_exec): Passing text to festival... > > Sep 24 23:05:32 WARNING[606231]: File app_festival.c, Line 400 > > (festival_exec): Passing data to channel... > > Sep 24 23:05:33 WARNING[606231]: File app_festival.c, Line 410 > > (festival_exec): Festival WV command
> > I have exactly the same symptoms with app_festival and I > suspect that > > send_waveform_to_channel routine in app_festival.c doesn't work > > correctly. > > > > Festival works correctly since it sends wave file to asterisk, which > > saves it in cache. If I strip app_festival header in that file I can > > play it. The problem lies in playback of this wave to channel. Ant > > ideas? > > I didn't see an extensions.conf snippit that goes along with > this, but I'm > going to guess that the channel hasn't been Answered before > the Festival > app is being executedIt is answered but * just drops the connection when reached Festival application in dialplan: [home-trusted] exten => 1000,1,answer exten => 1000,2,SayDigits(123) exten => 1000,3,Festival(Connect to Festival) exten => 1000,4,Wait(5) exten => 1000,5,Festival(send the argument) exten => 1000,6,Hangup Trace from console: -- Executing Answer("SIP/bsenicar-850b", "") in new stack -- Executing SayDigits("SIP/bsenicar-850b", "123") in new stack -- Playing 'digits/1' -- Playing 'digits/2' -- Playing 'digits/3' -- Executing Festival("SIP/bsenicar-850b", "Connect to Festival") in new stack == Parsing '/etc/asterisk/festival.conf': Found WARNING[147466]: File app_festival.c, Line 304 (festival_exec): Text passed to festival server : Connect to Festival WARNING[147466]: File app_festival.c, Line 353 (festival_exec): line length : 19 WARNING[147466]: File app_festival.c, Line 357 (festival_exec): Seek position : 23 WARNING[147466]: File app_festival.c, Line 381 (festival_exec): Passing text to festival... WARNING[147466]: File app_festival.c, Line 390 (festival_exec): Writing result to cache... WARNING[147466]: File app_festival.c, Line 400 (festival_exec): Passing data to channel... == Spawn extension (home-trusted, 1000, 3) exited non-zero on 'SIP/bsenicar-850b' Somebody suggested that enclosing arguments with single quotes will help, but in case result was same. Best regards Borut
Hi everyone , I have installed festival , following this guide : http://www.voip-info.org/wiki-Asterisk+festival+installation But i didn't get festival working with asterisk yet :-/ I got this message from festival server : -=-=-=-=-=- EST Error -=-=-=-=-=- {FND} Feature Token_Method not defined I checked token.scm and voices.scm where is define Token_Method and all seems correct , maybe i'm wrong And from asterisk : - messages - Dec 11 17:44:08 WARNING[16401]: File app_festival.c, Line 423 (festival_exec): Festival returned ER - debug - Dec 11 17:44:48 DEBUG[17425]: File app_festival.c, Line 304 (festival_exec): Text passed to festival server : Hello world Dec 11 17:44:48 DEBUG[17425]: File app_festival.c, Line 381 (festival_exec): Passing text to festival... Dec 11 17:44:48 DEBUG[17425]: File app_festival.c, Line 400 (festival_exec): Passing data to channel.. Anyone had this problem before ? Any hint how to solve it ? Thanks in advance. -- Angel Carpintero - angel@e-group.org _________________________________________________________ ELECTRONIC GROUP INTERACTIVE - www.electronic-group.com World Trade Center, Moll de BARCELONA Edificio Norte 4 Planta 08039 BARCELONA SPAIN Tel : +34 93 600 23 23 Direct : +34 93 600 23 19 Fax : +34 93 600 23 10 _________________________________________________________
After patching and installing Festival, I am unable to get it to do anything useful. I get the following error message on the * console when I dial the test extension: Parsing '/etc/asterisk/festival.conf': Found Apr 23 13:43:06 WARNING[1226062640]: app_festival.c:382 festival_exec: Strings do not match My /etc/asterisk/festival.conf looks like this: [general] host=localhost port=1314 usecache=yes cachedir=/var/lib/asterisk/festivalcache/ festivalcommand=(tts_textasterisk "%s" 'file)(quit)\n If it helps, I just tried turning usecache off and I didn't get an error on the console, but still no speech. My extension looks like this: exten => 603,1,Answer() exten => 603,2,Festival('this is a test testing 1 2 3') exten => 603,3,Wait(2) exten => 603,4,Goto(s,6) The Goto never gets executed either. The festival_server.log is showing that the server is accepting the connection. Any ideas? -J -- Jeff Workman | jworkman@pimpworks.org | http://www.pimpworks.org
I have installed festival a while ago and it could say "Mary had a little lamb" When I changed the text, it kept silence. Changed back the text and it worked. Now it does not say anything anymore!!! festival.conf: [general] usecache=yes cachedir=/var/cache/asterisk/festival/ festivalcommand=(tts_textasterisk "%s" 'file)(quit)\n ls -l /var/cache/asterisk/festival/ total 8 -rwxr-xr-x 1 root root 25 Jul 8 11:25 AD54B7C2BB46EBD196EFECC64330735D -rwxr-xr-x 1 root root 26 Jul 8 11:26 FA198D47557433B6B99E8AC6D3CCA6EB Note the file length of 8 !!!! *CLI> -- Executing Answer("SIP/6002-a3f3", "") in new stack -- Executing Festival("SIP/6002-a3f3", "mary had a little lamb") in new stack == Parsing '/etc/asterisk/festival.conf': Found What is wrong? bye Ronald