Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2006-08-28 11:25:07
Size: 1407
Editor: anonymous
Comment:
Revision 4 as of 2006-10-06 16:28:09
Size: 1432
Editor: mtoups
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

(see also: Podcast2Phone)
Line 6: Line 8:
Line 12: Line 15:
Line 18: Line 22:
Line 25: Line 28:
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 depends from other perl scripts and components: '''MP3::Info''' and '''MP4::Info''' available on the Perl CPAN, plus the two scripts '''ripmime''' and [http://rastasoft.org/src/podcastamatic Podcastamatic] 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).

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.

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)