Differences between revisions 1 and 7 (spanning 6 versions)
Revision 1 as of 2006-08-28 11:25:07
Size: 1407
Editor: anonymous
Comment:
Revision 7 as of 2008-06-26 09:53:12
Size: 1498
Editor: anonymous
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
(see also: Podcast2Phone)
Line 3: Line 4:
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. 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.
Line 5: Line 6:
example of usage:

 * http://hackmeeting.streamtime.org/
Line 6: Line 10:
Line 12: Line 17:
Line 18: Line 24:
Line 23: Line 28:
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] 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]]
Line 25: Line 30:
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 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 -> 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: ripmime and the perl script 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)