Re: [asterisk-users] Festival
Hi, wich version of Asterisk? If is 1.6.2.13, there is a open issue becouse not work https://issues.asterisk.org/view.php?id=17995 R.-- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Festival
It is 1.6.2.13 ABEJIDE, Ayodele A. (CCNA) +2348039269311 From: asannu...@gmail.com To: asterisk-users@lists.digium.com Date: Tue, 9 Nov 2010 07:38:44 -0500 Subject: Re: [asterisk-users] Festival Hi, wich version of Asterisk? If is 1.6.2.13, there is a open issue becouse not work https://issues.asterisk.org/view.php?id=17995 R. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Festival works extension to extension, not on trunk
Chris Carey wrote: I recently got Festival performing Text to Speech on my Asterisk system. It is working great when I call from extension to extension in the house. But when I dial in on my phone number (which comes in on a sip registration to a Sonus server), I can not hear any sound. The asterisk box thinks it is playing the festival sound but I hear nothing. Any ideas? Try Cepstral Swift? The voice is much better. As far as no audio, I don't know. Do you answer the call before festival plays? Do you have an IVR you can call to see if playback passes audio? Thanks, Steve ___ --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
Re: [asterisk-users] Festival through AGI can't handle strings longer than 15 chars
Moises, sorry to bother you again. I did some wrong posting to the newsgroup and that's the reason of my (apparent) delay in answering to your latest question. You can now find the answer in the newsgroup. Please, any idea as to the possible cause? If this is a bug (as it seems to me) I'd be glad to try to fix it... but, can you give me a hint to which possible C modules I should look? Just to understand if this is a problem strictly related to Festival or both to Festival and AGI. For your convenience, I report here the important part of my previous post: My CONCLUSION: the error doesn't probably depend on Festival or Exec command. To make the error occur, I simply do this: a) I restart server b) I run the AGI script with whatever text (as wide as I wish) and it will work c) I shorten the text... it still will work d) I then widen again the text: now it won't work! It will work only as long as I shorten the text (or leave it the same length), but not if I widen it. Thanks once more for your support. Mario. Moises Silva wrote: One step more, enable the following in logger.conf console = notice,warning,error,debug,verbose Application app_festival has some interesting debug messages like: ast_log(LOG_DEBUG, Text passed to festival server : %s\n,(char *)data); and that shows in the console the exact test is passed to the festival server. I keep looking into the code trying to find the reason of the behaviour you describe but I havent succed so far. Please report any feedback. Regards On 8/17/06, Mario [EMAIL PROTECTED] wrote: Thanks for your help, Moises. I did activate the AGI DEBUG as you suggested (thanks for that!). However, I'm now only a little bit more sure that I'm passing the right stuff to the Festival command. Following you'll see what I'm passing for the short text (shorter than 15 chars) and for the wider text. As you can see, both the calls seem to work, but for the 2nd I do not hear any sound. At this point, any idea is really welcome. Thanks for your help. *** Short text *** AGI Rx ANSWER AGI Tx 200 result=0 AGI Rx EXEC FESTIVAL Telefono spento -- AGI Script Executing Application: (FESTIVAL) Options: (Telefono spento) == Parsing '/etc/asterisk/festival.conf': Found AGI Tx 200 result=0 -- AGI Script test_command.py completed, returning 0 == Auto fallthrough, channel 'SIP/1-9803' status is 'UNKNOWN' *** Longer text *** AGI Rx ANSWER AGI Tx 200 result=0 AGI Rx EXEC FESTIVAL Telefono utente spento -- AGI Script Executing Application: (FESTIVAL) Options: (Telefono utente spento) == Parsing '/etc/asterisk/festival.conf': Found AGI Tx 200 result=0 -- AGI Script test_command.py completed, returning 0 == Auto fallthrough, channel 'SIP/1-67c2' status is 'UNKNOWN' Moises Silva wrote: Hi Mario. Have you tried to enable AGI debug? CLI agi debug That will show what Asterisk is receiving from your script. Also enable all the debug messages in the logger.conf file for the console Go and try that and post what you see here, and we may be able to help you On 8/17/06, Mario [EMAIL PROTECTED] wrote: I'm having a tough problem when using Festival with Asterisk through AGI: it seems that when I pass more than 15 chars to the Festival command, when from inside an AGI, no sounds (speech) at all is generated. The following (from inside the dialplan) correctly works: exten = 333,1,Answer() exten = 333,2,FESTIVAL(Telefono spento uno) exten = 333,3,Hangup But, when moved from within an AGI, the same Festival command doesn't work: EXEC FESTIVAL Telefono spento uno the symptom is that no text is played, although the return code from command is zero. One important note: if I shorten the text to Telefono spento (i.e. at most 15-chars wide) everything works as expected. I really can't figure out the reason of this weird behavior. What I can do is to exclude some possible reasons: 1. It is not a festival-related problem since when called from the Dialplan everything works as expected. 2. It is not a language-related issue, since I tried this both with English and Italian 3. It is not a missing call to flush()... yes, I added a flush() at the end of my Python-based AGI call 4. It is not a problem related to Python, since I use Python extensively with AGI Does anyone have a hint on what I can do to investigate or solve this problem? Does enyone know if this is a known bug? Thanks in advance, Mario ___ --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 ___ --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
Re: [asterisk-users] Festival through AGI can't handle strings longer than 15 chars
Thanks, Moises. I'll take a look at the code following your suggestion. Then, if successful, I surely post back the (possible) solution on this thread. Moises Silva wrote: Hi Mario, Im sorry to answer so late, but i have been busy. In fact I give a read in the code trying to find the error. You can start looking at source in res/res_agi.c function handle_exec() this function receives the AGI request of EXEC and then call internal function pbx_exec() found in pbx.c, after that, control passes to apps/app_festival.c function festival_exec(), so the final trace would look something like this: handle_exec() in res/res_agi.c pbx_exec() in pbx.c festival_exec() in apps/app_festival.c Good Look, if you found the problem please report back the results :) Regards On 8/19/06, Mario [EMAIL PROTECTED] wrote: Moises, sorry to bother you again. I did some wrong posting to the newsgroup and that's the reason of my (apparent) delay in answering to your latest question. You can now find the answer in the newsgroup. Please, any idea as to the possible cause? If this is a bug (as it seems to me) I'd be glad to try to fix it... but, can you give me a hint to which possible C modules I should look? Just to understand if this is a problem strictly related to Festival or both to Festival and AGI. For your convenience, I report here the important part of my previous post: My CONCLUSION: the error doesn't probably depend on Festival or Exec command. To make the error occur, I simply do this: a) I restart server b) I run the AGI script with whatever text (as wide as I wish) and it will work c) I shorten the text... it still will work d) I then widen again the text: now it won't work! It will work only as long as I shorten the text (or leave it the same length), but not if I widen it. Thanks once more for your support. Mario. Moises Silva wrote: One step more, enable the following in logger.conf console = notice,warning,error,debug,verbose Application app_festival has some interesting debug messages like: ast_log(LOG_DEBUG, Text passed to festival server : %s\n,(char *)data); and that shows in the console the exact test is passed to the festival server. I keep looking into the code trying to find the reason of the behaviour you describe but I havent succed so far. Please report any feedback. Regards On 8/17/06, Mario [EMAIL PROTECTED] wrote: Thanks for your help, Moises. I did activate the AGI DEBUG as you suggested (thanks for that!). However, I'm now only a little bit more sure that I'm passing the right stuff to the Festival command. Following you'll see what I'm passing for the short text (shorter than 15 chars) and for the wider text. As you can see, both the calls seem to work, but for the 2nd I do not hear any sound. At this point, any idea is really welcome. Thanks for your help. *** Short text *** AGI Rx ANSWER AGI Tx 200 result=0 AGI Rx EXEC FESTIVAL Telefono spento -- AGI Script Executing Application: (FESTIVAL) Options: (Telefono spento) == Parsing '/etc/asterisk/festival.conf': Found AGI Tx 200 result=0 -- AGI Script test_command.py completed, returning 0 == Auto fallthrough, channel 'SIP/1-9803' status is 'UNKNOWN' *** Longer text *** AGI Rx ANSWER AGI Tx 200 result=0 AGI Rx EXEC FESTIVAL Telefono utente spento -- AGI Script Executing Application: (FESTIVAL) Options: (Telefono utente spento) == Parsing '/etc/asterisk/festival.conf': Found AGI Tx 200 result=0 -- AGI Script test_command.py completed, returning 0 == Auto fallthrough, channel 'SIP/1-67c2' status is 'UNKNOWN' Moises Silva wrote: Hi Mario. Have you tried to enable AGI debug? CLI agi debug That will show what Asterisk is receiving from your script. Also enable all the debug messages in the logger.conf file for the console Go and try that and post what you see here, and we may be able to help you On 8/17/06, Mario [EMAIL PROTECTED] wrote: I'm having a tough problem when using Festival with Asterisk through AGI: it seems that when I pass more than 15 chars to the Festival command, when from inside an AGI, no sounds (speech) at all is generated. The following (from inside the dialplan) correctly works: exten = 333,1,Answer() exten = 333,2,FESTIVAL(Telefono spento uno) exten = 333,3,Hangup But, when moved from within an AGI, the same Festival command doesn't work: EXEC FESTIVAL Telefono spento uno the symptom is that no text is played, although the return code from command is zero. One important note: if I shorten the text to Telefono spento (i.e. at most 15-chars wide) everything works as expected. I really can't figure out the reason of this weird behavior. What I can do is to exclude some possible reasons: 1. It is not a festival-related problem since when called from the Dialplan everything works as expected. 2. It is not a
Re: [asterisk-users] Festival through AGI can't handle strings longer than 15 chars
Hi Mario. Have you tried to enable AGI debug? CLI agi debug That will show what Asterisk is receiving from your script. Also enable all the debug messages in the logger.conf file for the console Go and try that and post what you see here, and we may be able to help you On 8/17/06, Mario [EMAIL PROTECTED] wrote: I'm having a tough problem when using Festival with Asterisk through AGI: it seems that when I pass more than 15 chars to the Festival command, when from inside an AGI, no sounds (speech) at all is generated. The following (from inside the dialplan) correctly works: exten = 333,1,Answer() exten = 333,2,FESTIVAL(Telefono spento uno) exten = 333,3,Hangup But, when moved from within an AGI, the same Festival command doesn't work: EXEC FESTIVAL Telefono spento uno the symptom is that no text is played, although the return code from command is zero. One important note: if I shorten the text to Telefono spento (i.e. at most 15-chars wide) everything works as expected. I really can't figure out the reason of this weird behavior. What I can do is to exclude some possible reasons: 1. It is not a festival-related problem since when called from the Dialplan everything works as expected. 2. It is not a language-related issue, since I tried this both with English and Italian 3. It is not a missing call to flush()... yes, I added a flush() at the end of my Python-based AGI call 4. It is not a problem related to Python, since I use Python extensively with AGI Does anyone have a hint on what I can do to investigate or solve this problem? Does enyone know if this is a known bug? Thanks in advance, Mario ___ --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 -- Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org; ___ --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
Re: [asterisk-users] Festival through AGI can't handle strings longer than 15 chars
Moises, follow on and you'll find the exact output that I got from Asterisk once I raised the more detailed debug level as you suggested. I'm sorry, that's quite a long text, but at least I'm sure you have all the info available. However, I now have SOME IMPORTANT notes to add: 1. I'm running Asterisk 1.2.9.1 2. Once I restarted the server, everything worked fine. Thus, it seems that the problem could be solved by just restarting the server. However... read on. 3. Once restarted the server I changed the text inside my Python AGI and the error appeared again. My CONCLUSION: the error doesn't probably depend on Festival or Exec command. To make the error occur, I simply do this: a) I restart server b) I run the AGI script with whatever text (as wide as I wish) and it will work c) I shorten the text... it still will work d) I then widen again the text: now it won't work! It will work only as long as I shorten the text (or leave it the same length), but not if I widen it. I suspect that there is some malloc()ed area (I can't imagine in which C module) that gets successfully narrowed based on the AGI passed text, but never gets enlarged unless the server restarts... Does it seems reasonable? Hope it helps. Note: this is my 2nd reply. Since I didn't see my 1st reply in the newsgroup, I'm now omitting the console log since it is probably useless once I understood the cause of the problem (what I'm missing is how to fix it). I suspect that because there was too much text, my whole reply has been discarded. Moises Silva wrote: One step more, enable the following in logger.conf console = notice,warning,error,debug,verbose Application app_festival has some interesting debug messages like: ast_log(LOG_DEBUG, Text passed to festival server : %s\n,(char *)data); and that shows in the console the exact test is passed to the festival server. I keep looking into the code trying to find the reason of the behaviour you describe but I havent succed so far. Please report any feedback. Regards On 8/17/06, Mario [EMAIL PROTECTED] wrote: Thanks for your help, Moises. I did activate the AGI DEBUG as you suggested (thanks for that!). However, I'm now only a little bit more sure that I'm passing the right stuff to the Festival command. Following you'll see what I'm passing for the short text (shorter than 15 chars) and for the wider text. As you can see, both the calls seem to work, but for the 2nd I do not hear any sound. At this point, any idea is really welcome. Thanks for your help. *** Short text *** AGI Rx ANSWER AGI Tx 200 result=0 AGI Rx EXEC FESTIVAL Telefono spento -- AGI Script Executing Application: (FESTIVAL) Options: (Telefono spento) == Parsing '/etc/asterisk/festival.conf': Found AGI Tx 200 result=0 -- AGI Script test_command.py completed, returning 0 == Auto fallthrough, channel 'SIP/1-9803' status is 'UNKNOWN' *** Longer text *** AGI Rx ANSWER AGI Tx 200 result=0 AGI Rx EXEC FESTIVAL Telefono utente spento -- AGI Script Executing Application: (FESTIVAL) Options: (Telefono utente spento) == Parsing '/etc/asterisk/festival.conf': Found AGI Tx 200 result=0 -- AGI Script test_command.py completed, returning 0 == Auto fallthrough, channel 'SIP/1-67c2' status is 'UNKNOWN' Moises Silva wrote: Hi Mario. Have you tried to enable AGI debug? CLI agi debug That will show what Asterisk is receiving from your script. Also enable all the debug messages in the logger.conf file for the console Go and try that and post what you see here, and we may be able to help you On 8/17/06, Mario [EMAIL PROTECTED] wrote: I'm having a tough problem when using Festival with Asterisk through AGI: it seems that when I pass more than 15 chars to the Festival command, when from inside an AGI, no sounds (speech) at all is generated. The following (from inside the dialplan) correctly works: exten = 333,1,Answer() exten = 333,2,FESTIVAL(Telefono spento uno) exten = 333,3,Hangup But, when moved from within an AGI, the same Festival command doesn't work: EXEC FESTIVAL Telefono spento uno the symptom is that no text is played, although the return code from command is zero. One important note: if I shorten the text to Telefono spento (i.e. at most 15-chars wide) everything works as expected. I really can't figure out the reason of this weird behavior. What I can do is to exclude some possible reasons: 1. It is not a festival-related problem since when called from the Dialplan everything works as expected. 2. It is not a language-related issue, since I tried this both with English and Italian 3. It is not a missing call to flush()... yes, I added a flush() at the end of my Python-based AGI call 4. It is not a problem related to Python, since I use Python extensively with AGI Does anyone have a hint on what I can do to investigate or solve this problem? Does enyone know if this is a known bug? Thanks in
Re: [asterisk-users] Festival Not Working
There is a good section on Festival in the book 'Asterisk - The Future of Telecommunications'. That might be helpful. I myself use Flite voice synthesis engine which is apparently better. Instructions on using it you can get on www.nerdvittles.com. ___ --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
RE: [Asterisk-Users] Festival RPM?
festival.i386 1.4.2-25 Too older. And does anyone know if I can add Festival voices to Flite (slightly off-topic... sorry...)? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Colin Anderson Sent: Tuesday, June 13, 2006 5:56 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [Asterisk-Users] Festival RPM? um, yum install festival worked for me. -Original Message- From: Mimmus [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 13, 2006 9:47 AM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: [Asterisk-Users] Festival RPM? Hi, is there a RHEL4 RPM for the Festival text-to-speech system? Thanks -- Domenico Viggiani ___ --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 ___ --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 ___ --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
RE: [Asterisk-Users] Festival RPM?
um, yum install festival worked for me. -Original Message- From: Mimmus [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 13, 2006 9:47 AM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: [Asterisk-Users] Festival RPM? Hi, is there a RHEL4 RPM for the Festival text-to-speech system? Thanks -- Domenico Viggiani ___ --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 ___ --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
Re: [Asterisk-Users] Festival , Cannot hear the words after ,
Hi John, are using enclosing in quotation mark your statement? (festival('text to speech') ) Giorgio John Joseph wrote: Hi I am trying to use festivall with asterisk , I am using RHEL4 , asterisk1.2.7.1 and festival-1.95-beta , I am able to hear the voice form the text file , when I dial to the extension, but when I have , in my text file , it plays only the text upto , and in the CLI , the , is shown as | I had cut and pasted CLI messages for reference -- Executing Answer(SIP/326-78c7, ) in new stack -- Executing Festival(SIP/326-78c7, Hello | This is Joseph | How are U ) in new stack == Parsing '/etc/asterisk/festival.conf': Found -- Executing Hangup(SIP/326-78c7, ) in new stack == Spawn extension (from-internal, 555, 3) exited non-zero on 'SIP/326-78c7' -- Executing Macro(SIP/326-78c7, hangupcall) in new stack I had followed the link http://www.voip-info.org/wiki/view/Asterisk+festival+installation for the installation Thanks Joseph John Send instant messages to your online friends http://uk.messenger.yahoo.com ___ --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 ___ --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
Re: [Asterisk-Users] Festival tts
I tried doing the same things as you to make Festival work with Asterisk, but I had a small problem with Festival only prducing the sound if the text was tess than 14 characters So I used the other approach and used the text2wave utility instead (I saw on some postings that people recommended it) and it wrols like a charm now. Here is the complete macro I used for TTS: [macro-sandtts] exten = s,1,Set(FNAME=${EPOCH}) exten = s,2,System(echo ${ARG1} | /usr/bin/text2wave -scale 1.5 -F 000 -o /tmp/${FNAME}.wav) exten = s,3,Playback(/tmp/${FNAME}) exten = s,4,System(rm /tmp/${FNAME}.wav) First we creat ann (almost) unique file name Next we call the text2wave utility with correct switches and passing the text we need to pronounce as input to the utility. then we playback the generated wave file. Finally we remove the generated wave file. Just call the macro with the text you want to say and it will work for you. Message: 28 Date: Thu, 9 Mar 2006 11:43:56 - From: Steven [EMAIL PROTECTED] Subject: [Asterisk-Users] Festival tts To: asterisk-users@lists.digium.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii Hi I have installed Festival on the same box as asterisk and followed the instructions to integrate it with asterisk. Festival seems to work fine on its own performing text to speech from the command line or via a file. Asterisk answers the call but there is no speech. I can see no errors in the Festival log file The asterisk console shows --Executing Answer(SIP/81801-c091, ) in a new stack --Executing Festival(SIP/81801-c091, mary had a little lamb) in a new stack ==Parsing '/etc/asterisk/festival.conf':Found there is nothing else after this If I start festival as festival --server I can see the output Server 11:39:14 : Festival server started on port 1314 Client(1) 11:39:21 : accepted from localhost Client(1) 11:39:21 : disconnected Initially I added the code to festival.scm for * but later patched the Festival code and re-complied it. For every test I have restarted * after Festival Any help appreciated Thanks Steven Steven Jack Videoconferencing Manager University of Glasgow Computing Service Glasgow G12 8QQ UK Tel +44(0)1413303828 Fax +44(0)1413303820 Email: [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ --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
RE: [Asterisk-Users] Festival tts
Can someone tell me what I'm doing wrong here? I'm trying this from the command prompt. # echo Hello World | /usr/bin/text2wave -scale 1.5 -F 000 -o /tmp/1141915933.wav rateconv: failed to convert from 16000 to 0 doing v # -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Antoine Megalla Sent: Thursday, March 09, 2006 8:27 AM To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] Festival tts I tried doing the same things as you to make Festival work with Asterisk, but I had a small problem with Festival only prducing the sound if the text was tess than 14 characters So I used the other approach and used the text2wave utility instead (I saw on some postings that people recommended it) and it wrols like a charm now. Here is the complete macro I used for TTS: [macro-sandtts] exten = s,1,Set(FNAME=${EPOCH}) exten = s,2,System(echo ${ARG1} | /usr/bin/text2wave -scale 1.5 -F 000 -o /tmp/${FNAME}.wav) exten = s,3,Playback(/tmp/${FNAME}) exten = s,4,System(rm /tmp/${FNAME}.wav) First we creat ann (almost) unique file name Next we call the text2wave utility with correct switches and passing the text we need to pronounce as input to the utility. then we playback the generated wave file. Finally we remove the generated wave file. Just call the macro with the text you want to say and it will work for you. Message: 28 Date: Thu, 9 Mar 2006 11:43:56 - From: Steven [EMAIL PROTECTED] Subject: [Asterisk-Users] Festival tts To: asterisk-users@lists.digium.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii Hi I have installed Festival on the same box as asterisk and followed the instructions to integrate it with asterisk. Festival seems to work fine on its own performing text to speech from the command line or via a file. Asterisk answers the call but there is no speech. I can see no errors in the Festival log file The asterisk console shows --Executing Answer(SIP/81801-c091, ) in a new stack --Executing Festival(SIP/81801-c091, mary had a little lamb) in a new stack ==Parsing '/etc/asterisk/festival.conf':Found there is nothing else after this If I start festival as festival --server I can see the output Server 11:39:14 : Festival server started on port 1314 Client(1) 11:39:21 : accepted from localhost Client(1) 11:39:21 : disconnected Initially I added the code to festival.scm for * but later patched the Festival code and re-complied it. For every test I have restarted * after Festival Any help appreciated Thanks Steven Steven Jack Videoconferencing Manager University of Glasgow Computing Service Glasgow G12 8QQ UK Tel +44(0)1413303828 Fax +44(0)1413303820 Email: [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ --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 The contents of this email message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply email and delete this message and its attachments, if any. ___ --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
Re: [Asterisk-Users] Festival tts
Steven [EMAIL PROTECTED] wrote: Hi I have installed Festival on the same box as asterisk and followed the instructions to integrate it with asterisk. Festival seems to work fine on its own performing text to speech from the command line or via a file. Asterisk answers the call but there is no speech. I can see no errors in the Festival log file I asked the same question to this list a while back but got no replies. What OS are you using? How did you install Festival? What version of *? ___ --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
Re: [Asterisk-Users] Festival tts
hey, how i do to do that with php agi's? Este Mensaje Esta Hecho 100% con Electrones Reciclados - Original Message - From: Adam Robins [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Thursday, March 09, 2006 10:04 AM Subject: RE: [Asterisk-Users] Festival tts Can someone tell me what I'm doing wrong here? I'm trying this from the command prompt. # echo Hello World | /usr/bin/text2wave -scale 1.5 -F 000 -o /tmp/1141915933.wav rateconv: failed to convert from 16000 to 0 doing v # -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Antoine Megalla Sent: Thursday, March 09, 2006 8:27 AM To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] Festival tts I tried doing the same things as you to make Festival work with Asterisk, but I had a small problem with Festival only prducing the sound if the text was tess than 14 characters So I used the other approach and used the text2wave utility instead (I saw on some postings that people recommended it) and it wrols like a charm now. Here is the complete macro I used for TTS: [macro-sandtts] exten = s,1,Set(FNAME=${EPOCH}) exten = s,2,System(echo ${ARG1} | /usr/bin/text2wave -scale 1.5 -F 000 -o /tmp/${FNAME}.wav) exten = s,3,Playback(/tmp/${FNAME}) exten = s,4,System(rm /tmp/${FNAME}.wav) First we creat ann (almost) unique file name Next we call the text2wave utility with correct switches and passing the text we need to pronounce as input to the utility. then we playback the generated wave file. Finally we remove the generated wave file. Just call the macro with the text you want to say and it will work for you. Message: 28 Date: Thu, 9 Mar 2006 11:43:56 - From: Steven [EMAIL PROTECTED] Subject: [Asterisk-Users] Festival tts To: asterisk-users@lists.digium.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii Hi I have installed Festival on the same box as asterisk and followed the instructions to integrate it with asterisk. Festival seems to work fine on its own performing text to speech from the command line or via a file. Asterisk answers the call but there is no speech. I can see no errors in the Festival log file The asterisk console shows --Executing Answer(SIP/81801-c091, ) in a new stack --Executing Festival(SIP/81801-c091, mary had a little lamb) in a new stack ==Parsing '/etc/asterisk/festival.conf':Found there is nothing else after this If I start festival as festival --server I can see the output Server 11:39:14 : Festival server started on port 1314 Client(1) 11:39:21 : accepted from localhost Client(1) 11:39:21 : disconnected Initially I added the code to festival.scm for * but later patched the Festival code and re-complied it. For every test I have restarted * after Festival Any help appreciated Thanks Steven Steven Jack Videoconferencing Manager University of Glasgow Computing Service Glasgow G12 8QQ UK Tel +44(0)1413303828 Fax +44(0)1413303820 Email: [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ --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 The contents of this email message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply email and delete this message and its attachments, if any. ___ --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 __ Visita http://www.tutopia.com y comienza a navegar más rápido en Internet. Tutopia es Internet para todos. ___ --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
RE: [Asterisk-Users] Festival tts
No, I did not install Festival, but I saw that the text2wave module is in the usr/bin directory. I'm running RH Ent 2.4 kernel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert La Ferla Sent: Thursday, March 09, 2006 10:17 AM To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] Festival tts Steven [EMAIL PROTECTED] wrote: Hi I have installed Festival on the same box as asterisk and followed the instructions to integrate it with asterisk. Festival seems to work fine on its own performing text to speech from the command line or via a file. Asterisk answers the call but there is no speech. I can see no errors in the Festival log file I asked the same question to this list a while back but got no replies. What OS are you using? How did you install Festival? What version of *? ___ --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 The contents of this email message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply email and delete this message and its attachments, if any. ___ --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
Re: [Asterisk-Users] Festival tts
On 3/9/06, Adam Robins [EMAIL PROTECTED] wrote: Can someone tell me what I'm doing wrong here? I'm trying this from the command prompt. # echo Hello World | /usr/bin/text2wave -scale 1.5 -F 000 -o /tmp/1141915933.wav rateconv: failed to convert from 16000 to 0 doing v # I think your problem is that you are using -F 000 when you should be using -F 8000 (8KHz, not 0KHz). Give that a try and I bet it will work. -Rusty ___ --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
RE: [Asterisk-Users] Festival tts
I figured it out. It should read: # echo Hello World | /usr/bin/text2wave -scale 1.5 -F 8000 -o /tmp/1141915933.wav The 8 was missing in front of the 000'. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adam Robins Sent: Thursday, March 09, 2006 12:04 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] Festival tts No, I did not install Festival, but I saw that the text2wave module is in the usr/bin directory. I'm running RH Ent 2.4 kernel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert La Ferla Sent: Thursday, March 09, 2006 10:17 AM To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] Festival tts Steven [EMAIL PROTECTED] wrote: Hi I have installed Festival on the same box as asterisk and followed the instructions to integrate it with asterisk. Festival seems to work fine on its own performing text to speech from the command line or via a file. Asterisk answers the call but there is no speech. I can see no errors in the Festival log file I asked the same question to this list a while back but got no replies. What OS are you using? How did you install Festival? What version of *? ___ --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 The contents of this email message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply email and delete this message and its attachments, if any. ___ --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 ___ --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
Re: [Asterisk-Users] Festival and Asterisk - different voices?
Michael Collins wrote: Just curious to know if anyone uses Festival with * and whether or not you’ve got a different voice than the default. I’m looking at doing a commercial application but my boss doesn’t want to shell out the $ before we do some real world testing of * and Festival. Specifically, I’m looking for a female voice, preferably US English. You can change the voice by editing the asterisk function. I think you want 'voice_cmu_us_slt_arctic_hts': ;;; Command for Asterisk begin (define (tts_textasterisk string mode) (tts_textasterisk STRING MODE) Apply tts to STRING. This function is specifically designed for use in server mode so a single function call may synthesize the string. This function name may be added to the server safe functions. ; different voices, uncomment the one you want: ;(voice_cmu_us_awb_arctic_hts) ;(voice_cmu_us_bdl_arctic_hts) ;(voice_cmu_us_jmk_arctic_hts) (voice_cmu_us_slt_arctic_hts) ;uk voices ;(voice_kal_diphone) ;(voice_ked_diphone) (utt.send.wave.client (utt.wave.resample (utt.wave.rescale (utt.synth (eval (list 'Utterance 'Text string))) 5) 8000))) ;;; Command for Asterisk end ___ --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
RE: [Asterisk-Users] festival-script.pl... howto change language?
FYI, http://www.cepstral.com/ You can download the english and spanish voice files for test first. And modify the festival-script.pl to using cepstral swift program. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Otero Sent: Thursday, January 19, 2006 8:58 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] festival-script.pl... howto change language? excuse for to find a desperate solution... but i'm boried to spent hours... ;) not in asterisk !!! ;) i use the festial-script.pl of Donny Kavanagh... but i want to change the language that festival uses, depending on a variable for the callerid. English/Spanish How i can tell the script the correct voice that festival needs to use?¿ like --language spanish --language english ...in normal cmd Can you help me? Realy thanks _ Acepta el reto MSN Premium: Correos más divertidos con fotos y textos increíbles en MSN Premium. Descárgalo y pruébalo 2 meses gratis. http://join.msn.com?XAPID=1697DI=1055HL=Footer_mailsenviados_correosmasdiv ertidos ___ --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 ___ --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
Re: [Asterisk-Users] Festival clicks instead of sound and disconnects.
Let me add that text2wave works fine. Something is wrong with the Asterisk = Festival server communications. Ideas? ___ --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
RE: [Asterisk-Users] Festival error
Sorry, the file I am talking about is in right place !! but not sure what to add in festival_server script. Thanks, Hello, I have installed festival (the rpm package came with fc4). But getting this: client(1) : rejected from myserver not in access list whenever I try to access it from asterisk . I found in documentation: If you see a message such as: client(1) : rejected from myserver.mydomain.com not in access list then edit the festival/bin/festival_server startup script to include that FQDM in the line with localhost.*. but I dont see any file named 'festival_server' in my fc4 box. How can I get arround this issue? Thanks___ 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 error
festival_server.scm -- should be in /usr/share/festival grep for '(localhost) and replace with nil (don't use double quotes). Innocent Evil wrote: Hello, I have installed festival (the rpm package came with fc4). But getting this: client(1) : rejected from myserver not in access list whenever I try to access it from asterisk . I found in documentation: If you see a message such as: client(1) : rejected from myserver.mydomain.com not in access list then edit the festival/bin/festival_server startup script to include that FQDM in the line with localhost.*. but I dont see any file named 'festival_server' in my fc4 box. How can I get arround this issue? Thanks,___ 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
Re: [Asterisk-Users] Festival error
From: [EMAIL PROTECTED] Sent: Thu, 18 Aug 2005 08:23:45 -0600 To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] Festival error festival_server.scm -- should be in /usr/share/festival grep for '(localhost) and replace with nil (don't use double quotes). Isn't this change going to make my festival server accept connect from anybody? If it is, I dont want to do that. I just want to add my asterisk sever to festival's client list. Thanks, Innocent Evil wrote: Hello, I have installed festival (the rpm package came with fc4). But getting this: client(1) : rejected from myserver not in access list whenever I try to access it from asterisk . I found in documentation: If you see a message such as: client(1) : rejected from myserver.mydomain.com not in access list then edit the festival/bin/festival_server startup script to include that FQDM in the line with localhost.*. but I dont see any file named 'festival_server' in my fc4 box. How can I get arround this issue? Thanks,___ 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___ 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 Problem
I have a different problem, but you might end up using the same solution as I did. I wanted to change to the cmu_us_slt_arctic_hks voice (which sounds AMAZING to me.. way better than what ATT wants 300 bucks for), but no matter what I did, I couldn't get Asterisk to work with it. So I am using a bash script to generate the file and then have asterisk play it. something like: exten = s,4,System(sayit ${CIDNAME} calling from ${CIDINFO} cidinfo) ; spoken txt in quotes, then filename exten = s,5,Wait(2) ; or some propmt.. just so the system has time to make the file. exten = s,6,Playback(cidinfo) My Bash sux, but this works for me /#!/bin/bash/ *echo* $1 *|* text2wave -o /tmp/work.wav -otype wav normalize -g 6db /tmp/work.wav *sox* /tmp/work.wav -r 8000 /var/lib/asterisk/sounds/$2.gsm resample *rm* /tmp/work.wav Text2wave does have the capability to output to ulaw (gsm too I think), but they were too quiet for me so I decided to output wavs so I could normalize them and then convert them to gsm with sox. There are probably better ways, but everything works for me now and I have the voice I want :D Kris Michael Welter wrote: I'm attempting to use Festival with Asterisk on an x86_64 system. This IVR application works ok on a P4 system. I'm using the FC3 x86_64 distro on a single processor Opteron system. Festival by itself (using the command line and speakers) seems to work ok, and Asterisk without Festival works ok. When the Asterisk dialplan calls Festival, however, Festival reports a disconnect and Asterisk's Festival command does not complete. Later, when I shut down the system for reboot, I get a kernel panic. I've tried both the FC4 Festival rpm as well as the source download from festvox.org. I modify the siteinit.scm file as per the wiki page, and I use the stock festival.conf file in Asterisk. Has anyone experienced this behavior, and is there a workaround? Thanks, ___ 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
RE: [Asterisk-Users] Festival questions
Has anyone had any luck in changing the voices for Festival and Asterisk? I have Festival installed and working, but can not get the voice different from the default. Thanks, Jason -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Archer Sent: Wednesday, July 13, 2005 10:21 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Festival questions I'm working on this now. I don't expect it to be too useful though. --On Wednesday, July 13, 2005 3:47 PM -0400 [EMAIL PROTECTED] wrote: Hi, Is it possible to setup an Asterisk system that can allow someone to dial in using a DID and listen to their e-mail? Has anyone done this? Thanks, Mike C. ___ 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 ___ 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 questions
On Wed, 2005-07-13 at 23:34 -0700, Jason Walker wrote: Has anyone had any luck in changing the voices for Festival and Asterisk? I have Festival installed and working, but can not get the voice different from the default. Thanks, Jason Well, it's been a while since I had to do this so I'm going from memory, but I think you can change the default voice to a different one (assuming you have the voices installed correctly) from the voices.scm file. Look for default-voice-priority-list in that file. The first one in the list is the default. -Seth ___ 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 questions
I was working on something like this. There are a few isues: (1) First off yes you have to have access to the tesxt of the e-mail. Notice the word test we don't want html or MS word atachments. (2) Next look below nice al the silly junk like quotes are indicated by marks. This has to be converted. The the ascii art in the sig line. OK this is not hard just a whole bunch of Perl scripting or if you are really nuts like me try lex/yaac to define an e-mail grammer There is much to be done here basically we are building a script that any reader (human or machine) would be able to read into a telephone. The BEST format to use a voice markup language not plain text. Festival can read the markup language (3) Finally you spimply scrip it and run it on as command line application on _many_ test emails and listen. (4) assuming #3 above is done integrating it into * is very easy. One interrresting idea would be to automaticaly drop email into voice boxes oruswer could us a menu tree If anyone seriouly wants to work on the above isues please CC me directly about it. Im my opinion most of the work is in #2 which would be implemented outside of the * code base as a stand alone application. --- Tzafrir Cohen [EMAIL PROTECTED] wrote: On Wed, Jul 13, 2005 at 03:47:53PM -0400, [EMAIL PROTECTED] wrote: Hi, Is it possible to setup an Asterisk system that can allow someone to dial in using a DID and listen to their e-mail? Has anyone done this? It seems that basically yes, but quite depends on your local settings. For instance, is Asterisk allowed to read users' mails? As for a user interface, consider the one of the original berkeley mail. It was designed to work in very simple terminals. -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il | | a Mutt's [EMAIL PROTECTED] | | best ICQ# 16849755 | | friend ___ 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 Chris Albertson Home: 310-376-1029 [EMAIL PROTECTED] Cell: 310-990-7550 Office: 310-336-5189 [EMAIL PROTECTED] KG6OMK __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ 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 questions
On Thu, Jul 14, 2005 at 03:58:12PM -0700, Chris Albertson wrote: I was working on something like this. There are a few isues: (1) First off yes you have to have access to the tesxt of the e-mail. Notice the word test we don't want html or MS word atachments. If you really must face those, you can identify them by mime type and apply a proper filter. 'lynx -dump' for html, antiword for ms-word, etc. For OpenOffice docs it is quite easy to extract all the text, at the cost of losing all the formatting: #!/bin/sh tmpfile=`mktemp` || exit 1 cat $tmpfile unzip -p $tmpfile content.xml \ | sed -e 's|text:p |\n\n|g' -e 's|[^]*||g' \ | sed -e 's|\quot;||g' rm $tmpfile (2) Next look below nice al the silly junk like quotes are indicated by marks. This has to be converted. The the ascii art in the sig line. OK this is not hard just a whole bunch of Perl scripting or if you are really nuts like me try lex/yaac to define an e-mail grammer There is much to be done here basically we are building a script that any reader (human or machine) would be able to read into a telephone. The BEST format to use a voice markup language not plain text. Festival can read the markup language Heer's something to get you started: $ apt-cache show t-prot [snip] Depends: perl (= 5.6.0-16), libgetopt-mixed-perl, liblocale-gettext-perl [snip] Description: display filter for RFC822 messages This program is a filter which shall improve the readability for messages (email and posts) by *hiding* some annoying parts, e.g. mailing list footers, signatures and TOFU as well as squeezing sequences of blank lines or punctuation. . TOFU is an acronym that stands for Text oben, Fullquote unten (german language) which means the style of sadly so many people that just leave all the quotes in a reply and add some own lines above. This acronym is what gave the script its name - TOFU Protection. . It currently offers hints how to include it within mutt, slrn or inn2. It should be possible to do similars with other programs that allow to have a message run through a filter before it's displayed. If you use such a program we'd be interested if you could let us know of your setup. -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il | | a Mutt's [EMAIL PROTECTED] | | best ICQ# 16849755 | | friend ___ 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 questions
On Wed, Jul 13, 2005 at 03:47:53PM -0400, [EMAIL PROTECTED] wrote: Hi, Is it possible to setup an Asterisk system that can allow someone to dial in using a DID and listen to their e-mail? Has anyone done this? It seems that basically yes, but quite depends on your local settings. For instance, is Asterisk allowed to read users' mails? As for a user interface, consider the one of the original berkeley mail. It was designed to work in very simple terminals. -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il | | a Mutt's [EMAIL PROTECTED] | | best ICQ# 16849755 | | friend ___ 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 questions
I'm working on this now. I don't expect it to be too useful though. --On Wednesday, July 13, 2005 3:47 PM -0400 [EMAIL PROTECTED] wrote: Hi, Is it possible to setup an Asterisk system that can allow someone to dial in using a DID and listen to their e-mail? Has anyone done this? Thanks, Mike C. ___ 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
Re: [Asterisk-Users] Festival
On Thu, 10 Mar 2005 11:03:44 -0600 Henry Devito [EMAIL PROTECTED] wrote: Hi does anyone know how to get festival to run on the latest [EMAIL PROTECTED] 0.6. Is there a mailing list for [EMAIL PROTECTED] THere is a forum section on SourceForge where you downloaded the ISO from. Try there... Here is the link: http://sourceforge.net/forum/?group_id=123387 ___ 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 - Asterisk@home
Title: Festival - [EMAIL PROTECTED] Does your Festival installation work ok? (run the tests/example scripts that came with the installation). I installed Festival, and according to the installation scripts all went well, however none of the tests/example routines would work - I kept getting 'Segmentation Faults' whenever I ran them. I gave up on Festival (unable to resolve the segmentation faults in a reasonable number of hours of effort), but if you manage to get it running letme know how! Jonathan - Original Message - From: Wiley Siler To: Asterisk Users Mailing List - Non-Commercial Discussion Sent: February 25, 2005 3:13 PM Subject: [Asterisk-Users] Festival - [EMAIL PROTECTED] Hello All, I installed [EMAIL PROTECTED] with no problems whatsoever. All features so far work great. However, I have been trying to setup the festivval weather AGI script and it won't work. I see the script fire off in the CLI and it completes with no errors. However, I never hear anything on the extension. Does anyone know if there is something undocumented that I should have done? Thanks, Wiley ___Asterisk-Users mailing listAsterisk-Users@lists.digium.comhttp://lists.digium.com/mailman/listinfo/asterisk-usersTo 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
RE: [Asterisk-Users] Festival - Asterisk@home
Title: Festival - [EMAIL PROTECTED] figured it out. Stopped using the example festival-weather.script.pl and used the festival-script.pl that is in the directory already. Works good. Is the voice customizable? Does memory on the box play a part in quality? Thanks, Wiely From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan HobbsSent: Friday, February 25, 2005 1:19 PMTo: Asterisk Users Mailing List - Non-Commercial DiscussionSubject: Re: [Asterisk-Users] Festival - [EMAIL PROTECTED] Does your Festival installation work ok? (run the tests/example scripts that came with the installation). I installed Festival, and according to the installation scripts all went well, however none of the tests/example routines would work - I kept getting 'Segmentation Faults' whenever I ran them. I gave up on Festival (unable to resolve the segmentation faults in a reasonable number of hours of effort), but if you manage to get it running letme know how! Jonathan - Original Message - From: Wiley Siler To: Asterisk Users Mailing List - Non-Commercial Discussion Sent: February 25, 2005 3:13 PM Subject: [Asterisk-Users] Festival - [EMAIL PROTECTED] Hello All, I installed [EMAIL PROTECTED] with no problems whatsoever. All features so far work great. However, I have been trying to setup the festivval weather AGI script and it won't work. I see the script fire off in the CLI and it completes with no errors. However, I never hear anything on the extension. Does anyone know if there is something undocumented that I should have done? Thanks, Wiley ___Asterisk-Users mailing listAsterisk-Users@lists.digium.comhttp://lists.digium.com/mailman/listinfo/asterisk-usersTo 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
RE: [Asterisk-Users] Festival - Asterisk@home
Title: Festival - [EMAIL PROTECTED] Wiley, if you follow the instructions as listed it will work. Can you post more information about what actually isnt working? can you post the output of your cli. Cheers, Dean From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wiley Siler Sent: Friday, February 25, 2005 3:13 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [Asterisk-Users] Festival - [EMAIL PROTECTED] Hello All, I installed [EMAIL PROTECTED] with no problems whatsoever. All features so far work great. However, I have been trying to setup the festivval weather AGI script and it won't work. I see the script fire off in the CLI and it completes with no errors. However, I never hear anything on the extension. Does anyone know if there is something undocumented that I should have done? Thanks, Wiley ___ 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 text for weather report
Dean, Here is a rough starting point for you. Put this into your /var/lib/asterisk/agi-bin/ directory. I used the name getforecast. (Change the ZIP code info, line 29) and make it executable. - FILE BEGIN - #!/bin/bash # I grab the data from asterisk even though I don't use it while read -e ARG [ $ARG ] ; do array=(` echo $ARG | sed -e 's/://'`) export ${array[0]}=${array[1]} done checkresults() { while read line do case ${line:0:4} in 200 ) echo $line 2 return;; 510 ) echo $line 2 return;; 520 ) echo $line 2 return;; * ) echo $line 2;; esac done } # answer the line and give some preliminary feedback echo ANSWER checkresults echo STREAM FILE national-weather-service \\ checkresults # Grab the forecast info page -- 80003 is MY zipcode, CHANGE TO YOUR ZIPCODE! tempstr=` curl -s http://weather.toolbot.com/?where=80003RSS; ` # Cleanup the results, get rid of html tags etc. (Could probably be condensed) tempstr=` echo $tempstr | sed 's:?.*lt;h3gt;::g' | sed 's:=lt.*$::' | sed 's:lt;br /gt;:~:g'|\ sed 's:lt;[br /h3]*gt;::g' | sed 's:nbsp;: :g' | sed 's:amp;::g' | sed 's:mph:miles per hour:g' ` # Create 'EOF' Mark in tempstr tempstr=`echo $tempstr ~XOX ` # Loop through string, echoing to file, convert to wave, speak them, etc. until [ $tempstr == XOX ] do lineout=`echo $tempstr | cut -f1 -d~ ` echo $lineout /tmp/linetospeak.txt text2wave -f 8000 -o /tmp/forecastline.wav /tmp/linetospeak.txt echo STREAM FILE /tmp/forecastline \1\ checkresults tempstr=` echo $tempstr | cut -f2- -d~ ` done echo STREAM FILE goodbye \\ checkresults rm /tmp/linetospeak.txt rm /tmp/forecastline.wav echo HANGUP checkresults - FILE END - I have the following in my extensions.conf: exten = 2996,1,Answer exten = 2996,2,wait(1) exten = 2996,3,agi,getforecast exten = 2996,4,Hangup I'm not sure how you enter the extension.conf in [EMAIL PROTECTED] NOTE: I am still LEARNING shell scripting AGI, so the above may be kind of hack-ish. Helpful suggestions/advice very welcome! Ernie Ankele On Feb 16, 2005, at 9:24 PM, dean collins wrote: http://www.srh.noaa.gov/fwd/productviewnation.php? pil=OKXZFPOKXversion=0 can anyone suggest how I could set up [EMAIL PROTECTED] to read out allowed the following text when I dial extension 850? 815 PM EST WED FEB 16 2005 .OVERNIGHT...MOSTLY CLEAR. LOWS 30 TO 35. NORTHWEST WINDS 15 TO 20 MPH WITH GUSTS UP TO 30 MPH...DIMINISHING TO 10 TO 15 MPH LATE. .THURSDAY...PARTLY CLOUDY. COOLER WITH HIGHS AROUND 40. NORTHWEST WINDS AROUND 15 MPH. .THURSDAY NIGHT...PARTLY CLOUDY. LOWS IN THE MID 20S. WEST WINDS AROUND 15 MPH. .FRIDAY...PARTLY CLOUDY AND BRISK. HIGHS IN THE MID 30S. NORTHWEST WINDS 15 TO 25 MPH. .FRIDAY NIGHT...PARTLY CLOUDY AND BRISK. LOWS AROUND 17. NORTHWEST WINDS 15 TO 25 MPH. Theres $20 via paypal to the first person to help me complete this (Ill then post it on the the wiki so anyone can replicate it) (anyone wanting to add to that bounty email me) Also if it is not too difficult Id like it to skip to the next block each time you press 1 (eg go from overnight to Thursday) Also it doesnt need to be this particular web page that it connects to but something with current weather etc. Cheers, Dean ___ 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
RE: [Asterisk-Users] festival text for weather report
Hi Ernie, Man I hope you didn't write all of that for me, I feel really bad now, someone posted to the list about 15 mins after I posted with the solution lol- I've already been playing with it for hours working out what other sites I can get it to read from as well. Thanks anyway - good practive I guess. I'm modifying the festival wikki page once I work out how. Cheers, Dean -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ernie Ankele Sent: Thursday, February 17, 2005 5:39 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] festival text for weather report Dean, Here is a rough starting point for you. Put this into your /var/lib/asterisk/agi-bin/ directory. I used the name getforecast. (Change the ZIP code info, line 29) and make it executable. - FILE BEGIN - #!/bin/bash # I grab the data from asterisk even though I don't use it while read -e ARG [ $ARG ] ; do array=(` echo $ARG | sed -e 's/://'`) export ${array[0]}=${array[1]} done checkresults() { while read line do case ${line:0:4} in 200 ) echo $line 2 return;; 510 ) echo $line 2 return;; 520 ) echo $line 2 return;; * ) echo $line 2;; esac done } # answer the line and give some preliminary feedback echo ANSWER checkresults echo STREAM FILE national-weather-service \\ checkresults # Grab the forecast info page -- 80003 is MY zipcode, CHANGE TO YOUR ZIPCODE! tempstr=` curl -s http://weather.toolbot.com/?where=80003RSS; ` # Cleanup the results, get rid of html tags etc. (Could probably be condensed) tempstr=` echo $tempstr | sed 's:?.*lt;h3gt;::g' | sed 's:=lt.*$::' | sed 's:lt;br /gt;:~:g'|\ sed 's:lt;[br /h3]*gt;::g' | sed 's:nbsp;: :g' | sed 's:amp;::g' | sed 's:mph:miles per hour:g' ` # Create 'EOF' Mark in tempstr tempstr=`echo $tempstr ~XOX ` # Loop through string, echoing to file, convert to wave, speak them, etc. until [ $tempstr == XOX ] do lineout=`echo $tempstr | cut -f1 -d~ ` echo $lineout /tmp/linetospeak.txt text2wave -f 8000 -o /tmp/forecastline.wav /tmp/linetospeak.txt echo STREAM FILE /tmp/forecastline \1\ checkresults tempstr=` echo $tempstr | cut -f2- -d~ ` done echo STREAM FILE goodbye \\ checkresults rm /tmp/linetospeak.txt rm /tmp/forecastline.wav echo HANGUP checkresults - FILE END - I have the following in my extensions.conf: exten = 2996,1,Answer exten = 2996,2,wait(1) exten = 2996,3,agi,getforecast exten = 2996,4,Hangup I'm not sure how you enter the extension.conf in [EMAIL PROTECTED] NOTE: I am still LEARNING shell scripting AGI, so the above may be kind of hack-ish. Helpful suggestions/advice very welcome! Ernie Ankele On Feb 16, 2005, at 9:24 PM, dean collins wrote: http://www.srh.noaa.gov/fwd/productviewnation.php? pil=OKXZFPOKXversion=0 can anyone suggest how I could set up [EMAIL PROTECTED] to read out allowed the following text when I dial extension 850? 815 PM EST WED FEB 16 2005 .OVERNIGHT...MOSTLY CLEAR. LOWS 30 TO 35. NORTHWEST WINDS 15 TO 20 MPH WITH GUSTS UP TO 30 MPH...DIMINISHING TO 10 TO 15 MPH LATE. .THURSDAY...PARTLY CLOUDY. COOLER WITH HIGHS AROUND 40. NORTHWEST WINDS AROUND 15 MPH. .THURSDAY NIGHT...PARTLY CLOUDY. LOWS IN THE MID 20S. WEST WINDS AROUND 15 MPH. .FRIDAY...PARTLY CLOUDY AND BRISK. HIGHS IN THE MID 30S. NORTHWEST WINDS 15 TO 25 MPH. .FRIDAY NIGHT...PARTLY CLOUDY AND BRISK. LOWS AROUND 17. NORTHWEST WINDS 15 TO 25 MPH. There's $20 via paypal to the first person to help me complete this (I'll then post it on the the wiki so anyone can replicate it) (anyone wanting to add to that bounty email me) Also if it is not too difficult I'd like it to skip to the next block each time you press '1' (eg go from overnight to Thursday) Also it doesn't need to be this particular web page that it connects to but something with current weather etc. Cheers, Dean ___ 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 ___ 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 text for weather report
Dean, No problem, Its actually what I am already using. I just finally got around to answering the email. Glad you got it all figured out. Ernie On Feb 17, 2005, at 4:07 PM, dean collins wrote: Hi Ernie, Man I hope you didn't write all of that for me, I feel really bad now, someone posted to the list about 15 mins after I posted with the solution lol- I've already been playing with it for hours working out what other sites I can get it to read from as well. Thanks anyway - good practive I guess. I'm modifying the festival wikki page once I work out how. Cheers, Dean -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ernie Ankele Sent: Thursday, February 17, 2005 5:39 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] festival text for weather report Dean, Here is a rough starting point for you. Put this into your /var/lib/asterisk/agi-bin/ directory. I used the name getforecast. (Change the ZIP code info, line 29) and make it executable. - FILE BEGIN - #!/bin/bash # I grab the data from asterisk even though I don't use it while read -e ARG [ $ARG ] ; do array=(` echo $ARG | sed -e 's/://'`) export ${array[0]}=${array[1]} done checkresults() { while read line do case ${line:0:4} in 200 ) echo $line 2 return;; 510 ) echo $line 2 return;; 520 ) echo $line 2 return;; * ) echo $line 2;; esac done } # answer the line and give some preliminary feedback echo ANSWER checkresults echo STREAM FILE national-weather-service \\ checkresults # Grab the forecast info page -- 80003 is MY zipcode, CHANGE TO YOUR ZIPCODE! tempstr=` curl -s http://weather.toolbot.com/?where=80003RSS; ` # Cleanup the results, get rid of html tags etc. (Could probably be condensed) tempstr=` echo $tempstr | sed 's:?.*lt;h3gt;::g' | sed 's:=lt.*$::' | sed 's:lt;br /gt;:~:g'|\ sed 's:lt;[br /h3]*gt;::g' | sed 's:nbsp;: :g' | sed 's:amp;::g' | sed 's:mph:miles per hour:g' ` # Create 'EOF' Mark in tempstr tempstr=`echo $tempstr ~XOX ` # Loop through string, echoing to file, convert to wave, speak them, etc. until [ $tempstr == XOX ] do lineout=`echo $tempstr | cut -f1 -d~ ` echo $lineout /tmp/linetospeak.txt text2wave -f 8000 -o /tmp/forecastline.wav /tmp/linetospeak.txt echo STREAM FILE /tmp/forecastline \1\ checkresults tempstr=` echo $tempstr | cut -f2- -d~ ` done echo STREAM FILE goodbye \\ checkresults rm /tmp/linetospeak.txt rm /tmp/forecastline.wav echo HANGUP checkresults - FILE END - I have the following in my extensions.conf: exten = 2996,1,Answer exten = 2996,2,wait(1) exten = 2996,3,agi,getforecast exten = 2996,4,Hangup I'm not sure how you enter the extension.conf in [EMAIL PROTECTED] NOTE: I am still LEARNING shell scripting AGI, so the above may be kind of hack-ish. Helpful suggestions/advice very welcome! Ernie Ankele On Feb 16, 2005, at 9:24 PM, dean collins wrote: http://www.srh.noaa.gov/fwd/productviewnation.php? pil=OKXZFPOKXversion=0 can anyone suggest how I could set up [EMAIL PROTECTED] to read out allowed the following text when I dial extension 850? 815 PM EST WED FEB 16 2005 .OVERNIGHT...MOSTLY CLEAR. LOWS 30 TO 35. NORTHWEST WINDS 15 TO 20 MPH WITH GUSTS UP TO 30 MPH...DIMINISHING TO 10 TO 15 MPH LATE. .THURSDAY...PARTLY CLOUDY. COOLER WITH HIGHS AROUND 40. NORTHWEST WINDS AROUND 15 MPH. .THURSDAY NIGHT...PARTLY CLOUDY. LOWS IN THE MID 20S. WEST WINDS AROUND 15 MPH. .FRIDAY...PARTLY CLOUDY AND BRISK. HIGHS IN THE MID 30S. NORTHWEST WINDS 15 TO 25 MPH. .FRIDAY NIGHT...PARTLY CLOUDY AND BRISK. LOWS AROUND 17. NORTHWEST WINDS 15 TO 25 MPH. There's $20 via paypal to the first person to help me complete this (I'll then post it on the the wiki so anyone can replicate it) (anyone wanting to add to that bounty email me) Also if it is not too difficult I'd like it to skip to the next block each time you press '1' (eg go from overnight to Thursday) Also it doesn't need to be this particular web page that it connects to but something with current weather etc. Cheers, Dean ___ 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 ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit
Re: [Asterisk-Users] festival text for weather report
dean collins wrote: Hi Ernie, Man I hope you didn't write all of that for me, I feel really bad now, someone posted to the list about 15 mins after I posted with the solution lol- I've already been playing with it for hours working out what other sites I can get it to read from as well. Thanks anyway - good practive I guess. I'm modifying the festival wikki page once I work out how. Please add what you ended up with sooner rather than later. I'm interested in the same weather forecast as you (in fact I'm in the same forecast region as you), but I've also been wondering what's around in terms of traffic information. http://www.hudsonvalleytraveler.com/perl/IncidentCongestionRpt.pl Might be of interest to you as well, but unfortunatly they only provide the data in HTML format - I've already emailed them about how easy and useful it would be to provide XML as well... My future hope is that I'd set up a DID that I could call from my cell phone headset using the voice dialing built into the phone, and then get a traffic report read to me without pressing any phone buttons. That either means using a dedicated phone number or getting even a very primitive speech recognition going to chose between a very limited number of options. The speech recognition part seems like it's going to be a while (I'd love it if someone else figures this part out before I get there...) Steve ___ 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 text for weather report
Hi Steve, Already in and working I'll forward the email to you that solved it for me but I'll update the wiki later this evening -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Prior Sent: Thursday, February 17, 2005 6:10 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] festival text for weather report dean collins wrote: Hi Ernie, Man I hope you didn't write all of that for me, I feel really bad now, someone posted to the list about 15 mins after I posted with the solution lol- I've already been playing with it for hours working out what other sites I can get it to read from as well. Thanks anyway - good practive I guess. I'm modifying the festival wikki page once I work out how. Please add what you ended up with sooner rather than later. I'm interested in the same weather forecast as you (in fact I'm in the same forecast region as you), but I've also been wondering what's around in terms of traffic information. http://www.hudsonvalleytraveler.com/perl/IncidentCongestionRpt.pl Might be of interest to you as well, but unfortunatly they only provide the data in HTML format - I've already emailed them about how easy and useful it would be to provide XML as well... My future hope is that I'd set up a DID that I could call from my cell phone headset using the voice dialing built into the phone, and then get a traffic report read to me without pressing any phone buttons. That either means using a dedicated phone number or getting even a very primitive speech recognition going to chose between a very limited number of options. The speech recognition part seems like it's going to be a while (I'd love it if someone else figures this part out before I get there...) Steve ___ 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
Re: [Asterisk-Users] festival text for weather report
Hi, I could recomend GEO::Weather or some similar CPAN module that already connects to proper source and parses info to well organized data structures for weather info . Same could be applied to other sources (News, ...). Regards, Rob. - Original Message - From: Ernie Ankele [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Thursday, February 17, 2005 11:38 PM Subject: Re: [Asterisk-Users] festival text for weather report Dean, Here is a rough starting point for you. Put this into your /var/lib/asterisk/agi-bin/ directory. I used the name getforecast. (Change the ZIP code info, line 29) and make it executable. - FILE BEGIN - #!/bin/bash # I grab the data from asterisk even though I don't use it while read -e ARG [ $ARG ] ; do array=(` echo $ARG | sed -e 's/://'`) export ${array[0]}=${array[1]} done checkresults() { while read line do case ${line:0:4} in 200 ) echo $line 2 return;; 510 ) echo $line 2 return;; 520 ) echo $line 2 return;; * ) echo $line 2;; esac done } # answer the line and give some preliminary feedback echo ANSWER checkresults echo STREAM FILE national-weather-service \\ checkresults # Grab the forecast info page -- 80003 is MY zipcode, CHANGE TO YOUR ZIPCODE! tempstr=` curl -s http://weather.toolbot.com/?where=80003RSS; ` # Cleanup the results, get rid of html tags etc. (Could probably be condensed) tempstr=` echo $tempstr | sed 's:?.*lt;h3gt;::g' | sed 's:=lt.*$::' | sed 's:lt;br /gt;:~:g'|\ sed 's:lt;[br /h3]*gt;::g' | sed 's:nbsp;: :g' | sed 's:amp;::g' | sed 's:mph:miles per hour:g' ` # Create 'EOF' Mark in tempstr tempstr=`echo $tempstr ~XOX ` # Loop through string, echoing to file, convert to wave, speak them, etc. until [ $tempstr == XOX ] do lineout=`echo $tempstr | cut -f1 -d~ ` echo $lineout /tmp/linetospeak.txt text2wave -f 8000 -o /tmp/forecastline.wav /tmp/linetospeak.txt echo STREAM FILE /tmp/forecastline \1\ checkresults tempstr=` echo $tempstr | cut -f2- -d~ ` done echo STREAM FILE goodbye \\ checkresults rm /tmp/linetospeak.txt rm /tmp/forecastline.wav echo HANGUP checkresults - FILE END - I have the following in my extensions.conf: exten = 2996,1,Answer exten = 2996,2,wait(1) exten = 2996,3,agi,getforecast exten = 2996,4,Hangup I'm not sure how you enter the extension.conf in [EMAIL PROTECTED] NOTE: I am still LEARNING shell scripting AGI, so the above may be kind of hack-ish. Helpful suggestions/advice very welcome! Ernie Ankele On Feb 16, 2005, at 9:24 PM, dean collins wrote: http://www.srh.noaa.gov/fwd/productviewnation.php? pil=OKXZFPOKXversion=0 can anyone suggest how I could set up [EMAIL PROTECTED] to read out allowed the following text when I dial extension 850? 815 PM EST WED FEB 16 2005 .OVERNIGHT...MOSTLY CLEAR. LOWS 30 TO 35. NORTHWEST WINDS 15 TO 20 MPH WITH GUSTS UP TO 30 MPH...DIMINISHING TO 10 TO 15 MPH LATE. .THURSDAY...PARTLY CLOUDY. COOLER WITH HIGHS AROUND 40. NORTHWEST WINDS AROUND 15 MPH. .THURSDAY NIGHT...PARTLY CLOUDY. LOWS IN THE MID 20S. WEST WINDS AROUND 15 MPH. .FRIDAY...PARTLY CLOUDY AND BRISK. HIGHS IN THE MID 30S. NORTHWEST WINDS 15 TO 25 MPH. .FRIDAY NIGHT...PARTLY CLOUDY AND BRISK. LOWS AROUND 17. NORTHWEST WINDS 15 TO 25 MPH. Theres $20 via paypal to the first person to help me complete this (Ill then post it on the the wiki so anyone can replicate it) (anyone wanting to add to that bounty email me) Also if it is not too difficult Id like it to skip to the next block each time you press 1 (eg go from overnight to Thursday) Also it doesnt need to be this particular web page that it connects to but something with current weather etc. Cheers, Dean ___ 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 ___ 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 text for weather report
On Thu, 2005-02-17 at 15:24, dean collins wrote: http://www.srh.noaa.gov/fwd/productviewnation.php?pil=OKXZFPOKXversion=0 can anyone suggest how I could set up [EMAIL PROTECTED] to read out allowed the following text when I dial extension 850? 815 PM EST WED FEB 16 2005 .OVERNIGHT...MOSTLY CLEAR. LOWS 30 TO 35. NORTHWEST WINDS 15 TO 20 MPH WITH GUSTS UP TO 30 MPH...DIMINISHING TO 10 TO 15 MPH LATE. .THURSDAY...PARTLY CLOUDY. COOLER WITH HIGHS AROUND 40. NORTHWEST WINDS AROUND 15 MPH. .THURSDAY NIGHT...PARTLY CLOUDY. LOWS IN THE MID 20S. WEST WINDS AROUND 15 MPH. .FRIDAY...PARTLY CLOUDY AND BRISK. HIGHS IN THE MID 30S. NORTHWEST WINDS 15 TO 25 MPH. .FRIDAY NIGHT...PARTLY CLOUDY AND BRISK. LOWS AROUND 17. NORTHWEST WINDS 15 TO 25 MPH. Basically you are going to have to parse this text with something (Perl springs to mind) so that you can break it into separate files in order to move back firth in it. Then you are going to need to adjust it so that MPH reads miles per hour etc. Goodluck. :) Theres $20 via paypal to the first person to help me complete this (Ill then post it on the the wiki so anyone can replicate it) (anyone wanting to add to that bounty email me) Also if it is not too difficult Id like it to skip to the next block each time you press 1 (eg go from overnight to Thursday) Also it doesnt need to be this particular web page that it connects to but something with current weather etc. Cheers, Dean __ ___ 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 -- 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
Re: [Asterisk-Users] Festival patch
They are at the bottom of that post... or, make it easy on yourself and just get them from me: http://sremington.zapto.org/weblog/2004-07-04_14.52.21.html -Seth On Mon, 2005-02-07 at 07:48 -0600, Isaac McDonald wrote: Anyone know where I can get the patch described here: http://lists.digium.com/pipermail/asterisk-users/2004-May/045134.html I am getting compile errors when trying to compile speechtools... Any help would be greatly appreciated, Isaac -- Seth Remington SaberLogic, LLC 661-B Weber Drive Wadsworth, Ohio 44281 Phone: (330)335-6442 Fax: (330)336-8559 ___ 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 Jittery (bad udp checksum)
On Sat, 2005-01-29 at 05:50, Manjit Riat wrote: Just installed festival from source and the voice is very jittery and I get this a lot in the asterisk CLI (at least once on every call) NOTICE[3236]: rtp.c:430 ast_rtp_read: RTP: Received packet with bad UDP checksum I get that also, but the stutters seem to have gone now that I have upgraded the CPU. One problem I do get is that it drops out when reading a long script, typically after 15-20 seconds, and then goes on the the next line in the dialplan. Maybe the packets are malformed so I get the jittery sound. __ ___ 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 -- 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
RE: [Asterisk-Users] Festival as background
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
Re: [Asterisk-Users] Festival as background
On Thu, 27 Jan 2005 18:20:32 +1100, Howard Lowndes wrote: 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? I can think of a round about way, run festival and create wav/gsm and play resultant output as background :-) GS . ___ 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
On Mon, 2005-01-24 at 14:45, Gary wrote: On Mon, 24 Jan 2005 14:57:06 +1300, Matt Riddell wrote: Howard Lowndes wrote: Is it possible to get the Festival command to read the text from a system file rather than having it input as a text string? Is this a case of having to use AGI, or is there a simpler way? Most people would use AGI for that (combined with the text2wave or whatever program). In fact there may even be an example on the wiki. I might also add that if you look in the wiki for cepstral as well some good examples. And cepstral voices sound much nicer than festival :-) Never heard of it. Tks for the lead. . ___ 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 -- 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
Re: [Asterisk-Users] Festival
Howard Lowndes wrote: Is it possible to get the Festival command to read the text from a system file rather than having it input as a text string? Is this a case of having to use AGI, or is there a simpler way? Most people would use AGI for that (combined with the text2wave or whatever program). In fact there may even be an example on the wiki. -- Cheers, Matt Riddell ___ http://www.sineapps.com/news.php (Daily Asterisk News - html) http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss) ___ 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
On Mon, 24 Jan 2005 14:57:06 +1300, Matt Riddell wrote: Howard Lowndes wrote: Is it possible to get the Festival command to read the text from a system file rather than having it input as a text string? Is this a case of having to use AGI, or is there a simpler way? Most people would use AGI for that (combined with the text2wave or whatever program). In fact there may even be an example on the wiki. I might also add that if you look in the wiki for cepstral as well some good examples. And cepstral voices sound much nicer than festival :-) . ___ 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
On Mon, 2004-09-13 at 15:31, Rich Allen wrote: iH have trouble getting the festival command to work. when i dial extension i have set up i get Sep 13 11:25:33 WARNING[344080]: app_festival.c:440 festival_exec: Festival returned ER festival does work correctly when i use it from the unix command line. my festival.conf file is set up per the wiki Did you apply the patch in /usr/src/asterisk/contrib? The /usr/src/asterisk/contrib/README.festival document might have some info to help you. -Seth -- Seth Remington SaberLogic, LLC 661-B Weber Drive Wadsworth, Ohio 44281 Phone: (330)335-6442 Fax: (330)336-8559 ___ 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 Speech Synthesis 1.95:beta July 2004 Eval
do you got a number I can call to take a listen? - Original Message - From: Steve Murphy To: [EMAIL PROTECTED] Sent: Thursday, September 09, 2004 12:06 PM Subject: [Asterisk-Users] Festival Speech Synthesis 1.95:beta July 2004 Eval Hello--In the interests of playing around and wasting time, I've installed the latest version of theFestival stuff, 1.95beta.And, in the interests of future Asterisk-Festival connectivity, I applied the 1.4.3 patch to put in theasterisk related routines. I did it by hand, but, it looks like the patch will apply with no comment.Asterisk works with the new server...BUTthe speed of what's played over the speaker vs. what you hear over the phone is off by maybe 2x.The voice isn't shifted in frequency at all. On Asterisk, the voice just speaks twice as fast as it does coming from festival over the speakers. And, if you are having it say jokes at double speed, well, it reminds me of speed reading.There must be some lever or pulley or switch or something to modify the speed.ANDHoo boy, try putting this in your siteinit.scm file:(set! voice_default 'voice_cstr_us_awb_arctic_multisyn)and listen to this:(SayText "Hello there, kyootee pie.")(SayText "Don't you just love the sound of my voice.")(SayText "My wife, Sonya, Makes the best bread there ever was")Best synthetic voice I've ever heard.murf -- Steve Murphy Electronic Tools Company ___Asterisk-Users mailing list[EMAIL PROTECTED]http://lists.digium.com/mailman/listinfo/asterisk-usersTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users My Inbox is protected by SPAMfighter1037 spam mails have been blocked so far.Download free SPAMfighter today!___ 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 TTS mbrola ?
I have tested positively mbrola with lliaphon for the french language. I'm using it within an agi script. for lliaphon go : http://www.culte.org/projets/biglux/install/lao/lliaphon.shtml for other languages try : http://tcts.fpms.ac.be/synthesis/mbrola/mbrtts.html Regards Eric ___ 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 Installation - Asterisk 1.0-RC2 Debian Woody
Darryl Ross wrote: Hey All, Thought I'd take a bash at trying to get Festival to work here on my lab system with the aim of using it to create our IVR menu prompts. I've spent most of the afternoon searching through the Wiki, the Festival website and Google and I've got a couple of questions. First one is that the 'Asterisk+festival+installation' page on the Wiki mentions the RedHat 9 RPMs for Festival 1.4.2 will not work with asterisk. Is this also the case with the deb files in Woody? (1.4.2-2.1) I have tried to use the debian provided package, but I get the following in the Asterisk console (I've obtusified the phone IP address...): -- Endpoint 'aaln/[EMAIL PROTECTED]' observed 'hd' -- MGCP mgcp_new(MGCP/aaln/[EMAIL PROTECTED]) created in state: Down -- Endpoint 'aaln/[EMAIL PROTECTED]' observed '*' -- Endpoint 'aaln/[EMAIL PROTECTED]' observed '1' -- Endpoint 'aaln/[EMAIL PROTECTED]' observed '4' -- Executing Answer(MGCP/aaln/[EMAIL PROTECTED], ) in new stack -- MGCP mgcp_answer(MGCP/aaln/[EMAIL PROTECTED]) on aaln/[EMAIL PROTECTED] -- Executing Festival(MGCP/aaln/[EMAIL PROTECTED], This is only a test) in new stack == Parsing '/etc/asterisk/festival.conf': Found Aug 18 16:28:17 WARNING[491537]: app_festival.c:440 festival_exec: Festival returned ER == Spawn extension (local-clients, *14, 2) exited non-zero on 'MGCP/aaln/[EMAIL PROTECTED]' -- Executing Hangup(MGCP/aaln/[EMAIL PROTECTED], ) in new stack == Spawn extension (local-clients, h, 1) exited non-zero on 'MGCP/aaln/[EMAIL PROTECTED]' -- No command found on [203.33.246.xx] for transaction 168. Ignoring... -- Endpoint 'aaln/[EMAIL PROTECTED]' observed 'hu' -- MGCP handle_request(aaln/[EMAIL PROTECTED]) ast_channel already destroyed -- MGCP handle_request(aaln/[EMAIL PROTECTED]) set vmwi(-) In the festival server log I get: client(8) Wed Aug 18 16:28:17 2004 : accepted from localhost client(8) Wed Aug 18 16:28:17 2004 : disconnected Assuming that the debian packages are not compatible, which version of Festival do I need? The Wiki page mentioned above says to grab the tarball of 1.4.3, which is no longer available from the website. Only 1.95 is available. Will that work? Does it need the patch mentioned on the Wiki page? Of course it is available on theri website! Have a look here: http://festvox.org/packed/festival/ I have installed it from souce yesterday and there are also patches for 1.4.1 and 1.4.2 in the CVS contrib folder! Greetz Sebastian ___ 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 Installation - Asterisk 1.0-RC2 Debian Woody
Sebastian Sporleder wrote: Darryl Ross wrote: Assuming that the debian packages are not compatible, which version of Festival do I need? The Wiki page mentioned above says to grab the tarball of 1.4.3, which is no longer available from the website. Only 1.95 is available. Will that work? Does it need the patch mentioned on the Wiki page? Of course it is available on theri website! Have a look here: http://festvox.org/packed/festival/ I have installed it from souce yesterday and there are also patches for 1.4.1 and 1.4.2 in the CVS contrib folder! Doh, I must have missed that one. The site I found for it was at http://www.cstr.ed.ac.uk/projects/festival/ Thanks! Darryl -- Darryl Ross Senior Network Engineer OEG Australia Email: [EMAIL PROTECTED] Phone: 08 81228363 Office: 08 81226361 If you want to live up to the whole There is more than one way to do it slogan, you have to give someone a swiss army chainsaw ... ___ 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 and asterisk
I would also like to know how to insert a pause if possible. A comma is seen as | not surprisingly. I have no idea why no quotes. - Original Message - From: S. William Schulz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, June 19, 2004 10:24 PM Subject: Re: [Asterisk-Users] Festival and asterisk On Sat, Jun 19, 2004 at 08:40:36AM -0600, Rich Adamson wrote: extension.conf exten = 555,1,Answer exten = 555,2,Festival('good morning') exten = 555,3,Wait(2) exten = 555,4,Hangup What's the problem I'm facing? Thanks in advance. Remove the quote marks... should be like ...Festival(good morning) What is the difference between an argument with quotes, and one without? I ask because on one page of the wiki, it says not to use them, yet on another [2] it highlights the use of quotes. I have installed Festival today and it has been working without quotes, but I wonder about whether it will parse (and change inflection) if there are commas, question marks, and or exclamation points present and, if so, if having them in the argument to Festival() will cause issues without quotes. [1] http://www.voip-info.org/wiki-Asterisk_Festival_installation [2] http://www.voip-info.org/wiki-Asterisk+cmd+Festival SWS ___ 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 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 and asterisk
anyway now i can use the asterisk with the festival, it seems the problem is the patch file festival-1.4.3.diff. in the patch file the festival directory write down as festival-1.4.3 (included the version) but the actual festival directory is festival (without any version info). so just rename the festival folder to be festival-1.4.3 then apply the patch... Done... (*)sorry for my bad english Best Regards, Freddy Setiawan ::Simple is Everything, Nothing is Complex:: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Steve Totaro Sent: Sunday, June 20, 2004 11:43 PM To: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] Festival and asterisk I would also like to know how to insert a pause if possible. A comma is seen as | not surprisingly. I have no idea why no quotes. - Original Message - From: S. William Schulz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, June 19, 2004 10:24 PM Subject: Re: [Asterisk-Users] Festival and asterisk On Sat, Jun 19, 2004 at 08:40:36AM -0600, Rich Adamson wrote: extension.conf exten = 555,1,Answer exten = 555,2,Festival('good morning') exten = 555,3,Wait(2) exten = 555,4,Hangup What's the problem I'm facing? Thanks in advance. Remove the quote marks... should be like ...Festival(good morning) What is the difference between an argument with quotes, and one without? I ask because on one page of the wiki, it says not to use them, yet on another [2] it highlights the use of quotes. I have installed Festival today and it has been working without quotes, but I wonder about whether it will parse (and change inflection) if there are commas, question marks, and or exclamation points present and, if so, if having them in the argument to Festival() will cause issues without quotes. [1] http://www.voip-info.org/wiki-Asterisk_Festival_installation [2] http://www.voip-info.org/wiki-Asterisk+cmd+Festival SWS ___ 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 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 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 and asterisk
extension.conf exten = 555,1,Answer exten = 555,2,Festival('good morning') exten = 555,3,Wait(2) exten = 555,4,Hangup What's the problem I'm facing? Thanks in advance. Remove the quote marks... should be like ...Festival(good morning) ___ 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 and asterisk
i've try to remove the quote marks but still not working the * console still return : Executing Answer(SIP/4001-bf1a,) in new stack Executing Festival(SIP/4001-bf1a,good morning) in new stack Parsing '/etc/asterisk/festival.conf' : Found Spawn extension (local,555,2) exited non-zero on 'SIP/4001-bf1a' and the festival console return: server Sun Jun 20 01:07:23 2004 : Festival server started on port 1314 client(1) Sun Jun 20 01:09:02 2004 : Accepted from localhost client(1) Sun Jun 20 01:09:04 2004 : disconnected its look like the festival does not process anything. Best Regards, Chiang -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Rich Adamson Sent: Saturday, June 19, 2004 10:41 PM To: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] Festival and asterisk extension.conf exten = 555,1,Answer exten = 555,2,Festival('good morning') exten = 555,3,Wait(2) exten = 555,4,Hangup What's the problem I'm facing? Thanks in advance. Remove the quote marks... should be like ...Festival(good morning) ___ 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 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 and asterisk
I think it should be without the quotes like this: exten = 555,2,Festival(good morning) - Original Message - From: Freddy Setiawan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, June 19, 2004 1:50 AM Subject: [Asterisk-Users] Festival and asterisk I've install the asterisk in my Redhat 9 and it work properly with the SIP phone. Then i install the festival as mention in http://www.voip-info.org/wiki-Asterisk+festival+installation. the problem is when i dial the extension 555 in the asterisk console it show like : -- Executing Answer(SIP/4001-664c, ) in new stack Executing Festival(SIP/4001-664c, 'good morning') in new stack Parsing '/etc/asterisk/festival.conf': Found Spawn extension (local,555,2) exited non-zero on 'SIP/4001-664c' and in the festival console it show : server Sat Jun 19 13:37:28 2004 : Festival server started on port 1314 client(1) Sat Jun 19 13:50:03 2004 : accepted from localhost client(1) Sat Jun 19 13:50:04 2004 : disconnected *for references* extension.conf exten = 555,1,Answer exten = 555,2,Festival('good morning') exten = 555,3,Wait(2) exten = 555,4,Hangup What's the problem I'm facing? Thanks in advance. Best regards, Freddy Setiawan ::Simple is Everything, Nothing is Complex:: ___ 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 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 and asterisk
On Sat, Jun 19, 2004 at 08:40:36AM -0600, Rich Adamson wrote: extension.conf exten = 555,1,Answer exten = 555,2,Festival('good morning') exten = 555,3,Wait(2) exten = 555,4,Hangup What's the problem I'm facing? Thanks in advance. Remove the quote marks... should be like ...Festival(good morning) What is the difference between an argument with quotes, and one without? I ask because on one page of the wiki, it says not to use them, yet on another [2] it highlights the use of quotes. I have installed Festival today and it has been working without quotes, but I wonder about whether it will parse (and change inflection) if there are commas, question marks, and or exclamation points present and, if so, if having them in the argument to Festival() will cause issues without quotes. [1] http://www.voip-info.org/wiki-Asterisk_Festival_installation [2] http://www.voip-info.org/wiki-Asterisk+cmd+Festival SWS ___ 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 with asterisk problem
On Jun 16, 2004, at 4:05 PM, Michael George wrote: Following the installation directions on the wiki, I got festival built and installed. However, when I hit it from my dialplan, I get: Feature Token_Method not defined I found only one reference to this error message in the archives and there was no solution... Once again I find that I didn't follow the directions... Since I found this question in the archives with no answer and since I asked it again, I thought I'd answer myself so that the next person who runs into it can have it solved very quickly... The problem I had was that I FTP'd the festvox tarball, but I didn't unpack it. So there was no default voice there for festival to use. Unpacking the festvox and the other non-source code files solved the problem right away. -Michael ___ 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 application: clipping start of sound?
IMHO the Festival application is slightly broken since it doesn't interface to the asterisk playback routines in a standard way. I've never had much luck with caching but have experienced the problem you outline on direct text conversions. This issue has been discussed on the bug tracker and this list in the past. You can hack Festival to pad out the pokayback with silence so the silence gets chopped before your sound. You can also have Festival save the sound file and then play back the sound using asterisk's standard playback routines. Both work but they're not nice solutions and add some latency, Iain --On Monday, June 14, 2004 10:58 pm +1200 Donald Gordon [EMAIL PROTECTED] wrote: Hi I'm running a bright shiny new asterisk installation, and have discovered a problem with the festival application - when it plays back the generated sound, it skips the start. If, on the other hand, it has caching turned on, then when it plays the cached sound, it doesn't skip the first word or two. I assume that this has something to do with the time taken to generate the speech - is there anything I can do about this, apart from getting a faster machine for festival? Also, files in the festival cache directory seem to be created with mode . Is there any setting I need to prod to make them readable by asterisk? I'm running the debian packaged asterisk. thanks donald ___ 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 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 and gcc 3.3.2 (Fedora Core 1)
That did it. thank you, thank you, thank you, -reed Marc Sutter wrote: Hi, had the same problem... and we wrote a patch. This patch's are for speech_tools 1.2.3 and festival 1.4.3. to use in the corresponding directory with: #patch -p1 patch.. Hope this help. If so let it know. Have fun !!! On Sat, 2004-05-01 at 02:35, Reed Wade wrote: Can someone tell me how to build festival on a machine with gcc 3.3.2? I've searched all around and even found a reference or two that the problem exists but I'm not seeing the fix. thanks! -reed Symtoms are -- ./configure, then [EMAIL PROTECTED] speech_tools]# make Check system type Remake modincludes.inc NATIVE_AUDIO ok EDITLINE config/modules/editline.mak SIOD siod/siod.mak WAGON stats/wagon/wagon.mak SCFG grammar/scfg/scfg.mak WFST grammar/wfst/wfst.mak OLS stats/ols.mak RXP rxp/rxp.mak LINUX16_AUDIO config/modules/linux16_audio.mak Making in directory ./siod ... making dependencies -- siodeditline.c cc1: warning: -Wno-non-template-friend is valid for C++ but not for C/ObjC cc1: warning: -Wno-deprecated is valid for C++ but not for C/ObjC el_complete.c cc1: warning: -Wno-non-template-friend is valid for C++ but not for C/ObjC cc1: warning: -Wno-deprecated is valid for C++ but not for C/ObjC editline.c cc1: warning: -Wno-non-template-friend is valid for C++ but not for C/ObjC cc1: warning: -Wno-deprecated is valid for C++ but not for C/ObjC el_sys_unix.c cc1: warning: -Wno-non-template-friend is valid for C++ but not for C/ObjC cc1: warning: -Wno-deprecated is valid for C++ but not for C/ObjC slib.cc slib_core.cc slib_doc.cc slib_file.cc slib_format.cc slib_list.cc slib_math.cc slib_sys.cc slib_server.cc slib_str.cc slib_xtr.cc slib_repl.cc siod_fringe.cc siod_server.cc io.cc trace.cc EST_SiodServer.cc siod.cc siod_est.cc g++ -c -fno-implicit-templates -O3 -Wall -Wno-non-template-friend -Wno-deprecated -DSUPPORT_EDITLINE -I../include slib.cc In file included from ../include/EST_String.h:50, from ../include/siod.h:17, from slib.cc:88: ../include/EST_iostream.h:54:26: strstream.h: No such file or directory make[1]: *** [slib.o] Error 1 make: *** [siod] Error 2 [EMAIL PROTECTED] speech_tools]# ___ 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 diff -ur festival.bad/src/modules/base/phrasify.cc festival/src/modules/base/phrasify.cc --- festival.bad/src/modules/base/phrasify.cc 2001-04-04 13:55:20.0 +0200 +++ festival/src/modules/base/phrasify.cc 2004-04-25 15:57:52.0 +0200 @@ -218,7 +218,7 @@ EST_Val npbreak = wagon_predict(w,phrase_type_tree); w-set(pbreak,npbreak.string()); // may reset to BB } - pbreak = w-f(pbreak); + pbreak = w-f(pbreak).string(); if (pbreak == B) w-set(blevel,3); else if (pbreak == mB) diff -ur festival.bad/src/modules/base/word.cc festival/src/modules/base/word.cc --- festival.bad/src/modules/base/word.cc 2001-04-04 13:55:20.0 +0200 +++ festival/src/modules/base/word.cc 2004-04-25 15:59:55.0 +0200 @@ -64,10 +64,10 @@ for (w=u-relation(Word)-first(); w != 0; w = next(w)) { lpos = NIL; - pos = ffeature(w,hg_pos); + pos = ffeature(w,hg_pos).string(); // explicit homograph pos disambiguation if (pos == 0) - pos = ffeature(w,pos); + pos = ffeature(w,pos).string(); if (pos != 0) lpos = rintern(pos); @@ -100,8 +100,8 @@ // from which a list can be read. EST_String p; -if (((p = ffeature(w,phonemes)) != 0) || - ((p = ffeature(w,R:Token.parent.phonemes)) != 0)) +if (((p = ffeature(w,phonemes).string()) != 0) || + ((p = ffeature(w,R:Token.parent.phonemes).string()) != 0)) { LISP phones = read_from_lstring(strintern(p)); diff -ur festival.bad/src/modules/Intonation/int_tree.cc festival/src/modules/Intonation/int_tree.cc --- festival.bad/src/modules/Intonation/int_tree.cc 2001-04-04 13:55:20.0 +0200 +++ festival/src/modules/Intonation/int_tree.cc 2004-04-25 15:58:42.0 +0200 @@ -87,11 +87,11 @@ for (s=u-relation(Syllable)-first(); s != 0; s=next(s)) { if ((paccent = accent_specified(s)) == 0) // check if pre-specified - paccent = wagon_predict(s,accent_tree); + paccent = wagon_predict(s,accent_tree).string(); if (paccent != NONE) add_IntEvent(u,s,paccent); if ((ptone =
RE: [Asterisk-Users] festival and gcc 3.3.2 (Fedora Core 1)
Reed I had the same problem yesterday. I have a gentoo system here. I first used gentoo's emerge to install festival 1.4.3-r1. This worked out that it needed speech tools and downloaded that along with festival and built with no problems. From the command line I could get festival working but I found that I could not get asterisk to work with it. I then read the notes on www.voip-info.org on how to get festival working with asterisk. I realised that I was going to need to patch the source and build the stuff myself but when I tried to do this I ran into the same problem as you. At that point I was stuck as I really don't know too much about how emerge works on gentoo. I could see how I could get emerge to just download source and not install but I didn't really know the correct way of then using the source and installing at a later date.. I am sure this isn't the right thing to do but I ended up running emerge to get the source, I then paused emegre once it had extracted the source to a temp directory, patched the source there and then let emerge compile and install festival. Bottom line is that by some magic emerge on gentoo is able to build speech tools on a system where doing it by hand doesn't seem to. I wonder if emerge is using some different compiler switches to make a later compiler behave like and earlier one? Quentin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Reed Wade Sent: 01 May 2004 01:35 To: [EMAIL PROTECTED] Subject: [Asterisk-Users] festival and gcc 3.3.2 (Fedora Core 1) Can someone tell me how to build festival on a machine with gcc 3.3.2? I've searched all around and even found a reference or two that the problem exists but I'm not seeing the fix. thanks! -reed Symtoms are -- ./configure, then [EMAIL PROTECTED] speech_tools]# make Check system type Remake modincludes.inc NATIVE_AUDIO ok EDITLINE config/modules/editline.mak SIOD siod/siod.mak WAGON stats/wagon/wagon.mak SCFG grammar/scfg/scfg.mak WFST grammar/wfst/wfst.mak OLS stats/ols.mak RXP rxp/rxp.mak LINUX16_AUDIO config/modules/linux16_audio.mak Making in directory ./siod ... making dependencies -- siodeditline.c cc1: warning: -Wno-non-template-friend is valid for C++ but not for C/ObjC cc1: warning: -Wno-deprecated is valid for C++ but not for C/ObjC el_complete.c cc1: warning: -Wno-non-template-friend is valid for C++ but not for C/ObjC cc1: warning: -Wno-deprecated is valid for C++ but not for C/ObjC editline.c cc1: warning: -Wno-non-template-friend is valid for C++ but not for C/ObjC cc1: warning: -Wno-deprecated is valid for C++ but not for C/ObjC el_sys_unix.c cc1: warning: -Wno-non-template-friend is valid for C++ but not for C/ObjC cc1: warning: -Wno-deprecated is valid for C++ but not for C/ObjC slib.cc slib_core.cc slib_doc.cc slib_file.cc slib_format.cc slib_list.cc slib_math.cc slib_sys.cc slib_server.cc slib_str.cc slib_xtr.cc slib_repl.cc siod_fringe.cc siod_server.cc io.cc trace.cc EST_SiodServer.cc siod.cc siod_est.cc g++ -c -fno-implicit-templates -O3 -Wall -Wno-non-template-friend -Wno-deprecated -DSUPPORT_EDITLINE -I../include slib.cc In file included from ../include/EST_String.h:50, from ../include/siod.h:17, from slib.cc:88: ../include/EST_iostream.h:54:26: strstream.h: No such file or directory make[1]: *** [slib.o] Error 1 make: *** [siod] Error 2 [EMAIL PROTECTED] speech_tools]# ___ 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 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 and gcc 3.3.2 (Fedora Core 1)
Hi, had the same problem... and we wrote a patch. This patch's are for speech_tools 1.2.3 and festival 1.4.3. to use in the corresponding directory with: #patch -p1 patch.. Hope this help. If so let it know. Have fun !!! On Sat, 2004-05-01 at 02:35, Reed Wade wrote: Can someone tell me how to build festival on a machine with gcc 3.3.2? I've searched all around and even found a reference or two that the problem exists but I'm not seeing the fix. thanks! -reed Symtoms are -- ./configure, then [EMAIL PROTECTED] speech_tools]# make Check system type Remake modincludes.inc NATIVE_AUDIO ok EDITLINE config/modules/editline.mak SIOD siod/siod.mak WAGON stats/wagon/wagon.mak SCFG grammar/scfg/scfg.mak WFST grammar/wfst/wfst.mak OLS stats/ols.mak RXP rxp/rxp.mak LINUX16_AUDIO config/modules/linux16_audio.mak Making in directory ./siod ... making dependencies -- siodeditline.c cc1: warning: -Wno-non-template-friend is valid for C++ but not for C/ObjC cc1: warning: -Wno-deprecated is valid for C++ but not for C/ObjC el_complete.c cc1: warning: -Wno-non-template-friend is valid for C++ but not for C/ObjC cc1: warning: -Wno-deprecated is valid for C++ but not for C/ObjC editline.c cc1: warning: -Wno-non-template-friend is valid for C++ but not for C/ObjC cc1: warning: -Wno-deprecated is valid for C++ but not for C/ObjC el_sys_unix.c cc1: warning: -Wno-non-template-friend is valid for C++ but not for C/ObjC cc1: warning: -Wno-deprecated is valid for C++ but not for C/ObjC slib.cc slib_core.cc slib_doc.cc slib_file.cc slib_format.cc slib_list.cc slib_math.cc slib_sys.cc slib_server.cc slib_str.cc slib_xtr.cc slib_repl.cc siod_fringe.cc siod_server.cc io.cc trace.cc EST_SiodServer.cc siod.cc siod_est.cc g++ -c -fno-implicit-templates -O3 -Wall -Wno-non-template-friend -Wno-deprecated -DSUPPORT_EDITLINE -I../include slib.cc In file included from ../include/EST_String.h:50, from ../include/siod.h:17, from slib.cc:88: ../include/EST_iostream.h:54:26: strstream.h: No such file or directory make[1]: *** [slib.o] Error 1 make: *** [siod] Error 2 [EMAIL PROTECTED] speech_tools]# ___ 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 diff -ur festival.bad/src/modules/base/phrasify.cc festival/src/modules/base/phrasify.cc --- festival.bad/src/modules/base/phrasify.cc 2001-04-04 13:55:20.0 +0200 +++ festival/src/modules/base/phrasify.cc 2004-04-25 15:57:52.0 +0200 @@ -218,7 +218,7 @@ EST_Val npbreak = wagon_predict(w,phrase_type_tree); w-set(pbreak,npbreak.string()); // may reset to BB } - pbreak = w-f(pbreak); + pbreak = w-f(pbreak).string(); if (pbreak == B) w-set(blevel,3); else if (pbreak == mB) diff -ur festival.bad/src/modules/base/word.cc festival/src/modules/base/word.cc --- festival.bad/src/modules/base/word.cc 2001-04-04 13:55:20.0 +0200 +++ festival/src/modules/base/word.cc 2004-04-25 15:59:55.0 +0200 @@ -64,10 +64,10 @@ for (w=u-relation(Word)-first(); w != 0; w = next(w)) { lpos = NIL; - pos = ffeature(w,hg_pos); + pos = ffeature(w,hg_pos).string(); // explicit homograph pos disambiguation if (pos == 0) - pos = ffeature(w,pos); + pos = ffeature(w,pos).string(); if (pos != 0) lpos = rintern(pos); @@ -100,8 +100,8 @@ // from which a list can be read. EST_String p; -if (((p = ffeature(w,phonemes)) != 0) || - ((p = ffeature(w,R:Token.parent.phonemes)) != 0)) +if (((p = ffeature(w,phonemes).string()) != 0) || + ((p = ffeature(w,R:Token.parent.phonemes).string()) != 0)) { LISP phones = read_from_lstring(strintern(p)); diff -ur festival.bad/src/modules/Intonation/int_tree.cc festival/src/modules/Intonation/int_tree.cc --- festival.bad/src/modules/Intonation/int_tree.cc 2001-04-04 13:55:20.0 +0200 +++ festival/src/modules/Intonation/int_tree.cc 2004-04-25 15:58:42.0 +0200 @@ -87,11 +87,11 @@ for (s=u-relation(Syllable)-first(); s != 0; s=next(s)) { if ((paccent = accent_specified(s)) == 0) // check if pre-specified - paccent = wagon_predict(s,accent_tree); + paccent = wagon_predict(s,accent_tree).string(); if (paccent != NONE) add_IntEvent(u,s,paccent); if ((ptone = tone_specified(s)) == 0) - ptone = wagon_predict(s,endtone_tree); + ptone = wagon_predict(s,endtone_tree).string(); if (ptone != NONE) add_IntEvent(u,s,ptone); } @@ -107,11 +107,11 @@ EST_Item
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
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
Re: [Asterisk-Users] Festival
Justin Carlson wrote: I am sorry if this is a silly question but I can not seem to locate the festival binaries. does this come with asterisk or is it another project? No question is silly. This is a good time to remind the list of the FAQ http://www.voip-info.org/tiki-index.php?page=Asterisk%20faq You'll find pointers to Festival and other third party softwares on that page. /Olle ___ 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
It's not a silly question, but you could have done a google search before asking... google 'festival asterisk install' http://www.voip-info.org/tiki-index.php?page=Asterisk+festival+installation -Heison On Fri, Mar 19, 2004 at 04:10:46PM -0600, Justin Carlson wrote: I am sorry if this is a silly question but I can not seem to locate the festival binaries. does this come with asterisk or is it another project? ___ 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 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
Festival is different project. http://www.cstr.ed.ac.uk/projects/festival/ If you want to make it work with Asterisk you have to use patches from Asterisk. Bart I am sorry if this is a silly question but I can not seem to locate the festival binaries. does this come with asterisk or is it another project? ___ 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 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
Look here ... http://www.cstr.ed.ac.uk/projects/festival/ Iain --On Friday, March 19, 2004 4:10 pm -0600 Justin Carlson [EMAIL PROTECTED] wrote: I am sorry if this is a silly question but I can not seem to locate the festival binaries. does this come with asterisk or is it another project? ___ 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 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
it's been a long day. I appreciate your help -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Heison Chak Sent: Friday, March 19, 2004 4:16 PM To: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] Festival It's not a silly question, but you could have done a google search before asking... google 'festival asterisk install' http://www.voip-info.org/tiki-index.php?page=Asterisk+festival+installation -Heison On Fri, Mar 19, 2004 at 04:10:46PM -0600, Justin Carlson wrote: I am sorry if this is a silly question but I can not seem to locate the festival binaries. does this come with asterisk or is it another project? ___ 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 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 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
http://www.voip-info.org/tiki-index.php?page=Asterisk+festival+installation Since the festival thingie came up again, does anyone have a sample of a startup script they use that starts festival before asterisk (maybe a mod to safe_asterisk)? I've got festival running right now, but I'm starting it manually followed by safe_asterisk manually. I'm obviously not a script writter, so if someone has modified safe_asterisk (or whatever) to handle the sequence could you post the mod's? 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
Hmmm... I'm having a problem with Festival compiling it on Mandrake Linux v10... essentially it's complaining because it can't find the strstream.h header file, which leads me to believe there's an incompatibility with the gcc compiler I'm running, which is 3.3.2... anyone have a workaround or fix or any ideas? Andy, [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rich Adamson Sent: Friday, March 19, 2004 5:59 PM To: [EMAIL PROTECTED] Subject: RE: [Asterisk-Users] Festival http://www.voip-info.org/tiki-index.php?page=Asterisk+festival+installation Since the festival thingie came up again, does anyone have a sample of a startup script they use that starts festival before asterisk (maybe a mod to safe_asterisk)? I've got festival running right now, but I'm starting it manually followed by safe_asterisk manually. I'm obviously not a script writter, so if someone has modified safe_asterisk (or whatever) to handle the sequence could you post the mod's? 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 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004 ___ 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 voices
At 2:56 PM -0800 2/12/04, Chris Albertson wrote: --- Tony Buser [EMAIL PROTECTED] wrote: Hi, I'm new to both asterisk and festival. I'm trying to figure out how to change the voice festival uses. For example, I've downloaded don_diphone to festival/lib/voices/english. I then edited /etc/asterisk/festival.conf and changed the festival command to: festivalcommand=(voice_don_diphone)(tts_textasterisk %s 'file)(quit)\n try adding a set of parens like this: festivalcommand=((voice_don_diphone)(tts_textasterisk %s'file)(quit))\n SNIP natural sounding voice? So far the best I've found were from here: http://hts.ics.nitech.ac.jp/download.html Have you seen festivox? It's a tool for building voices The key to making festival sound natural is to get the timming and entonation right. The astrisk app uses festivels demo test to speech application which is just that a quick dirty demo. Have you seen the markup language on the CMU site? http://www-2.cs.cmu.edu/~awb/festival_demos/sable.html Sable can do MUCH better then the simple tts application. = Chris Albertson Home: 310-376-1029 [EMAIL PROTECTED] Cell: 310-990-7550 Office: 310-336-5189 [EMAIL PROTECTED] KG6OMK As a reminder to our viewing audience: search the archives for cepstral - there are some decent sounding voices with Cepstral, for $30. There is a patch in the bugtracker for app_cepstral, though I have not had a chance to play with it yet. JT ___ 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: read text from external fil
You can probably use the festival text2wave utility in a cron job to create a speech file from your source text and then use asterisk's Playback function to play it as required. Iain --On Saturday, February 14, 2004 9:41 pm +0100 Lars Fredriksson [EMAIL PROTECTED] wrote: Hello! I wan't to use Festival for reading text from an external textfile - anyone that has a solution for doing that? I can't figure out how I should be able to do that - if it is possible? The textfile contains the temperature and will change every tenth minute - and therefore I can't use include in extensions.conf. Best regards, Lars --- Lars Fredriksson Ockelbo, Sweden mailto:[EMAIL PROTECTED] http://www.fredriksson.net/ ___ 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 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 voices
Thanks that works. :) So you use cepstral voices in festival? I thought cepstral was a whole seperate system. I still think the slt_arctic_hts voice from http://festvox.org/voicedemos.html sounds better then the regular cepstral voices. Brian West wrote: (Parameter.set 'Audio_Method 'linux16audio) ;(Parameter.set 'Audio_Method 'esdaudio) ;(Parameter.set 'Audio_Method 'mplayeraudio) ;(Parameter.set 'Audio_Method 'sunaudio) ; American female I'm using the cepstral frank with festival ;) (set! voice_default 'voice_frank) in /root/.festivalrc ___ 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 voices
(Parameter.set 'Audio_Method 'linux16audio) ;(Parameter.set 'Audio_Method 'esdaudio) ;(Parameter.set 'Audio_Method 'mplayeraudio) ;(Parameter.set 'Audio_Method 'sunaudio) ; American female I'm using the cepstral frank with festival ;) (set! voice_default 'voice_frank) in /root/.festivalrc bkw On Thu, 12 Feb 2004, Tony Buser wrote: Chris Albertson wrote: try adding a set of parens like this: festivalcommand=((voice_don_diphone)(tts_textasterisk %s'file)(quit))\n Unfortunately that results in the following error at the asterisk console: Feb 12 19:45:27 WARNING[409626]: app_festival.c:437 festival_exec: Festival returned ER And the following error in the festival_server: SIOD ERROR: unbound variable : don_diphone SIOD ERROR: unbound variable : \n Have you seen festivox? It's a tool for building voices The key to making festival sound natural is to get the timming and entonation right. The astrisk app uses festivels demo test to speech application which is just that a quick dirty demo. Have you seen the markup language on the CMU site? http://www-2.cs.cmu.edu/~awb/festival_demos/sable.html Sable can do MUCH better then the simple tts application. Thanks, I'll take a look at that. So to use Sable I'd have to use festival from like an AGI script and not inside the Festival() function in extension.conf? I blindly tried pasting sable markup in there and the best I could do was get it to read back the markup and all. :) ___ 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 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 voices
--- Tony Buser [EMAIL PROTECTED] wrote: Hi, I'm new to both asterisk and festival. I'm trying to figure out how to change the voice festival uses. For example, I've downloaded don_diphone to festival/lib/voices/english. I then edited /etc/asterisk/festival.conf and changed the festival command to: festivalcommand=(voice_don_diphone)(tts_textasterisk %s 'file)(quit)\n try adding a set of parens like this: festivalcommand=((voice_don_diphone)(tts_textasterisk %s'file)(quit))\n SNIP natural sounding voice? So far the best I've found were from here: http://hts.ics.nitech.ac.jp/download.html Have you seen festivox? It's a tool for building voices The key to making festival sound natural is to get the timming and entonation right. The astrisk app uses festivels demo test to speech application which is just that a quick dirty demo. Have you seen the markup language on the CMU site? http://www-2.cs.cmu.edu/~awb/festival_demos/sable.html Sable can do MUCH better then the simple tts application. = Chris Albertson Home: 310-376-1029 [EMAIL PROTECTED] Cell: 310-990-7550 Office: 310-336-5189 [EMAIL PROTECTED] KG6OMK __ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html ___ 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 voices
Chris Albertson wrote: try adding a set of parens like this: festivalcommand=((voice_don_diphone)(tts_textasterisk %s'file)(quit))\n Unfortunately that results in the following error at the asterisk console: Feb 12 19:45:27 WARNING[409626]: app_festival.c:437 festival_exec: Festival returned ER And the following error in the festival_server: SIOD ERROR: unbound variable : don_diphone SIOD ERROR: unbound variable : \n Have you seen festivox? It's a tool for building voices The key to making festival sound natural is to get the timming and entonation right. The astrisk app uses festivels demo test to speech application which is just that a quick dirty demo. Have you seen the markup language on the CMU site? http://www-2.cs.cmu.edu/~awb/festival_demos/sable.html Sable can do MUCH better then the simple tts application. Thanks, I'll take a look at that. So to use Sable I'd have to use festival from like an AGI script and not inside the Festival() function in extension.conf? I blindly tried pasting sable markup in there and the best I could do was get it to read back the markup and all. :) ___ 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 patch missing in latest CVS or stable build
I pulled in the cvs earlier this week and it was in: asterisk/contrib/festival-x.x.x.diff Cheers, Liam On Wed, 2004-01-28 at 02:00, Deepakumar JV wrote: Hello I downloaded the stable build of * and was not able to find the festival patch in that build. Also i tried from CVS and the same. Can anyone tell me where i can find the festival patch? Or the patch is no more requried. i can just compile festival and it will work?? Thanks in advance Regards Deepak ___ 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 Time and Temperature application
Something like is at http://www.fnord.org/~eric/asterisk/ There are lots of links to 3rd party Asterisk pages on the www.digium.com documentation page. Tim Thompson wrote: I've searched through the lists, but can't seem to find a reference to someone that said they had a time and temperature application for *. Voip-info wiki would be a good place for it as a Festival example!!! Can someone remind me where it's at? ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Festival on RH9?
On Thu, 23 Oct 2003, Rich Adamson wrote: Gus, 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 serverThu 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.com Michael ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Festival on RH9?
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 serverThu 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.com Okay, 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 ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Festival on RH9?
On 24/10/2003 15:46, Rich Adamson wrote: 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. 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/ ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Festival on RH9?
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 serverFri 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. ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Festival on RH9?
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 serverThu 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: As a followup after resolving the rejected from... message, the problem was the festival/bin/festival_server script was looking for localhost, phoenix (machine name), and a couple of other names. RH9 was returning the machine name as phoenix.routers.com and the script was not matching against that. So, by adding the FQDN to the script, festival is now called and responds with: client(1) Fri Oct 24 11:25:02 2003 : accepted from phoenix.routers.com client(1) Fri Oct 24 11:25:02 2003 : disconnected The host.allow had nothing to do with this particular problem. Now, festival still doesn't return any audio, but that's apparently another problem to be resolved. The CLI now shows: -- Executing Festival(SIP/3000-2acc, Testing) in new stack == Parsing '/etc/asterisk/festival.conf': Found WARNING[1217662256]: File app_festival.c, Line 304 (festival_exec): Text passed to festival server : Testing WARNING[1217662256]: File app_festival.c, Line 381 (festival_exec): Passing text to festival... WARNING[1217662256]: File app_festival.c, Line 400 (festival_exec): Passing data to channel... WARNING[1217662256]: File app_festival.c, Line 410 (festival_exec): Festival WV == Spawn extension (from-sip, 555, 1) exited non-zero on 'SIP/3000-2acc' Can anyone tell me how to see the exited non-zero value above? For those that have an operational festival, does the above CLI sequence look correct? I'm using the following in extensions.conf: exten = 555,1,Festival(Testing) Shouldn't this just say testing and then drop the call? Since I'm trying to debug the no audio, is a fast-busy expected after that statement is executed? Thanks... ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Festival on RH9, now working
festival v1.4.3 is now working with RH9 and asterisk. As a followup for others that might read the archives, here's a summary of the problems encountered, some of which is buried in the archives. http://www.marko.net/asterisk/archives/0209/0389.html was a help with the following exceptions: 1. When festival is started from the command line, it does need to have its location in the path. If it is not there, festival appears to be running but not fully functional (don't know why, but the startup script attempts to kill any existing instances and is looking for *.pid files that require the path statement. I'd guess whoever wrote the script intended for the implementor to modify it first, but didn't mention it.) 2. Where ever festival is started from by the user, the default startup script will figure it out and write a festival_server.log file in that directory. If you are use to starting things by specifing a full path, you might have log files in strange places. The log files are helpful if you know one exists and where its at. 3. The *.diff patches supplied in the asterisk src directory where taken by an individual that kept the festival source code in a directory like /usr/src/festival-1.4.3 while the default installation of festival is in a directory without the version (eg, usr/src/festival). Either one has to rename the festival directory, or, modify the contents of the *.diff file. (I noticed several people posting got caught with that one.) 4. The url referenced at the start of this email was helpful, but not totally correct. For example, it doesn't mention the diff problem or why only certain festival tar files are installed (or not installed). If one renamed the default install directory (for #3 above), untarring the additional files won't go in the correct directory. The example exten code is not complete and will not work. What worked for me was: exten = 555,1,Answer exten = 555,2,Festival(mary had a little lamb) exten = 555,3,Hangup (I'd have to guess that changes have been made to either festival and/or asterisk since that Sept 2002 posting.) 5. If the text is quoted (eg, Festival(mary had a little lamb) ), festival displays a short message (barely considered an error message) on the screen, and ceases to function correctly after that. Festival must be restarted to restore proper operation. Hopefully this will help others... Rich ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Festival on RH9?
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/ ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Festival on RH9?
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:[EMAIL PROTECTED] 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 [EMAIL PROTECTED] ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Festival on RH9?
BTW, the issue in my last email is also applicable to the speech_tools source. Deepak -Original Message- From: Rich Adamson [mailto:[EMAIL PROTECTED] 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 [EMAIL PROTECTED] ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
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 [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Festival on RH9?
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 [EMAIL PROTECTED] To: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Festival on RH9?
I followed the script (closely) that you referenced (including the export), and a ps ax shows: 21007 pts/2S 0:00 /bin/sh /usr/src/festival/bin/festival_server 21017 pts/2S 0:00 festival --server ./festival_server.scm 21039 pts/2S 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 [EMAIL PROTECTED] To: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users ---End of Original Message- ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Festival on RH9?
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/2S 0:00 /bin/sh /usr/src/festival/bin/festival_server 21017 pts/2S 0:00 festival --server ./festival_server.scm 21039 pts/2S 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 [EMAIL PROTECTED] To: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users ---End of Original Message- ___ Asterisk-Users mailing list [EMAIL PROTECTED] 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 [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Festival on RH9?
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/2S 0:00 /bin/sh /usr/src/festival/bin/festival_server 21017 pts/2S 0:00 festival --server ./festival_server.scm 21039 pts/2S 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 [EMAIL PROTECTED] To: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users ---End of Original Message- ___ Asterisk-Users mailing list [EMAIL PROTECTED] 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 [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users ---End of Original Message- ___ Asterisk-Users mailing list [EMAIL PROTECTED] http
Re: [Asterisk-Users] Festival on RH9?
Gus, 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 serverThu 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 which implies the firewall function on this * server is blocking port 1314, which is probably causing festival to not complete the connection. I don't have a clue how to fix that. I'd guess it is a ipchains or something like that, but I've never had to deal with it before. Must have been installed with RH9. Any idea how to tell it to allow festival? Rich From: CW_ASN - Gus [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] Festival on RH9? Date: Thu, 23 Oct 2003 18:50:31 -0300 To: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] To: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users ---End of Original Message- ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Festival hangs up?
My checked out source is not up to date with CVS so my Rtp.c, Line 374 is not like yours but in general what must have happened (given the text of the message) is someone made a non-blocking read system call when there was no data, saw that it failed (-1 returned) and printed the log message. You need to put in a test to see if errno == EAGAIN and retry the read after a slight delay. Treat itlike a short read. How about quoting the souce lines around line 374. --- Steven M. Sokol [EMAIL PROTECTED] wrote: Strange. I have a simple extension set up to do some Festival testing. (Festival 1.4.3 /w Asterisk patch). My extension looks like: exten = 1239,1,Answer() exten = 1239,2,Festival(Welcome to the asterisk system!) exten = 1239,3,Wait,1 exten = 1239,4,Hangup Some times it work right (sounds crappy but works as expected). Other times it picks up and hangs up without saying anything. The festival trace looks normal, but the * trace shows something like: Warning! [1122] Rtp.c, Line 374 (ast_rtp_read) Resource temporarily unavailable. Also, the TTS playback is sometimes cut off or truncated. An RTP error does not always accompany the cut off. System is dual processor P-III 866 MHz w/ 512 RAM. RedHat9. Current CVS of Asterisk. Any suggestions would be great! Thanks! Steve ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users = Chris Albertson Home: 310-376-1029 [EMAIL PROTECTED] Cell: 310-990-7550 Office: 310-336-5189 [EMAIL PROTECTED] KG6OMK __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users