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|]*>||g' \ | sed -e 's|\"|"|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
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 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
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
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 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