Differences between revisions 5 and 6
Revision 5 as of 2006-11-01 13:18:52
Size: 1552
Editor: jaromil
Comment:
Revision 6 as of 2006-11-01 13:25:14
Size: 1490
Editor: jaromil
Comment: lampedusa's demonstration podcast is no more online
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
Line 8: Line 7:
 * http://rasweb.altervista.org/index.php?mod=15_Podcast
Line 10: Line 9:

How to setup automatic publishing of voicemail

(see also: Podcast2Phone)

We use the [http://www.blagblagblag.org/BLASTERISK/ Blasterisk] Indymedia service which mails voice messages to an email address as soon as they are made.

example of usage:

On the receiving address, we have a 'username' account with .forward file in the home:

"|IFS=' ' && exec /usr/bin/procmail || exit 75 username"

which means all incoming mail has to be processed by procmail(1)

then we create a .procmailrc in the home directory, with these contents:

PATH=/bin:/usr/bin:/usr/local/bin
MAILDIR=$HOME
DEFAULT=$MAILDIR/Maildir/
LOGFILE=procmail.log
VERBOSE=yes
:0:
* ^From: BLASTERISK <blasterisk@blasterisk.blagblagblag.org>
| $HOME/save_voicemail.sh

which provide a basic configuration of procmail and then tells it to process all incoming messages from Blasterisk with a script which you can download from here -> [http://rastasoft.org/src/save_voicemail.sh save_voicemail.sh]

It is a simple shell script and if you are familiar with the technology you can adapt it for various needs. Please note that the script requires other components: [http://pldaniels.com/ripmime/ ripmime] and the perl script [http://kenwardtown.com/podcastamatic/ Podcastamatic] (requiring MP3::Info and MP4::Info from CPAN).

Hope that is useful and clear enough, otherwise contact me jaromil \@/ dyne.org

Phone2Podcast (last edited 2008-06-26 09:53:12 by anonymous)