[asterisk-users] Festival Problems
Hello, Hopefully I'm posting to the correct list, but if not, please shun me ;). I'm running Asterisk 1.4, with Festival 1.4.1. I've got a test extension setup, Festival configured and for some reason, when I dial that extension I get this: [Jan 10 17:16:05] WARNING[9082]: app_festival.c:511 festival_exec: Festival returned ER See the full debug below: [Jan 10 17:16:05] DEBUG[9082]: chan_sip.c:3381 sip_answer: SIP answering channel: SIP/SMEDIA-300-086da000 [Jan 10 17:16:05] DEBUG[9082]: chan_sip.c:6255 transmit_response_with_sdp: Setting framing from config on incoming call [Jan 10 17:16:05] DEBUG[9082]: chan_sip.c:6003 add_sdp: ** Our capability: 0x10c (ulaw|alaw|g729) Video flag: True [Jan 10 17:16:05] DEBUG[9082]: chan_sip.c:6004 add_sdp: ** Our prefcodec: 0x0 (nothing) [Jan 10 17:16:05] DEBUG[9082]: chan_sip.c:6155 add_sdp: -- Done with adding codecs to SDP [Jan 10 17:16:05] DEBUG[9082]: chan_sip.c:6200 add_sdp: Done building SDP. Settling with this capability: 0x10c (ulaw|alaw|g729) [Jan 10 17:16:05] DEBUG[9082]: pbx.c:1767 pbx_extension_helper: Launching 'Festival' [Jan 10 17:16:05] DEBUG[9082]: config.c:733 config_text_file_load: Parsing /usr/local/etc/asterisk/festival.conf [Jan 10 17:16:05] DEBUG[9082]: app_festival.c:370 festival_exec: Text passed to festival server : This is just a test at extension 111 [Jan 10 17:16:05] DEBUG[9082]: app_festival.c:433 festival_exec: Cache file exists, strln=36, strlen=36 [Jan 10 17:16:05] DEBUG[9082]: app_festival.c:435 festival_exec: Size OK [Jan 10 17:16:05] DEBUG[9082]: app_festival.c:452 festival_exec: Reading from cache... [Jan 10 17:16:05] DEBUG[9082]: app_festival.c:473 festival_exec: Passing data to channel... [Jan 10 17:16:05] WARNING[9082]: app_festival.c:511 festival_exec: Festival returned ER [Jan 10 17:16:05] DEBUG[9082]: pbx.c:2363 __ast_pbx_run: Spawn extension (local-phone,111,2) exited non-zero on 'SIP/SMEDIA-300-086da000' [Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: Function result is 'x300 4806265449' [Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: Function result is '4806265449' [Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: Function result is '111' [Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: Function result is 'local-phone' [Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: Function result is 'SIP/SMEDIA-300-086da000' [Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: Function result is '' [Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: Function result is 'Festival' [Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: Function result is 'This is just a test at extension 111' [Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: Function result is '2007-01-10 17:16:05' [Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: Function result is '2007-01-10 17:16:05' [Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: Function result is '2007-01-10 17:16:05' [Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: Function result is '0' [Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: Function result is '0' [Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: Function result is 'ANSWERED' [Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: Function result is 'DOCUMENTATION' [Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: Function result is '' [Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: Function result is '1168474565.2' [Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: Function result is '' [Jan 10 17:16:05] DEBUG[9082]: channel.c:1558 ast_hangup: Hanging up channel 'SIP/SMEDIA-300-086da000' [Jan 10 17:16:05] DEBUG[9082]: chan_sip.c:3233 sip_hangup: Hangup call SIP/SMEDIA-300-086da000, SIP callid [EMAIL PROTECTED]) Any ideas? -- Robert Norton SophMedia LLC Operations Manager Cell: 480-234-4312 Office: 480-626-5449 (x300) P.O. Box 7755 Tempe, AZ 85281 http://www.XStreamHost.com - Web Hosting http://www.SophMedia.com - Consulting Web Development ___ --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] Festival problems
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 ___ 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
Re: [Asterisk-Users] Festival problems
--On Friday, April 23, 2004 5:13 PM -0600 Rich Adamson [EMAIL PROTECTED] wrote: My /etc/asterisk/festival.conf looks like this: My conf looks the same. My extension looks like this: exten = 603,1,Answer() exten = 603,2,Festival('this is a test testing 1 2 3') Try syntax like the following (this works): exten = 3913,2,Festival(mary had a little lamb) I tried it without the quotes as well, same thing. Be sure you start Festival before starting *. Did that as well. Not sure what the problem is. -J Start festival in debug mode and check if asterisk is connectiong to festival. And aslo check what's going on on asterisk console. I had also some problem to make festival to work with *. Bart ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Festival problems
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 | [EMAIL PROTECTED] | http://www.pimpworks.org ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Festival problems
My /etc/asterisk/festival.conf looks like this: My conf looks the same. My extension looks like this: exten = 603,1,Answer() exten = 603,2,Festival('this is a test testing 1 2 3') Try syntax like the following (this works): exten = 3913,2,Festival(mary had a little lamb) Be sure you start Festival before starting *. Rich ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Festival problems
--On Friday, April 23, 2004 5:13 PM -0600 Rich Adamson [EMAIL PROTECTED] wrote: My /etc/asterisk/festival.conf looks like this: My conf looks the same. My extension looks like this: exten = 603,1,Answer() exten = 603,2,Festival('this is a test testing 1 2 3') Try syntax like the following (this works): exten = 3913,2,Festival(mary had a little lamb) I tried it without the quotes as well, same thing. Be sure you start Festival before starting *. Did that as well. Not sure what the problem is. -J -- Jeff Workman | [EMAIL PROTECTED] | http://www.pimpworks.org ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Festival problems
On Saturday 24 April 2004 01:06, Jeff Workman wrote: I tried it without the quotes as well, same thing. Be sure you start Festival before starting *. Did that as well. Not sure what the problem is. I've just been installing Festival this evening and got it working after a couple of issues. First off, did you install it from sources and apply the patch in the asterisk/contrib directory, or did you use a vendor RPM / deb package? Next, instead of running festival in the background using an /etc/init.d/ script or 'service festival start', please try to run it in a window using 'festival --server' - this should highlight any errors. Furthermore, run asterisk itself with 'asterisk -c' since this will let you see all messages pertaining to Festival. So, assuming you have something in your extensions.conf like exten = 603,1,Answer exten = 603,2,Festival(this is a test of festival) exten = 603,3,Hangup do you see anything in either the Asterisk or festival windows? For reference I used Festival 1.4.2 that comes with Debian woody (recompiled with the 1.4.2 patch added of course) I did get some 'Festival ER' errors but they seemed to be because I used uppercase charactersin the test string.. Cheers, Gavin. ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Festival problems
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 - [EMAIL PROTECTED] _ 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 _ ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Festival Problems
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 [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Festival Problems
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 [EMAIL PROTECTED] 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) This message has been 'sanitized'. This means that potentially dangerous content has been rewritten or removed. The following log describes which actions were taken. Sanitizer (start=1064416439): Forcing message to be multipart/mixed, to facilitate logging. Writer (pos=843): Part (pos=917): Added 1 bytes of scratch space. Total modifications so far: 1 Added 1 bytes of scratch space. Anomy 0.0.0 : Sanitizer.pm $Id: Sanitizer.pm,v 1.79 2003/06/19 19:22:00 bre Exp $
RE: [Asterisk-Users] Festival Problems
Did you Answer the call before calling Festival? Thorsten -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Wieling Sent: Wednesday, September 24, 2003 11:13 To: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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) ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Festival Problems
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 ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Festival Problems
On Wed, 24 Sep 2003, Borut Senicar wrote: 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 executed James ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Festival Problems
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 executed It 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 ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users