[Asterisk-Users] POP3 and TTS (Festival?)

Tzafrir Cohen tzafrir at cohens.org.il
Thu Sep 22 11:57:46 MST 2005


In short: use the right tool for the joob. See below.

On Wed, Sep 21, 2005 at 05:34:23PM -0300, Alchaemist wrote:
> Hi,
> 
>             Has anybody seen a non commercial, or freeware, or GPL, or even 
> CHEAP... POP/IMAP to Text-to-speech?

Pull pop3/imap/imaps/whatever with fetchmail (or getmail, or whatever).

deliver it to a script using procmail.

Now you are left with the problem of TTS from a local mail message. What
is the expected format of the message?

BTW: you can plug just about anything else instead of POP3: e.g: use
gotmail to fetch messages from hotmail.

> 
>             I have a working version for POP3 using festival. It DOES 
> work... it even cleans the email contents to get the actual content. It 
> works great with Outlook emails and similar, and skips non 
> multipart/alternative (that would be mainly SPAM, where the email is just 
> html or multipart without the text/plain alternative).

Pass them first through spamassasin or whatever. You can easily
integrate spam filtering in procmail. Or in the MTA.

-- 
Tzafrir Cohen         | tzafrir at jbr.cohens.org.il | VIM is
http://tzafrir.org.il |                           | a Mutt's  
tzafrir at cohens.org.il |                           |  best
ICQ# 16849755         |                           | friend



More information about the asterisk-users mailing list