Differences between revisions 4 and 6 (spanning 2 versions)
Revision 4 as of 2006-10-06 16:28:09
Size: 1432
Editor: mtoups
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 7: Line 6:
example of usage:

 * http://hackmeeting.streamtime.org/

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)