I had some trouble getting festival 1.4.2 to compile and run on RH9. The issue was (if I recall correctly) with the gcc (3.2.2) compiler. Something about Templates has changed in the new C++ compiler (making it more conformant to standards) causing the festival not to compile. Anyways, I then took the RH9 festival SRC RPM on the CD and that did contain a C++ patch. After applying the patch (along with the asterisk patch) all worked fine. 1.4.3 might have fixed that problem but if not, you know where to look! Deepak -----Original Message----- From: Rich Adamson [mailto:radamson@routers.com] Sent: Thursday, October 23, 2003 4:16 PM To: Asterisk-users-list Subject: [Asterisk-Users] Festival on RH9? I'm about to download Festival source, apply the astrisk diff's, and initiate basic testing. Thoughts are to download v1.4.3 (latest per the fesitval website. If anyone has an existing how-to, install notes, tips, or any suggestions I'd greatly appreciate it. Direct email is fine if you'd rather not post them. Thanks, Rich radamson@routers.com _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users
BTW, the issue in my last email is also applicable to the speech_tools source. Deepak -----Original Message----- From: Rich Adamson [mailto:radamson@routers.com] Sent: Thursday, October 23, 2003 4:16 PM To: Asterisk-users-list Subject: [Asterisk-Users] Festival on RH9? I'm about to download Festival source, apply the astrisk diff's, and initiate basic testing. Thoughts are to download v1.4.3 (latest per the fesitval website. If anyone has an existing how-to, install notes, tips, or any suggestions I'd greatly appreciate it. Direct email is fine if you'd rather not post them. Thanks, Rich radamson@routers.com _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users
On 23/10/2003 21:16, Rich Adamson wrote:> I'm about to download Festival source, apply the astrisk diff's, and > initiate basic testing. Thoughts are to download v1.4.3 (latest per > the fesitval website. > > If anyone has an existing how-to, install notes, tips, or any suggestions > I'd greatly appreciate it. Direct email is fine if you'd rather not post > them.I just did exactly that and it was pretty straightforward. My method: * Download festival, speechtools, festlex_OALD, festlex_POSLEX, and festvox_don. * Unpack all of the above into a new directory. * cd into speech tools: ./configure && make * cd into festival: patch -p1 < .../festival-1.4.3.diff ./configure && make * Add $PWD/bin to PATH * Run festival_server Seems to work fine. Jonathan -- Jonathan Hogg Director, Technology Seventh Wave Systems Ltd. 4-14 Tabernacle Street London EC2A 4LU Telephone: +44 20 7074 0423 <http://www.seventh-wave-systems.com/>
I'm about to download Festival source, apply the astrisk diff's, and initiate basic testing. Thoughts are to download v1.4.3 (latest per the fesitval website. If anyone has an existing how-to, install notes, tips, or any suggestions I'd greatly appreciate it. Direct email is fine if you'd rather not post them. Thanks, Rich radamson@routers.com
Okay, changed it to look like: exten => 555,1,Festival(Testing one two three.) restarted * from scratch, dialed 555 and see: CLI shows: -- Executing Festival("SIP/3000-c1e7", "Testing one two three.") in new stac k == Parsing '/etc/asterisk/festival.conf': Found WARNING[1209269552]: File app_festival.c, Line 304 (festival_exec): Text passed to festival server : Testing one two three. WARNING[1209269552]: File app_festival.c, Line 381 (festival_exec): Passing text to festival... WARNING[1209269552]: File app_festival.c, Line 400 (festival_exec): Passing data to channel... Looks identical to the previous quoted string. Double-checked to ensure I was starting the newly compiled festival_server, yup its the correct executable. I had uncommented about six lines in the festival.conf file. Is there anything special that needs to be defined in it? Could there be any issues with codecs (using stock C7960 v4.4, but Snom200 provides exactly the same response and CLI)? Using a sniffer on the wire, I only see sip frames; the session never gets to moving rtp data. It appears from the CLI that call setup is reasonable, but audio is not happening (just total silence), as also noted by the sniffer trace. So, it kind of appears that I never get past the initial sip setup, which sort of implies something wrong with the exten => statement (above)? Rich ------------------------> Don't put the text in quotes. i.e. Festival(Would you like to play a > game?) > > On Thu, 2003-10-23 at 18:07, Rich Adamson wrote: > > I followed the script (closely) that you referenced (including the export), > > and a "ps ax" shows: > > 21007 pts/2 S 0:00 /bin/sh /usr/src/festival/bin/festival_server > > 21017 pts/2 S 0:00 festival --server ./festival_server.scm > > 21039 pts/2 S 0:00 sleep 60 > > > > Then I start *, and make a call to 555, and the CLI indicates: > > -- Executing Festival("SIP/3000-ed8c", "Testing one two three.") in new stack > > == Parsing '/etc/asterisk/festival.conf': Found > > WARNING[1209269552]: File app_festival.c, Line 304 (festival_exec): Text passed > > to festival server : Testing one two three. > > WARNING[1209269552]: File app_festival.c, Line 381 (festival_exec): Passing text > > to festival... > > WARNING[1209269552]: File app_festival.c, Line 400 (festival_exec): Passing data > > to channel... > > > > But here nothing. :( > > > > How would I test festival in bash? (Not sure how to do that.) > > > > Rich > > > > ------------------------ > > > Please see if festival_server is running as specified in: > > > http://www.marko.net/asterisk/archives/0209/0389.html > > > > > > =================> > > export PATH=$PATH:/usr/src/festival/bin > > > /usr/src/festival/bin/festival_server > > > > > > =================> > > > > > Or test festival in bash... > > > > > > Regards, > > > > > > Gus > > > > > > ----- Original Message ----- > > > From: "Rich Adamson" <radamson@routers.com> > > > To: <asterisk-users@lists.digium.com> > > > Sent: Thursday, October 23, 2003 7:29 PM > > > Subject: RE: [Asterisk-Users] Festival on RH9? > > > > > > > > > > Okay, the festival build with patches went fine, and starts fine. > > > > I added > > > > exten => 555,1,Festival,"Testing one two three." > > > > When I dial extension 555, the CLI indicates: > > > > -- Executing Festival("SIP/3000-1d95", "You are calling.") in new > > > stack > > > > == Parsing '/etc/asterisk/festival.conf': == Parsing > > > '/etc/asterisk/festival > > > > .conf': Found > > > > > > > > but nothing is heard on the C7960 phone. > > > > > > > > Anyone have any ideas? > > > > > > > > Rich > > > > ------------------------ > > > > > BTW, the issue in my last email is also applicable to the speech_tools > > > source. > > > > > > > > > > Deepak > > > > > > > > > > -----Original Message----- > > > > > I'm about to download Festival source, apply the astrisk diff's, and > > > > > initiate basic testing. Thoughts are to download v1.4.3 (latest per > > > > > the fesitval website. > > > > > > > > > > If anyone has an existing how-to, install notes, tips, or any > > > suggestions > > > > > I'd greatly appreciate it. Direct email is fine if you'd rather not post > > > > > them. > > > > > > > > > > > > _______________________________________________ > > > > Asterisk-Users mailing list > > > > Asterisk-Users@lists.digium.com > > > > 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 > > > > ---------------End of Original Message----------------- > > > > > > _______________________________________________ > > Asterisk-Users mailing list > > Asterisk-Users@lists.digium.com > > http://lists.digium.com/mailman/listinfo/asterisk-users > -- > Sample configs, scripts, more : http://www.fnords.org/~eric/asterisk/ > > BTEL Consulting 504-899-1387 or 850-484-4545 or 877-677-9643 > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users---------------End of Original Message-----------------
> > I think I might see the issue. In /etc/asterisk/festival_server.log, I see: > > "Load server start ./festival_server.scm" > > festival port=1314 > > wrapper Thu Oct 23 20:08:37 CDT 2003 : USING DEFAULT CONFIGURATION > > wrapper Thu Oct 23 20:08:37 CDT 2003 : waiting > > server Thu Oct 23 20:08:38 2003 : Festival server started on port 1314 > > client(1) Thu Oct 23 20:09:08 2003 : rejected from phoenix.routers.com not in ac > > cess list > > client(2) Thu Oct 23 20:32:47 2003 : rejected from phoenix.routers.com not in ac > > cess list > > Look in /etc/hosts.allow and /etc/hosts.deny. Try the command: > > man 5 hosts_access > > to get up the manual page on this topic. > > You probably need something in /etc/hosts.allow which reads: > > festival: phoenix.routers.comOkay, tried all of these in /etc/hosts.allow ALL: ALL ALL: LOCAL @routers.com festival: phoenix.routers.com festival: phoenix and still get the same error msg in /etc/asterisk/festival_server.log: client(5) Fri Oct 24 08:50:21 2003 : rejected from phoenix.routers.com not in access list every time I dial the extension that festival is supposed to say "Testing...". The "netstat -an" indicates festival is listening on port 1314 (which was started before asterisk). Anyone have any ideas, or, does anyone have a RH9 system working with festival that could take a look at the contents of /etc/hosts.allow for me? Rich
> > and still get the same error msg in /etc/asterisk/festival_server.log: > > client(5) Fri Oct 24 08:50:21 2003 : rejected from phoenix.routers.com not in > > access list > > every time I dial the extension that festival is supposed to say "Testing...". > > The "netstat -an" indicates festival is listening on port 1314 (which was > > started before asterisk). > > > > Anyone have any ideas, or, does anyone have a RH9 system working with > > festival that could take a look at the contents of /etc/hosts.allow > > for me? > > Isn't the access list something that is passed to 'festival --server' in a > config by the 'festival_server' script? I'm not in front of festival at the > moment, but you might want to try tracing through that script and see what > it's doing.Getting closer.... The above problem was fixed by adding the FQDM (phoenix.routers.com) to the festival_server bash script. Now the festival_server.log shows: "Load server start ./festival_server.scm" festival port=1314 wrapper Fri Oct 24 10:34:16 CDT 2003 : USING DEFAULT CONFIGURATION wrapper Fri Oct 24 10:34:16 CDT 2003 : waiting server Fri Oct 24 10:34:17 2003 : Festival server started on port 1314 client(1) Fri Oct 24 10:34:49 2003 : accepted from phoenix.routers.com client(1) Fri Oct 24 10:34:50 2003 : disconnected and the CLI shows: -- Executing Festival("SIP/3000-e572", "Testing one two three") in new stack == Parsing '/etc/asterisk/festival.conf': Found WARNING[1209269552]: File app_festival.c, Line 304 (festival_exec): Text passed to festival server : Testing one two three WARNING[1209269552]: File app_festival.c, Line 381 (festival_exec): Passing text to festival... WARNING[1209269552]: File app_festival.c, Line 400 (festival_exec): Passing data to channel... WARNING[1209269552]: File app_festival.c, Line 410 (festival_exec): Festival WV == Spawn extension (from-sip, 555, 1) exited non-zero on 'SIP/3000-e572' However, still no audio back to the C7960. Is the "exited non-zero" suggesting that festival has a problem or is this a normal termination for something as simple as: exten => 555,1,Festival,Testing one two three.